The Project is the root element of the OTX Data Structure. It mainly contains the Packages and the Project Settings.
More...
#include <IProject.h>
The Project is the root element of the OTX Data Structure. It mainly contains the Packages and the Project Settings.
◆ GetMainProcedure()
Gets main Procedure of startup Document.
- Returns
- Main Procedure of startup Document.
◆ GetName()
virtual std::string OpenTestSystem::Otx::Runtime::Api::Project::IProject::GetName |
( |
| ) |
|
|
pure virtual |
◆ GetPackages()
Gets all Packages.
- Returns
- A list of Packages.
◆ GetPlayerProject()
virtual std::shared_ptr<IPlayerProject> OpenTestSystem::Otx::Runtime::Api::Project::IProject::GetPlayerProject |
( |
| ) |
|
|
pure virtual |
Gets PlayerProject that contains the Project.
- Returns
- A PlayerProject which this Project belongs to.
◆ GetProcedureByName()
Gets procedure by it full name.
- Returns
- A Procedure with following full name. If no procedure was found, return null.
◆ GetProjectSettings()
◆ GetRuntimeManager()
virtual std::shared_ptr<IRuntimeManager> OpenTestSystem::Otx::Runtime::Api::Project::IProject::GetRuntimeManager |
( |
| ) |
|
|
pure virtual |
Gets RuntimeManager that contains the Project.
- Returns
- A RuntimeManager which this Project belongs to.
◆ GetSettings()
virtual std::map<std::string, std::string> OpenTestSystem::Otx::Runtime::Api::Project::IProject::GetSettings |
( |
| ) |
|
|
pure virtual |
Gets all available Project Settings as a map of names and values.
- Returns
- A map of property names and setting values.
◆ GetSignatureByName()
Gets signature having the same full name.
- Parameters
-
fullName | The full name of the signature (package.documentName.signatureName). |
- Returns
- The signature, if no signature was found, returns null.
◆ GetStartupDocument()
Gets startup Document.
- Returns
- Startup Document.
◆ GetVersion()
virtual std::string OpenTestSystem::Otx::Runtime::Api::Project::IProject::GetVersion |
( |
| ) |
|
|
pure virtual |
◆ SetSettings()
virtual void OpenTestSystem::Otx::Runtime::Api::Project::IProject::SetSettings |
( |
std::map< std::string, std::string > |
settings | ) |
|
|
pure virtual |
Sets the Project Settings as a map of names and values. Only the name value pairs in the given map will be set. The other settings will not be influenced. To improve the performance, it is recommended to set all to be changed setting in one map.
- Parameters
-
settings | A map of property names and setting values. |
The documentation for this class was generated from the following file: