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

Public Types

typedef Length EncodedLength
typedef Length BlockLength

Public Member Functions

 BinaryGroupEntry ()
 BinaryGroupEntry (const void *encoded, BlockLength length, SchemaVersion version)
 BinaryGroupEntry (const BinaryGroupEntry &other)
 operator bool () const
const void * encoded () const
EncodedLength encodedLength () const
const void * block () const
BlockLength blockLength () const
SchemaVersion version () const
BinaryGroupEntryoperator= (const BinaryGroupEntry &other)

Additional Inherited Members

Protected Member Functions inherited from BinaryBlock< BinaryGroupEntry< Length >, Length >
 BinaryBlock ()
 ~BinaryBlock ()
Value ordinary (Length offset) const
Enumeration::Enum enumeration (Length offset) const
Decimal decimal (Length offset) const
StrRef fixedStr (Length offset) const

Detailed Description

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

Encapsulates operations over SBE-encoded repeating group entry instance.

Definition at line 447 of file BinaryMessage.h.

Member Typedef Documentation

◆ BlockLength

template<class Length>
typedef Length BlockLength

Represents the length of binary block storing fixed-length fields of the group entry.

Definition at line 470 of file BinaryMessage.h.

◆ EncodedLength

template<class Length>
typedef Length EncodedLength

Represents the length of binary data occupied by the given group entry.

Definition at line 466 of file BinaryMessage.h.

Constructor & Destructor Documentation

◆ BinaryGroupEntry() [1/3]

template<class Length>
BinaryGroupEntry ( )
inline

Initializes instance referring to nothing.

Definition at line 473 of file BinaryMessage.h.

◆ BinaryGroupEntry() [2/3]

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

Initializes instance from memory block of given SBE-encoded message.

Definition at line 482 of file BinaryMessage.h.

◆ BinaryGroupEntry() [3/3]

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

Initializes instance as a copy of the other one.

Definition at line 499 of file BinaryMessage.h.

Member Function Documentation

◆ block()

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

Returns pointer to the block containing fixed-length fields of the given entry.

Definition at line 529 of file BinaryMessage.h.

◆ blockLength()

template<class Length>
BlockLength blockLength ( ) const
inline

Returns length of the block containing fixed-length fields of the given entry.

Definition at line 536 of file BinaryMessage.h.

◆ encoded()

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

Pointer to the binary data referring to the given entry.

Definition at line 515 of file BinaryMessage.h.

◆ encodedLength()

template<class Length>
EncodedLength encodedLength ( ) const
inline

Length of the SBE-encoded data referring to the given entry.

Definition at line 522 of file BinaryMessage.h.

◆ operator bool()

template<class Length>
operator bool ( ) const
inline

Indicates whether instance refers to a valid content.

Definition at line 508 of file BinaryMessage.h.

◆ operator=()

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

Re-initializes instance as a copy of the other one.

Definition at line 550 of file BinaryMessage.h.

◆ version()

template<class Length>
SchemaVersion version ( ) const
inline

Version of message containing given repeating group instance.

Definition at line 543 of file BinaryMessage.h.