token Class Reference

A token holds items read from Istream. More...

Collaboration diagram for token:

Classes

class  compound
 Abstract base class for complex tokens. More...
 
class  Compound
 A templated class for holding compound tokens. More...
 

Public Types

enum  tokenType : char {
  UNDEFINED = 0 , PUNCTUATION = char(128) , WORD , FUNCTIONNAME ,
  VARIABLE , STRING , VERBATIMSTRING , INTEGER_32 ,
  INTEGER_64 , UNSIGNED_INTEGER_32 , UNSIGNED_INTEGER_64 , FLOAT_SCALAR ,
  DOUBLE_SCALAR , LONG_DOUBLE_SCALAR , COMPOUND , ERROR
}
 Enumeration defining the types of token. More...
 
enum  punctuationToken : char {
  NULL_TOKEN = '\0' , SPACE = ' ' , TAB = '\t' , NL = '\n' ,
  END_STATEMENT = ';' , BEGIN_LIST = '(' , END_LIST = ')' , BEGIN_SQR = '[' ,
  END_SQR = ']' , BEGIN_BLOCK = '{' , END_BLOCK = '}' , COLON = ':' ,
  COMMA = ',' , HASH = '#' , BEGIN_STRING = '"' , END_STRING = BEGIN_STRING ,
  ASSIGN = '=' , ADD = '+' , SUBTRACT = '-' , MULTIPLY = '*' ,
  DIVIDE = '/'
}
 Standard punctuation tokens. More...
 

Public Member Functions

 token ()
 Construct null. More...
 
 token (const token &)
 Copy constructor. More...
 
 token (punctuationToken, label lineNumber=0)
 Construct punctuation character token. More...
 
 token (const word &, label lineNumber=0)
 Construct word token. More...
 
 token (const string &, label lineNumber=0)
 Construct string token. More...
 
 token (const verbatimString &, label lineNumber=0)
 Construct verbatimString token. More...
 
 token (const int32_t, label lineNumber=0)
 Construct 32-bit integer token. More...
 
 token (const int64_t, label lineNumber=0)
 Construct 64-bit integer token. More...
 
 token (const uint32_t, label lineNumber=0)
 Construct unsigned 32-bit integer token. More...
 
 token (const uint64_t, label lineNumber=0)
 Construct unsigned 64-bit integer token. More...
 
 token (const floatScalar, label lineNumber=0)
 Construct floatScalar token. More...
 
 token (const doubleScalar, label lineNumber=0)
 Construct doubleScalar token. More...
 
 token (const longDoubleScalar, label lineNumber=0)
 Construct longDoubleScalar token. More...
 
 token (Istream &)
 Construct from Istream. More...
 
 ~token ()
 Destructor. More...
 
tokenType type () const
 
tokenTypetype ()
 
bool good () const
 
bool undefined () const
 
bool error () const
 
const wordtypeName () const
 Return the type name of the token. More...
 
bool isPunctuation () const
 
punctuationToken pToken () const
 
bool isWord () const
 
const wordwordToken () const
 
bool isFunctionName () const
 
const functionNamefunctionNameToken () const
 
bool isVariable () const
 
const variablevariableToken () const
 
bool isString () const
 
const stringstringToken () const
 
bool isVerbatimString () const
 
const verbatimStringverbatimStringToken () const
 
bool isAnyString () const
 
const stringanyStringToken () const
 
bool isInteger32 () const
 
int32_t integer32Token () const
 
bool isInteger64 () const
 
int64_t integer64Token () const
 
bool isUnsignedInteger32 () const
 
uint32_t unsignedInteger32Token () const
 
bool isUnsignedInteger64 () const
 
uint64_t unsignedInteger64Token () const
 
bool isLabel () const
 
label labelToken () const
 
bool isULabel () const
 
uLabel uLabelToken () const
 
bool isFloatScalar () const
 
floatScalar floatScalarToken () const
 
bool isDoubleScalar () const
 
doubleScalar doubleScalarToken () const
 
bool isLongDoubleScalar () const
 
longDoubleScalar longDoubleScalarToken () const
 
bool isScalar () const
 
scalar scalarToken () const
 
bool isNumber () const
 
scalar number () const
 
bool isCompound () const
 
