Public Member Functions | |
| bool | ReadXML (const char *fname, vtString *msg=NULL) |
| bool | WriteXML (const char *fname) const |
| unsigned int | NumSpecies () const |
| vtPlantSpecies * | GetSpecies (unsigned int i) const |
| short | GetSpeciesIdByName (const char *name) const |
| short | GetSpeciesIdByCommonName (const char *name) const |
| void | Append (vtPlantSpecies *pSpecies) |
| short | FindSpeciesId (vtPlantSpecies *ps) |
| void | Clear () |
Protected Attributes | |
| vtArray< vtPlantSpecies * > | m_Species |
|
|
Find the index of a species by common name. Example: short index = pSpeciesList->GetSpeciesIdByName("Coconut Palm");
|
|
|
Find the index of a species by scientific name. Example: short index = pSpeciesList->GetSpeciesIdByName("Cocos nucifera");
|
1.4.5