![]() |
|
Public Member Functions | |
speciesTable (const wordList &specieNames) | |
Construct from list of specie names. | |
speciesTable (const label nSpecies, const char **specieNames) | |
Construct from number of species and list of specie names. | |
speciesTable (Istream &) | |
Construct from Istream. | |
bool | contains (const word &specieName) const |
Does the table contain the given specie. | |
const word & | operator[] (const label) const |
Return a specie's name. | |
label | operator[] (const word &) const |
Lookup a specie's name and return it's index. | |
Friends | |
Istream & | operator>> (Istream &, speciesTable &) |
|
Construct from list of specie names.
|
|
Construct from number of species and list of specie names.
|
|
Construct from Istream.
|
|
Does the table contain the given specie.
Definition at line 39 of file speciesTableI.H. References Foam::label. Referenced by combustionMixture::Y(). |
|
Lookup a specie's name and return it's index.
Definition at line 56 of file speciesTableI.H. |
|
Return a specie's name.
Reimplemented from UList< word >. Definition at line 48 of file speciesTableI.H. |
|
|