const compoundcompoundToken () const
 
compoundtransferCompoundToken (const Istream &is)
 
label lineNumber () const
 
labellineNumber ()
 
void setBad ()
 Set bad. More...
 
InfoProxy< tokeninfo () const
 Return info proxy. More...
 
void operator= (const token &)
 
void operator= (const punctuationToken)
 
void operator= (word *)
 
void operator= (const word &)
 
void operator= (functionName *)
 
void operator= (const functionName &)
 
void operator= (variable *)
 
void operator= (const variable &)
 
void operator= (string *)
 
void operator= (const string &)
 
void operator= (verbatimString *)
 
void operator= (const verbatimString &)
 
void operator= (const int32_t)
 
void operator= (const int64_t)
 
void operator= (const uint32_t)
 
void operator= (const uint64_t)
 
void operator= (const floatScalar)
 
void operator= (const doubleScalar)
 
void operator= (const longDoubleScalar)
 
void operator= (compound *)
 
bool operator== (const token &) const
 
bool operator== (const punctuationToken) const
 
bool operator== (const word &) const
 
bool operator== (const functionName &) const
 
bool operator== (const variable &) const
 
bool operator== (const string &) const
 
bool operator== (const verbatimString &) const
 
bool operator== (const int32_t) const
 
bool operator== (const int64_t) const
 
bool operator== (const uint32_t) const
 
bool operator== (const uint64_t) const
 
bool operator== (const floatScalar) const
 
bool operator== (const doubleScalar) const
 
bool operator== (const longDoubleScalar) const
 
bool operator!= (const token &) const
 
bool operator!= (const punctuationToken) const
 
bool operator!= (const word &) const
 
bool operator!= (const functionName &) const
 
bool operator!= (const variable &) const
 
bool operator!= (const string &) const
 
bool operator!= (const verbatimString &) const
 
bool operator!= (const int32_t) const
 
bool operator!= (const int64_t) const
 
bool operator!= (const uint32_t) const
 
bool operator!= (const uint64_t) const
 
bool operator!= (const floatScalar) const
 
bool operator!= (const doubleScalar) const
 
bool operator!= (const longDoubleScalar) const
 

Static Public Attributes

static token undefinedToken
 Static undefined token. More...
 

Friends

Istreamoperator>> (Istream &, token &)
 
Ostreamoperator<< (Ostream &, const token &)
 
Ostreamoperator<< (Ostream &, const punctuationToken &)
 
ostream & operator<< (ostream &, const punctuationToken &)
 
ostream & operator<< (ostream &, const InfoProxy< token > &)
 

Detailed Description

A token holds items read from Istream.

Source files

Definition at line 72 of file token.H.

Member Enumeration Documentation

◆ tokenType

enum tokenType : char

Enumeration defining the types of token.

Enumerator
UNDEFINED 
PUNCTUATION 
WORD 
FUNCTIONNAME 
VARIABLE 
STRING 
VERBATIMSTRING 
INTEGER_32 
INTEGER_64 
UNSIGNED_INTEGER_32 
UNSIGNED_INTEGER_64 
FLOAT_SCALAR 
DOUBLE_SCALAR 
LONG_DOUBLE_SCALAR 
COMPOUND 
ERROR 

Definition at line 78 of file token.H.

◆ punctuationToken

enum punctuationToken : char

Standard punctuation tokens.

Enumerator
NULL_TOKEN 
SPACE 
TAB 
NL 
END_STATEMENT 
BEGIN_LIST 
END_LIST 
BEGIN_SQR 
END_SQR 
BEGIN_BLOCK 
END_BLOCK 
COLON 
COMMA 
HASH 
BEGIN_STRING 
END_STRING 
ASSIGN 
ADD 
SUBTRACT 
MULTIPLY 
DIVIDE 

Definition at line 101 of file token.H.

Constructor & Destructor Documentation

◆ token() [1/14]

token ( )
inline

Construct null.

Definition at line 75 of file tokenI.H.

◆ token() [2/14]

◆ token() [3/14]

token ( punctuationToken  p,
label  lineNumber = 0 
)
inline

Construct punctuation character token.

Definition at line 157 of file tokenI.H.

◆ token() [4/14]

