Celeritas
0.5.0-56+6b053cd
|
Volume logic encoding. More...
Enumerations | |
enum | OperatorToken : logic_int { lbegin = logic_int(~logic_int(6)) , lopen = lbegin , lclose , ltrue , lor , land , lnot , lend } |
Special logical Evaluator tokens. More... | |
Functions | |
CELER_CONSTEXPR_FUNCTION bool | is_operator_token (logic_int lv) |
Whether an integer is a special logic token. | |
constexpr char | to_char (OperatorToken tok) |
Volume logic encoding.
Get a printable character corresponding to an operator.
This uses an unscoped enum inside a namespace so that its values can be freely intermingled with other integers that represent face IDs.