OnixS C++ B3 Binary UMDF Market Data Handler 1.10.0
Users' manual and API documentation
Loading...
Searching...
No Matches
SbeGroupEntry< BodySizeType > Class Template Reference

#include <OnixS/B3/MarketData/UMDF/messaging/SbeMessage.h>

Public Types

typedef BodySizeType BlockLength

Public Member Functions

 SbeGroupEntry ()
 __attribute__ ((__hot__)) SbeGroupEntry(const void *encoded
BlockLength SchemaVersion size_ (size)
BlockLength SchemaVersion version_ (version)
bool valid () const noexcept
const void * encoded () const noexcept
const void * block () const noexcept
BlockLength blockLength () const noexcept
SchemaVersion version () const noexcept
Public Member Functions inherited from SbeFields< SbeGroupEntry< BodySizeType >, BodySizeType >
SbeGroupEntry< BodySizeType > & container () noexcept
 __attribute__ ((__hot__)) void zeroPaddingBytes(BodySizeType offset) noexcept
 setValue (fieldPos, value)
 setOrdinary (offset, value)
 assert (value.size()<=Size &&"The string is truncated.")
if(sizeToCopy > 0) std std::memset (advanceByBytes(fieldPos, sizeToCopy), 0, Size - sizeToCopy)
 setFixedStr (offset, value)

Public Attributes

BlockLength size
BlockLength SchemaVersion version: encoded_(encoded)
Public Attributes inherited from SbeFields< SbeGroupEntry< BodySizeType >, BodySizeType >
FieldValue value noexcept
void *const fieldPos
FieldValue value
FieldValue SchemaVersion since
const size_t sizeToCopy

Additional Inherited Members

Protected Member Functions inherited from SbeFields< SbeGroupEntry< BodySizeType >, BodySizeType >
 SbeFields ()=default
 ~SbeFields ()=default
Protected Member Functions inherited from BinaryBlock< SbeGroupEntry< BodySizeType >, BodySizeType >
 BinaryBlock ()=default
 ~BinaryBlock ()=default
 __attribute__ ((__hot__)) Value ordinary(BodySizeType offset) const noexcept
 return (null !=value)
Protected Attributes inherited from BinaryBlock< SbeGroupEntry< BodySizeType >, BodySizeType >
BodySizeType offset
BodySizeType NullValue null const noexcept
BodySizeType NullValue null

Detailed Description

template<class BodySizeType>
class OnixS::B3::MarketData::UMDF::Messaging::SbeGroupEntry< BodySizeType >

Definition at line 296 of file SbeMessage.h.

Member Typedef Documentation

◆ BlockLength

template<class BodySizeType>
typedef BodySizeType BlockLength

Type to present the length of binary data of the repeating group entry.

Definition at line 300 of file SbeMessage.h.

Constructor & Destructor Documentation

◆ SbeGroupEntry()

template<class BodySizeType>
SbeGroupEntry ( )
inline

Initializes a blank instance.

Definition at line 303 of file SbeMessage.h.

Member Function Documentation

◆ __attribute__()

template<class BodySizeType>
__attribute__ ( (__hot__) ) const

Initializes the instance from the memory block of the encoded message.

◆ block()

template<class BodySizeType>
const void * block ( ) const
inlinenoexcept
Returns
the pointer to the block containing fixed-length fields.

Definition at line 343 of file SbeMessage.h.

◆ blockLength()

template<class BodySizeType>
BlockLength blockLength ( ) const
inlinenoexcept
Returns
Block length.

Definition at line 359 of file SbeMessage.h.

◆ encoded()

template<class BodySizeType>
const void * encoded ( ) const
inlinenoexcept
Returns
the beginning of the group entry body.

Definition at line 327 of file SbeMessage.h.

◆ size_()

template<class BodySizeType>
BlockLength SchemaVersion size_ ( size )

◆ valid()

template<class BodySizeType>
bool valid ( ) const
inlinenoexcept
Returns
true if the instance refers to a valid content, otherwise - false.

Definition at line 321 of file SbeMessage.h.

◆ version()

template<class BodySizeType>
SchemaVersion version ( ) const
inlinenoexcept
Returns
SBE Schema version.

Definition at line 365 of file SbeMessage.h.

◆ version_()

template<class BodySizeType>
BlockLength SchemaVersion version_ ( version )
inline

Definition at line 315 of file SbeMessage.h.

Member Data Documentation

◆ size

template<class BodySizeType>
BlockLength size

Definition at line 312 of file SbeMessage.h.

◆ version

template<class BodySizeType>
BlockLength SchemaVersion version

Definition at line 312 of file SbeMessage.h.