ReactionList< ThermoType > Class Template Reference

List of templated reactions. More...

Inheritance diagram for ReactionList< ThermoType >:
Collaboration diagram for ReactionList< ThermoType >:

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 ReactionList< ThermoType > &reactions)
 Construct copy. More...
 
 ~ReactionList ()
 Destructor. More...
 
bool readReactionDict ()
 Read reactions from dictionary. More...
 
void write (Ostream &os) const
 Write. More...
 
void operator= (const ReactionList &)=delete
 Disallow default bitwise assignment. 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 &)
 Copy constructor. More...
 
 LPtrList (LPtrList &&)
 Move constructor. 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 > &)
 Assignment operator. More...
 
void operator= (LPtrList< LListBase, T > &&)
 Move assignment operator. 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 * > &)
 Copy constructor. More...
 
 LList (LList< LListBase, T * > &&)
 Move constructor. More...
 
 LList (std::initializer_list< T * >)
 Construct from an initializer list. 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 * > &)
 Assignment operator. More...
 
void operator= (LList< LListBase, T * > &&)
 Move assignment operator. More...
 
void operator= (std::initializer_list< T * >)
 Assignment to an initializer list. More...
 
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() [1/3]

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

Construct null.

Definition at line 34 of file ReactionList.C.

Referenced by ReactionList< Foam::sutherlandTransport >::ReactionList().

Here is the caller graph for this function:

◆ ReactionList() [2/3]

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

Construct from dictionary.

Definition at line 48 of file ReactionList.C.

◆ ReactionList() [3/3]

ReactionList ( const ReactionList< ThermoType > &  reactions)

Construct copy.

Definition at line 64 of file ReactionList.C.

◆ ~ReactionList()

Destructor.

Definition at line 76 of file ReactionList.C.

Member Function Documentation

◆ readReactionDict()

bool readReactionDict ( )

Read reactions from dictionary.

Definition at line 83 of file ReactionList.C.

◆ write()

void write ( Ostream os) const

Write.

Definition at line 114 of file ReactionList.C.

◆ operator=()

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

Disallow default bitwise assignment.


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