token.H File Reference
Include dependency graph for token.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define NoHashTableC
 
#define defineCompoundTypeName(Type, Name)   defineTemplateTypeNameAndDebugWithName(token::Compound<Type>, #Type, 0);
 
#define addCompoundToRunTimeSelectionTable(Type, Name)
 

Functions

Ostream & operator<< (Ostream &os, const token &tok)
 
Istream & operator>> (Istream &is, token &tok)
 
Ostream & operator<< (Ostream &os, const token::punctuationToken &pt)
 
ostream & operator<< (ostream &os, const token::punctuationToken &pt)
 
Ostream & operator<< (Ostream &os, const token::compound &ct)
 
ostream & operator<< (ostream &os, const InfoProxy< token > &ip)
 
template<>
Ostream & operator<< (Ostream &os, const InfoProxy< token > &ip)
 

Detailed Description

Original source file token.H

Definition in file token.H.

Macro Definition Documentation

◆ NoHashTableC

#define NoHashTableC

Definition at line 50 of file token.H.

◆ defineCompoundTypeName

#define defineCompoundTypeName (   Type,
  Name 
)    defineTemplateTypeNameAndDebugWithName(token::Compound<Type>, #Type, 0);

Definition at line 672 of file token.H.

◆ addCompoundToRunTimeSelectionTable

#define addCompoundToRunTimeSelectionTable (   Type,
  Name 
)
Value:
token::compound::addIstreamConstructorToTable<token::Compound<Type>> \
add##Name##IstreamConstructorToTable_;

Definition at line 675 of file token.H.