Public Member Functions | List of all members
ReactionList< ThermoType > Class Template Reference

List of templated reactions. More...

Inheritance diagram for ReactionList< ThermoType >:
Inheritance graph
[legend]
Collaboration diagram for ReactionList< ThermoType >:
Collaboration graph
[legend]

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...
 
Tfirst ()
 Return the first entry added. More...
 
const Tfirst () const
 Return const access to the first entry added. More...
 
Tlast ()
 Return the last entry added. More...
 
const Tlast () 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...
 
TremoveHead ()
 Remove and return head. More...
 
Tremove (link *l)
 Remove and return element. More...
 
Tremove (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 iteratorend ()
 
const const_iteratorend () const
 
const_iterator cbegin () const
 
const const_iteratorcend () const
 

Additional Inherited Members

- Public Types inherited from LPtrList< LListBase, T >
typedef Treference
 Type that can be used for storing into LPtrList::value_type. More...
 
typedef Tconst_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 Tvalue_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
 

Detailed Description

template<class ThermoType>
class Foam::ReactionList< ThermoType >

List of templated reactions.

Source files

Definition at line 54 of file ReactionList.H.

Constructor & Destructor Documentation

ReactionList ( const speciesTable species,
const HashPtrTable< ThermoType > &  thermoDatabase 
)

Construct null.

Definition at line 34 of file ReactionList.C.

Referenced by ReactionList< ThermoType >::ReactionList().

Here is the caller graph for this function:

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

Here is the call graph for this function:

ReactionList ( const speciesTable species,
const HashPtrTable< ThermoType > &  thermoDatabase,
const fileName fName 
)

Construct from file using (Istream)

Definition at line 65 of file ReactionList.C.

References ReactionList< ThermoType >::ReactionList().

Here is the call graph for this function:

ReactionList ( const ReactionList< ThermoType > &  reactions)

Construct copy.

Destructor.

Definition at line 95 of file ReactionList.C.

Member Function Documentation

bool readReactionDict ( )

Read reactions from dictionary.

Definition at line 102 of file ReactionList.C.

References forAllConstIter().

Here is the call graph for this function:

void write ( Ostream os) const

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