#include <BinaryMessage.h>
Protected Member Functions | |
| BinaryFields () | |
| ~BinaryFields () | |
| template<class FieldValue > | |
| const FieldValue & | ordinary (BlockSize offset) const |
| template<class FieldValue , class NullValue > | |
| bool | ordinary (FieldValue &value, BlockSize offset, const NullValue &null) const |
| template<class FieldValue , class NullValue > | |
| bool | ordinary (FieldValue &value, BlockSize offset, const NullValue &null, SchemaVersion since) const |
| template<class Enumeration > | |
| Enumeration::Enum | enumeration (BlockSize offset) const |
| template<class Enumeration , class NullValue > | |
| bool | enumeration (typename Enumeration::Enum &value, BlockSize offset, const NullValue &null) const |
| template<class Enumeration , class NullValue > | |
| bool | enumeration (typename Enumeration::Enum &value, BlockSize offset, const NullValue &null, SchemaVersion since) const |
| template<class FieldValue > | |
| Decimal | decimal (BlockSize offset) const |
| template<class NullValue > | |
| bool | decimal (Decimal &value, BlockSize offset, const NullValue &null) const |
| template<class NullValue > | |
| bool | decimal (Decimal &value, BlockSize offset, const NullValue &null, SchemaVersion since) const |
| template<BlockSize Size> | |
| StrRef | fixedStr (BlockSize offset) const |
| template<BlockSize Size> | |
| StrRef | fixedStr (BlockSize offset, SchemaVersion since) const |
Exposes base services to access fields stored in SBE-encoded block of memory. Class represents an abstraction, instance construction available through descendants implementing actual access to encoded data.
Definition at line 43 of file BinaryMessage.h.
|
inlineprotected |
Initializes blank instance.
Definition at line 54 of file BinaryMessage.h.
|
inlineprotected |
Cleans everything up.
Definition at line 59 of file BinaryMessage.h.
|
inlineprotected |
Returns value of a field by its offset converted into a decimal.
Definition at line 250 of file BinaryMessage.h.
|
inlineprotected |
Provides access to a value of an optional field by its offset. The result is converted into decimal.
Returned result indicates whether field is present in given field block and its value was copied into a given parameter-variable.
Definition at line 273 of file BinaryMessage.h.
|
inlineprotected |
Provides access to a value of an optional field by its offset. The result is converted into decimal.
Returned result indicates whether field is present in given field block and its value was copied into a given parameter-variable.
Field may not be present in earlier versions of binary message and thus its value may not be available. For this reason, parameter indicating version of data assumed is required to access the field.
Definition at line 314 of file BinaryMessage.h.
|
inlineprotected |
Returns value of a field by its offset.
Given function serves as specialization of general case for fields of enumeration type.
Definition at line 160 of file BinaryMessage.h.
|
inlineprotected |
Provides access to value of an optional field by its offset.
Given function serves as specialization of general case for fields of enumeration type.
Definition at line 189 of file BinaryMessage.h.
|
inlineprotected |
Provides access to value of an optional field by its offset.
Given function serves as specialization of general case for fields of enumeration type.
Definition at line 229 of file BinaryMessage.h.
|
inlineprotected |
Provides access to string field by its offset.
Given function serves as specialization of general case for fields of string type.
Definition at line 336 of file BinaryMessage.h.
|
inlineprotected |
Provides access to an optional field of string type by its offset.
Given function serves as specialization of general case for fields of string type.
Definition at line 362 of file BinaryMessage.h.
|
inlineprotected |
Returns value of a field by its offset.
Definition at line 70 of file BinaryMessage.h.
|
inlineprotected |
Provides access to a value of an optional field by its offset.
Returned result indicates whether field is present in given field block and its value was copied into a given parameter-variable.
Definition at line 101 of file BinaryMessage.h.
|
inlineprotected |
Provides access to a value of an optional field by its offset.
Returned result indicates whether field is present in given field block and its value was copied into a given parameter-variable.
Field may not be present in earlier versions of binary message and thus its value may not be available. For this reason, parameter indicating version of data assumed is required to access the field.
Definition at line 137 of file BinaryMessage.h.