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

Public Types

typedef SbeGroupEntry< GroupSizeEncoding::BlockLengthBase
typedef QuoteSetsEntry ThisType
Public Types inherited from SbeGroupEntry< GroupSizeEncoding::BlockLength >
typedef GroupSizeEncoding::BlockLength BlockLength

Public Member Functions

 QuoteSetsEntry (void *data, EncodedLength length, SchemaVersion version)
ThisTyperesetVariableFields () noexcept
ThisTypereset () noexcept
auto quoteSetId () const noexcept
ThisTypequoteSetId (Int32 value) noexcept
auto underlyingSymbol () const noexcept
ThisTypeunderlyingSymbol (Int32 value) noexcept
auto quoteEntryId () const noexcept
ThisTypequoteEntryId (Int32 value) noexcept
auto symbol () const noexcept
ThisTypesymbol (Int32 value) noexcept
auto bidPx () const noexcept
ThisTypebidPx (Decimal9 value) noexcept
auto offerPx () const noexcept
ThisTypeofferPx (Decimal9 value) noexcept
auto bidSz () const noexcept
ThisTypebidSz (Decimal9 value) noexcept
auto offerSz () const noexcept
ThisTypeofferSz (Decimal9 value) noexcept
Public Member Functions inherited from SbeGroupEntry< GroupSizeEncoding::BlockLength >
 SbeGroupEntry ()
 SbeGroupEntry (void *encoded, BlockLength size, SchemaVersion version)
bool valid () const noexcept
const void * encoded () const noexcept
void * encoded () noexcept
const void * block () const noexcept
void * block () noexcept
BlockLength blockLength () const noexcept
SchemaVersion version () const noexcept
Public Member Functions inherited from SbeFields< Container, BlockLength >
ONIXS_ICEBOE_FORCEINLINE Container & container () noexcept
void zeroPaddingBytes (BlockLength offset) noexcept
template<class FieldValue>
ONIXS_ICEBOE_FORCEINLINE void setOrdinary (BlockLength offset, FieldValue value) noexcept
template<class FieldValue>
ONIXS_ICEBOE_FORCEINLINE void setOrdinary (BlockLength offset, FieldValue value, SchemaVersion since)
template<class Enumeration>
ONIXS_ICEBOE_FORCEINLINE void setEnumeration (BlockLength offset, Enumeration value) noexcept
template<class Enumeration>
ONIXS_ICEBOE_FORCEINLINE void setEnumeration (BlockLength offset, Enumeration value, SchemaVersion since)
template<BlockLength Size>
ONIXS_ICEBOE_FORCEINLINE void setFixedStr (BlockLength offset, StrRef value) noexcept
template<BlockLength Size>
ONIXS_ICEBOE_FORCEINLINE void setFixedStr (BlockLength offset, StrRef value, SchemaVersion since)

Static Public Member Functions

static constexpr BlockLength blockLength (SchemaVersion version) noexcept
static constexpr BlockLength minimalBlockLength (SchemaVersion version) noexcept
static constexpr StrRef className () noexcept

Additional Inherited Members

Protected Member Functions inherited from SbeFields< Container, BlockLength >
 SbeFields ()=default
 ~SbeFields ()=default
Protected Member Functions inherited from BinaryBlock< Container, BlockLength >
 BinaryBlock ()=default
 ~BinaryBlock ()=default
