OnixS C++ Euronext Optiq MDG Handler 1.3.3
API documentation
Loading...
Searching...
No Matches
BinaryBlock< Container, BlockLength > Class Template Reference

Protected Member Functions

 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<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::Euronext::MarketData::OptiqMdg::Messaging::BinaryBlock< Container, BlockLength >

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

Definition at line 63 of file SbeMessage.h.

Constructor & Destructor Documentation

◆ BinaryBlock()

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

Initializes a blank instance.

◆ ~BinaryBlock()

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

Member Function Documentation

◆ enumeration() [1/3]

template<class Container, class BlockLength>
template<class Enumeration>
Enumeration::Enum enumeration ( BlockLength offset) const
inlineprotectednoexcept
Returns
the field value.

Definition at line 112 of file SbeMessage.h.

◆ enumeration() [2/3]

template<class Container, class BlockLength>
template<class Enumeration, class NullValue>
bool enumeration ( typename Enumeration::Enum & value,
BlockLength offset,
NullValue null ) const
inlineprotectednoexcept

Provides access to an optional field value.

Definition at line 122 of file SbeMessage.h.

◆ enumeration() [3/3]

template<class Container, class BlockLength>
template<class Enumeration, class NullValue>
bool enumeration ( typename Enumeration::Enum & value,
BlockLength offset,
NullValue null,
SchemaVersion since ) const
inlineprotectednoexcept

Provides access to an optional field value.

Definition at line 133 of file SbeMessage.h.

◆ fixedStr() [1/3]

template<class Container, class BlockLength>
template<BlockLength Length>
StrRef fixedStr ( BlockLength offset) const
inlineprotectednoexcept

Provides access to a string field value.

Definition at line 140 of file SbeMessage.h.

◆ fixedStr() [2/3]

template<class Container, class BlockLength>
template<BlockLength Length>
bool fixedStr ( StrRef & value,
BlockLength offset ) const
inlineprotectednoexcept

Provides access to an optional string field value.

Returns
true if the field is present in the field block and its value was copied, otherwise - false.

Definition at line 154 of file SbeMessage.h.

◆ fixedStr() [3/3]

template<class Container, class BlockLength>
template<BlockLength Length>
bool fixedStr ( StrRef & value,
BlockLength offset,
SchemaVersion since ) const
inlineprotectednoexcept

Provides access to an optional string field value.

Returns
true if the field is present in the field block and its value was copied, otherwise - false.

Definition at line 165 of file SbeMessage.h.

◆ ordinary() [1/3]

template<class Container, class BlockLength>
template<class Value>
Value ordinary ( BlockLength offset) const
inlineprotectednoexcept
Returns
the field value.

Definition at line 79 of file SbeMessage.h.

◆ ordinary() [2/3]

template<class Container, class BlockLength>
template<class Value, class NullValue>
bool ordinary ( Value & value,
BlockLength offset,
NullValue null ) const
inlineprotectednoexcept

Provides access to an optional field value.

Returns
true if the field is present in the field block and its value was copied, otherwise - false.

Definition at line 93 of file SbeMessage.h.

◆ ordinary() [3/3]

template<class Container, class BlockLength>
template<class Value, class NullValue>
bool ordinary ( Value & value,
BlockLength offset,
NullValue null,
SchemaVersion since ) const
inlineprotectednoexcept

Provides access to an optional field value.

Returns
true if the field is present in the field block and its value was copied, otherwise - false.

Definition at line 105 of file SbeMessage.h.