235 operator<<(os, static_cast<const T&>(*
this));
249 static const word typeNames_[];
283 void parseError(
const char* expected)
const;
344 inline bool good()
const;
346 inline bool error()
const;
354 inline bool isWord()
const;
403 inline scalar
number()
const;
520 #define defineCompoundTypeName(Type, Name) \
521 defineTemplateTypeNameAndDebugWithName(token::Compound<Type>, #Type, 0);
523 #define addCompoundToRunTimeSelectionTable(Type, Name) \
524 token::compound::addIstreamConstructorToTable<token::Compound<Type>> \
525 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 isUnsignedInteger32() const
bool isPunctuation() const
punctuationToken punctuationToken_
bool isDoubleScalar() const
tokenType
Enumeration defining the types of token.
bool isLongDoubleScalar() const
verbatimString * verbatimStringTokenPtr_
int32_t integer32Token() const
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
bool isUnsignedInteger64() const
uint32_t unsignedInteger32Token() const
friend ostream & operator<<(ostream &, const punctuationToken &)
InfoProxy< token > info() const
Return info proxy.
void operator=(const token &)
int64_t integer64Token() const
friend Istream & operator>>(Istream &, token &)
const string & anyStringToken() const
bool isFunctionName() const
const compound & compoundToken() const
bool isFloatScalar() const
uLabel uLabelToken() const
bool operator!=(const token &) const
const word & typeName() const
Return the type name of the token.
uint64_t unsignedInteger64Token() const
doubleScalar doubleScalarToken() const
doubleScalar doubleScalarToken_
const word & wordToken() const
scalar scalarToken() const
const verbatimString & verbatimStringToken() const
uint32_t unsignedInteger32Token_
bool operator==(const token &) const
uint64_t unsignedInteger64Token_
static token undefinedToken
Static undefined token.
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.
word name(const bool)
Return a word representation of a bool.
double doubleScalar
Double precision floating point scalar type.
Istream & operator>>(Istream &, pistonPointEdgeData &)
float floatScalar
Float precision floating point scalar type.
uintWM_LABEL_SIZE_t uLabel
A uLabel is an uint32_t or uint64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)
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.
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...