FreeFOAM The Cross-Platform CFD Toolkit
CompoundToken Class Reference

An abstract base class for managing compound tokens. More...

#include <OpenFOAM/CompoundToken.H>


Detailed Description

An abstract base class for managing compound tokens.

Definition at line 55 of file CompoundToken.H.

+ Inheritance diagram for CompoundToken:
+ Collaboration diagram for CompoundToken:

List of all members.

Public Member Functions

virtual const wordtype () const =0
 Runtime type information.
 declareRunTimeSelectionTable (autoPtr, CompoundToken, Istream,(const word &type, Istream &is),(type, is))
 CompoundToken ()
 Construct null.
virtual autoPtr< CompoundTokenclone () const =0
 Return the clone as this and increment reference count.
virtual ~CompoundToken ()
virtual void write (Istream &)=0
- Public Member Functions inherited from refCount
 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< CompoundTokenNew (const word &type, Istream &is)
 Select null constructed.

Friends

Ostreamoperator<< (Ostream &, const CompoundToken &)

Constructor & Destructor Documentation

CompoundToken ( )
inline

Construct null.

Definition at line 89 of file CompoundToken.H.

virtual ~CompoundToken ( )
virtual

Member Function Documentation

virtual const word& type ( ) const
pure virtual

Runtime type information.

declareRunTimeSelectionTable ( autoPtr  ,
CompoundToken  ,
Istream  ,
(const word &type, Istream &is)  ,
(type, is)   
)
virtual autoPtr<CompoundToken> clone ( ) const
pure virtual

Return the clone as this and increment reference count.

static autoPtr<CompoundToken> New ( const word type,
Istream is 
)
static

Select null constructed.

virtual void write ( Istream )
pure virtual

Friends And Related Function Documentation

Ostream& operator<< ( Ostream ,
const CompoundToken  
)
friend

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