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

Public Types

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

Public Member Functions

 ResendReport ()=default
 ResendReport (void *data, EncodedLength length, SchemaVersion version=Schema::Version)
 ResendReport (void *data, EncodedLength length, NoFieldsInit, SchemaVersion version=Schema::Version)
 ResendReport (void *data, EncodedLength length, NoInit)
 ResendReport (SbeMessage message)
 ResendReport (void *data, EncodedLength length, NoInit, NoCheck) noexcept
auto beginSeqNo () const noexcept
ThisTypebeginSeqNo (UInt32 value) noexcept
auto endSeqNo () const noexcept
ThisTypeendSeqNo (UInt32 value) noexcept
auto status () const noexcept
ThisTypestatus (RequestStatusEnum value) noexcept
auto exchangeCode () const noexcept
ThisTypeexchangeCode (Int32NULL value) noexcept
ThisTypeexchangeCode (NullOpt) noexcept
auto text () const noexcept
ThisTypetext (StrRef value) noexcept
ThisTypetext (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 23473 of file Messages.h.

Member Typedef Documentation

◆ Schema

Used template schema.

Definition at line 23478 of file Messages.h.

◆ ThisType

This type alias.

Definition at line 23481 of file Messages.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Message template ID from SBE schema.

Enumerator
TemplateId 117 

Definition at line 23484 of file Messages.h.

23484{ TemplateId = 117 };

Constructor & Destructor Documentation

◆ ResendReport() [1/6]

ResendReport ( )
default

Initializes a blank instance.

◆ ResendReport() [2/6]

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

Initializes an instance over the given memory block.

Definition at line 23490 of file Messages.h.

23491 : SbeMessage(data, length, version)
23492 {
23493 checkVersion<Schema>(version);
23494 checkLength(length, version);
23495 init(TemplateId, minimalBlockLength(version), blockLength(version), Schema::Id);
23496 reset();
23497 }

◆ ResendReport() [3/6]

ResendReport ( 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 23502 of file Messages.h.

23503 : SbeMessage(data, length, version)
23504 {
23505 checkVersion<Schema>(version);
23506 checkLength(length, version);
23507 init(TemplateId, minimalBlockLength(version), blockLength(version), Schema::Id);
23508 resetVariableFields();
23509 }

◆ ResendReport() [4/6]

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

Creates an instance over the given memory block.

Definition at line 23512 of file Messages.h.

23513 : SbeMessage(data, length)
23514 {
23515 checkCompatibility();
23516 }

◆ ResendReport() [5/6]

ResendReport ( SbeMessage message)
inlineexplicit

Creates an instance over the given SBE message.

Definition at line 23520 of file Messages.h.

23521 : SbeMessage(message)
23522 {
23523 assert(message.valid());
23524
23525 checkCompatibility();
23526 }

◆ ResendReport() [6/6]

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

Creates an instance over the given memory block.

Performs no checks.

Definition at line 23530 of file Messages.h.

23531 : SbeMessage(data, length, NoCheck())
23532 {
23533 assert(schemaId() == Schema::Id);
23534 assert(version() >= Schema::MinimalVersion);
23535 assert(TemplateId == templateId());
23536 }
const char * version() noexcept

Member Function Documentation

◆ beginSeqNo() [1/2]

auto beginSeqNo ( ) const
inlinenoexcept

sequenceId of first message in range of messages for retransmission.

Definition at line 23541 of file Messages.h.

23542 {
23543 constexpr BlockLength offset = 0;
23544
23545 return ordinary<UInt32>(offset);
23546 }

◆ beginSeqNo() [2/2]

ThisType & beginSeqNo ( UInt32 value)
inlinenoexcept

sequenceId of first message in range of messages for retransmission.

Definition at line 23550 of file Messages.h.

23551 {
23552 constexpr BlockLength offset = 0;
23553
23554 setOrdinary(offset, value);
23555 return *this;
23556 }

◆ blockLength()

constexpr BlockLength blockLength ( SchemaVersion version)
inlinestaticconstexprnoexcept

Size of message body in bytes.

Definition at line 23662 of file Messages.h.

23663 {
23664 return
23665 ONIXS_ICEBOE_ASSERT(version >= Schema::MinimalVersion),
23666 minimalBlockLength(version);
23667 }

◆ calculateBinarySize()

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

Definition at line 23739 of file Messages.h.

23740 {
23741 return
23742 SbeMessage::calculateBinarySize(tail());
23743 }

◆ className()

constexpr StrRef className ( )
inlinestaticconstexprnoexcept
Returns
class name.

Definition at line 23708 of file Messages.h.

23709 {
23710 return constructStrRef("ResendReport");
23711 }
constexpr StrRef constructStrRef(const char(&value)[Size]) noexcept
Definition StrRef.h:414

◆ endSeqNo() [1/2]

auto endSeqNo ( ) const
inlinenoexcept

sequenceId of last message in range of messages for retransmission.

Definition at line 23561 of file Messages.h.

23562 {
23563 constexpr BlockLength offset = 4;
23564
23565 return ordinary<UInt32>(offset);
23566 }

◆ endSeqNo() [2/2]

ThisType & endSeqNo ( UInt32 value)
inlinenoexcept

sequenceId of last message in range of messages for retransmission.

Definition at line 23570 of file Messages.h.

23571 {
23572 constexpr BlockLength offset = 4;
23573
23574 setOrdinary(offset, value);
23575 return *this;
23576 }

◆ exchangeCode() [1/3]

auto exchangeCode ( ) const
inlinenoexcept

int32NULL.

Definition at line 23598 of file Messages.h.

23599 {
23600 constexpr BlockLength offset = 9;
23601
23602 return ordinary<NullInt32NULL>(offset, optional);
23603 }

◆ exchangeCode() [2/3]

ThisType & exchangeCode ( Int32NULL value)
inlinenoexcept

int32NULL.

Definition at line 23606 of file Messages.h.

23607 {
23608 constexpr BlockLength offset = 9;
23609
23610 setOrdinary(offset, value);
23611 return *this;
23612 }

◆ exchangeCode() [3/3]

ThisType & exchangeCode ( NullOpt )
inlinenoexcept

Definition at line 23614 of file Messages.h.

23615 {
23616 constexpr BlockLength offset = 9;
23617
23618 setOrdinary(offset, NullInt32NULL());
23619 return *this;
23620 }
IntegralConstant< Int32, -2147483647-1 > NullInt32NULL
Null value for an optional Int32NULL field.
Definition Fields.h:994

◆ fixType()

constexpr StrRef fixType ( )
inlinestaticconstexprnoexcept

FIX message type.

Definition at line 23716 of file Messages.h.

23717 {
23718 return constructStrRef("ResendReport");
23719 }

◆ getMaxMessageSize()

constexpr UInt64 getMaxMessageSize ( UInt8 )
inlinestaticconstexprnoexcept

Maximal message size.

Definition at line 23682 of file Messages.h.

23683 {
23684 return
23685 static_cast<UInt64>(MessageHeaderBuilder::Size) +
23686 blockLength(Schema::Version);
23687 }

◆ getMinimalVariableFieldsSize()

constexpr MessageSize getMinimalVariableFieldsSize ( SchemaVersion version)
inlinestaticconstexpr

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

Definition at line 23672 of file Messages.h.

23673 {
23674 return
23675 ONIXS_ICEBOE_ASSERT(version >= Schema::MinimalVersion),
23676 0;
23677 }

◆ minimalBlockLength()

constexpr BlockLength minimalBlockLength ( SchemaVersion version)
inlinestaticconstexprnoexcept

Minimal size of message body in bytes.

Definition at line 23653 of file Messages.h.

23654 {
23655 return
23656 ONIXS_ICEBOE_ASSERT(version >= Schema::MinimalVersion),
23657 113;
23658 }

◆ reset()

ThisType & reset ( )
inlinenoexcept

Reset all variable-length and optional fields if any.

Definition at line 23696 of file Messages.h.

23697 {
23698 exchangeCode(nullOpt);
23699 text(nullOpt);
23700
23701 resetVariableFields();
23702 return *this;
23703 }

◆ resetVariableFields()

ThisType & resetVariableFields ( )
inlinenoexcept

Reset all variable-length fields if any.

Definition at line 23690 of file Messages.h.

23691 {
23692 return *this;
23693 }

◆ status() [1/2]

auto status ( ) const
inlinenoexcept

Provides access to status field.

Definition at line 23580 of file Messages.h.

23581 {
23582 constexpr BlockLength offset = 8;
23583
23584 return enumeration<RequestStatusEnum>(offset);
23585 }

◆ status() [2/2]

ThisType & status ( RequestStatusEnum value)
inlinenoexcept

Provides access to status field.

Definition at line 23588 of file Messages.h.

23589 {
23590 constexpr BlockLength offset = 8;
23591
23592 setEnumeration<RequestStatusEnum>(offset, value);
23593 return *this;
23594 }

◆ tail()

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

Definition at line 23727 of file Messages.h.

23728 {
23729 return
23732 binary(),
23733 static_cast<ptrdiff_t>(SbeMessage::blockLength()) +
23734 MessageHeader::Size));
23735 }
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

◆ text() [1/3]

auto text ( ) const
inlinenoexcept

Provides access to text field.

Definition at line 23624 of file Messages.h.

23625 {
23626 constexpr BlockLength offset = 13;
23627 constexpr BlockLength length = 100;
23628
23629 return fixedStr<length>(offset, optional);
23630 }

◆ text() [2/3]

ThisType & text ( NullOpt )
inlinenoexcept

Definition at line 23642 of file Messages.h.

23643 {
23644 constexpr BlockLength offset = 13;
23645 constexpr BlockLength length = 100;
23646
23647 setFixedStr<length>(offset, StrRef());
23648 return *this;
23649 }
std::basic_string_view< Char > StrRef
Definition StrRef.h:46

◆ text() [3/3]

ThisType & text ( StrRef value)
inlinenoexcept

Provides access to text field.

Definition at line 23633 of file Messages.h.

23634 {
23635 constexpr BlockLength offset = 13;
23636 constexpr BlockLength length = 100;
23637
23638 setFixedStr<length>(offset, value);
23639 return *this;
23640 }

◆ toString()

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

Definition at line 1971 of file MessageSerialization.h.

1972{
1973 return toStr(*this);
1974}
std::string toStr(Order::PriceOptional value)
Definition Order.cpp:34