OnixS C++ B3 BOE Binary Order Entry 1.4.0
Users' manual and API documentation
Loading...
Searching...
No Matches
SbeVariableLengthFieldList< BinarySize > Class Template Reference

#include <OnixS/B3/BOE/messaging/SbeMessage.h>

Public Member Functions

 SbeVariableLengthFieldList (void *binary, BinarySize size, SchemaVersion version) noexcept
bool empty () const noexcept
template<class BinaryVariableLengthFieldType>
BinaryVariableLengthFieldType & head () const noexcept
template<class BinaryVariableLengthFieldType>
SbeVariableLengthFieldList tail () const noexcept
template<class BinaryVariableLengthFieldType>
SbeVariableLengthFieldList checkTail () const

Detailed Description

template<class BinarySize>
class OnixS::B3::BOE::Messaging::SbeVariableLengthFieldList< BinarySize >

Definition at line 907 of file SbeMessage.h.

Constructor & Destructor Documentation

◆ SbeVariableLengthFieldList()

template<class BinarySize>
SbeVariableLengthFieldList ( void * binary,
BinarySize size,
SchemaVersion version )
inlinenoexcept

Initializes the list over the given memory block.

Definition at line 912 of file SbeMessage.h.

Member Function Documentation

◆ checkTail()

template<class BinarySize>
template<class BinaryVariableLengthFieldType>
SbeVariableLengthFieldList checkTail ( ) const
inline

Checks the variable-length field list consistency.

Returns
the list of fields following the head.

Definition at line 949 of file SbeMessage.h.

◆ empty()

template<class BinarySize>
bool empty ( ) const
inlinenoexcept
Returns
true if the list is empty, otherwise - `false.

Definition at line 920 of file SbeMessage.h.

◆ head()

template<class BinarySize>
template<class BinaryVariableLengthFieldType>
BinaryVariableLengthFieldType & head ( ) const
inlinenoexcept
Returns
the head of the list.

Definition at line 927 of file SbeMessage.h.

◆ tail()

template<class BinarySize>
template<class BinaryVariableLengthFieldType>
SbeVariableLengthFieldList tail ( ) const
inlinenoexcept
Returns
the list of variable-length fields following the head.

Definition at line 934 of file SbeMessage.h.