Subversion Repositories public iLand

Rev

Rev 1017 | Rev 1045 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1017 Rev 1040
Line 55... Line 55...
55
    const WaterCycle *waterCycle() const { return mWater; } ///< water model of the unit
55
    const WaterCycle *waterCycle() const { return mWater; } ///< water model of the unit
56
    Snag *snag() const { return mSnag; } ///< access the snag object
56
    Snag *snag() const { return mSnag; } ///< access the snag object
57
    Soil *soil() const { return mSoil; } ///< access the soil model
57
    Soil *soil() const { return mSoil; } ///< access the soil model
58
58
59
    ResourceUnitSpecies &resourceUnitSpecies(const Species *species); ///< get RU-Species-container of @p species from the RU
59
    ResourceUnitSpecies &resourceUnitSpecies(const Species *species); ///< get RU-Species-container of @p species from the RU
-
 
60
    const ResourceUnitSpecies *constResourceUnitSpecies(const Species *species) const; ///< get RU-Species-container of @p species from the RU
60
    const QList<ResourceUnitSpecies*> &ruSpecies() const { return mRUSpecies; }
61
    const QList<ResourceUnitSpecies*> &ruSpecies() const { return mRUSpecies; }
61
    QVector<Tree> &trees() { return mTrees; } ///< reference to the tree list.
62
    QVector<Tree> &trees() { return mTrees; } ///< reference to the tree list.
62
    const QVector<Tree> &constTrees() const { return mTrees; } ///< reference to the (const) tree list.
63
    const QVector<Tree> &constTrees() const { return mTrees; } ///< reference to the (const) tree list.
63
    Tree *tree(const int index) { return &(mTrees[index]);} ///< get pointer to a tree
64
    Tree *tree(const int index) { return &(mTrees[index]);} ///< get pointer to a tree
64
    const ResourceUnitVariables &resouceUnitVariables() const { return mUnitVariables; } ///< access to variables that are specific to resourceUnit (e.g. nitrogenAvailable)
65
    const ResourceUnitVariables &resouceUnitVariables() const { return mUnitVariables; } ///< access to variables that are specific to resourceUnit (e.g. nitrogenAvailable)