Macros | |
| #define | PARAM_ENUM_DECLARE(_seq) PARAM_TYPED_FOREACH(PARAM_ENUM_DECLARE_,_seq) |
Make anonymous enum type. More... | |
| #define | PARAM_ENUM_STRING_DECLARE(_prefix, _seq) BOOST_PP_SEQ_FOR_EACH(PARAM_ENUM_STRING_DECLARE_,_prefix,_seq) |
Make enum string list. More... | |
| #define PARAM_ENUM_DECLARE | ( | _seq | ) | PARAM_TYPED_FOREACH(PARAM_ENUM_DECLARE_,_seq) |
Make anonymous enum type.
Make anonymous enum type for enum type parameters in _seq. All other types are ignored. The enum member is prefixed with _name. Expand to:
| #define PARAM_ENUM_STRING_DECLARE | ( | _prefix, | |
| _seq | |||
| ) | BOOST_PP_SEQ_FOR_EACH(PARAM_ENUM_STRING_DECLARE_,_prefix,_seq) |
Make enum string list.
Roughly translated:
Example usage: PARAM_ENUM_STRING_DECLARE(static const char *Enum, MyParamsSeq)