OnixS Eurex ETI Handler C++ library  9.22.0
API documentation
DeleteAllOrderBroadcast.h
Go to the documentation of this file.
1 /*
2  * Copyright Onix Solutions Limited [OnixS]. All rights reserved.
3  *
4  * This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
5  * and international copyright treaties.
6  *
7  * Access to and use of the software is governed by the terms of the applicable ONIXS Software
8  * Services Agreement (the Agreement) and Customer end user license agreements granting
9  * a non-assignable, non-transferable and non-exclusive license to use the software
10  * for it's own data processing purposes under the terms defined in the Agreement.
11  *
12  * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any
13  * part of this source code or associated reference material to any other location for further
14  * reproduction or redistribution, and any amendments to this copyright notice, are expressly
15  * prohibited.
16  *
17  * Any reproduction or redistribution for sale or hiring of the Software not in accordance with
18  * the terms of the Agreement is a violation of copyright law.
19  */
20 
21 #pragma once
22 
25 #include "OnixS/Eurex/Trading/Export.h"
28 
29 #include <iosfwd>
30 #include <string>
31 #include <vector>
32 
33 namespace OnixS { namespace Eurex { namespace Trading {
34 
35 /// Not Affected Orders Group Element.
36 class ONIXS_EUREX_ETI_EXPORT NotAffectedOrdersGrpElem
37 {
38 public:
39  /// Initialize default instance.
41 
42  /// Exchange Order ID of an order whose cancellation is pending.
44 
45  /// Original Client Order ID of an order whose cancellation is pending.
47 
48  /// Returns string representation.
49  std::string toString() const;
50 
51 private:
52  friend class Serializer;
53  NotAffectedOrdersGrpElem(const void* data);
54 };
55 
56 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const NotAffectedOrdersGrpElem&);
57 
58 /// Affected Order Requests Group Element.
59 class ONIXS_EUREX_ETI_EXPORT AffectedOrderRequestsGrpElem
60 {
61 public:
62  /// Initialize default instance.
64 
65  /// ETI message sequence number affected by the transaction.
67 
68  /// Returns string representation.
69  std::string toString() const;
70 
71 private:
72  friend class Serializer;
73  AffectedOrderRequestsGrpElem(const void* data);
74 };
75 
76 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const AffectedOrderRequestsGrpElem&);
77 
78 /// Delete All Order Broadcast Message.
79 class ONIXS_EUREX_ETI_EXPORT DeleteAllOrderBroadcast : public Message
80 {
81 public:
82  /// Initialize default instance.
84 
85  /// Matching engine out timestamp.
87 
88  /// Unique ID assigned by the Eurex system during broadcast subscription in order to link broadcasts to the related
89  /// subscription.
91 
92  /// Is required to define the scope of a Retransmission Request.
94 
95  /// Message key assigned to a order/quote event related Eurex ETI data stream.
97 
98  /// Identifier for subscription and retransmission of an ETI data stream.
100 
101  /// Indicates a retransmission message.
103 
104  /// Indicates whether this message is the last fragment (part) of a sequence of messages belonging to one dedicated
105  /// transaction.
107 
108  /// Transaction timestamp.
110 
111  /// The instrument identifier uniquely identifies an instrument in the core system.
113 
114  /// Price.
116 
117  /// The product identifier uniquely identifies a Eurex product.
119 
120  /// Owning Session ID.
122 
123  /// Owning User ID.
125 
126  /// Entering User ID.
128 
129  /// Entering Business Unit.
131 
132  /// Reason for mass cancellation.
134 
135  /// Instructions for order handling, represented as a bit map.
137 
138  /// Side of the order.
140 
141  /// Not Affected Orders Group.
142  std::vector<NotAffectedOrdersGrpElem> notAffectedOrdersGrp;
143 
144  /// Affected Order Requests Group.
145  std::vector<AffectedOrderRequestsGrpElem> affectedOrderRequestsGrp;
146 
147  /// Returns template ID.
148  TemplateId::Enum templateId() const;
149 
150  /// Returns string representation.
151  std::string toString() const;
152 
153 private:
154  friend class Serializer;
155  DeleteAllOrderBroadcast(const void* data, size_t dataSize, MessageInfo& msgInfo);
156  void nativeSerializeTo(void* nativeMessage);
157 };
158 
159 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const DeleteAllOrderBroadcast&);
160 
161 }}}
UInt32 affectedOrderRequestId
ETI message sequence number affected by the transaction.
Enum
Indicates a retransmission message.
Definition: Enumerations.h:76
std::vector< NotAffectedOrdersGrpElem > notAffectedOrdersGrp
Not Affected Orders Group.
ApplId::Enum applId
Identifier for subscription and retransmission of an ETI data stream.
Enum
Side of the order.
UInt16 partitionId
Is required to define the scope of a Retransmission Request.
unsigned long long UInt64
Definition: Defines.h:46
MassActionReason::Enum massActionReason
Reason for mass cancellation.
ExecInst::Enum execInst
Instructions for order handling, represented as a bit map.
SInt64 securityId
The instrument identifier uniquely identifies an instrument in the core system.
Data applMsgId
Message key assigned to a order/quote event related Eurex ETI data stream.
UInt64 notAffOrigClOrdId
Original Client Order ID of an order whose cancellation is pending.
signed int SInt32
Definition: Defines.h:41
SInt32 marketSegmentId
The product identifier uniquely identifies a Eurex product.
Enum
Instructions for order handling, represented as a bit map.
Definition: Enumerations.h:460
UInt64 trdRegTSTimeOut
Matching engine out timestamp.
Message base class.
Definition: Message.h:32
std::vector< UInt8 > Data
Definition: Defines.h:59
std::vector< AffectedOrderRequestsGrpElem > affectedOrderRequestsGrp
Affected Order Requests Group.
unsigned int UInt32
Definition: Defines.h:45
signed long long SInt64
Definition: Defines.h:42
PartyIdEnteringFirm::Enum partyIdEnteringFirm
Entering Business Unit.
std::ostream & operator<<(std::ostream &, ConnectionState::Enum)
Make it printable using C++ I/O streams.
Enum
Identifier for subscription and retransmission of an ETI data stream.
Definition: Enumerations.h:33
Enum
Reason for mass cancellation.
UInt64 notAffectedOrderId
Exchange Order ID of an order whose cancellation is pending.
unsigned short UInt16
Definition: Defines.h:44
ApplResendFlag::Enum applResendFlag
Indicates a retransmission message.