Rev 1162 | Rev 1217 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1162 | Rev 1203 | ||
---|---|---|---|
Line 60... | Line 60... | ||
60 | SpeciesSet *speciesSet() const { return mSpeciesSet; } ///< get SpeciesSet this RU links to. |
60 | SpeciesSet *speciesSet() const { return mSpeciesSet; } ///< get SpeciesSet this RU links to. |
61 | const WaterCycle *waterCycle() const { return mWater; } ///< water model of the unit |
61 | const WaterCycle *waterCycle() const { return mWater; } ///< water model of the unit |
62 | Snag *snag() const { return mSnag; } ///< access the snag object |
62 | Snag *snag() const { return mSnag; } ///< access the snag object |
63 | Soil *soil() const { return mSoil; } ///< access the soil model |
63 | Soil *soil() const { return mSoil; } ///< access the soil model |
64 | SaplingCell *saplingCellArray() const { return mSaplings; } ///< access the array of sapling-cells |
64 | SaplingCell *saplingCellArray() const { return mSaplings; } ///< access the array of sapling-cells |
- | 65 | SaplingCell *saplingCell(const QPoint &lifCoords) const; ///< return a pointer to the 2x2m SaplingCell located at 'lif' |
|
65 | 66 | ||
66 | ResourceUnitSpecies &resourceUnitSpecies(const Species *species); ///< get RU-Species-container of @p species from the RU |
67 | ResourceUnitSpecies &resourceUnitSpecies(const Species *species); ///< get RU-Species-container of @p species from the RU |
67 | const ResourceUnitSpecies *constResourceUnitSpecies(const Species *species) const; ///< get RU-Species-container of @p species from the RU |
68 | const ResourceUnitSpecies *constResourceUnitSpecies(const Species *species) const; ///< get RU-Species-container of @p species from the RU |
68 | ResourceUnitSpecies *resourceUnitSpecies(const int species_index) const { return mRUSpecies[species_index]; } ///< get RU-Species-container with index 'species_index' from the RU |
69 | ResourceUnitSpecies *resourceUnitSpecies(const int species_index) const { return mRUSpecies[species_index]; } ///< get RU-Species-container with index 'species_index' from the RU |
69 | const QList<ResourceUnitSpecies*> &ruSpecies() const { return mRUSpecies; } |
70 | const QList<ResourceUnitSpecies*> &ruSpecies() const { return mRUSpecies; } |