#include <EditContext.h>
Public Member Functions | |
EnumBuilder * | operator-> () |
template<class E > | |
EnumBuilder * | Value (const char *name, E value) |
template<class E > | |
EditContext::EnumBuilder * | Value (const char *name, E value) |
Internal structure to maintain class information while we are describing an enum globally. User should call Value() to reflect the possible values for the enum. example: struct MyStruct { SomeEnum m_data };
expose for edit editContext->Enum<SomeEnum>("My enum","This enum was made to apply enumerated action!")-> Value("SomeValue", SomeEnum::SomeValue)-> Value("SomeOtherValue", SomeEnum::SomeOtherValue);