sbepp
|
Provides various traits/attributes of an <enum>
element.
More...
Public Types | |
using | encoding_type = EncodingType |
Underlying type. | |
using | value_type = ScopedEnumType |
Representation type. | |
Static Public Member Functions | |
static constexpr const char * | name () noexcept |
Returns name attribute. | |
static constexpr const char * | description () noexcept |
Returns description attribute. | |
static constexpr offset_t | offset () noexcept |
Returns enum offset. Available only if offset is static, i.e. not available for public enums whose offset is different on each usage. | |
static constexpr version_t | since_version () noexcept |
Returns sinceVersion attribute. | |
static constexpr version_t | deprecated () noexcept |
Returns deprecated attribute. Available only if provided in schema. | |
Provides various traits/attributes of an <enum>
element.
For example: sbepp::enum_traits<market_schema::schema::types::enum_name>::name();
T | enum tag |