Object registry for simpleRegIOobject. Maintains ordering. More...
Public Member Functions | |
simpleObjectRegistry (const label size=128) | |
void | setValues (const dictionary &dict, bool report=false) |
void | setNamedValue (std::string name, int val, bool report=false) |
void | setNamedInt (std::string name, int val, bool report=false) |
![]() | |
Dictionary (const label size=128) | |
Dictionary (const Dictionary &dict) | |
bool | erase (const word &keyword) |
![]() | |
DictionaryBase (const label size=128) | |
DictionaryBase (const DictionaryBase &dict) | |
DictionaryBase (Istream &is, const INew &inew) | |
DictionaryBase (Istream &is) | |
bool | found (const word &keyword) const |
const T * | cfind (const word &keyword) const |
T * | find (const word &keyword) |
const T * | lookup (const word &keyword) const |
T * | lookup (const word &keyword) |
wordList | toc () const |
wordList | sortedToc () const |
wordList | sortedToc (const Compare &comp) const |
Foam::wordList | sortedToc (const Compare &comp) const |
void | insert (const word &keyword, T *) |
void | append (const word &keyword, T *) |
T * | remove (const word &keyword) |
void | clear () |
void | transfer (DictionaryBase< IDLListType, T > &dict) |
void | operator= (const DictionaryBase &) |
const T * | operator[] (const word &key) const |
T * | operator[] (const word &key) |
const T * | lookupPtr (const word &keyword) const |
T * | lookupPtr (const word &keyword) |
Additional Inherited Members | |
![]() | |
void | addEntries () |
![]() | |
HashTable< T * > | hashedTs_ |
Object registry for simpleRegIOobject. Maintains ordering.
Definition at line 77 of file simpleObjectRegistry.H.
|
inlineexplicit |
Definition at line 86 of file simpleObjectRegistry.H.
void setValues | ( | const dictionary & | dict, |
bool | report = false |
||
) |
Definition at line 31 of file simpleObjectRegistry.C.
References dict, Foam::ListOps::find(), Foam::infoDetailLevel, Log, Foam::log(), Foam::name(), Foam::nl, os(), and ISstream::rewind().
Referenced by Time::readDict().
void setNamedValue | ( | std::string | name, |
int | val, | ||
bool | report = false |
||
) |
Definition at line 85 of file simpleObjectRegistry.C.
References Foam::ListOps::find(), Foam::infoDetailLevel, Log, Foam::log(), Foam::name(), Foam::nl, Foam::readInt(), and ITstream::rewind().
Referenced by argList::argList(), and simpleObjectRegistry::setNamedInt().
|
inline |
Definition at line 108 of file simpleObjectRegistry.H.
References simpleObjectRegistry::setNamedValue().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.