#include <OnixS/CME/iLink3/messaging/SbeMessage.h>
Classes | |
struct | NoCheck |
struct | NoFieldsInit |
struct | NoInit |
Public Types | |
typedef MessageSize | EncodedLength |
typedef MessageSize | BlockLength |
Public Member Functions | |
SbeMessage () noexcept | |
SbeMessage (void *data, MessageSize size, SchemaVersion version) | |
SbeMessage (void *data, MessageSize size) | |
SbeMessage (void *data, MessageSize size, NoCheck) noexcept | |
void | clear () noexcept |
bool | valid () const noexcept |
MessageTemplateId | templateId () const noexcept |
SchemaVersion | version () const noexcept |
SchemaId | schemaId () const noexcept |
const void * | binary () const noexcept |
void * | binary () noexcept |
const void * | blockEnd () noexcept |
const void * | blockEnd () const noexcept |
MessageSize | bufferSize () const noexcept |
void * | body () noexcept |
BlockLength | blockLength () const noexcept |
const void * | block () const noexcept |
void * | block () noexcept |
Public Member Functions inherited from SbeFields< Messaging::SbeMessage, MessageSize > | |
Messaging::SbeMessage & | container () noexcept |
void | zeroPaddingBytes (MessageSizeoffset) noexcept |
void | setOrdinary (MessageSizeoffset, FieldValue value) noexcept |
void | setOrdinary (MessageSizeoffset, FieldValue value, SchemaVersion since) |
void | setEnumeration (MessageSizeoffset, typename Enumeration::Enum value) noexcept |
void | setEnumeration (MessageSizeoffset, typename Enumeration::Enum value, SchemaVersion since) |
void | setFixedStr (MessageSizeoffset, StrRef value) noexcept |
void | setFixedStr (MessageSizeoffset, StrRef value, SchemaVersion since) |
Protected Types | |
typedef SbeGroupList< MessageSize > | GroupList |
typedef SbeVariableLengthFieldList< MessageSize > | VariableLengthFieldList |
Protected Member Functions | |
SbeMessage & | version (SchemaVersion version) noexcept |
GroupList | groups () noexcept |
GroupList | groups () const noexcept |
template<typename Group > | |
void | initGroup (Group &group, typename Group::EntrySize entrySize) noexcept |
template<typename Group > | |
void | setupGroup (Group &group, typename Group::Size entryCount, const void *messageTail) |
template<typename Group > | |
void | constructGroup (Group &group, typename Group::Size entryCount, const void *messageTail) |
void | setVarDataField (DATA &data, StrRef value, const void *oldMessageTail) |
VariableLengthFieldList | variableLengthFields () noexcept |
VariableLengthFieldList | variableLengthFields () const noexcept |
void | init (MessageHeader::TemplateId value, MessageHeader::BlockLength minimalBlockLength, MessageHeader::BlockLength blockLength, SchemaId id) noexcept |
MessageSize | calculateBinarySize (const void *tail) const noexcept |
template<class Callable , class Owner > | |
void | setVariableLengthField (Callable callable, StrRef value, Owner &owner) |
template<class Callable , class Owner > | |
void | setVariableLengthField (Callable callable, StrRef value, SchemaVersion since, Owner &owner) |
template<class Callable , class Owner > | |
StrRef | getVariableLengthField (Callable callable, const Owner &owner) const noexcept |
template<class Callable , class Owner > | |
StrRef | getVariableLengthField (Callable callable, SchemaVersion since, Owner &owner) const noexcept |
template<class Callable , class Owner > | |
void | setVariableLengthFieldToNull (Callable callable, Owner &owner) noexcept |
template<class Group , class Callable , class Owner > | |
void | resetGroup (Callable callable, Owner &owner) noexcept |
template<class Callable , class Owner > | |
void | setVariableLengthFieldToNull (Callable callable, SchemaVersion since, Owner &owner) noexcept |
template<class Group , class Callable , class Owner > | |
void | resetGroup (Callable callable, SchemaVersion since, Owner &owner) |
template<class Group , class Callable , class Owner > | |
Group | getGroup (Callable callable, Owner &owner) const noexcept |
template<class Group , class Callable , class Owner > | |
Group | getGroup (Callable callable, SchemaVersion since, Owner &owner) const noexcept |
template<class Group , class Callable , class Owner > | |
Group | constructGroup (Callable callable, typename Group::Size length, SchemaVersion since, Owner &owner) |
template<class Group , class Callable , class Owner > | |
Group | constructGroup (Callable callable, typename Group::Size length, Owner &owner) |
template<class Group , class Callable , class Owner > | |
Group | setupGroup (Callable callable, typename Group::Size length, SchemaVersion since, Owner &owner) |
template<class Group , class Callable , class Owner > | |
Group | setupGroup (Callable callable, typename Group::Size length, Owner &owner) |
Protected Member Functions inherited from SbeFields< Messaging::SbeMessage, MessageSize > | |
SbeFields ()=default | |
~SbeFields ()=default | |
Protected Member Functions inherited from BinaryBlock< Messaging::SbeMessage, MessageSize > | |
BinaryBlock ()=default | |
~BinaryBlock ()=default | |
Value | ordinary (MessageSizeoffset) const noexcept |
bool | ordinary (Value &value, MessageSizeoffset, NullValue null) const noexcept |
bool | ordinary (Value &value, MessageSizeoffset, NullValue null, SchemaVersion since) const noexcept |
Enumeration::Enum | enumeration (MessageSizeoffset) const noexcept |
bool | enumeration (typename Enumeration::Enum &value, MessageSizeoffset, NullValue null) const noexcept |
bool | enumeration (typename Enumeration::Enum &value, MessageSizeoffset, NullValue null, SchemaVersion since) const noexcept |
Value | decimal (MessageSizeoffset) const noexcept |
bool | decimal (Value &value, MessageSizeoffset, NullValue null) const noexcept |
bool | decimal (Value &value, MessageSizeoffset, NullValue null, SchemaVersion since) const noexcept |
StrRef | fixedStr (MessageSizeoffset) const noexcept |
bool | fixedStr (StrRef &value, MessageSizeoffset) const noexcept |
bool | fixedStr (StrRef &value, MessageSizeoffset, SchemaVersion since) const noexcept |
Static Protected Member Functions | |
static constexpr MessageSize | getMaxMessageSize () noexcept |
Definition at line 1108 of file SbeMessage.h.
typedef MessageSize BlockLength |
Length of the message body representing a block of fixed-length fields.
Definition at line 1120 of file SbeMessage.h.
typedef MessageSize EncodedLength |
Length of the message binary data.
Definition at line 1117 of file SbeMessage.h.
|
protected |
Binary group list instantiation.
Definition at line 1285 of file SbeMessage.h.
|
protected |
Binary group list instantiation.
Definition at line 1374 of file SbeMessage.h.
|
inlinenoexcept |
Initializes a blank instance.
Definition at line 1123 of file SbeMessage.h.
|
inline |
Initializes the instance over the given memory block.
Definition at line 1131 of file SbeMessage.h.
|
inline |
Initializes the instance over the given memory block.
Definition at line 1146 of file SbeMessage.h.
|
inlinenoexcept |
Initializes the instance over the given memory block.
Definition at line 1165 of file SbeMessage.h.
|
inlinenoexcept |
Definition at line 1214 of file SbeMessage.h.
|
inlinenoexcept |
Definition at line 1222 of file SbeMessage.h.
|
inlinenoexcept |
Definition at line 1268 of file SbeMessage.h.
|
inlinenoexcept |
Definition at line 1276 of file SbeMessage.h.
|
inlinenoexcept |
Definition at line 1230 of file SbeMessage.h.
|
inlinenoexcept |
Definition at line 1238 of file SbeMessage.h.
|
inlinenoexcept |
Definition at line 1260 of file SbeMessage.h.
|
inlinenoexcept |
Definition at line 1252 of file SbeMessage.h.
|
inlinenoexcept |
Definition at line 1246 of file SbeMessage.h.
|
inlineprotectednoexcept |
Definition at line 1420 of file SbeMessage.h.
|
inlinenoexcept |
Blank the instance.
Definition at line 1177 of file SbeMessage.h.
|
inlineprotected |
Initializes the group header, sets all optional fields to null
.
Definition at line 1345 of file SbeMessage.h.
|
inlineprotected |
Creates a repeating group with the given number of entries, sets all optional fields of the group entries to null.
Definition at line 1531 of file SbeMessage.h.
|
inlineprotected |
Creates a repeating group with the given number of entries, sets all optional fields of the group entries to null.
Definition at line 1541 of file SbeMessage.h.
|
inlineprotectednoexcept |
Definition at line 1513 of file SbeMessage.h.
|
inlineprotectednoexcept |
Definition at line 1521 of file SbeMessage.h.
|
inlinestaticprotectednoexcept |
Maximal message size.
Definition at line 1575 of file SbeMessage.h.
|
inlineprotectednoexcept |
Definition at line 1456 of file SbeMessage.h.
|
inlineprotectednoexcept |
Definition at line 1464 of file SbeMessage.h.
|
inlineprotectednoexcept |
Definition at line 1299 of file SbeMessage.h.
|
inlineprotectednoexcept |
Definition at line 1312 of file SbeMessage.h.
|
inlineprotectednoexcept |
Definition at line 1403 of file SbeMessage.h.
|
inlineprotectednoexcept |
Resets the group to the initial state.
Definition at line 1326 of file SbeMessage.h.
|
inlineprotectednoexcept |
Sets the group to the initial state.
Definition at line 1482 of file SbeMessage.h.
|
inlineprotected |
Resets the repeating group.
Definition at line 1503 of file SbeMessage.h.
|
inlinenoexcept |
Definition at line 1206 of file SbeMessage.h.
|
inlineprotected |
Initializes the group header.
Definition at line 1335 of file SbeMessage.h.
|
inlineprotected |
Setups the repeating group with the given number of entries.
Definition at line 1552 of file SbeMessage.h.
|
inlineprotected |
Setups the repeating group with the given number of entries.
Definition at line 1562 of file SbeMessage.h.
Sets the variable length field value.
Definition at line 1353 of file SbeMessage.h.
|
inlineprotected |
Sets the value of the variable length field.
Definition at line 1439 of file SbeMessage.h.
|
inlineprotected |
Sets the value of the variable length field.
Definition at line 1446 of file SbeMessage.h.
|
inlineprotectednoexcept |
Resets the variable length field.
Definition at line 1474 of file SbeMessage.h.
|
inlineprotectednoexcept |
Sets the variable length field to null
.
Definition at line 1493 of file SbeMessage.h.
|
inlinenoexcept |
Definition at line 1190 of file SbeMessage.h.
|
inlinenoexcept |
true
if the instance refers to a valid message, otherwise - false
. Definition at line 1184 of file SbeMessage.h.
|
inlineprotectednoexcept |
Definition at line 1378 of file SbeMessage.h.
|
inlineprotectednoexcept |
Definition at line 1391 of file SbeMessage.h.
|
inlinenoexcept |
Definition at line 1198 of file SbeMessage.h.
|
inlineprotectednoexcept |
Sets the SBE Schema version.
Definition at line 1288 of file SbeMessage.h.