template<typename Value>
ONIXS_ICEBOE_FORCEINLINE Value ordinary (BlockLength offset) const noexcept
template<typename NullValue>
ONIXS_ICEBOE_FORCEINLINE std::enable_if<!isComposite< typenameNullValue::Value >::value, SbeOptional< typenameNullValue::Value, NullValue > >::type ordinary (BlockLength offset, OptionalTag) const noexcept
template<typename NullValue>
ONIXS_ICEBOE_FORCEINLINE std::enable_if<!isComposite< typenameNullValue::Value >::value, SbeOptional< typenameNullValue::Value, NullValue > >::type ordinary (BlockLength offset, SchemaVersion since, OptionalTag) const noexcept
template<typename NullValue>
ONIXS_ICEBOE_FORCEINLINE std::enable_if< isComposite< typenameNullValue::Value >::value, SbeOptional< typenameNullValue::Value, NullValue > >::type ordinary (BlockLength offset, OptionalTag) const noexcept
template<typename NullValue>
ONIXS_ICEBOE_FORCEINLINE std::enable_if< isComposite< typenameNullValue::Value >::value, SbeOptional< typenameNullValue::Value, NullValue > >::type ordinary (BlockLength offset, SchemaVersion since, OptionalTag) const noexcept
template<typename Enumeration>
ONIXS_ICEBOE_FORCEINLINE Enumeration enumeration (BlockLength offset) const noexcept
template<typename Enumeration, typename NullValue>
ONIXS_ICEBOE_FORCEINLINE SbeOptionalEnumeration< Enumeration, NullValue > enumeration (BlockLength offset, OptionalTag) const noexcept
template<typename Enumeration, typename NullValue>
ONIXS_ICEBOE_FORCEINLINE SbeOptionalEnumeration< Enumeration, NullValue > enumeration (BlockLength offset, SchemaVersion since, OptionalTag) const noexcept
template<BlockLength Length>
ONIXS_ICEBOE_FORCEINLINE StrRef fixedStr (BlockLength offset) const noexcept
template<BlockLength Length>
ONIXS_ICEBOE_FORCEINLINE SbeOptionalStr fixedStr (BlockLength offset, OptionalTag) const noexcept
template<BlockLength Length>
ONIXS_ICEBOE_FORCEINLINE SbeOptionalStr fixedStr (BlockLength offset, SchemaVersion since, OptionalTag) const noexcept
template<typename Value>
ONIXS_ICEBOE_FORCEINLINE Value decimal (BlockLength offset) const noexcept
template<typename NullValue>
SbeOptional< typename NullValue::Value, NullValue > ONIXS_ICEBOE_FORCEINLINE decimal (BlockLength offset, OptionalTag) const noexcept
template<typename NullValue>
ONIXS_ICEBOE_FORCEINLINE SbeOptional< typename NullValue::Value, NullValue > decimal (BlockLength offset, SchemaVersion since, OptionalTag) const noexcept
template<typename NullValue, typename Callable>
ONIXS_ICEBOE_FORCEINLINE std::enable_if<!isComposite< typenameNullValue::Value >::value, SbeOptionalConverted< decltype(std::declval< Callable >()(std::declval< typenameArgType< Callable >::type >()))> >::type convertible (BlockLength offset, OptionalTag) const noexcept(noexcept(Callable::Nothrow))
template<typename Callable>
ONIXS_ICEBOE_FORCEINLINE auto convertible (BlockLength offset) const noexcept(noexcept(Callable::Nothrow)) -> decltype(std::declval< Callable >()(std::declval< typename ArgType< Callable >::type >()))
Protected Member Functions inherited from BinaryBlockBase
 ~BinaryBlockBase ()=default

Detailed Description

Entry of QuoteSetsEntry repeating group.

Definition at line 15072 of file Messages.h.

Member Typedef Documentation

◆ Base

Base class type.

Definition at line 15084 of file Messages.h.

◆ ThisType

This type alias.

Definition at line 15087 of file Messages.h.

Constructor & Destructor Documentation

◆ QuoteSetsEntry()

QuoteSetsEntry ( void * data,
EncodedLength length,
SchemaVersion version )
inline

Initializes instance of given version over given memory block.

Definition at line 15091 of file Messages.h.

15092 : Base(data, numericCast<Base::BlockLength>(length), version)
15093 {
15094 assert(version >= Schema::MinimalVersion);
15095 assert(length >= minimalBlockLength(version));
15096 }

Member Function Documentation

◆ bidPx() [1/2]

auto bidPx ( ) const
inlinenoexcept

Quantity, Price with constant exponent -9.

Definition at line 15185 of file Messages.h.

15186 {
15187 constexpr BlockLength offset = 16;
15188
15189 return ordinary<Decimal9>(offset);
15190 }

◆ bidPx() [2/2]

ThisType & bidPx ( Decimal9 value)
inlinenoexcept

Quantity, Price with constant exponent -9.

Definition at line 15193 of file Messages.h.

15194 {
15195 constexpr BlockLength offset = 16;
15196
15197 setOrdinary(offset, value);
15198 return *this;
15199 }

◆ bidSz() [1/2]

auto bidSz ( ) const
inlinenoexcept

Quantity, Price with constant exponent -9.

Definition at line 15221 of file Messages.h.

15222 {
15223 constexpr BlockLength offset = 32;
15224
15225 return ordinary<Decimal9>(offset);
15226 }

◆ bidSz() [2/2]

ThisType & bidSz ( Decimal9 value)
inlinenoexcept

Quantity, Price with constant exponent -9.

Definition at line 15229 of file Messages.h.

15230 {
15231 constexpr BlockLength offset = 32;
15232
15233 setOrdinary(offset, value);
15234 return *this;
15235 }

◆ blockLength()

constexpr BlockLength blockLength ( SchemaVersion version)
inlinestaticconstexprnoexcept
Returns
size of entry body in bytes for given version of message template.

Definition at line 15258 of file Messages.h.

15259 {
15260 return
15261 ONIXS_ICEBOE_ASSERT(version >= Schema::MinimalVersion),
15262 minimalBlockLength(version);
15263 }

◆ className()

constexpr StrRef className ( )
inlinestaticconstexprnoexcept

Entity class name.

Definition at line 15278 of file Messages.h.

