#include <enumflags.h>
EnumInfo contains information about a C++ enum type, including its values. For an enum type E you can get the info by calling GetEnumInfo<E>().
Public Member Functions | |
| const Block< const UInt64 > & | GetValues () const |
Public Attributes | |
| const Char * | name |
| Int | size |
| Bool | flags |
| const Char * | identifiers |
| const UInt64 * | values |
| Int | valuesLength |
| const Block<const UInt64>& GetValues | ( | ) | const |
| const Char* name |
The unqualified name of the C++ type.
| Int size |
The size of the type in bytes.
| Bool flags |
True if the type is registered with one of the MAXON_ENUM_FLAGS macros, false otherwise (the MAXON_ENUM_LIST case).
| const Char* identifiers |
The enumerator names in source code order. This is a null-terminated sequence of null-terminated strings.
| const UInt64* values |
Pointer to a block of valuesLength values which holds the enumerator values in source code order.