A templated class for holding compound tokens. More...
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 |
bool & | empty () |
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< compound > | New (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... | |
A templated class for holding compound tokens.
TypeName | ( | "Compound<T>" | ) |
Runtime type information.
|
inlinevirtual |
Implements token::compound.
|
inlinevirtual |
Implements token::compound.