7 #ifndef CAFU_PLANT_DESCR_MAN_HPP_INCLUDED
8 #define CAFU_PLANT_DESCR_MAN_HPP_INCLUDED
37 void SetModDir(
const std::string& BaseDir) { m_BaseDir=BaseDir; }
45 std::map<std::string, PlantDescriptionT*> m_PlantDescriptions;
47 std::string m_BaseDir;
void SetModDir(const std::string &BaseDir)
Changes the base directory for the plant descriptions.
Definition: PlantDescrMan.hpp:37
The plant description manager holds and manages all plant descriptions so they can be shared with mul...
Definition: PlantDescrMan.hpp:19
PlantDescrManT(const std::string &BaseDir="")
Constructor.
Definition: PlantDescrMan.cpp:13
Contains a plant description that has all the information needed to create a plant.
Definition: PlantDescription.hpp:23
PlantDescriptionT * GetPlantDescription(const std::string &DescrFileName)
Gets a plant description identified by its filename.
Definition: PlantDescrMan.cpp:28
~PlantDescrManT()
Destrcutor.
Definition: PlantDescrMan.cpp:19