OpenVDB  8.1.1
Enumerations | Functions
openvdb::v8_1::ax::ast::tokens Namespace Reference

Enumerations

enum  CoreType {
  BOOL = 0, CHAR, INT16, INT32,
  INT64, FLOAT, DOUBLE, VEC2I,
  VEC2F, VEC2D, VEC3I, VEC3F,
  VEC3D, VEC4I, VEC4F, VEC4D,
  MAT3F, MAT3D, MAT4F, MAT4D,
  QUATF, QUATD, STRING, UNKNOWN
}
 
enum  OperatorToken {
  PLUS = 0, MINUS, MULTIPLY, DIVIDE,
  MODULO, AND, OR, NOT,
  EQUALSEQUALS, NOTEQUALS, MORETHAN, LESSTHAN,
  MORETHANOREQUAL, LESSTHANOREQUAL, SHIFTLEFT, SHIFTRIGHT,
  BITAND, BITOR, BITXOR, BITNOT,
  EQUALS, PLUSEQUALS, MINUSEQUALS, MULTIPLYEQUALS,
  DIVIDEEQUALS, MODULOEQUALS, SHIFTLEFTEQUALS, SHIFTRIGHTEQUALS,
  BITANDEQUALS, BITXOREQUALS, BITOREQUALS
}
 
enum  OperatorType {
  ARITHMETIC = 0, LOGICAL, RELATIONAL, BITWISE,
  ASSIGNMENT, UNKNOWN_OPERATOR
}
 
enum  LoopToken { FOR = 0, DO, WHILE }
 
enum  KeywordToken { RETURN = 0, BREAK, CONTINUE }
 

Functions

CoreType tokenFromTypeString (const std::string &type)
 
std::string typeStringFromToken (const CoreType type)
 
OperatorType operatorType (const OperatorToken token)
 
OperatorToken operatorTokenFromName (const std::string &name)
 
std::string operatorNameFromToken (const OperatorToken token)
 
std::string loopNameFromToken (const LoopToken loop)
 
std::string keywordNameFromToken (const KeywordToken keyw)
 

Enumeration Type Documentation

enum CoreType
Enumerator
BOOL 
CHAR 
INT16 
INT32 
INT64 
FLOAT 
DOUBLE 
VEC2I 
VEC2F 
VEC2D 
VEC3I 
VEC3F 
VEC3D 
VEC4I 
VEC4F 
VEC4D 
MAT3F 
MAT3D 
MAT4F 
MAT4D 
QUATF 
QUATD 
STRING 
UNKNOWN 
Enumerator
RETURN 
BREAK 
CONTINUE 
enum LoopToken
Enumerator
FOR 
DO 
WHILE 
Enumerator
PLUS 

ARITHMETIC.

MINUS 
MULTIPLY 
DIVIDE 
MODULO 
AND 

LOGICAL.

OR 
NOT 
EQUALSEQUALS 

RELATIONAL.

NOTEQUALS 
MORETHAN 
LESSTHAN 
MORETHANOREQUAL 
LESSTHANOREQUAL 
SHIFTLEFT 

BITWISE.

SHIFTRIGHT 
BITAND 
BITOR 
BITXOR 
BITNOT 
EQUALS 

ASSIGNMENT.

PLUSEQUALS 
MINUSEQUALS 
MULTIPLYEQUALS 
DIVIDEEQUALS 
MODULOEQUALS 
SHIFTLEFTEQUALS 
SHIFTRIGHTEQUALS 
BITANDEQUALS 
BITXOREQUALS 
BITOREQUALS 
Enumerator
ARITHMETIC 
LOGICAL 
RELATIONAL 
BITWISE 
ASSIGNMENT 
UNKNOWN_OPERATOR 

Function Documentation

std::string openvdb::v8_1::ax::ast::tokens::keywordNameFromToken ( const KeywordToken  keyw)
inline
std::string openvdb::v8_1::ax::ast::tokens::loopNameFromToken ( const LoopToken  loop)
inline
std::string openvdb::v8_1::ax::ast::tokens::operatorNameFromToken ( const OperatorToken  token)
inline
OperatorToken openvdb::v8_1::ax::ast::tokens::operatorTokenFromName ( const std::string &  name)
inline
OperatorType openvdb::v8_1::ax::ast::tokens::operatorType ( const OperatorToken  token)
inline
CoreType openvdb::v8_1::ax::ast::tokens::tokenFromTypeString ( const std::string &  type)
inline
std::string openvdb::v8_1::ax::ast::tokens::typeStringFromToken ( const CoreType  type)
inline