token ( const word w,
label  lineNumber = 0 
)
inline

Construct word token.

Definition at line 165 of file tokenI.H.

◆ token() [5/14]

token ( const string s,
label  lineNumber = 0 
)
inline

Construct string token.

Definition at line 173 of file tokenI.H.

◆ token() [6/14]

token ( const verbatimString vs,
label  lineNumber = 0 
)
inline

Construct verbatimString token.

Definition at line 181 of file tokenI.H.

◆ token() [7/14]

token ( const int32_t  l,
label  lineNumber = 0 
)
inline

Construct 32-bit integer token.

Definition at line 189 of file tokenI.H.

◆ token() [8/14]

token ( const int64_t  l,
label  lineNumber = 0 
)
inline

Construct 64-bit integer token.

Definition at line 197 of file tokenI.H.

◆ token() [9/14]

token ( const uint32_t  l,
label  lineNumber = 0 
)
inline

Construct unsigned 32-bit integer token.

Definition at line 205 of file tokenI.H.

◆ token() [10/14]

token ( const uint64_t  l,
label  lineNumber = 0 
)
inline

Construct unsigned 64-bit integer token.

Definition at line 213 of file tokenI.H.

◆ token() [11/14]

token ( const floatScalar  s,
label  lineNumber = 0 
)
inline

Construct floatScalar token.

Definition at line 221 of file tokenI.H.

◆ token() [12/14]

token ( const doubleScalar  s,
label  lineNumber = 0 
)
inline

Construct doubleScalar token.

Definition at line 229 of file tokenI.H.

◆ token() [13/14]

token ( const longDoubleScalar  s,
label  lineNumber = 0 
)
inline

Construct longDoubleScalar token.

Definition at line 237 of file tokenI.H.

◆ token() [14/14]

token ( Istream is)

Construct from Istream.

Definition at line 34 of file tokenIO.C.

References Istream::read().

Here is the call graph for this function:

◆ ~token()

~token ( )
inline

Destructor.

Definition at line 247 of file tokenI.H.

References clear().

Here is the call graph for this function:

Member Function Documentation

◆ type() [1/2]

Foam::token::tokenType type ( ) const
inline

Definition at line 255 of file tokenI.H.

Referenced by Foam::operator<<().

Here is the caller graph for this function:

◆ type() [2/2]

Foam::token::tokenType & type ( )
inline

Definition at line 260 of file tokenI.H.

◆ good()

bool good ( ) const
inline

Definition at line 265 of file tokenI.H.

Referenced by Foam::operator>>(), and primitiveEntry::read().

Here is the caller graph for this function:

◆ undefined()

bool undefined ( ) const
inline

Definition at line 270 of file tokenI.H.

Referenced by Foam::operator>>().

Here is the caller graph for this function:

◆ error()

bool error ( ) const
inline

Definition at line 275 of file tokenI.H.

◆ typeName()

const Foam::word & typeName ( ) const

Return the type name of the token.

Definition at line 101 of file token.C.

References token::COMPOUND, token::PUNCTUATION, and token::UNDEFINED.

◆ isPunctuation()

◆ pToken()

◆ isWord()

◆ wordToken()

◆ isFunctionName()

bool isFunctionName ( ) const
inline

Definition at line 316 of file tokenI.H.

Referenced by ifeqEntry::execute(), keyType::operator=(), and Foam::operator>>().

Here is the caller graph for this function:

◆ functionNameToken()

const Foam::functionName & functionNameToken ( ) const
inline

Definition at line 321 of file tokenI.H.

References functionName::null, and functionName::typeName.

Referenced by ifeqEntry::execute(), Foam::operator<<(), keyType::operator=(), and Foam::operator>>().

Here is the caller graph for this function:

◆ isVariable()

bool isVariable ( ) const
inline

Definition at line 334 of file tokenI.H.

Referenced by keyType::operator=(), and Foam::operator>>().

Here is the caller graph for this function:

◆ variableToken()

const Foam::variable & variableToken ( ) const
inline

Definition at line 339 of file tokenI.H.

References variable::null, and variable::typeName.

Referenced by Foam::operator<<(), keyType::operator=(), and Foam::operator>>().

Here is the caller graph for this function:

◆ isString()

bool isString ( ) const
inline

