OnixS C++ CME MDP Conflated TCP Handler 1.3.6
API Documentation
Loading...
Searching...
No Matches
SbeFields< Container, BlockLength > Class Template Reference

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 ()=default
 ~SbeFields ()=default
Protected Member Functions inherited from BinaryBlock< Container, BlockLength >
 BinaryBlock ()=default
 ~BinaryBlock ()=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()

template<class Container, class BlockLength>
SbeFields ( )
protecteddefault

Initializes a blank instance.

◆ ~SbeFields()

template<class Container, class BlockLength>
~SbeFields ( )
protecteddefault

Member Function Documentation

◆ container()

template<class Container, class BlockLength>
Container & container ( )
inlinenoexcept
Returns
The block container that provides access to the encoded data.

Definition at line 208 of file SbeMessage.h.

◆ setEnumeration() [1/2]

template<class Container, class BlockLength>
template<class Enumeration>
void setEnumeration ( BlockLength offset,
typename Enumeration::Enum value )
inlinenoexcept

Sets the field value.

Definition at line 235 of file SbeMessage.h.

◆ setEnumeration() [2/2]

template<class Container, class BlockLength>
template<class Enumeration>
void setEnumeration ( BlockLength offset,
typename Enumeration::Enum value,
SchemaVersion since )
inline

Sets the field value.

Definition at line 243 of file SbeMessage.h.

◆ setFixedStr() [1/2]

template<class Container, class BlockLength>
template<BlockLength Size>
void setFixedStr ( BlockLength offset,
StrRef value )
inlinenoexcept

Sets the field value.

Definition at line 251 of file SbeMessage.h.

◆ setFixedStr() [2/2]

template<class Container, class BlockLength>
template<BlockLength Size>
void setFixedStr ( BlockLength offset,
StrRef value,
SchemaVersion since )
inline

Sets the field value.

Definition at line 267 of file SbeMessage.h.

◆ setOrdinary() [1/2]

template<class Container, class BlockLength>
template<class FieldValue>
void setOrdinary ( BlockLength offset,
FieldValue value )
inlinenoexcept

Sets the field value.

Definition at line 215 of file SbeMessage.h.

◆ setOrdinary() [2/2]

template<class Container, class BlockLength>
template<class FieldValue>
void setOrdinary ( BlockLength offset,
FieldValue value,
SchemaVersion since )
inline

Sets the field value.

Definition at line 225 of file SbeMessage.h.