38 bool isSetup()
const {
return mInfile!=0; }
58 QList<Climate*> mClimate;
59 QList<SpeciesSet*> mSpeciesSets;
61 QHash<QString, int> mRowCoordinates;
62 QHash<QString, void*> mCreatedObjects;
Provides access to table data stored in text files (CSV style).
Definition: csvfile.h:27
Climate handles climate input data and performs some basic related calculations on that data.
Definition: climate.h:66
Environment specifes the geographical properties of the landscape.
Definition: environment.h:34
bool isSetup() const
Definition: environment.h:38
bool loadFromString(const QString &source)
Definition: environment.cpp:66
bool setGridMode(const QString &grid_file_name)
switch to 'grid-mode': load the grid provided by grid_file_name
Definition: environment.cpp:244
QList< Climate * > climateList() const
created climates.
Definition: environment.h:45
bool loadFromFile(const QString &fileName)
Definition: environment.cpp:54
~Environment()
Definition: environment.cpp:45
void setPosition(const QPointF position)
set position (metric coordinates). Subsequent calls to retriever functions are for the current locati...
Definition: environment.cpp:177
Climate * climate() const
get climate at current pos
Definition: environment.h:49
SpeciesSet * speciesSet() const
get species set on current pos
Definition: environment.h:50
int currentID() const
current grid id (in grid mode the id of the stand grid, in matrix mode simply the an autogenerated in...
Definition: environment.h:51
void setDefaultValues(Climate *climate, SpeciesSet *speciesSet)
Definition: environment.h:42
QList< SpeciesSet * > speciesSetList() const
created species sets
Definition: environment.h:46
GisGrid encapsulates a simple grid of values based on GIS data.
Definition: gisgrid.h:68
A SpeciesSet acts as a container for individual Species objects.
Definition: speciesset.h:30