List of templated reactions. More...
Public Member Functions | |
ReactionList (const speciesTable &species, const HashPtrTable< ThermoType > &thermoDatabase) | |
Construct null. More... | |
ReactionList (const speciesTable &species, const HashPtrTable< ThermoType > &thermoDatabase, const dictionary &dict) | |
Construct from dictionary. More... | |
ReactionList (const speciesTable &species, const HashPtrTable< ThermoType > &thermoDatabase, const fileName &fName) | |
Construct from file using (Istream) More... | |
ReactionList (const ReactionList< ThermoType > &reactions) | |
Construct copy. More... | |
~ReactionList () | |
Destructor. More... | |
bool | readReactionDict () |
Read reactions from dictionary. More... | |
void | write (Ostream &os) const |
Write. More... | |
Public Member Functions inherited from SLPtrList< Reaction< ThermoType > > | |
SLPtrList () | |
Null construct. More... | |
SLPtrList (Reaction< ThermoType > *a) | |
Construct given initial T*. More... | |
SLPtrList (Istream &is, const INew &inewt) | |
Construct from Istream using given Istream constructor class. More... | |
SLPtrList (Istream &is) | |
Construct from Istream. More... | |
Public Member Functions inherited from LPtrList< LListBase, T > | |
LPtrList () | |
Null construct. More... | |
LPtrList (T *a) | |
Construct given initial T. More... | |
template<class INew > | |
LPtrList (Istream &, const INew &) | |
Construct from Istream using given Istream constructor class. More... | |
LPtrList (Istream &) | |
Construct from Istream using default Istream constructor class. More... | |
LPtrList (const LPtrList &) | |
Construct as copy. More... | |
~LPtrList () | |
Destructor. More... | |
T & | first () |
Return the first entry added. More... | |
const T & | first () const |
Return const access to the first entry added. More... | |
T & | last () |
Return the last entry added. More... | |
const T & | last () const |
Return const access to the last entry added. More... | |
bool | eraseHead () |
Remove the head element from the list and delete the pointer. More... | |
void | clear () |
Clear the contents of the list. More... | |
void | transfer (LPtrList< LListBase, T > &) |
Transfer the contents of the argument into this List. More... | |
void | operator= (const LPtrList< LListBase, T > &) |
Assign copy. More... | |
Public Member Functions inherited from LList< LListBase, T * > | |
LList () | |
Null construct. More... | |
LList (T *a) | |
Construct given initial T. More... | |
LList (Istream &) | |
Construct from Istream. More... | |
LList (const LList< LListBase, T * > &) | |
Construct as copy. More... | |
~LList () | |
Destructor. More... | |
T *& | first () |
Return the first entry added. More... | |
const T *& | first () const |
Return const access to the first entry added. More... | |
T *& | last () |
Return the last entry added. More... | |
const T *& | last () const |
Return const access to the last entry added. More... | |
void | insert (const T *&a) |
Add at head of list. More... | |
void | append (const T *&a) |
Add at tail of list. More... | |
T * | removeHead () |
Remove and return head. More... | |
T * | remove (link *l) |
Remove and return element. More... | |
T * | remove (iterator &it) |
Remove and return element specified by iterator. More... | |
void | clear () |
Delete contents of list. More... | |
void | transfer (LList< LListBase, T * > &) |
Transfer the contents of the argument into this List. More... | |
void | operator= (const LList< LListBase, T * > &) |
iterator | begin () |
const_iterator | begin () const |
const iterator & | end () |
const const_iterator & | end () const |
const_iterator | cbegin () const |
const const_iterator & | cend () const |
Additional Inherited Members | |
Public Types inherited from LPtrList< LListBase, T > | |
typedef T & | reference |
Type that can be used for storing into LPtrList::value_type. More... | |
typedef T & | const_reference |
Type that can be used for storing into constant. More... | |
typedef LListBase::iterator | LListBase_iterator |
typedef LListBase::const_iterator | LListBase_const_iterator |
Public Types inherited from LList< LListBase, T * > | |
typedef T * | value_type |
Type of values the LList contains. More... | |
typedef T *& | reference |
Type that can be used for storing into value_type. More... | |
typedef const T *& | const_reference |
Type that can be used for storing into constant. More... | |
typedef label | size_type |
The type that can represent the size of a LList. More... | |
typedef LListBase::iterator | LListBase_iterator |
typedef LListBase::const_iterator | LListBase_const_iterator |
List of templated reactions.
Definition at line 54 of file ReactionList.H.
ReactionList | ( | const speciesTable & | species, |
const HashPtrTable< ThermoType > & | thermoDatabase | ||
) |
Construct null.
Definition at line 34 of file ReactionList.C.
Referenced by ReactionList< ThermoType >::ReactionList().
ReactionList | ( | const speciesTable & | species, |
const HashPtrTable< ThermoType > & | thermoDatabase, | ||
const dictionary & | dict | ||
) |
Construct from dictionary.
Definition at line 48 of file ReactionList.C.
References ReactionList< ThermoType >::ReactionList().
ReactionList | ( | const speciesTable & | species, |
const HashPtrTable< ThermoType > & | thermoDatabase, | ||
const fileName & | fName | ||
) |
Construct from file using (Istream)
Definition at line 65 of file ReactionList.C.
ReactionList | ( | const ReactionList< ThermoType > & | reactions | ) |
Construct copy.
Definition at line 83 of file ReactionList.C.
~ReactionList | ( | ) |
Destructor.
Definition at line 95 of file ReactionList.C.
bool readReactionDict | ( | ) |
Read reactions from dictionary.
Definition at line 102 of file ReactionList.C.
References LList< LListBase, T * >::append(), forAllConstIter(), and dictionary::subDict().
void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 126 of file ReactionList.C.
References token::BEGIN_BLOCK, Foam::decrIndent(), token::END_BLOCK, token::END_STATEMENT, forAllConstIter(), Foam::incrIndent(), Foam::indent(), Reaction< ReactionThermo >::name(), Foam::nl, Reaction< ReactionThermo >::write(), and Ostream::writeKeyword().