OpenFOAM logo
Open Source CFD Toolkit

token::compound Class Reference

Inheritance diagram for token::compound:

Inheritance graph
[legend]
Collaboration diagram for token::compound:

Collaboration graph
[legend]
List of all members.

Detailed Description

Abstract base class for complex tokens.

Definition at line 120 of file token.H.

Public Member Functions

 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 ()
virtual label size () const =0
virtual void write (Ostream &) const =0

Static Public Member Functions

autoPtr< compoundNew (const word &type, Istream &is)
 Select null constructed.
bool isCompound (const word &name)
 Return true if name is a compound type.

Friends

Ostreamoperator<< (Ostream &, const compound &)


Constructor & Destructor Documentation

compound  )  [inline]
 

Construct null.

Definition at line 158 of file token.H.

virtual ~compound  )  [virtual]
 


Member Function Documentation

declareRunTimeSelectionTable autoPtr  ,
compound  ,
Istream  ,
(Istream &is)  ,
(is) 
 

Declare run-time constructor selection table.

bool& empty  )  [inline]
 

Definition at line 187 of file token.H.

bool empty  )  const [inline]
 

Definition at line 182 of file token.H.

bool isCompound const word name  )  [static]
 

Return true if name is a compound type.

autoPtr<compound> New const word type,
Istream is
[static]
 

Select null constructed.

virtual label size  )  const [pure virtual]
 

Implemented in token::Compound.

TypeName "compound"   ) 
 

Runtime type information.

virtual void write Ostream  )  const [pure virtual]
 

Implemented in token::Compound.


Friends And Related Function Documentation

Ostream& operator<< Ostream ,
const compound
[friend]
 


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org