OnixS C++ ICE Binary Order Entry Handler 1.1.1
API Documentation
Loading...
Searching...
No Matches
ExecutionReport_Modify Struct Reference

Public Types

enum  
typedef SchemaTraits Schema
typedef ExecutionReport_Modify ThisType
Public Types inherited from SbeMessage
typedef MessageSize EncodedLength
typedef MessageSize BlockLength

Public Member Functions

 ExecutionReport_Modify ()=default
 ExecutionReport_Modify (void *data, EncodedLength length, SchemaVersion version=Schema::Version)
 ExecutionReport_Modify (void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
 ExecutionReport_Modify (void *data, EncodedLength length, NoInit)
 ExecutionReport_Modify (SbeMessage message)
 ExecutionReport_Modify (void *data, EncodedLength length, NoInit, NoCheck) noexcept
auto originatorUserId () const noexcept
ThisTypeoriginatorUserId (StrRef value) noexcept
auto execId () const noexcept
ThisTypeexecId (ChooseValueKind< OrderExecID > value) noexcept
auto clOrdId () const noexcept
ThisTypeclOrdId (Int64 value) noexcept
auto symbol () const noexcept
ThisTypesymbol (Int32 value) noexcept
auto ordType () const noexcept
ThisTypeordType (OrderTypeEnum value) noexcept
auto side () const noexcept
ThisTypeside (SideEnum value) noexcept
auto origOrderId () const noexcept
ThisTypeorigOrderId (OriginalOrderID value) noexcept
ThisTypeorigOrderId (NullOpt) noexcept
auto origClOrdId () const noexcept
ThisTypeorigClOrdId (Int64NULL value) noexcept
ThisTypeorigClOrdId (NullOpt) noexcept
auto leavesQty () const noexcept
ThisTypeleavesQty (Decimal9 value) noexcept
auto cumQty () const noexcept
ThisTypecumQty (Decimal9 value) noexcept
auto price () const noexcept
ThisTypeprice (Decimal9 value) noexcept
ThisTypeprice (NullOpt) noexcept
auto meAcceptanceTime () const noexcept(ticksToTimestamp::Nothrow)
ThisTypemeAcceptanceTime (Timestamp value) noexcept(timestampToTicks::Nothrow)
auto timePriority () const noexcept(ticksToTimestamp::Nothrow)
ThisTypetimePriority (Timestamp value) noexcept(timestampToTicks::Nothrow)
auto execType () const noexcept
ThisTypeexecType (ExecTypeEnum value) noexcept
auto orderStatus () const noexcept
ThisTypeorderStatus (OrderStatusEnum value) noexcept
ThisTypeorderStatus (NullOpt) noexcept
auto orderState () const noexcept
ThisTypeorderState (OrderStateEnum value) noexcept
ThisTypeorderState (NullOpt) noexcept
auto execRestatementReason () const noexcept
ThisTypeexecRestatementReason (ExecRestatementReasonEnum value) noexcept
ThisTypeexecRestatementReason (NullOpt) noexcept
auto orderModificationFlags () const noexcept
ThisTypeorderModificationFlags (OrderFlags value) noexcept
auto memo () const noexcept
ThisTypememo (StrRef value) noexcept
ThisTypememo (NullOpt) noexcept
ThisTyperesetVariableFields () noexcept
ThisTypereset () noexcept
std::string toString () const
const void * tail () const noexcept
EncodedLength calculateBinarySize () const noexcept
Public Member Functions inherited from SbeMessage
 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
 operator bool () const noexcept
MessageTemplateId templateId () const noexcept
SchemaVersion version () const noexcept
SchemaId schemaId () const noexcept
SequenceId sequenceId () const noexcept
SbeMessagesequenceId (SequenceId value) noexcept
Timestamp sendTime () const noexcept
SbeMessagesendTime (Timestamp value) noexcept
HeaderFlags headerFlags () const noexcept
SbeMessageheaderFlags (HeaderFlags value) 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 >
ONIXS_ICEBOE_FORCEINLINE Messaging::SbeMessagecontainer () noexcept
void zeroPaddingBytes (MessageSize offset) noexcept
ONIXS_ICEBOE_FORCEINLINE void setOrdinary (MessageSize offset, FieldValue value) noexcept
ONIXS_ICEBOE_FORCEINLINE void setEnumeration (MessageSize offset, Enumeration value) noexcept
ONIXS_ICEBOE_FORCEINLINE void setFixedStr (MessageSize offset, StrRef value) noexcept

Static Public Member Functions

static constexpr BlockLength minimalBlockLength (SchemaVersion version) noexcept
static constexpr BlockLength blockLength (SchemaVersion version) noexcept
static constexpr MessageSize getMinimalVariableFieldsSize (SchemaVersion version)
static constexpr UInt64 getMaxMessageSize (UInt8) noexcept
static constexpr StrRef className () noexcept
static constexpr StrRef fixType () noexcept

Additional Inherited Members

Protected Types inherited from SbeMessage
typedef SbeGroupList< MessageSizeGroupList
typedef SbeVariableLengthFieldList< MessageSizeVariableLengthFieldList
Protected Member Functions inherited from SbeMessage
SbeMessageversion (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)
template<typename DATA>
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>
ONIXS_ICEBOE_FORCEINLINE Group getGroup (Callable callable, Owner &owner) const noexcept
template<class Group, class Callable, class Owner>
ONIXS_ICEBOE_FORCEINLINE Group getGroup (Callable callable, SchemaVersion since, Owner &owner) const noexcept
template<class Group, class Callable, class Owner>
ONIXS_ICEBOE_FORCEINLINE Group constructGroup (Callable callable, typename Group::Size length, SchemaVersion since, Owner &owner)
template<class Group, class Callable, class Owner>
ONIXS_ICEBOE_FORCEINLINE 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
ONIXS_ICEBOE_FORCEINLINE Value ordinary (MessageSize offset) const noexcept
ONIXS_ICEBOE_FORCEINLINE Enumeration enumeration (MessageSize offset) const noexcept
ONIXS_ICEBOE_FORCEINLINE StrRef fixedStr (MessageSize offset) const noexcept
ONIXS_ICEBOE_FORCEINLINE Value decimal (MessageSize offset) const noexcept
ONIXS_ICEBOE_FORCEINLINE std::enable_if<!isComposite< typenameNullValue::Value >::value, SbeOptionalConverted< decltype(std::declval< Callable >()(std::declval< typenameArgType< Callable >::type >()))> >::type convertible (MessageSize offset, OptionalTag) const noexcept(noexcept(Callable::Nothrow))
Protected Member Functions inherited from BinaryBlockBase
 ~BinaryBlockBase ()=default
Static Protected Member Functions inherited from SbeMessage
static constexpr MessageSize getMaxMessageSize () noexcept

Detailed Description

Definition at line 17786 of file Messages.h.

Member Typedef Documentation

◆ Schema

Used template schema.

Definition at line 17791 of file Messages.h.

◆ ThisType

This type alias.

Definition at line 17794 of file Messages.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Message template ID from SBE schema.

Enumerator
TemplateId 105 

Definition at line 17797 of file Messages.h.

17797{ TemplateId = 105 };

Constructor & Destructor Documentation

◆ ExecutionReport_Modify() [1/6]

Initializes a blank instance.

◆ ExecutionReport_Modify() [2/6]

ExecutionReport_Modify ( void * data,
EncodedLength length,
SchemaVersion version = Schema::Version )
inline

Initializes an instance over the given memory block.

Definition at line 17803 of file Messages.h.

17804 : SbeMessage(data, length, version)
17805 {
17806 checkVersion<Schema>(version);
17807 checkLength(length, version);
17808 init(TemplateId, minimalBlockLength(version), blockLength(version), Schema::Id);
17809 reset();
17810 }

◆ ExecutionReport_Modify() [3/6]

ExecutionReport_Modify ( void * data,
EncodedLength length,
NoFieldsInit ,
SchemaVersion version = Schema::Version )
inline

Initializes an instance over the given memory block With no variable-length fields initialization It is assumed that the user does such an initialization manually.

Definition at line 17815 of file Messages.h.

17816 : SbeMessage(data, length, version)
17817 {
17818 checkVersion<Schema>(version);
17819 checkLength(length, version);
17820 init(TemplateId, minimalBlockLength(version), blockLength(version), Schema::Id);
17821 resetVariableFields();
17822 }

◆ ExecutionReport_Modify() [4/6]

ExecutionReport_Modify ( void * data,
EncodedLength length,
NoInit  )
inline

Creates an instance over the given memory block.

Definition at line 17825 of file Messages.h.

17826 : SbeMessage(data, length)
17827 {
17828 checkCompatibility();
17829 }

◆ ExecutionReport_Modify() [5/6]

ExecutionReport_Modify ( SbeMessage message)
inlineexplicit

Creates an instance over the given SBE message.

Definition at line 17833 of file Messages.h.

17834 : SbeMessage(message)
17835 {
17836 assert(message.valid());
17837
17838 checkCompatibility();
17839 }

◆ ExecutionReport_Modify() [6/6]

ExecutionReport_Modify ( void * data,
EncodedLength length,
NoInit ,
NoCheck  )
inlinenoexcept

Creates an instance over the given memory block.

Performs no checks.

Definition at line 17843 of file Messages.h.

17844 : SbeMessage(data, length, NoCheck())
17845 {
17846 assert(schemaId() == Schema::Id);
17847 assert(version() >= Schema::MinimalVersion);
17848 assert(TemplateId == templateId());
17849 }
const char * version() noexcept

Member Function Documentation

◆ blockLength()

constexpr BlockLength blockLength ( SchemaVersion version)
inlinestaticconstexprnoexcept

Size of message body in bytes.

Definition at line 18263 of file Messages.h.

18264 {
18265 return
18266 ONIXS_ICEBOE_ASSERT(version >= Schema::MinimalVersion),
18267 minimalBlockLength(version);
18268 }

◆ calculateBinarySize()

EncodedLength calculateBinarySize ( ) const
inlinenoexcept
Returns
the size occupied by the message.

Definition at line 18345 of file Messages.h.

18346 {
18347 return
18348 SbeMessage::calculateBinarySize(tail());
18349 }

◆ className()

constexpr StrRef className ( )
inlinestaticconstexprnoexcept
Returns
class name.

Definition at line 18314 of file Messages.h.

18315 {
18316 return constructStrRef("ExecutionReport_Modify");
18317 }
constexpr StrRef constructStrRef(const char(&value)[Size]) noexcept
Definition StrRef.h:414

◆ clOrdId() [1/2]

auto clOrdId ( ) const
inlinenoexcept

Provides access to clOrdID field.

Definition at line 17891 of file Messages.h.

17892 {
17893 constexpr BlockLength offset = 40;
17894
17895 return ordinary<Int64>(offset);
17896 }

◆ clOrdId() [2/2]

ThisType & clOrdId ( Int64 value)
inlinenoexcept

Provides access to clOrdID field.

Definition at line 17899 of file Messages.h.

17900 {
17901 constexpr BlockLength offset = 40;
17902
17903 setOrdinary(offset, value);
17904 return *this;
17905 }

◆ cumQty() [1/2]

auto cumQty ( ) const
inlinenoexcept

Quantity, Price with constant exponent -9.

Definition at line 18033 of file Messages.h.

18034 {
18035 constexpr BlockLength offset = 86;
18036
18037 return ordinary<Decimal9>(offset);
18038 }

◆ cumQty() [2/2]

ThisType & cumQty ( Decimal9 value)
inlinenoexcept

Quantity, Price with constant exponent -9.

Definition at line 18041 of file Messages.h.

18042 {
18043 constexpr BlockLength offset = 86;
18044
18045 setOrdinary(offset, value);
18046 return *this;
18047 }

◆ execId() [1/2]

auto execId ( ) const
inlinenoexcept

Provides access to execID field.

Definition at line 17873 of file Messages.h.

17874 {
17875 constexpr BlockLength offset = 20;
17876
17877 return ordinary<OrderExecID>(offset);
17878 }

◆ execId() [2/2]

ThisType & execId ( ChooseValueKind< OrderExecID > value)
inlinenoexcept

Provides access to execID field.

Definition at line 17881 of file Messages.h.

17882 {
17883 constexpr BlockLength offset = 20;
17884
17885 setOrdinary(offset, value);
17886 return *this;
17887 }

◆ execRestatementReason() [1/3]

auto execRestatementReason ( ) const
inlinenoexcept

uint8NULL.

Definition at line 18181 of file Messages.h.

18182 {
18183 constexpr BlockLength offset = 121;
18184
18185 return enumeration<ExecRestatementReasonEnum, NullUint8NULL>(offset, optional);
18186 }

◆ execRestatementReason() [2/3]

ThisType & execRestatementReason ( ExecRestatementReasonEnum value)
inlinenoexcept

uint8NULL.

Definition at line 18189 of file Messages.h.

18190 {
18191 constexpr BlockLength offset = 121;
18192
18193 setEnumeration<ExecRestatementReasonEnum>(offset, value);
18194 return *this;
18195 }

◆ execRestatementReason() [3/3]

ThisType & execRestatementReason ( NullOpt )
inlinenoexcept

Definition at line 18197 of file Messages.h.

18198 {
18199 constexpr BlockLength offset = 121;
18200
18201 setOrdinary(offset, NullUint8NULL());
18202 return *this;
18203 }
IntegralConstant< UInt8, 255 > NullUint8NULL
Null value for an optional Uint8NULL field.
Definition Fields.h:1006

◆ execType() [1/2]

auto execType ( ) const
inlinenoexcept

Provides access to execType field.

Definition at line 18111 of file Messages.h.

18112 {
18113 constexpr BlockLength offset = 118;
18114
18115 return enumeration<ExecTypeEnum>(offset);
18116 }

◆ execType() [2/2]

ThisType & execType ( ExecTypeEnum value)
inlinenoexcept

Provides access to execType field.

Definition at line 18119 of file Messages.h.

18120 {
18121 constexpr BlockLength offset = 118;
18122
18123 setEnumeration<ExecTypeEnum>(offset, value);
18124 return *this;
18125 }

◆ fixType()

constexpr StrRef fixType ( )
inlinestaticconstexprnoexcept

FIX message type.

Definition at line 18322 of file Messages.h.

18323 {
18324 return constructStrRef("8");
18325 }

◆ getMaxMessageSize()

constexpr UInt64 getMaxMessageSize ( UInt8 )
inlinestaticconstexprnoexcept

Maximal message size.

Definition at line 18283 of file Messages.h.

18284 {
18285 return
18286 static_cast<UInt64>(MessageHeaderBuilder::Size) +
18287 blockLength(Schema::Version);
18288 }

◆ getMinimalVariableFieldsSize()

constexpr MessageSize getMinimalVariableFieldsSize ( SchemaVersion version)
inlinestaticconstexpr

Minimal variable fields size (when variable-length fields are empty).

Definition at line 18273 of file Messages.h.

18274 {
18275 return
18276 ONIXS_ICEBOE_ASSERT(version >= Schema::MinimalVersion),
18277 0;
18278 }

◆ leavesQty() [1/2]

auto leavesQty ( ) const
inlinenoexcept

Quantity, Price with constant exponent -9.

Definition at line 18015 of file Messages.h.

18016 {
18017 constexpr BlockLength offset = 78;
18018
18019 return ordinary<Decimal9>(offset);
18020 }

◆ leavesQty() [2/2]

ThisType & leavesQty ( Decimal9 value)
inlinenoexcept

Quantity, Price with constant exponent -9.

Definition at line 18023 of file Messages.h.

18024 {
18025 constexpr BlockLength offset = 78;
18026
18027 setOrdinary(offset, value);
18028 return *this;
18029 }

◆ meAcceptanceTime() [1/2]

auto meAcceptanceTime ( ) const
inlinenoexcept

Nanoseconds since Unix epoch (January 1st, 1970).

Definition at line 18077 of file Messages.h.

18078 {
18079 constexpr BlockLength offset = 102;
18080 return convertible<ticksToTimestamp>(offset);
18081 }

◆ meAcceptanceTime() [2/2]

ThisType & meAcceptanceTime ( Timestamp value)
inlinenoexcept

Nanoseconds since Unix epoch (January 1st, 1970).

Definition at line 18084 of file Messages.h.

18085 {
18086 constexpr BlockLength offset = 102;
18087
18088 setOrdinary(offset, convert<timestampToTicks>(value));
18089 return *this;
18090 }

◆ memo() [1/3]

auto memo ( ) const
inlinenoexcept

Provides access to memo field.

Definition at line 18225 of file Messages.h.

18226 {
18227 constexpr BlockLength offset = 123;
18228 constexpr BlockLength length = 30;
18229
18230 return fixedStr<length>(offset, optional);
18231 }

◆ memo() [2/3]

ThisType & memo ( NullOpt )
inlinenoexcept

Definition at line 18243 of file Messages.h.

18244 {
18245 constexpr BlockLength offset = 123;
18246 constexpr BlockLength length = 30;
18247
18248 setFixedStr<length>(offset, StrRef());
18249 return *this;
18250 }
std::basic_string_view< Char > StrRef
Definition StrRef.h:46

◆ memo() [3/3]

ThisType & memo ( StrRef value)
inlinenoexcept

Provides access to memo field.

Definition at line 18234 of file Messages.h.

18235 {
18236 constexpr BlockLength offset = 123;
18237 constexpr BlockLength length = 30;
18238
18239 setFixedStr<length>(offset, value);
18240 return *this;
18241 }

◆ minimalBlockLength()

constexpr BlockLength minimalBlockLength ( SchemaVersion version)
inlinestaticconstexprnoexcept

Minimal size of message body in bytes.

Definition at line 18254 of file Messages.h.

18255 {
18256 return
18257 ONIXS_ICEBOE_ASSERT(version >= Schema::MinimalVersion),
18258 153;
18259 }

◆ orderModificationFlags() [1/2]

auto orderModificationFlags ( ) const
inlinenoexcept

Provides access to orderModificationFlags field.

Definition at line 18207 of file Messages.h.

18208 {
18209 constexpr BlockLength offset = 122;
18210
18211 return enumeration<OrderFlags>(offset);
18212 }

◆ orderModificationFlags() [2/2]

ThisType & orderModificationFlags ( OrderFlags value)
inlinenoexcept

Provides access to orderModificationFlags field.

Definition at line 18215 of file Messages.h.

18216 {
18217 constexpr BlockLength offset = 122;
18218
18219 setOrdinary(offset, value);
18220 return *this;
18221 }

◆ orderState() [1/3]

auto orderState ( ) const
inlinenoexcept

uint8NULL.

Definition at line 18155 of file Messages.h.

18156 {
18157 constexpr BlockLength offset = 120;
18158
18159 return enumeration<OrderStateEnum, NullUint8NULL>(offset, optional);
18160 }

◆ orderState() [2/3]

ThisType & orderState ( NullOpt )
inlinenoexcept

Definition at line 18171 of file Messages.h.

18172 {
18173 constexpr BlockLength offset = 120;
18174
18175 setOrdinary(offset, NullUint8NULL());
18176 return *this;
18177 }

◆ orderState() [3/3]

ThisType & orderState ( OrderStateEnum value)
inlinenoexcept

uint8NULL.

Definition at line 18163 of file Messages.h.

18164 {
18165 constexpr BlockLength offset = 120;
18166
18167 setEnumeration<OrderStateEnum>(offset, value);
18168 return *this;
18169 }

◆ orderStatus() [1/3]

auto orderStatus ( ) const
inlinenoexcept

uint8NULL.

Definition at line 18129 of file Messages.h.

18130 {
18131 constexpr BlockLength offset = 119;
18132
18133 return enumeration<OrderStatusEnum, NullUint8NULL>(offset, optional);
18134 }

◆ orderStatus() [2/3]

ThisType & orderStatus ( NullOpt )
inlinenoexcept

Definition at line 18145 of file Messages.h.

18146 {
18147 constexpr BlockLength offset = 119;
18148
18149 setOrdinary(offset, NullUint8NULL());
18150 return *this;
18151 }

◆ orderStatus() [3/3]

ThisType & orderStatus ( OrderStatusEnum value)
inlinenoexcept

uint8NULL.

Definition at line 18137 of file Messages.h.

18138 {
18139 constexpr BlockLength offset = 119;
18140
18141 setEnumeration<OrderStatusEnum>(offset, value);
18142 return *this;
18143 }

◆ ordType() [1/2]

auto ordType ( ) const
inlinenoexcept

Provides access to ordType field.

Definition at line 17927 of file Messages.h.

17928 {
17929 constexpr BlockLength offset = 52;
17930
17931 return enumeration<OrderTypeEnum>(offset);
17932 }

◆ ordType() [2/2]

ThisType & ordType ( OrderTypeEnum value)
inlinenoexcept

Provides access to ordType field.

Definition at line 17935 of file Messages.h.

17936 {
17937 constexpr BlockLength offset = 52;
17938
17939 setEnumeration<OrderTypeEnum>(offset, value);
17940 return *this;
17941 }

◆ origClOrdId() [1/3]

auto origClOrdId ( ) const
inlinenoexcept

int64NULL.

Definition at line 17989 of file Messages.h.

17990 {
17991 constexpr BlockLength offset = 70;
17992
17993 return ordinary<NullInt64NULL>(offset, optional);
17994 }

◆ origClOrdId() [2/3]

ThisType & origClOrdId ( Int64NULL value)
inlinenoexcept

int64NULL.

Definition at line 17997 of file Messages.h.

17998 {
17999 constexpr BlockLength offset = 70;
18000
18001 setOrdinary(offset, value);
18002 return *this;
18003 }

◆ origClOrdId() [3/3]

ThisType & origClOrdId ( NullOpt )
inlinenoexcept

Definition at line 18005 of file Messages.h.

18006 {
18007 constexpr BlockLength offset = 70;
18008
18009 setOrdinary(offset, NullInt64NULL());
18010 return *this;
18011 }
IntegralConstant< Int64, -9223372036854775807LL-1 > NullInt64NULL
Null value for an optional Int64NULL field.
Definition Fields.h:1000

◆ originatorUserId() [1/2]

auto originatorUserId ( ) const
inlinenoexcept

Provides access to originatorUserID field.

Definition at line 17853 of file Messages.h.

17854 {
17855 constexpr BlockLength offset = 0;
17856 constexpr BlockLength length = 20;
17857
17858 return fixedStr<length>(offset);
17859 }

◆ originatorUserId() [2/2]

ThisType & originatorUserId ( StrRef value)
inlinenoexcept

Provides access to originatorUserID field.

Definition at line 17862 of file Messages.h.

17863 {
17864 constexpr BlockLength offset = 0;
17865 constexpr BlockLength length = 20;
17866
17867 setFixedStr<length>(offset, value);
17868 return *this;
17869 }

◆ origOrderId() [1/3]

auto origOrderId ( ) const
inlinenoexcept

Provides access to origOrderID field.

Definition at line 17963 of file Messages.h.

17964 {
17965 constexpr BlockLength offset = 54;
17966
17967 return ordinary<NullOriginalOrderID>(offset, optional);
17968 }

◆ origOrderId() [2/3]

ThisType & origOrderId ( NullOpt )
inlinenoexcept

Definition at line 17979 of file Messages.h.

17980 {
17981 constexpr BlockLength offset = 54;
17982
17983 setOrdinary(offset, NullOriginalOrderID());
17984 return *this;
17985 }

◆ origOrderId() [3/3]

ThisType & origOrderId ( OriginalOrderID value)
inlinenoexcept

Provides access to origOrderID field.

Definition at line 17971 of file Messages.h.

17972 {
17973 constexpr BlockLength offset = 54;
17974
17975 setOrdinary(offset, value);
17976 return *this;
17977 }

◆ price() [1/3]

auto price ( ) const
inlinenoexcept

Quantity, Price with constant exponent -9.

Definition at line 18051 of file Messages.h.

18052 {
18053 constexpr BlockLength offset = 94;
18054
18055 return ordinary<NullDecimal9>(offset, optional);
18056 }

◆ price() [2/3]

ThisType & price ( Decimal9 value)
inlinenoexcept

Quantity, Price with constant exponent -9.

Definition at line 18059 of file Messages.h.

18060 {
18061 constexpr BlockLength offset = 94;
18062
18063 setOrdinary(offset, value);
18064 return *this;
18065 }

◆ price() [3/3]

ThisType & price ( NullOpt )
inlinenoexcept

Definition at line 18067 of file Messages.h.

18068 {
18069 constexpr BlockLength offset = 94;
18070
18071 setOrdinary(offset, NullDecimal9());
18072 return *this;
18073 }
IntegralConstant< Int64, -9223372036854775807LL-1 > NullDecimal9
Null value for an optional Decimal9 field.
Definition Fields.h:958

◆ reset()

ThisType & reset ( )
inlinenoexcept

Reset all variable-length and optional fields if any.

Definition at line 18297 of file Messages.h.

18298 {
18299 origOrderId(nullOpt);
18300 origClOrdId(nullOpt);
18301 price(nullOpt);
18302 orderStatus(nullOpt);
18303 orderState(nullOpt);
18304 execRestatementReason(nullOpt);
18305 memo(nullOpt);
18306
18307 resetVariableFields();
18308 return *this;
18309 }

◆ resetVariableFields()

ThisType & resetVariableFields ( )
inlinenoexcept

Reset all variable-length fields if any.

Definition at line 18291 of file Messages.h.

18292 {
18293 return *this;
18294 }

◆ side() [1/2]

auto side ( ) const
inlinenoexcept

Provides access to side field.

Definition at line 17945 of file Messages.h.

17946 {
17947 constexpr BlockLength offset = 53;
17948
17949 return enumeration<SideEnum>(offset);
17950 }

◆ side() [2/2]

ThisType & side ( SideEnum value)
inlinenoexcept

Provides access to side field.

Definition at line 17953 of file Messages.h.

17954 {
17955 constexpr BlockLength offset = 53;
17956
17957 setEnumeration<SideEnum>(offset, value);
17958 return *this;
17959 }

◆ symbol() [1/2]

auto symbol ( ) const
inlinenoexcept

Provides access to symbol field.

Definition at line 17909 of file Messages.h.

17910 {
17911 constexpr BlockLength offset = 48;
17912
17913 return ordinary<Int32>(offset);
17914 }

◆ symbol() [2/2]

ThisType & symbol ( Int32 value)
inlinenoexcept

Provides access to symbol field.

Definition at line 17917 of file Messages.h.

17918 {
17919 constexpr BlockLength offset = 48;
17920
17921 setOrdinary(offset, value);
17922 return *this;
17923 }

◆ tail()

const void * tail ( ) const
inlinenoexcept
Returns
the end of the message.

Definition at line 18333 of file Messages.h.

18334 {
18335 return
18338 binary(),
18339 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
18340 MessageHeader::Size));
18341 }
ONIXS_ICEBOE_FORCEINLINE void * toOpaquePtr(Type *ptr) noexcept
Makes the pointer an opaque one.
Definition Memory.h:51
ONIXS_ICEBOE_FORCEINLINE Type * advanceByBytes(Type *pointer, ptrdiff_t distance) noexcept
Advances the pointer to a given offset (distance) in bytes.
Definition Memory.h:110

◆ timePriority() [1/2]

auto timePriority ( ) const
inlinenoexcept

Nanoseconds since Unix epoch (January 1st, 1970).

Definition at line 18094 of file Messages.h.

18095 {
18096 constexpr BlockLength offset = 110;
18097 return convertible<ticksToTimestamp>(offset);
18098 }

◆ timePriority() [2/2]

ThisType & timePriority ( Timestamp value)
inlinenoexcept

Nanoseconds since Unix epoch (January 1st, 1970).

Definition at line 18101 of file Messages.h.

18102 {
18103 constexpr BlockLength offset = 110;
18104
18105 setOrdinary(offset, convert<timestampToTicks>(value));
18106 return *this;
18107 }

◆ toString()

std::string toString ( ) const
inline
Returns
a human-readable presentation.

Definition at line 1544 of file MessageSerialization.h.

1545{
1546 return toStr(*this);
1547}
std::string toStr(Order::PriceOptional value)
Definition Order.cpp:34