Definition at line 352 of file tokenI.H.

Referenced by keyType::operator=(), Foam::operator>>(), and functionEntry::readFuncNameArgs().

Here is the caller graph for this function:

◆ stringToken()

const Foam::string & stringToken ( ) const
inline

Definition at line 357 of file tokenI.H.

References string::null, and string::typeName.

Referenced by Foam::operator<<(), keyType::operator=(), Foam::operator>>(), and functionEntry::readFuncNameArgs().

Here is the caller graph for this function:

◆ isVerbatimString()

bool isVerbatimString ( ) const
inline

Definition at line 370 of file tokenI.H.

Referenced by Foam::operator>>().

Here is the caller graph for this function:

◆ verbatimStringToken()

const Foam::verbatimString & verbatimStringToken ( ) const
inline

Definition at line 375 of file tokenI.H.

References verbatimString::null, and verbatimString::typeName.

Referenced by Foam::operator<<(), and Foam::operator>>().

Here is the caller graph for this function:

◆ isAnyString()

bool isAnyString ( ) const
inline

Definition at line 388 of file tokenI.H.

◆ anyStringToken()

const Foam::string & anyStringToken ( ) const
inline

Definition at line 400 of file tokenI.H.

References string::null, and string::typeName.

Referenced by functionEntry::readFuncNameArgs().

Here is the caller graph for this function:

◆ isInteger32()

bool isInteger32 ( ) const
inline

Definition at line 429 of file tokenI.H.

Referenced by Foam::operator>>().

Here is the caller graph for this function:

◆ integer32Token()

int32_t integer32Token ( ) const
inline

Definition at line 441 of file tokenI.H.

Referenced by Foam::operator<<(), and Foam::operator>>().

Here is the caller graph for this function:

◆ isInteger64()

bool isInteger64 ( ) const
inline

Definition at line 466 of file tokenI.H.

Referenced by Foam::operator>>().

Here is the caller graph for this function:

◆ integer64Token()

int64_t integer64Token ( ) const
inline

Definition at line 475 of file tokenI.H.

Referenced by Foam::operator<<(), and Foam::operator>>().

Here is the caller graph for this function:

◆ isUnsignedInteger32()

bool isUnsignedInteger32 ( ) const
inline

Definition at line 500 of file tokenI.H.

Referenced by Foam::operator>>().

Here is the caller graph for this function:

◆ unsignedInteger32Token()

uint32_t unsignedInteger32Token ( ) const
inline

Definition at line 512 of file tokenI.H.

Referenced by Foam::operator<<(), and Foam::operator>>().

Here is the caller graph for this function:

◆ isUnsignedInteger64()

bool isUnsignedInteger64 ( ) const
inline

Definition at line 537 of file tokenI.H.

Referenced by Foam::operator>>().

Here is the caller graph for this function:

◆ unsignedInteger64Token()

uint64_t unsignedInteger64Token ( ) const
inline

Definition at line 546 of file tokenI.H.

Referenced by Foam::operator<<(), and Foam::operator>>().

Here is the caller graph for this function:

◆ isLabel()

◆ labelToken()

◆ isULabel()

bool isULabel ( ) const
inline

Definition at line 615 of file tokenI.H.

References Foam::uLabelMax.

◆ uLabelToken()

Foam::uLabel uLabelToken ( ) const
inline

Definition at line 634 of file tokenI.H.

◆ isFloatScalar()

bool isFloatScalar ( ) const
inline

Definition at line 659 of file tokenI.H.

◆ floatScalarToken()

Foam::floatScalar floatScalarToken ( ) const
inline

Definition at line 664 of file tokenI.H.

Referenced by Foam::operator<<().

Here is the caller graph for this function:

◆ isDoubleScalar()

bool isDoubleScalar ( ) const
inline

Definition at line 678 of file tokenI.H.

◆ doubleScalarToken()

Foam::doubleScalar doubleScalarToken ( ) const
inline

Definition at line 683 of file tokenI.H.

Referenced by Foam::operator<<().

Here is the caller graph for this function:

◆ isLongDoubleScalar()

bool isLongDoubleScalar ( ) const
inline

Definition at line 697 of file tokenI.H.

◆ longDoubleScalarToken()

