#include <OnixS/B3/MarketData/UMDF/messaging/SbeMessage.h>
Public Member Functions | |
| Container & | container () noexcept |
| __attribute__ ((__hot__)) void zeroPaddingBytes(BlockLength offset) noexcept | |
| template<class FieldValue> | |
| __attribute__ ((__hot__)) void setOrdinary(BlockLength offset | |
| setValue (fieldPos, value) | |
| template<class FieldValue> | |
| __attribute__ ((__hot__)) void setOrdinary(BlockLength offset | |
| setOrdinary (offset, value) | |
| template<class Enumeration> | |
| __attribute__ ((__hot__)) void setEnumeration(BlockLength offset | |
| setOrdinary (offset, static_cast< Base >(value)) | |
| template<class Enumeration> | |
| __attribute__ ((__hot__)) void setEnumeration(BlockLength offset | |
| setOrdinary (offset, static_cast< Base >(value), since) | |
| template<BlockLength Size> | |
| __attribute__ ((__hot__)) void setFixedStr(BlockLength offset | |
| assert (value.size()<=Size &&"The string is truncated.") | |
| if(sizeToCopy > 0) std | std::memset (advanceByBytes(fieldPos, sizeToCopy), 0, Size - sizeToCopy) |
| template<BlockLength Size> | |
| __attribute__ ((__hot__)) void setFixedStr(BlockLength offset | |
| setFixedStr (offset, value) | |
Public Attributes | |
| FieldValue value | noexcept |
| void *const | fieldPos = advanceByBytes(container().block(), offset) |
| FieldValue | value |
| FieldValue SchemaVersion | since |
| Enumeration::Enum value | noexcept |
| Enumeration::Enum | value |
| Enumeration::Enum SchemaVersion | since |
| StrRef value | noexcept |
| const size_t | sizeToCopy = (std::min)(Size, static_cast<BlockLength>(value.size())) |
| StrRef | value |
| StrRef SchemaVersion | since |
Protected Member Functions | |
| SbeFields ()=default | |
| ~SbeFields ()=default | |
| Protected Member Functions inherited from BinaryBlock< Container, BlockLength > | |
| 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 | |
Additional Inherited Members | |
| Protected Attributes inherited from BinaryBlock< Container, BlockLength > | |
| BlockLength | offset |
| BlockLength NullValue null const | noexcept |
| BlockLength NullValue | null |
| BlockLength NullValue SchemaVersion since const | noexcept |
This class represents an abstraction to be used by descendants as a base class with static polymorphism.
Definition at line 204 of file SbeMessage.h.
|
protecteddefault |
Initializes a blank instance.
|
protecteddefault |
| __attribute__ | ( | (__hot__) | ) |
Sets the field value.
| __attribute__ | ( | (__hot__) | ) |
Sets the field value.
| __attribute__ | ( | (__hot__) | ) |
Sets the field value.
| __attribute__ | ( | (__hot__) | ) |
Sets the field value.
| __attribute__ | ( | (__hot__) | ) |
Sets the field value.
| __attribute__ | ( | (__hot__) | ) |
Sets the field value.
|
inlinenoexcept |
If specified, the extra space is padded at the end of each entry and should be set to zeroes by encoders.
Definition at line 214 of file SbeMessage.h.
| assert | ( | value.size()<=Size &&"The string is truncated." | ) |
|
inlinenoexcept |
Definition at line 208 of file SbeMessage.h.
| setOrdinary | ( | offset | , |
| static_cast< Base > | value ) |
| setOrdinary | ( | offset | , |
| static_cast< Base > | value, | ||
| since | ) |
| if(sizeToCopy > 0) std std::memset | ( | advanceByBytes(fieldPos, sizeToCopy) | , |
| 0 | , | ||
| Size - | sizeToCopy ) |
| void *const fieldPos = advanceByBytes(container().block(), offset) |
Definition at line 231 of file SbeMessage.h.
| FieldValue value noexcept |
Definition at line 227 of file SbeMessage.h.
| Enumeration::Enum value noexcept |
Definition at line 247 of file SbeMessage.h.
Definition at line 263 of file SbeMessage.h.
| FieldValue SchemaVersion since |
Definition at line 237 of file SbeMessage.h.
| Enumeration::Enum SchemaVersion since |
Definition at line 255 of file SbeMessage.h.
| StrRef SchemaVersion since |
Definition at line 279 of file SbeMessage.h.
| const size_t sizeToCopy = (std::min)(Size, static_cast<BlockLength>(value.size())) |
Definition at line 269 of file SbeMessage.h.
| FieldValue value |
Definition at line 237 of file SbeMessage.h.
| Enumeration::Enum value |
Definition at line 255 of file SbeMessage.h.
| StrRef value |
Definition at line 279 of file SbeMessage.h.