sbepp
Loading...
Searching...
No Matches
sbepp::enum_value_traits< T > Class Template Reference

Provides various traits/attributes of a <validValue> element. More...

Static Public Member Functions

static constexpr const char * name () noexcept
 Returns name attribute.
 
static constexpr const char * description () noexcept
 Returns description attribute.
 
static constexpr version_t since_version () noexcept
 Returns addedSince attribute.
 
static constexpr version_t deprecated () noexcept
 Returns deprecated attribute. Available only if provided in schema.
 
static constexpr ScopedEnumType value () noexcept
 Returns enumerator value.
 

Detailed Description

template<typename T>
class sbepp::enum_value_traits< T >

Provides various traits/attributes of a <validValue> element.

For example: sbepp::enum_value_traits<EnumTag::value_a>::since_version();

Template Parameters
Tenumerator tag

The documentation for this class was generated from the following file: