OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

token.H File Reference


Detailed Description

View token.H
License
This file is part of OpenFOAM.

OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.

OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Description
A token holds items read from Istream.

Source files

Definition in file token.H.

Go to the source code of this file.


Namespaces

namespace  Foam

Classes

class  token
class  token::compound
 Abstract base class for complex tokens. More...
class  token::Compound

Defines

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

Define Documentation

#define NoHashTableC

Definition at line 55 of file token.H.

#define defineCompoundTypeName ( Type,
Name   ) 

Value:

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

Definition at line 426 of file token.H.

#define addCompoundToRunTimeSelectionTable ( Type,
Name   ) 

Value:

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

Definition at line 430 of file token.H.

Copyright © 2000-2007 OpenCFD Ltd