Public Member Functions | Private Member Functions | Private Attributes
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< SLListBase, Reaction< ThermoType > >
 LPtrList ()
 Null construct. More...
 
 LPtrList (T *a)
 Construct given initial T. More...
 
 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...
 

Private Member Functions

void operator= (const ReactionList &)
 Disallow default bitwise assignment. More...
 

Private Attributes

const speciesTablespecies_
 Reference to the table of species. More...
 
const HashPtrTable< ThermoType > & thermoDb_
 Reference to the thermo database. More...
 
const dictionary dict_
 The dictionary used for construction. More...
 

Additional Inherited Members

- Public Types inherited from LPtrList< SLListBase, Reaction< ThermoType > >
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
 

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() [1/4]

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

Construct null.

Definition at line 34 of file ReactionList.C.

◆ ReactionList() [2/4]

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

Construct from dictionary.

Definition at line 48 of file ReactionList.C.

◆ ReactionList() [3/4]

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() [4/4]

ReactionList ( const ReactionList< ThermoType > &  reactions)

Construct copy.

◆ ~ReactionList()

Destructor.

Definition at line 95 of file ReactionList.C.

Member Function Documentation

◆ operator=()

void operator= ( const ReactionList< ThermoType > &  )
private

Disallow default bitwise assignment.

◆ readReactionDict()

bool readReactionDict

Read reactions from dictionary.

Definition at line 102 of file ReactionList.C.

◆ write()

void write ( Ostream os) const

Write.

Definition at line 126 of file ReactionList.C.

Field Documentation

◆ species_

const speciesTable& species_
private

Reference to the table of species.

Definition at line 61 of file ReactionList.H.

◆ thermoDb_

const HashPtrTable<ThermoType>& thermoDb_
private

Reference to the thermo database.

Definition at line 64 of file ReactionList.H.

◆ dict_

const dictionary dict_
private

The dictionary used for construction.

Definition at line 67 of file ReactionList.H.


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