Provides various traits/attributes of a <composite> element.
More...
|
| template<typename Byte> |
| using | value_type = CompositeType<Byte> |
| | Representation type.
|
| |
|
using | element_tags = sbepp::type_list<ElementTags...> |
| | Element tags in schema order.
|
| |
|
|
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 sinceVersion attribute.
|
| |
|
static constexpr version_t | deprecated () noexcept |
| | Returns deprecated attribute. Available only if provided in.
|
| |
|
static constexpr std::size_t | size_bytes () noexcept |
| | Returns 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: