Public Member Functions | |
UInt16 | msgSize () const noexcept |
UInt16 | msgType () const noexcept |
StrRef | currencyCode () const noexcept |
UInt16 | currencyFactor () const noexcept |
UInt32 | currencyRate () const noexcept |
CurrencyRateMsg (const void *data, MessageSize size) noexcept | |
Public Member Functions inherited from BinaryMessage | |
BinaryMessage () noexcept | |
BinaryMessage (const void *data, MessageSize size) noexcept | |
BinaryMessage (const BinaryMessage &other) noexcept | |
operator bool () const noexcept | |
const void * | binary () const noexcept |
MessageSize | binarySize () const noexcept |
BinaryMessage & | operator= (const BinaryMessage &other) noexcept |
Static Public Member Functions | |
static void | validateSize (MessageSize size) |
Static Public Attributes | |
static constexpr MessageSize | messageSize_ = 16 |
Additional Inherited Members | |
Public Types inherited from BinaryMessage | |
typedef MessageSize | BinarySize |
Protected Member Functions inherited from BinaryFields< BinaryMessage, MessageSize > | |
const SubMessage | submessage (MessageSize offset, MessageSize size) const noexcept |
FieldValue | ordinary (MessageSize offset) const noexcept |
const FieldValue & | ordinaryRef (MessageSize offset) const noexcept |
Enumeration::Enum | enumeration (MessageSize offset) const noexcept |
StrRef | fixedStr (MessageSize offset) const noexcept |
Definition at line 36 of file CurrencyRate.h.
|
inlinenoexcept |
Initializes instance over given memory block.
Definition at line 84 of file CurrencyRate.h.
|
inlinenoexcept |
Currency code.
Definition at line 53 of file CurrencyRate.h.
|
inlinenoexcept |
Currency factor conversion.
Definition at line 60 of file CurrencyRate.h.
|
inlinenoexcept |
Currency rate.
Definition at line 67 of file CurrencyRate.h.
|
inlinenoexcept |
Size of the message.
Definition at line 39 of file CurrencyRate.h.
|
inlinenoexcept |
Type of message.
Definition at line 46 of file CurrencyRate.h.
|
inlinestatic |
Check the given size.
Definition at line 77 of file CurrencyRate.h.
|
staticconstexpr |
Total message size.
Definition at line 74 of file CurrencyRate.h.