Go to the documentation of this file.
51 std::string scenarioPath;
61 Package(std::string name, std::string path, std::string scenarioPath);
122 using PackageVectorPtr = std::shared_ptr<std::vector<ScenarioManager::Data_Structure::PackagePtr>>;
Package(std::string name, std::string path, std::string scenarioPath)
Constructor that sets the name and the path of the package.
std::shared_ptr< Scenario > ScenarioPtr
std::shared_ptr< std::vector< ApplicationPtr > > ApplicationVectorPtr
std::shared_ptr< Application > ApplicationPtr
void addApplication(ApplicationPtr application)
Adds an Application to this package.
ApplicationVectorPtr getApplications()
std::shared_ptr< std::vector< ScenarioManager::Data_Structure::PackagePtr > > PackageVectorPtr
ApplicationPtr getApplicationByName(std::string name)
Returns an Application contained in this package that has the given name.
std::shared_ptr< Package > PackagePtr
void addScenario(ScenarioPtr scenario)
Adds a Scenario to this package.
void removeScenario(ScenarioPtr scenario)
bool isScenarioPathWritable()
ScenarioPtr getScenarioByName(std::string name)
Returns a Scenario contained in this package that has the given name.
std::string getScenarioPath()
Class containing data about a package, its scenarios and its applications. Provides methods to get an...
ScenarioVectorPtr getScenarios()
std::shared_ptr< std::vector< ScenarioPtr > > ScenarioVectorPtr