OpenVDB: openvdb::v8_2::ax::ast::tokens Namespace Reference

OpenVDB 8.0.0

Enumerations | Functions
openvdb::v8_2::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

## ◆ CoreType

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 |

## ◆ KeywordToken

enum KeywordToken

Enumerator
RETURN |
BREAK |
CONTINUE |

## ◆ LoopToken

enum LoopToken

Enumerator
FOR |
DO |
WHILE |

## ◆ OperatorToken

enum OperatorToken

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 |

## ◆ OperatorType

enum OperatorType

Enumerator
ARITHMETIC |
LOGICAL |
RELATIONAL |
BITWISE |
ASSIGNMENT |
UNKNOWN_OPERATOR |

## Function Documentation

## ◆ keywordNameFromToken()

std::string openvdb::v8_2::ax::ast::tokens::keywordNameFromToken | ( | const KeywordToken | keyw | ) |
| inline

## ◆ loopNameFromToken()

std::string openvdb::v8_2::ax::ast::tokens::loopNameFromToken | ( | const LoopToken | loop | ) |
| inline

## ◆ operatorNameFromToken()

std::string openvdb::v8_2::ax::ast::tokens::operatorNameFromToken | ( | const OperatorToken | token | ) |
| inline

## ◆ operatorTokenFromName()

OperatorToken openvdb::v8_2::ax::ast::tokens::operatorTokenFromName | ( | const std::string & | name | ) |
| inline

## ◆ operatorType()

OperatorType openvdb::v8_2::ax::ast::tokens::operatorType | ( | const OperatorToken | token | ) |
| inline

## ◆ tokenFromTypeString()

CoreType openvdb::v8_2::ax::ast::tokens::tokenFromTypeString | ( | const std::string & | type | ) |
| inline

## ◆ typeStringFromToken()

std::string openvdb::v8_2::ax::ast::tokens::typeStringFromToken | ( | const CoreType | type | ) |
| inline