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

compound Class Reference

Abstract base class for complex tokens. More...

Inheritance diagram for compound:
Collaboration diagram for compound:

List of all members.


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

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

Friends

Ostreamoperator<< (Ostream &, const compound &)

Detailed Description

Abstract base class for complex tokens.

Definition at line 115 of file token.H.


Constructor & Destructor Documentation

compound (  )  [inline]

Construct null.

Definition at line 153 of file token.H.

~compound (  )  [virtual]

Definition at line 41 of file token.C.

References Foam::endl(), Foam::FatalIOError, and token::info().

Here is the call graph for this function:


Member Function Documentation

TypeName ( "compound"   ) 

Runtime type information.

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

Declare run-time constructor selection table.

Foam::autoPtr< Foam::token::compound > New ( const word type,
Istream is 
) [static]

Select null constructed.

Definition at line 48 of file token.C.

bool isCompound ( const word name  )  [static]

Return true if name is a compound type.

Definition at line 71 of file token.C.

bool empty (  )  const [inline]

Definition at line 177 of file token.H.

bool& empty (  )  [inline]

Definition at line 182 of file token.H.

virtual label size (  )  const [pure virtual]

Implemented in Compound< T >.

virtual void write ( Ostream  )  const [pure virtual]

Implemented in Compound< T >.


Friends And Related Function Documentation

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


The documentation for this class was generated from the following files:
  • src/OpenFOAM/db/IOstreams/token/token.H
  • src/OpenFOAM/db/IOstreams/token/token.C
Copyright © 2000-2009 OpenCFD Ltd