libtenum
|
Go to the source code of this file.
Defines | |
#define | TENUM_DEFAULT_NAME(type_m, name_m) name_m |
Defines the way an enum name will be serialized, expands to a char const*. | |
#define | TENUM_DEFAULT_SEPARATOR_BIT_FIELD '+' |
Defines the default separator for bit flags combination, expands to char or char const*. | |
#define | TENUM_DEFAULT_SEPARATOR_DYNAMIC_ENUM '#' |
Defines the default separator for dynamic enums offsets, expands to char or char const*. |
Distributed under the Boost Software License, Version 1.0. See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt
Definition in file default.hpp.
#define TENUM_DEFAULT_NAME | ( | type_m, | |
name_m | |||
) | name_m |
Defines the way an enum name will be serialized, expands to a char const*.
Default serialization is simply "name_m", unless TENUM_DEFAULT_NAME_EXPLICIT_TYPE is defined, in which case, the serialization is "type_m::name_m".
type_m | [in] the type of the enum, as a type name. |
name_m | [in] the name of the enum value, as a char const*. |
Definition at line 25 of file default.hpp.
#define TENUM_DEFAULT_SEPARATOR_BIT_FIELD '+' |
Defines the default separator for bit flags combination, expands to char or char const*.
Default separator is '+', which will serialize bit flags as "enum_value1+enum_value2".
Definition at line 50 of file default.hpp.
#define TENUM_DEFAULT_SEPARATOR_DYNAMIC_ENUM '#' |
Defines the default separator for dynamic enums offsets, expands to char or char const*.
Default separator is '#', which will serialize dynamic enums as "enum_value#offset".
Definition at line 38 of file default.hpp.