OnixS C++ CME MDP Conflated UDP Handler 1.1.2
API documentation
Loading...
Searching...
No Matches
BinaryGroups< Length > Class Template Reference

Public Types

typedef Length EncodedLength

Public Member Functions

 BinaryGroups ()
 BinaryGroups (const void *encoded, EncodedLength length, SchemaVersion version)
 BinaryGroups (const BinaryGroups &other)
bool empty () const
template<class Group>
Group head () const
template<class Group>
BinaryGroups tail () const
const void * encoded () const
EncodedLength encodedLength () const
BinaryGroupsoperator= (const BinaryGroups &other)

Detailed Description

template<class Length>
class OnixS::CME::ConflatedUDP::BinaryGroups< Length >

Encapsulates services for manipulating SBE-encoded groups stored sequentially in SBE-encoded message.

Definition at line 1176 of file BinaryMessage.h.

Member Typedef Documentation

◆ EncodedLength

template<class Length>
typedef Length EncodedLength

Represents the length of binary data occupied by the given list of groups.

Definition at line 1187 of file BinaryMessage.h.

Constructor & Destructor Documentation

◆ BinaryGroups() [1/3]

template<class Length>
BinaryGroups ( )
inline

Initializes empty list.

Definition at line 1190 of file BinaryMessage.h.

◆ BinaryGroups() [2/3]

template<class Length>
BinaryGroups ( const void * encoded,
EncodedLength length,
SchemaVersion version )
inline

Initializes list over memory block, where given message is stored.

Definition at line 1199 of file BinaryMessage.h.

◆ BinaryGroups() [3/3]

template<class Length>
BinaryGroups ( const BinaryGroups< Length > & other)
inline

Initializes as copy of other list.

Definition at line 1210 of file BinaryMessage.h.

Member Function Documentation

◆ empty()

template<class Length>
bool empty ( ) const
inline

Indicates whether group list is empty.

Definition at line 1219 of file BinaryMessage.h.

◆ encoded()

template<class Length>
const void * encoded ( ) const
inline

SBE-encoded content referenced by the list.

Definition at line 1264 of file BinaryMessage.h.

◆ encodedLength()

template<class Length>
EncodedLength encodedLength ( ) const
inline

Length of SBE-encoded content referenced by the given group list.

Definition at line 1271 of file BinaryMessage.h.

◆ head()

template<class Length>
template<class Group>
Group head ( ) const
inline

Provides access to the head group of the list.

Definition at line 1229 of file BinaryMessage.h.

◆ operator=()

template<class Length>
BinaryGroups & operator= ( const BinaryGroups< Length > & other)
inline

Re-initializes instance as copy of the other one.

Definition at line 1278 of file BinaryMessage.h.

◆ tail()

template<class Length>
template<class Group>
BinaryGroups tail ( ) const
inline

Returns the groups following the head.

Definition at line 1243 of file BinaryMessage.h.