Foam::longDoubleScalar longDoubleScalarToken ( ) const
inline

Definition at line 702 of file tokenI.H.

Referenced by Foam::operator<<().

Here is the caller graph for this function:

◆ isScalar()

bool isScalar ( ) const
inline

Definition at line 716 of file tokenI.H.

◆ scalarToken()

Foam::scalar scalarToken ( ) const
inline

Definition at line 724 of file tokenI.H.

◆ isNumber()

bool isNumber ( ) const
inline

◆ number()

Foam::scalar number ( ) const
inline

◆ isCompound()

bool isCompound ( ) const
inline

Definition at line 784 of file tokenI.H.

Referenced by genericFvPatchField< Type >::genericFvPatchField(), and genericPointPatchField< Type >::genericPointPatchField().

Here is the caller graph for this function:

◆ compoundToken()

const Foam::token::compound & compoundToken ( ) const
inline

Definition at line 789 of file tokenI.H.

Referenced by genericFvPatchField< Type >::genericFvPatchField(), dictionary::lookupCompoundScoped(), and Foam::operator<<().

Here is the caller graph for this function:

◆ transferCompoundToken()

Foam::token::compound & transferCompoundToken ( const Istream is)

Definition at line 128 of file token.C.

References Foam::abort(), Foam::FatalIOError, and FatalIOErrorInFunction.

Here is the call graph for this function:

◆ lineNumber() [1/2]

Foam::label lineNumber ( ) const
inline

Definition at line 803 of file tokenI.H.

Referenced by Foam::operator<<(), UIPstream::read(), ISstream::read(), and ITstream::read().

Here is the caller graph for this function:

◆ lineNumber() [2/2]

Foam::label & lineNumber ( )
inline

Definition at line 808 of file tokenI.H.

◆ setBad()

void setBad ( )
inline

Set bad.

Definition at line 814 of file tokenI.H.

References clear().

Referenced by UIPstream::read(), and ISstream::read().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ info()

◆ operator=() [1/20]

◆ operator=() [2/20]

void operator= ( const punctuationToken  p)
inline

Definition at line 899 of file tokenI.H.

References clear(), and p.

Here is the call graph for this function:

◆ operator=() [3/20]

void operator= ( word wPtr)
inline

Definition at line 906 of file tokenI.H.

References clear().

Here is the call graph for this function:

◆ operator=() [4/20]

void operator= ( const word w)
inline

Definition at line 913 of file tokenI.H.

◆ operator=() [5/20]

void operator= ( functionName fnPtr)
inline

Definition at line 918 of file tokenI.H.

References clear().

Here is the call graph for this function:

◆ operator=() [6/20]

void operator= ( const functionName fn)
inline

Definition at line 925 of file tokenI.H.

◆ operator=() [7/20]

void operator= ( variable vPtr)
inline

Definition at line 930 of file tokenI.H.

References clear().

Here is the call graph for this function:

◆ operator=() [8/20]

void operator= ( const variable v)
inline

Definition at line 937 of file tokenI.H.

◆ operator=() [9/20]

void operator= ( string sPtr)
inline

Definition at line 942 of file tokenI.H.

References clear().

Here is the call graph for this function:

◆ operator=() [10/20]

void operator= ( const string s)
inline

Definition at line 949 of file tokenI.H.

References s().

Here is the call graph for this function:

◆ operator=() [11/20]

void operator= ( verbatimString vsPtr)
inline

Definition at line 954 of file tokenI.H.

References clear().

Here is the call graph for this function:

◆ operator=() [12/20]

void operator= ( const verbatimString vs)
inline

Definition at line 961 of file tokenI.H.

◆ operator=() [13/20]

void operator= ( const int32_t  l)
inline

Definition at line 966 of file tokenI.H.

References clear().

Here is the call graph for this function:

◆ operator=() [14/20]

void operator= ( const int64_t  l)
inline

Definition at line 973 of file tokenI.H.

References clear().

Here is the call graph for this function:

◆ operator=() [15/20]

void operator= ( const uint32_t  l)
inline

Definition at line 980 of file tokenI.H.

References clear().

Here is the call graph for this function:

◆ operator=() [16/20]

void operator= ( const uint64_t  l)
inline

