CHAI SDK
Version 1.3
|
Template class used to handle combination of enum values. More...
Public Member Functions | |
CombinedEnums () | |
Constructor. More... | |
CombinedEnums (TY const &v) | |
Constructor. More... | |
CombinedEnums (int const &v) | |
Constructor. More... | |
operator TY () const | |
Implicit getter operator. More... | |
void | operator|= (TY const &v) |
Combination operator. More... | |
void | operator|= (int const v) |
Combination operator. More... | |
void | operator&= (TY const &v) |
Masking operator. More... | |
void | operator&= (int const v) |
Masking operator. More... | |
Public Attributes | |
VT | _v |
Template class used to handle combination of enum values.
This is used to get control of argument value at compilation time for values made from OR combination of enum values. This prevents passing invalid argument thanks to a compilation time type checking.
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Implicit getter operator.
|
inline |
Masking operator.
|
inline |
Masking operator.
|
inline |
Combination operator.
|
inline |
Combination operator.