Go to the source code of this file.
§ ADD_DICT_FIELD
§ ADD_NAMED_DICT_FIELD
#define ADD_NAMED_DICT_FIELD |
( |
|
member, |
|
|
|
name, |
|
|
|
... |
|
) |
| __VA_ARGS__ member = CreateFieldConverter(name, &THIS_TYPE::member) |
§ DECLARE_STRUCT_SPECIAL_METHODS_COPYABLE
#define DECLARE_STRUCT_SPECIAL_METHODS_COPYABLE |
( |
|
Type | ) |
|
Value:static std::string
name() { \
return #Type; \
} \
Type(); \
Type(const Type&); \
Type(Type&&); \
~Type() override; \
Type& operator=(const Type&); \
Type& operator=(Type&&)
Definition at line 42 of file struct.h.
§ DECLARE_STRUCT_SPECIAL_METHODS_MOVE_ONLY
#define DECLARE_STRUCT_SPECIAL_METHODS_MOVE_ONLY |
( |
|
Type | ) |
|
Value:static std::string
name() { \
return #Type; \
} \
Type(); \
Type(const Type&) = delete; \
Type(Type&&); \
~Type() override; \
Type& operator=(const Type&) = delete; \
Type& operator=(Type&&)
Definition at line 59 of file struct.h.
§ DEFINE_STRUCT_SPECIAL_METHODS_COPYABLE
#define DEFINE_STRUCT_SPECIAL_METHODS_COPYABLE |
( |
|
Type | ) |
|
Value:Type::Type() {} \
Type::Type(const Type&) = default; \
Type::Type(Type&&) = default; \
Type::~Type() {} \
Type& Type::operator=(const Type&) = default; \
Type& Type::operator=(Type&&) = default
Definition at line 52 of file struct.h.
§ DEFINE_STRUCT_SPECIAL_METHODS_MOVE_ONLY
#define DEFINE_STRUCT_SPECIAL_METHODS_MOVE_ONLY |
( |
|
Type | ) |
|
Value:Type::Type() {} \
Type::Type(Type&&) = default; \
Type::~Type() {} \
Type& Type::operator=(Type&&) = default
Definition at line 69 of file struct.h.
§ THIS_TYPE
#define THIS_TYPE std::decay<decltype(*this)>::type |