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

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

Protected Member Functions

 BinaryBlock ()=default
 ~BinaryBlock ()=default
template<class Value>
 __attribute__ ((__hot__)) Value ordinary(BlockLength offset) const noexcept
template<class Value, class NullValue>
 __attribute__ ((__hot__)) bool ordinary(Value &value
 return (null !=value)
template<class Value, class NullValue>
 __attribute__ ((__hot__)) bool ordinary(Value &value

Protected Attributes

BlockLength offset
BlockLength NullValue null const noexcept
BlockLength NullValue null
BlockLength NullValue SchemaVersion since const noexcept

Detailed Description

template<class Container, class BlockLength>
class OnixS::B3::MarketData::UMDF::Messaging::BinaryBlock< Container, BlockLength >

The given class represents an abstraction to be used by descendants as a base class with static polymorphism.

Definition at line 63 of file SbeMessage.h.

Constructor & Destructor Documentation

◆ BinaryBlock()

template<class Container, class BlockLength>
BinaryBlock ( )
protecteddefault

Initializes a blank instance.

◆ ~BinaryBlock()

template<class Container, class BlockLength>
~BinaryBlock ( )
protecteddefault

Member Function Documentation

◆ __attribute__() [1/3]

template<class Container, class BlockLength>
template<class Value, class NullValue>
__attribute__ ( (__hot__) ) &
protected

Provides access to an optional field value.

Returns
true if the field is present in the field block and its value was copied, otherwise - false.

◆ __attribute__() [2/3]

template<class Container, class BlockLength>
template<class Value, class NullValue>
__attribute__ ( (__hot__) ) &
protected

Provides access to an optional field value.

Returns
true if the field is present in the field block and its value was copied, otherwise - false.

◆ __attribute__() [3/3]

template<class Container, class BlockLength>
template<class Value>
__attribute__ ( (__hot__) ) const
inlineprotectednoexcept
Returns
the field value.

Definition at line 78 of file SbeMessage.h.

◆ return()

template<class Container, class BlockLength>
return ( null ! = value)
protected

Member Data Documentation

◆ noexcept [1/2]

template<class Container, class BlockLength>
BlockLength NullValue null const noexcept
protected
Initial value:
{
value = ordinary<Value>(offset)

Definition at line 93 of file SbeMessage.h.

◆ noexcept [2/2]

template<class Container, class BlockLength>
BlockLength NullValue SchemaVersion since const noexcept
protected
Initial value:
{
return (since <= container().version() && ordinary (value, offset, null ) )

Definition at line 105 of file SbeMessage.h.

◆ null

template<class Container, class BlockLength>
BlockLength NullValue null
protected

Definition at line 105 of file SbeMessage.h.

◆ offset

template<class Container, class BlockLength>
BlockLength offset
protected

Definition at line 93 of file SbeMessage.h.