GCBM
|
#include <treespecies.h>
Public Member Functions | |
TreeSpecies () | |
virtual | ~TreeSpecies () |
TreeSpecies (int speciesID, SpeciesType speciesType) | |
int | speciesID () const |
SpeciesType | speciesType () const |
Private Attributes | |
int | _speciesID = 0 |
SpeciesType | _speciesType = SpeciesType::Softwood |
TreeSpecies | ( | ) |
|
virtual |
TreeSpecies | ( | int | speciesID, |
SpeciesType | speciesType | ||
) |
Constructor
Initialise TreeSpecies._speciesID as speciesID,
TreeSpecies._speciesType as speciesType
int | speciesID |
SpeciesType | speciesType |
int speciesID | ( | ) | const |
Return TreeSpecies._speciesID
SpeciesType speciesType | ( | ) | const |
Return TreeSpecies._speciesType
|
private |
|
private |