vtdata library
|
Public Member Functions | |
bool | ReadXML (const char *fname, vtString *msg=NULL) |
bool | WriteXML (const char *fname) const |
bool | WriteHTML (const char *fname) const |
uint | NumSpecies () const |
vtPlantSpecies * | GetSpecies (uint 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 |
A species list is a list of species.
short vtSpeciesList::GetSpeciesIdByCommonName | ( | const char * | name | ) | const |
Find the index of a species by common name. Example:
short vtSpeciesList::GetSpeciesIdByName | ( | const char * | name | ) | const |
Find the index of a species by scientific name. Example: