The plant description manager holds and manages all plant descriptions so they can be shared with multiple different plants.
More...
#include "PlantDescrMan.hpp"
The plant description manager holds and manages all plant descriptions so they can be shared with multiple different plants.
PlantDescrManT::PlantDescrManT |
( |
const std::string & |
BaseDir = "" | ) |
|
Constructor.
- Parameters
-
BaseDir | The base directory in which all plant descriptions are contained. |
PlantDescrManT::~PlantDescrManT |
( |
| ) |
|
PlantDescriptionT * PlantDescrManT::GetPlantDescription |
( |
const std::string & |
DescrFileName | ) |
|
Gets a plant description identified by its filename.
- Parameters
-
DescrFileName | The file name of the plant description (relative to the plant description base dir). |
- Returns
- Pointer to the plant description or a dummy plant description on error.
void PlantDescrManT::SetModDir |
( |
const std::string & |
BaseDir | ) |
|
|
inline |
Changes the base directory for the plant descriptions.
- Parameters
-
BaseDir | The new base directory. |
The documentation for this class was generated from the following files: