Public Member Functions | Static Public Member Functions | Friends | List of all members
token::compound Class Referenceabstract
Inheritance diagram for token::compound:
Inheritance graph
[legend]
Collaboration diagram for token::compound:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("compound")
 
 declareRunTimeSelectionTable (autoPtr, compound, Istream,(Istream &is),(is))
 
constexpr compound () noexcept
 
virtual ~compound () noexcept=default
 
bool moved () const noexcept
 
void moved (bool b) noexcept
 
virtual label size () const =0
 
virtual void write (Ostream &os) const =0
 
- Public Member Functions inherited from refCount
constexpr refCount () noexcept
 
int count () const noexcept
 
bool unique () const noexcept
 
void operator++ () noexcept
 
void operator++ (int) noexcept
 
void operator-- () noexcept
 
void operator-- (int) noexcept
 

Static Public Member Functions

static autoPtr< compoundNew (const word &type, Istream &is)
 
static bool isCompound (const word &name)
 

Friends

Ostreamoperator<< (Ostream &os, const compound &ct)
 

Detailed Description

Definition at line 164 of file token.H.

Constructor & Destructor Documentation

◆ compound()

constexpr compound ( )
inlineconstexprnoexcept

Definition at line 196 of file token.H.

◆ ~compound()

virtual ~compound ( )
virtualdefaultnoexcept

Member Function Documentation

◆ TypeName()

TypeName ( "compound"  )

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
compound  ,
Istream  ,
(Istream &is)  ,
(is)   
)

◆ New()

Foam::autoPtr< Foam::token::compound > New ( const word type,
Istream is 
)
static

Definition at line 49 of file token.C.

References Foam::abort(), Foam::FatalIOError, and FatalIOErrorInLookup.

Referenced by UIPstream::read(), and ISstream::read().

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

◆ isCompound()

bool isCompound ( const word name)
static

Definition at line 73 of file token.C.

References Foam::name().

Referenced by UIPstream::read(), and ISstream::read().

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

◆ moved() [1/2]

bool moved ( ) const
inlinenoexcept

Definition at line 215 of file token.H.

Referenced by Foam::printTokenInfo().

Here is the caller graph for this function:

◆ moved() [2/2]

void moved ( bool  b)
inlinenoexcept

Definition at line 221 of file token.H.

References Foam::constant::physicoChemical::b.

◆ size()

virtual label size ( ) const
pure virtual

Implemented in token::Compound< T >.

◆ write()

virtual void write ( Ostream os) const
pure virtual

Implemented in token::Compound< T >.

Referenced by Foam::operator<<().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream os,
const compound ct 
)
friend

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