OnixS C++ CME MDP Conflated UDP Handler  1.1.2
API documentation
BinaryGroupEntry< Length > Class Template Reference

#include <OnixS/CME/ConflatedUDP/BinaryMessage.h>

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 (Lengthoffset) const
 
bool ordinary (Value &value, Lengthoffset, const NullValue &null) const
 
bool ordinary (Value &value, Lengthoffset, const NullValue &null, SchemaVersion since) const
 
Enumeration::Enum enumeration (Lengthoffset) const
 
bool enumeration (typename Enumeration::Enum &value, Lengthoffset, const NullValue &null) const
 
bool enumeration (typename Enumeration::Enum &value, Lengthoffset, const NullValue &null, SchemaVersion since) const
 
Decimal decimal (Lengthoffset) const
 
bool decimal (Decimal &value, Lengthoffset, const NullValue &null) const
 
bool decimal (Decimal &value, Lengthoffset, const NullValue &null, SchemaVersion since) const
 
StrRef fixedStr (Lengthoffset) const
 
StrRef fixedStr (Lengthoffset, SchemaVersion since) 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

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.

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 ( )
inline

Initializes instance referring to nothing.

Definition at line 473 of file BinaryMessage.h.

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 ( 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

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 blockLength ( ) const
inline

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

Definition at line 536 of file BinaryMessage.h.

const void* encoded ( ) const
inline

Pointer to the binary data referring to the given entry.

Definition at line 515 of file BinaryMessage.h.

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 ( ) const
inline

Indicates whether instance refers to a valid content.

Definition at line 508 of file BinaryMessage.h.

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.

SchemaVersion version ( ) const
inline

Version of message containing given repeating group instance.

Definition at line 543 of file BinaryMessage.h.


The documentation for this class was generated from the following file: