token::Compound< T > Class Template Reference

A templated class for holding compound tokens. More...

Inheritance diagram for token::Compound< T >:
Collaboration diagram for token::Compound< T >:

Public Member Functions

 TypeName ("Compound<T>")
 Runtime type information. More...
 
 Compound (Istream &is)
 
label size () const
 
void write (Ostream &os) const
 
- Public Member Functions inherited from token::compound
 TypeName ("compound")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, compound, Istream,(Istream &is),(is))
 Declare run-time constructor selection table. More...
 
 compound ()
 Construct null. More...
 
 compound (const compound &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~compound ()
 Destructor. More...
 
bool empty () const
 
boolempty ()
 
void operator= (const compound &)=delete
 Disallow default bitwise assignment. More...
 
- Public Member Functions inherited from refCount
int count () const
 Return the current reference count. More...
 
bool unique () const
 Return true if the reference count is zero. More...
 
void operator++ ()
 Increment the reference count. More...
 
void operator++ (int)
 Increment the reference count. More...
 
void operator-- ()
 Decrement the reference count. More...
 
void operator-- (int)
 Decrement the reference count. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from token::compound
static autoPtr< compoundNew (const word &type, Istream &)
 Select null constructed. More...
 
static bool isCompound (const word &name)
 Return true if name is a compound type. More...
 
- Protected Member Functions inherited from refCount
 refCount ()
 Construct null initialising count to 0. More...
 

Detailed Description

template<class T>
class Foam::token::Compound< T >

A templated class for holding compound tokens.

Definition at line 209 of file token.H.

Constructor & Destructor Documentation

◆ Compound()

Compound ( Istream is)
inline

Definition at line 219 of file token.H.

Member Function Documentation

◆ TypeName()

TypeName ( "Compound<T>"  )

Runtime type information.

◆ size()

label size ( ) const
inlinevirtual

Implements token::compound.

Definition at line 224 of file token.H.

◆ write()

void write ( Ostream os) const
inlinevirtual

Implements token::compound.

Definition at line 229 of file token.H.


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