Provides various traits/attributes of a <composite>
element.
More...
|
template<typename Byte > |
using | value_type = CompositeType<Byte> |
| Representation type.
|
|
|
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 type offset. Available only if offset is static, i.e. not available for public composites whose offset is different on each usage.
|
|
static constexpr const char * | semantic_type () noexcept |
| Returns semanticType 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.
|
|
static constexpr std::size_t | size_bytes () noexcept |
| Size of the composite in bytes.
|
|
template<typename T>
class sbepp::composite_traits< T >
Provides various traits/attributes of a <composite>
element.
For example: sbepp::composite_traits<SchemaTag::types::composite>::since_version();
- Template Parameters
-
◆ value_type
template<typename T >
template<typename Byte >
Representation type.
- Template Parameters
-
The documentation for this class was generated from the following file: