FreeFOAM The Cross-Platform CFD Toolkit
token::Compound< T > Class Template Reference

A templated class for holding compound tokens. More...

#include <src/OpenFOAM/db/IOstreams/token/token.H>


Detailed Description

template<class T>
class Foam::token::Compound< T >

A templated class for holding compound tokens.

Definition at line 212 of file token.H.

+ Inheritance diagram for token::Compound< T >:
+ Collaboration diagram for token::Compound< T >:

List of all members.

Public Member Functions

 TypeName ("Compound<T>")
 Runtime type information.
 Compound (Istream &is)
label size () const
void write (Ostream &os) const
- Public Member Functions inherited from token::compound
 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 ()
- 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.

Additional Inherited Members

- Static Public Member Functions inherited from token::compound
static autoPtr< compoundNew (const word &type, Istream &)
 Select null constructed.
static bool isCompound (const word &name)
 Return true if name is a compound type.

Constructor & Destructor Documentation

Compound ( Istream is)
inline

Definition at line 222 of file token.H.


Member Function Documentation

TypeName ( "Compound<T>"  )

Runtime type information.

label size ( ) const
inlinevirtual

Implements token::compound.

Definition at line 227 of file token.H.

void write ( Ostream os) const
inlinevirtual

Implements token::compound.

Definition at line 232 of file token.H.


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