#include <map>
#include <string>
#include "Field.h"
Go to the source code of this file.
|
class | dyno::PEnum |
|
class | dyno::FVar< PEnum > |
| Specialization for the field type of PEnum.
|
|
◆ DECLARE_ENUM
#define DECLARE_ENUM |
( |
| enum_type, |
|
|
| ... ) |
Value: enum enum_type{ \
__VA_ARGS__ \
}; \
const std::string full_name_##enum_type = #__VA_ARGS__;
Definition at line 28 of file DeclareEnum.h.
◆ DEF_ENUM
#define DEF_ENUM |
( |
| enum_type, |
|
|
| enum_name, |
|
|
| enum_value, |
|
|
| desc ) |
Value:private: \
FVar<PEnum> var_##enum_name = FVar<PEnum>(PEnum(#enum_type, enum_value, full_name_##enum_type), std::string(#enum_name), desc, FieldTypeEnum::Param, this); \
public: \
inline FVar<PEnum>* var##enum_name() {return &var_##enum_name;}
Definition at line 174 of file DeclareEnum.h.