OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

CompoundToken Class Reference

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

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

Static Public Member Functions

static autoPtr< CompoundTokenNew (const word &type, Istream &is)
 Select null constructed.

Friends

Ostreamoperator<< (Ostream &, const CompoundToken &)

Detailed Description

An abstract base class for managing compound tokens.

Definition at line 47 of file CompoundToken.H.


Constructor & Destructor Documentation

CompoundToken (  )  [inline]

Construct null.

Definition at line 81 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:
Copyright © 2000-2009 OpenCFD Ltd