A templated class for holding compound tokens. More...
#include <src/OpenFOAM/db/IOstreams/token/token.H>
A templated class for holding compound tokens.
Public Member Functions | |
TypeName ("Compound<T>") | |
Runtime type information. | |
Compound (Istream &is) | |
label | size () const |
void | write (Ostream &os) const |
![]() | |
TypeName ("compound") | |
Runtime type information. | |
declareRunTimeSelectionTable (autoPtr, compound, Istream,(Istream &is),(is)) | |
Declare run-time constructor selection table. | |
compound () | |
Construct null. | |
virtual | ~compound () |
bool | empty () const |
bool & | empty () |
![]() | |
refCount () | |
Construct null with zero count. | |
int | count () const |
Return the reference count. | |
bool | okToDelete () const |
Return true if the reference count is zero. | |
void | resetRefCount () |
Reset the reference count to zero. | |
void | operator++ () |
Increment the reference count. | |
void | operator++ (int) |
Increment the reference count. | |
void | operator-- () |
Decrement the reference count. | |
void | operator-- (int) |
Decrement the reference count. |
Additional Inherited Members | |
![]() | |
static autoPtr< compound > | New (const word &type, Istream &) |
Select null constructed. | |
static bool | isCompound (const word &name) |
Return true if name is a compound type. |
TypeName | ( | "Compound<T>" | ) |
Runtime type information.
|
inlinevirtual |
Implements token::compound.
|
inlinevirtual |
Implements token::compound.