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

Public Types

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

Public Member Functions

 QuoteEntry (void *data, EncodedLength length, SchemaVersion version)
ThisTyperesetVariableFields () noexcept
ThisTypereset () noexcept
auto underlyingSymbol () const noexcept
ThisTypeunderlyingSymbol (Int32NULL value) noexcept
ThisTypeunderlyingSymbol (NullOpt) noexcept
auto underlyingSecurityId () const noexcept
ThisTypeunderlyingSecurityId (Int32NULL value) noexcept
ThisTypeunderlyingSecurityId (NullOpt) noexcept
auto underlyingProduct () const noexcept
ThisTypeunderlyingProduct (Int32NULL value) noexcept
ThisTypeunderlyingProduct (NullOpt) 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 QuoteEntry repeating group.

Definition at line 15865 of file Messages.h.

Member Typedef Documentation

◆ Base

Base class type.

Definition at line 15877 of file Messages.h.

◆ ThisType

This type alias.

Definition at line 15880 of file Messages.h.

Constructor & Destructor Documentation

◆ QuoteEntry()

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

Initializes instance of given version over given memory block.

Definition at line 15884 of file Messages.h.

15885 : Base(data, numericCast<Base::BlockLength>(length), version)
15886 {
15887 assert(version >= Schema::MinimalVersion);
15888 assert(length >= minimalBlockLength(version));
15889 }

Member Function Documentation

◆ blockLength()

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

Definition at line 15989 of file Messages.h.

15990 {
15991 return
15992 ONIXS_ICEBOE_ASSERT(version >= Schema::MinimalVersion),
15993 minimalBlockLength(version);
15994 }

◆ className()

constexpr StrRef className ( )
inlinestaticconstexprnoexcept

Entity class name.

Definition at line 16009 of file Messages.h.

16010 {
16011 return constructStrRef("QuoteCancelRequest.QuoteEntry");
16012 }
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 15999 of file Messages.h.

16000 {
16001 return
16002 ONIXS_ICEBOE_ASSERT(version >= Schema::MinimalVersion),
16003 12;
16004 }

◆ reset()

ThisType & reset ( )
inlinenoexcept

Reset all variable-length and optional fields if any.

Definition at line 15898 of file Messages.h.

15899 {
15900 underlyingSymbol(nullOpt);
15901 underlyingSecurityId(nullOpt);
15902 underlyingProduct(nullOpt);
15903
15904 resetVariableFields();
15905 return *this;
15906 }

◆ resetVariableFields()

ThisType & resetVariableFields ( )
inlinenoexcept

Reset all variable-length fields if any.

Definition at line 15892 of file Messages.h.

15893 {
15894 return *this;
15895 }

◆ underlyingProduct() [1/3]

auto underlyingProduct ( ) const
inlinenoexcept

int32NULL.

Definition at line 15962 of file Messages.h.

15963 {
15964 constexpr BlockLength offset = 8;
15965
15966 return ordinary<NullInt32NULL>(offset, optional);
15967 }

◆ underlyingProduct() [2/3]

ThisType & underlyingProduct ( Int32NULL value)
inlinenoexcept

int32NULL.

Definition at line 15970 of file Messages.h.

15971 {
15972 constexpr BlockLength offset = 8;
15973
15974 setOrdinary(offset, value);
15975 return *this;
15976 }

◆ underlyingProduct() [3/3]

ThisType & underlyingProduct ( NullOpt )
inlinenoexcept

Definition at line 15978 of file Messages.h.

15979 {
15980 constexpr BlockLength offset = 8;
15981
15982 setOrdinary(offset, NullInt32NULL());
15983 return *this;
15984 }
IntegralConstant< Int32, -2147483647-1 > NullInt32NULL
Null value for an optional Int32NULL field.
Definition Fields.h:994

◆ underlyingSecurityId() [1/3]

auto underlyingSecurityId ( ) const
inlinenoexcept

int32NULL.

Definition at line 15936 of file Messages.h.

15937 {
15938 constexpr BlockLength offset = 4;
15939
15940 return ordinary<NullInt32NULL>(offset, optional);
15941 }

◆ underlyingSecurityId() [2/3]

ThisType & underlyingSecurityId ( Int32NULL value)
inlinenoexcept

int32NULL.

Definition at line 15944 of file Messages.h.

15945 {
15946 constexpr BlockLength offset = 4;
15947
15948 setOrdinary(offset, value);
15949 return *this;
15950 }

◆ underlyingSecurityId() [3/3]

ThisType & underlyingSecurityId ( NullOpt )
inlinenoexcept

Definition at line 15952 of file Messages.h.

15953 {
15954 constexpr BlockLength offset = 4;
15955
15956 setOrdinary(offset, NullInt32NULL());
15957 return *this;
15958 }

◆ underlyingSymbol() [1/3]

auto underlyingSymbol ( ) const
inlinenoexcept

int32NULL.

Definition at line 15910 of file Messages.h.

15911 {
15912 constexpr BlockLength offset = 0;
15913
15914 return ordinary<NullInt32NULL>(offset, optional);
15915 }

◆ underlyingSymbol() [2/3]

ThisType & underlyingSymbol ( Int32NULL value)
inlinenoexcept

int32NULL.

Definition at line 15918 of file Messages.h.

15919 {
15920 constexpr BlockLength offset = 0;
15921
15922 setOrdinary(offset, value);
15923 return *this;
15924 }

◆ underlyingSymbol() [3/3]

ThisType & underlyingSymbol ( NullOpt )
inlinenoexcept

Definition at line 15926 of file Messages.h.

15927 {
15928 constexpr BlockLength offset = 0;
15929
15930 setOrdinary(offset, NullInt32NULL());
15931 return *this;
15932 }