232 operator<<(os, static_cast<const T&>(*
this));
274 void parseError(
const char* expected)
const;
331 inline bool good()
const;
333 inline bool error()
const;
338 inline bool isWord()
const;
372 inline scalar
number()
const;
480 #define defineCompoundTypeName(Type, Name) \
481 defineTemplateTypeNameAndDebugWithName(token::Compound<Type>, #Type, 0);
483 #define addCompoundToRunTimeSelectionTable(Type, Name) \
484 token::compound::addIstreamConstructorToTable<token::Compound<Type>> \
485 add##Name##IstreamConstructorToTable_;
A helper class for outputting values to Ostream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
The TAB Method for Numerical Calculation of Spray Droplet Breakup.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A functionName is a word starting with '#'.
Reference counter for various OpenFOAM components.
A templated class for holding compound tokens.
void write(Ostream &os) const
TypeName("Compound<T>")
Runtime type information.
Abstract base class for complex tokens.
virtual void write(Ostream &) const =0
TypeName("compound")
Runtime type information.
static autoPtr< compound > New(const word &type, Istream &)
Select null constructed.
static bool isCompound(const word &name)
Return true if name is a compound type.
compound()
Construct null.
friend Ostream & operator<<(Ostream &, const compound &)
void operator=(const compound &)=delete
Disallow default bitwise assignment.
virtual label size() const =0
virtual ~compound()
Destructor.
declareRunTimeSelectionTable(autoPtr, compound, Istream,(Istream &is),(is))
Declare run-time constructor selection table.
A token holds items read from Istream.
longDoubleScalar longDoubleScalarToken() const
const variable & variableToken() const
compound & transferCompoundToken(const Istream &is)
friend Ostream & operator<<(Ostream &, const token &)
bool isPunctuation() const
punctuationToken punctuationToken_
bool isDoubleScalar() const
tokenType
Enumeration defining the types of token.
bool isLongDoubleScalar() const
verbatimString * verbatimStringTokenPtr_
compound * compoundTokenPtr_
bool isVerbatimString() const
functionName * functionNameTokenPtr_
floatScalar floatScalarToken_
const functionName & functionNameToken() const
variable * variableTokenPtr_
floatScalar floatScalarToken() const
punctuationToken
Standard punctuation tokens.
const string & stringToken() const
punctuationToken pToken() const
friend ostream & operator<<(ostream &, const punctuationToken &)
InfoProxy< token > info() const
Return info proxy.
void operator=(const token &)
friend Istream & operator>>(Istream &, token &)
const string & anyStringToken() const
bool isFunctionName() const
const compound & compoundToken() const
bool isFloatScalar() const
bool operator!=(const token &) const
doubleScalar doubleScalarToken() const
doubleScalar doubleScalarToken_
const word & wordToken() const
scalar scalarToken() const
const verbatimString & verbatimStringToken() const
bool operator==(const token &) const
static token undefinedToken
Static undefined token.
static const char *const typeName
longDoubleScalar * longDoubleScalarTokenPtr_
A variable is a word with support for additional characters, in particular '$' and '/'.
A class for handling verbatimStrings, derived from string.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
double doubleScalar
Double precision floating point scalar type.
Istream & operator>>(Istream &, directionInfo &)
float floatScalar
Float precision floating point scalar type.
Ostream & operator<<(Ostream &, const ensightPart &)
word name(const complex &)
Return a string representation of a complex.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
long double longDoubleScalar
Lang double precision floating point scalar type.
Macros to ease declaration of run-time selection tables.