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

token.H File Reference

Go to the source code of this file.


Classes

class  token
 A token holds items read from Istream. More...
class  compound
 Abstract base class for complex tokens. More...
class  Compound< T >
 A templated class for holding compound tokens. More...

Namespaces

namespace  Foam
 Namespace for OpenFOAM.

Defines

#define NoHashTableC
#define defineCompoundTypeName(Type, Name)
#define addCompoundToRunTimeSelectionTable(Type, Name)

Functions

Istream & operator>> (Istream &, token &)
Ostream & operator<< (Ostream &, const token &)
Ostream & operator<< (Ostream &, const token::punctuationToken &)
ostream & operator<< (ostream &, const token::punctuationToken &)
ostream & operator<< (ostream &, const InfoProxy< token > &)
Ostream & operator<< (Ostream &, const token::compound &)

Detailed Description

Original source file token.H

Definition in file token.H.


Define Documentation

#define NoHashTableC

Definition at line 43 of file token.H.

#define defineCompoundTypeName ( Type,
Name   ) 

Value:

typedef token::Compound<Type > tokenCompound##Name##_;                    \
    defineTemplateTypeNameAndDebugWithName(tokenCompound##Name##_, #Type, 0);

Definition at line 433 of file token.H.

#define addCompoundToRunTimeSelectionTable ( Type,
Name   ) 

Value:

token::compound::addIstreamConstructorToTable<token::Compound<Type > >    \
        add##Name##IstreamConstructorToTable_;

Definition at line 437 of file token.H.

Copyright © 2000-2009 OpenCFD Ltd