Class TokenFunc¶
Defined in File IfcParse.h
Class Documentation¶
-
class
IfcParse
::
TokenFunc
¶ Provides functions to convert Tokens to binary data Tokens are merely offsets to where they can be read in the file
Public Static Functions
-
bool
isString
(const Token &t)¶ Returns the offset at which the token is read from the file.
Returns whether the token can be interpreted as a string
-
bool
isOperator
(const Token &t)¶ Returns whether the token can be interpreted as a syntactical operator.
-
bool
isEnumeration
(const Token &t)¶ Returns whether the token can be interpreted as an enumerated value.
-
bool
isFloat
(const Token &t)¶ Returns whether the token can be interpreted as a floating point number.
-
const std::string &
asStringRef
(const Token &t)¶ Returns the token as a string in internal buffer (for optimization purposes)
-
bool