Definition at line 987 of file tokenI.H.

References clear().

Here is the call graph for this function:

◆ operator=() [17/20]

void operator= ( const floatScalar  s)
inline

Definition at line 994 of file tokenI.H.

References clear(), and s().

Here is the call graph for this function:

◆ operator=() [18/20]

void operator= ( const doubleScalar  s)
inline

Definition at line 1001 of file tokenI.H.

References clear(), and s().

Here is the call graph for this function:

◆ operator=() [19/20]

void operator= ( const longDoubleScalar  s)
inline

Definition at line 1008 of file tokenI.H.

References clear(), and s().

Here is the call graph for this function:

◆ operator=() [20/20]

void operator= ( compound cPtr)
inline

Definition at line 1015 of file tokenI.H.

References clear().

Here is the call graph for this function:

◆ operator==() [1/14]

◆ operator==() [2/14]

bool operator== ( const punctuationToken  p) const
inline

Definition at line 1088 of file tokenI.H.

References p.

◆ operator==() [3/14]

bool operator== ( const word w) const
inline

Definition at line 1093 of file tokenI.H.

◆ operator==() [4/14]

bool operator== ( const functionName fn) const
inline

Definition at line 1098 of file tokenI.H.

◆ operator==() [5/14]

bool operator== ( const variable v) const
inline

Definition at line 1103 of file tokenI.H.

◆ operator==() [6/14]

bool operator== ( const string s) const
inline

Definition at line 1108 of file tokenI.H.

References s().

Here is the call graph for this function:

◆ operator==() [7/14]

bool operator== ( const verbatimString vs) const
inline

Definition at line 1113 of file tokenI.H.

◆ operator==() [8/14]

bool operator== ( const int32_t  l) const
inline

Definition at line 1118 of file tokenI.H.

◆ operator==() [9/14]

bool operator== ( const int64_t  l) const
inline

Definition at line 1123 of file tokenI.H.

◆ operator==() [10/14]

bool operator== ( const uint32_t  l) const
inline

Definition at line 1128 of file tokenI.H.

◆ operator==() [11/14]

bool operator== ( const uint64_t  l) const
inline

Definition at line 1133 of file tokenI.H.

◆ operator==() [12/14]

bool operator== ( const floatScalar  s) const
inline

Definition at line 1138 of file tokenI.H.

References Foam::equal(), and s().

Here is the call graph for this function:

◆ operator==() [13/14]

bool operator== ( const doubleScalar  s) const
inline

Definition at line 1143 of file tokenI.H.

References Foam::equal(), and s().

Here is the call graph for this function:

◆ operator==() [14/14]

bool operator== ( const longDoubleScalar  s) const
inline

Definition at line 1148 of file tokenI.H.

References Foam::equal(), and s().

Here is the call graph for this function:

◆ operator!=() [1/14]

bool operator!= ( const token t) const
inline

Definition at line 1156 of file tokenI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator!=() [2/14]

bool operator!= ( const punctuationToken  p) const
inline

Definition at line 1161 of file tokenI.H.

References Foam::operator==(), and p.

Here is the call graph for this function:

◆ operator!=() [3/14]

bool operator!= ( const word w) const
inline

Definition at line 1166 of file tokenI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator!=() [4/14]

bool operator!= ( const functionName fn) const
inline

Definition at line 1171 of file tokenI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator!=() [5/14]

bool operator!= ( const variable v) const
inline

Definition at line 1176 of file tokenI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator!=() [6/14]

bool operator!= ( const string s) const
inline

Definition at line 1181 of file tokenI.H.

References Foam::operator==(), and s().

Here is the call graph for this function:

◆ operator!=() [7/14]

bool operator!= ( const verbatimString vs) const
inline

Definition at line 1186 of file tokenI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator!=() [8/14]

bool operator!= ( const int32_t  l) const
inline

Definition at line 1191 of file tokenI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator!=() [9/14]

bool operator!= ( const int64_t  l) const
inline

Definition at line 1196 of file tokenI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator!=() [10/14]

bool operator!= ( const uint32_t  l) const
inline

Definition at line 1201 of file tokenI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator!=() [11/14]

bool operator!= ( const uint64_t  l) const
inline

