An abstract base class for managing compound tokens. More...
#include <OpenFOAM/CompoundToken.H>
Public Member Functions | |
virtual const word & | type () const =0 |
Runtime type information. | |
declareRunTimeSelectionTable (autoPtr, CompoundToken, Istream,(const word &type, Istream &is),(type, is)) | |
CompoundToken () | |
Construct null. | |
virtual autoPtr< CompoundToken > | clone () const =0 |
Return the clone as this and increment reference count. | |
virtual | ~CompoundToken () |
virtual void | write (Istream &)=0 |
![]() | |
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. |
Static Public Member Functions | |
static autoPtr< CompoundToken > | New (const word &type, Istream &is) |
Select null constructed. |
Friends | |
Ostream & | operator<< (Ostream &, const CompoundToken &) |
|
inline |
Construct null.
Definition at line 89 of file CompoundToken.H.
|
virtual |
|
pure virtual |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
CompoundToken | , | ||
Istream | , | ||
(const word &type, Istream &is) | , | ||
(type, is) | |||
) |
|
pure virtual |
Return the clone as this and increment reference count.
|
static |
Select null constructed.
|
pure virtual |
|
friend |