OnixS C++ CME iLink 3 Binary Order Entry Handler 1.18.9
API Documentation
Loading...
Searching...
No Matches
SbeFields< Container, BlockLength > Class Template Reference

Public Member Functions

Container & container () noexcept
void zeroPaddingBytes (BlockLength offset) 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::iLink3::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 247 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 255 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 263 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 279 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 227 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 237 of file SbeMessage.h.

◆ zeroPaddingBytes()

template<class Container, class BlockLength>
void zeroPaddingBytes ( BlockLength offset)
inlinenoexcept

If specified, the extra space is padded at the end of each entry and should be set to zeroes by encoders.

Definition at line 215 of file SbeMessage.h.