Definition at line 1206 of file tokenI.H.

References Foam::operator==().

Here is the call graph for this function:

◆ operator!=() [12/14]

bool operator!= ( const floatScalar  s) const
inline

Definition at line 1211 of file tokenI.H.

References Foam::operator==(), and s().

Here is the call graph for this function:

◆ operator!=() [13/14]

bool operator!= ( const doubleScalar  s) const
inline

Definition at line 1216 of file tokenI.H.

References Foam::operator==(), and s().

Here is the call graph for this function:

◆ operator!=() [14/14]

bool operator!= ( const longDoubleScalar  s) const
inline

Definition at line 1221 of file tokenI.H.

References Foam::operator==(), and s().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator>>

Istream& operator>> ( Istream ,
token  
)
friend

◆ operator<< [1/4]

Ostream& operator<< ( Ostream ,
const token  
)
friend

◆ operator<< [2/4]

Ostream& operator<< ( Ostream ,
const punctuationToken  
)
friend

◆ operator<< [3/4]

ostream& operator<< ( ostream &  ,
const punctuationToken  
)
friend

◆ operator<< [4/4]

ostream& operator<< ( ostream &  ,
const InfoProxy< token > &   
)
friend

Member Data Documentation

◆ undefinedToken

token undefinedToken
static

Static undefined token.

Definition at line 240 of file token.H.

Referenced by Istream::peekBack(), and ITstream::read().

◆ punctuationToken_

punctuationToken punctuationToken_

Definition at line 256 of file token.H.

Referenced by Foam::operator<<(), token::operator=(), token::operator==(), and token::token().

◆ wordTokenPtr_

word* wordTokenPtr_

Definition at line 257 of file token.H.

Referenced by Foam::operator<<(), token::operator=(), token::operator==(), and token::token().

◆ functionNameTokenPtr_

functionName* functionNameTokenPtr_

Definition at line 258 of file token.H.

Referenced by Foam::operator<<(), token::operator=(), token::operator==(), and token::token().

◆ variableTokenPtr_

variable* variableTokenPtr_

Definition at line 259 of file token.H.

Referenced by Foam::operator<<(), token::operator=(), token::operator==(), and token::token().

◆ stringTokenPtr_

string* stringTokenPtr_

Definition at line 260 of file token.H.

Referenced by Foam::operator<<(), token::operator=(), token::operator==(), and token::token().

◆ verbatimStringTokenPtr_

verbatimString* verbatimStringTokenPtr_

Definition at line 261 of file token.H.

Referenced by Foam::operator<<(), token::operator=(), token::operator==(), and token::token().

◆ integer32Token_

int32_t integer32Token_

Definition at line 262 of file token.H.

Referenced by Foam::operator<<(), token::operator=(), token::operator==(), and token::token().

◆ integer64Token_

int64_t integer64Token_

Definition at line 263 of file token.H.

Referenced by Foam::operator<<(), token::operator=(), token::operator==(), and token::token().

◆ unsignedInteger32Token_

uint32_t unsignedInteger32Token_

Definition at line 264 of file token.H.

Referenced by Foam::operator<<(), token::operator=(), token::operator==(), and token::token().

◆ unsignedInteger64Token_

uint64_t unsignedInteger64Token_

Definition at line 265 of file token.H.

Referenced by Foam::operator<<(), token::operator=(), token::operator==(), and token::token().

◆ floatScalarToken_

floatScalar floatScalarToken_

Definition at line 266 of file token.H.

Referenced by Foam::operator<<(), token::operator=(), token::operator==(), and token::token().

◆ doubleScalarToken_

doubleScalar doubleScalarToken_

Definition at line 267 of file token.H.

Referenced by Foam::operator<<(), token::operator=(), token::operator==(), and token::token().

◆ longDoubleScalarTokenPtr_

longDoubleScalar* longDoubleScalarTokenPtr_

Definition at line 268 of file token.H.

Referenced by Foam::operator<<(), token::operator=(), token::operator==(), and token::token().

◆ compoundTokenPtr_

compound* compoundTokenPtr_
mutable

Definition at line 269 of file token.H.

Referenced by Foam::operator<<(), token::operator=(), token::operator==(), and token::token().


The documentation for this class was generated from the following files: