OnixS C++ CME MDP Conflated TCP Handler  1.2.1
API Documentation
SbeFields< Container, BlockLength > Class Template Reference

#include <OnixS/CME/ConflatedTCP/messaging/SbeMessage.h>

Public Member Functions

Container & container () noexcept
 
template<class FieldValue >
void setOrdinary (BlockLength offset, FieldValue value) noexcept
 
template<class FieldValue >
void setOrdinary (BlockLength offset, FieldValue value, SchemaVersion since)
 
template<class Enumeration >
void setEnumeration (BlockLength offset, typename Enumeration::Enum value) noexcept
 
template<class Enumeration >
void setEnumeration (BlockLength offset, typename Enumeration::Enum value, SchemaVersion since)
 
template<BlockLength Size>
void setFixedStr (BlockLength offset, StrRef value) noexcept
 
template<BlockLength Size>
void setFixedStr (BlockLength offset, StrRef value, SchemaVersion since)
 

Protected Member Functions

 SbeFields () ONIXS_CONFLATEDTCP_DEFAULT
 
 ~SbeFields () ONIXS_CONFLATEDTCP_DEFAULT
 
- Protected Member Functions inherited from BinaryBlock< Container, BlockLength >
 BinaryBlock () ONIXS_CONFLATEDTCP_DEFAULT
 
 ~BinaryBlock () ONIXS_CONFLATEDTCP_DEFAULT
 
template<class Value >
Value ordinary (BlockLength offset) const noexcept
 
template<class Value , class NullValue >
bool ordinary (Value &value, BlockLength offset, NullValue null) const noexcept
 
template<class Value , class NullValue >
bool ordinary (Value &value, BlockLength offset, NullValue null, SchemaVersion since) const noexcept
 
template<class Enumeration >
Enumeration::Enum enumeration (BlockLength offset) const noexcept
 
template<class Enumeration , class NullValue >
bool enumeration (typename Enumeration::Enum &value, BlockLength offset, NullValue null) const noexcept
 
template<class Enumeration , class NullValue >
bool enumeration (typename Enumeration::Enum &value, BlockLength offset, NullValue null, SchemaVersion since) const noexcept
 
template<class Value >
Value decimal (BlockLength offset) const noexcept
 
template<class Value , class NullValue >
bool decimal (Value &value, BlockLength offset, NullValue null) const noexcept
 
template<class Value , class NullValue >
bool decimal (Value &value, BlockLength offset, NullValue null, SchemaVersion since) const noexcept
 
template<BlockLength Length>
StrRef fixedStr (BlockLength offset) const noexcept
 
template<BlockLength Length>
bool fixedStr (StrRef &value, BlockLength offset) const noexcept
 
template<BlockLength Length>
bool fixedStr (StrRef &value, BlockLength offset, SchemaVersion since) const noexcept
 

Detailed Description

template<class Container, class BlockLength>
class OnixS::CME::ConflatedTCP::Messaging::SbeFields< Container, BlockLength >

This class represents an abstraction to be used by descendants as a base class with static polymorphism.

Definition at line 204 of file SbeMessage.h.

Constructor & Destructor Documentation

SbeFields ( )
protected

Initializes a blank instance.

~SbeFields ( )
protected

Member Function Documentation

Container& container ( )
inlinenoexcept
Returns
The block container that provides access to the encoded data.

Definition at line 208 of file SbeMessage.h.

void setEnumeration ( BlockLength  offset,
typename Enumeration::Enum  value 
)
inlinenoexcept

Sets the field value.

Definition at line 235 of file SbeMessage.h.

void setEnumeration ( BlockLength  offset,
typename Enumeration::Enum  value,
SchemaVersion  since 
)
inline

Sets the field value.

Definition at line 243 of file SbeMessage.h.

void setFixedStr ( BlockLength  offset,
StrRef  value 
)
inlinenoexcept

Sets the field value.

Definition at line 251 of file SbeMessage.h.

void setFixedStr ( BlockLength  offset,
StrRef  value,
SchemaVersion  since 
)
inline

Sets the field value.

Definition at line 267 of file SbeMessage.h.

void setOrdinary ( BlockLength  offset,
FieldValue  value 
)
inlinenoexcept

Sets the field value.

Definition at line 215 of file SbeMessage.h.

void setOrdinary ( BlockLength  offset,
FieldValue  value,
SchemaVersion  since 
)
inline

Sets the field value.

Definition at line 225 of file SbeMessage.h.


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