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

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

Public Types

template<typename Byte >
using header_type = HeaderComposite<Byte>
 Message header composite type.
 
using header_type_tag = HeaderTypeTag
 Message header composite tag. Can be used to access its traits.
 

Static Public Member Functions

static constexpr const char * package () noexcept
 Returns package attribute.
 
static constexpr schema_id_t id () noexcept
 Returns id attribute.
 
static constexpr version_t version () noexcept
 Returns version attribute.
 
static constexpr const char * semantic_version () noexcept
 Returns semanticVersion attribute.
 
static constexpr endian byte_order () noexcept
 Returns byteOrder attribute.
 
static constexpr const char * description () noexcept
 Returns description attribute.
 

Detailed Description

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

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

Schema tags are represented using schema_name::schema type. For example: sbepp::schema_traits<market_schema::schema>::id();

Template Parameters
Tschema tag

Member Typedef Documentation

◆ header_type

template<typename T >
template<typename Byte >
using sbepp::schema_traits< T >::header_type = HeaderComposite<Byte>

Message header composite type.

Template Parameters
Bytebyte type

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