Go to the documentation of this file.
236 operator<<(os, static_cast<const T&>(*
this));
325 inline bool good()
const;
327 inline bool error()
const;
332 inline bool isWord()
const;
353 inline scalar
number()
const;
436 Ostream&
operator<<(Ostream&,
const token::compound&);
438 ostream&
operator<<(ostream&,
const InfoProxy<token>&);
441 Ostream&
operator<<(Ostream& os,
const InfoProxy<token>& ip);
443 #define defineCompoundTypeName(Type, Name) \
444 defineTemplateTypeNameAndDebugWithName(token::Compound<Type>, #Type, 0);
446 #define addCompoundToRunTimeSelectionTable(Type, Name) \
447 token::compound::addIstreamConstructorToTable<token::Compound<Type> > \
448 add##Name##IstreamConstructorToTable_;
bool isDoubleScalar() const
static autoPtr< compound > New(const word &type, Istream &)
Select null constructed.
double doubleScalar
Double precision floating point scalar type.
scalar scalarToken() const
Abstract base class for complex tokens.
friend Ostream & operator<<(Ostream &, const compound &)
A class for handling words, derived from string.
A templated class for holding compound tokens.
A helper class for outputting values to Ostream.
void operator=(const compound &)
Disallow default bitwise assignment.
Reference counter for various OpenFOAM components.
virtual ~compound()
Destructor.
bool isFloatScalar() const
float floatScalar
Float precision floating point scalar type.
punctuationToken
Standard punctuation tokens.
const word & wordToken() const
A token holds items read from Istream.
floatScalar floatScalarToken_
declareRunTimeSelectionTable(autoPtr, compound, Istream,(Istream &is),(is))
Declare run-time constructor selection table.
const compound & compoundToken() const
TypeName("compound")
Runtime type information.
const string & stringToken() const
tokenType type_
The token type.
void clear()
Clear any allocated storage (word or string)
bool operator!=(const token &) const
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
InfoProxy< token > info() const
Return info proxy.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
floatScalar floatScalarToken() const
compound & transferCompoundToken(const Istream &is)
static bool isCompound(const word &name)
Return true if name is a compound type.
void write(Ostream &os) const
virtual void write(Ostream &) const =0
Ostream & operator<<(Ostream &, const edgeMesh &)
punctuationToken pToken() const
tokenType
Enumeration defining the types of token.
static const char *const typeName
friend Istream & operator>>(Istream &, token &)
bool operator==(const token &) const
virtual label size() const =0
compound * compoundTokenPtr_
TypeName("Compound<T>")
Runtime type information.
void operator=(const token &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
friend Ostream & operator<<(Ostream &, const token &)
static token undefinedToken
Static undefined token.
Macros to ease declaration of run-time selection tables.
void parseError(const char *expected) const
Istream & operator>>(Istream &, edgeMesh &)
doubleScalar doubleScalarToken() const
compound()
Construct null.
punctuationToken punctuationToken_
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.
bool isPunctuation() const
label lineNumber_
Line number in the file this token was read from.
doubleScalar doubleScalarToken_
word name(const complex &)
Return a string representation of a complex.