Public Member Functions | List of all members
simpleObjectRegistry Class Reference

Object registry for simpleRegIOobject. Maintains ordering. More...

Inheritance diagram for simpleObjectRegistry:
Inheritance graph
[legend]
Collaboration diagram for simpleObjectRegistry:
Collaboration graph
[legend]

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)
 
- Public Member Functions inherited from Dictionary< simpleObjectRegistryEntry >
 Dictionary (const label size=128)
 
 Dictionary (const Dictionary &dict)
 
bool erase (const word &keyword)
 
- Public Member Functions inherited from DictionaryBase< IDLList< simpleObjectRegistryEntry >, simpleObjectRegistryEntry >
 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 Tcfind (const word &keyword) const
 
Tfind (const word &keyword)
 
const Tlookup (const word &keyword) const
 
Tlookup (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 *)
 
Tremove (const word &keyword)
 
void clear ()
 
void transfer (DictionaryBase< IDLListType, T > &dict)
 
void operator= (const DictionaryBase &)
 
const Toperator[] (const word &key) const
 
Toperator[] (const word &key)
 
const TlookupPtr (const word &keyword) const
 
TlookupPtr (const word &keyword)
 

Additional Inherited Members

- Protected Member Functions inherited from DictionaryBase< IDLList< simpleObjectRegistryEntry >, simpleObjectRegistryEntry >
void addEntries ()
 
- Protected Attributes inherited from DictionaryBase< IDLList< simpleObjectRegistryEntry >, simpleObjectRegistryEntry >
HashTable< T * > hashedTs_
 

Detailed Description

Object registry for simpleRegIOobject. Maintains ordering.

Source files

Definition at line 77 of file simpleObjectRegistry.H.

Constructor & Destructor Documentation

◆ simpleObjectRegistry()

simpleObjectRegistry ( const label  size = 128)
inlineexplicit

Definition at line 86 of file simpleObjectRegistry.H.

Member Function Documentation

◆ setValues()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setNamedValue()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setNamedInt()

void setNamedInt ( std::string  name,
int  val,
bool  report = false 
)
inline

Definition at line 108 of file simpleObjectRegistry.H.

References simpleObjectRegistry::setNamedValue().

Here is the call graph for this function:

The documentation for this class was generated from the following files: