token::Compound< T > Class Template Reference

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

Inheritance diagram for token::Compound< T >:
[legend]
Collaboration diagram for token::Compound< T >:
[legend]

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...
 
virtual ~compound ()=default
 Destructor. More...
 
bool empty () const
 
boolempty ()
 
- Public Member Functions inherited from refCount
constexpr refCount () noexcept
 Construct null initializing count to 0. More...
 
int count () const noexcept
 Return the current reference count. More...
 
bool unique () const noexcept
 Return true if the reference count is zero. More...
 
void operator++ () noexcept
 Increment the reference count. More...
 
void operator++ (int) noexcept
 Increment the reference count. More...
 
void operator-- () noexcept
 Decrement the reference count. More...
 
void operator-- (int) noexcept
 Decrement the reference count. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from token::compound
static autoPtr< compoundNew (const word &type, Istream &is)
 Select null constructed. More...
 
static bool isCompound (const word &name)
 Return true if name is a known (registered) compound type. More...
 

Detailed Description

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

A templated class for holding compound tokens.

Definition at line 219 of file token.H.

Constructor & Destructor Documentation

◆ Compound()

Compound ( Istream is)
inline

Definition at line 229 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 234 of file token.H.

◆ write()

void write ( Ostream os) const
inlinevirtual

Implements token::compound.

Definition at line 239 of file token.H.


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