15279 {
15280 return constructStrRef("MassQuoteRequest.QuoteSetsEntry");
15281 }
constexpr StrRef constructStrRef(const char(&value)[Size]) noexcept
Definition StrRef.h:414

◆ minimalBlockLength()

constexpr BlockLength minimalBlockLength ( SchemaVersion version)
inlinestaticconstexprnoexcept
Returns
minimal size of entry body in bytes for given version of message template.

Definition at line 15268 of file Messages.h.

15269 {
15270 return
15271 ONIXS_ICEBOE_ASSERT(version >= Schema::MinimalVersion),
15272 48;
15273 }

◆ offerPx() [1/2]

auto offerPx ( ) const
inlinenoexcept

Quantity, Price with constant exponent -9.

Definition at line 15203 of file Messages.h.

15204 {
15205 constexpr BlockLength offset = 24;
15206
15207 return ordinary<Decimal9>(offset);
15208 }

◆ offerPx() [2/2]

ThisType & offerPx ( Decimal9 value)
inlinenoexcept

Quantity, Price with constant exponent -9.

Definition at line 15211 of file Messages.h.

15212 {
15213 constexpr BlockLength offset = 24;
15214
15215 setOrdinary(offset, value);
15216 return *this;
15217 }

◆ offerSz() [1/2]

auto offerSz ( ) const
inlinenoexcept

Quantity, Price with constant exponent -9.

Definition at line 15239 of file Messages.h.

15240 {
15241 constexpr BlockLength offset = 40;
15242
15243 return ordinary<Decimal9>(offset);
15244 }

◆ offerSz() [2/2]

ThisType & offerSz ( Decimal9 value)
inlinenoexcept

Quantity, Price with constant exponent -9.

Definition at line 15247 of file Messages.h.

15248 {
15249 constexpr BlockLength offset = 40;
15250
15251 setOrdinary(offset, value);
15252 return *this;
15253 }

◆ quoteEntryId() [1/2]

auto quoteEntryId ( ) const
inlinenoexcept

Provides access to quoteEntryID field.

Definition at line 15149 of file Messages.h.

15150 {
15151 constexpr BlockLength offset = 8;
15152
15153 return ordinary<Int32>(offset);
15154 }

◆ quoteEntryId() [2/2]

ThisType & quoteEntryId ( Int32 value)
inlinenoexcept

Provides access to quoteEntryID field.

Definition at line 15157 of file Messages.h.

15158 {
15159 constexpr BlockLength offset = 8;
15160
15161 setOrdinary(offset, value);
15162 return *this;
15163 }

◆ quoteSetId() [1/2]

auto quoteSetId ( ) const
inlinenoexcept

Provides access to quoteSetID field.

Definition at line 15113 of file Messages.h.

15114 {
15115 constexpr BlockLength offset = 0;
15116
15117 return ordinary<Int32>(offset);
15118 }

◆ quoteSetId() [2/2]

ThisType & quoteSetId ( Int32 value)
inlinenoexcept

Provides access to quoteSetID field.

Definition at line 15121 of file Messages.h.

15122 {
15123 constexpr BlockLength offset = 0;
15124
15125 setOrdinary(offset, value);
15126 return *this;
15127 }

◆ reset()

ThisType & reset ( )
inlinenoexcept

Reset all variable-length and optional fields if any.

Definition at line 15105 of file Messages.h.

15106 {
15107 resetVariableFields();
15108 return *this;
15109 }

◆ resetVariableFields()

ThisType & resetVariableFields ( )
inlinenoexcept

Reset all variable-length fields if any.

Definition at line 15099 of file Messages.h.

15100 {
15101 return *this;
15102 }

◆ symbol() [1/2]

auto symbol ( ) const
inlinenoexcept

Provides access to symbol field.

Definition at line 15167 of file Messages.h.

15168 {
15169 constexpr BlockLength offset = 12;
15170
15171 return ordinary<Int32>(offset);
15172 }

◆ symbol() [2/2]

ThisType & symbol ( Int32 value)
inlinenoexcept

Provides access to symbol field.

Definition at line 15175 of file Messages.h.

15176 {
15177 constexpr BlockLength offset = 12;
15178
15179 setOrdinary(offset, value);
15180 return *this;
15181 }

◆ underlyingSymbol() [1/2]

auto underlyingSymbol ( ) const
inlinenoexcept

Provides access to underlyingSymbol field.

Definition at line 15131 of file Messages.h.

15132 {
15133 constexpr BlockLength offset = 4;
15134
15135 return ordinary<Int32>(offset);
15136 }

◆ underlyingSymbol() [2/2]

ThisType & underlyingSymbol ( Int32 value)
inlinenoexcept

Provides access to underlyingSymbol field.

Definition at line 15139 of file Messages.h.

15140 {
15141 constexpr BlockLength offset = 4;
15142
15143 setOrdinary(offset, value);
15144 return *this;
15145 }