OnixS Eurex ETI Handler C++ library  9.21.0
API documentation
InquireEnrichmentRuleIdListResponse.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 /// Enrichment Rules Group Element.
36 class ONIXS_EUREX_ETI_EXPORT EnrichmentRulesGrpElem
37 {
38 public:
39  /// Initialize default instance.
41 
42  /// Identifies an enrichment rule.
44 
45  /// Party ID origination market.
47 
48  /// Account to book trades and keep positions on.
49  std::string account;
50 
51  /// Field is used for Eurex position management purposes and indicates whether the order is submitted to open or
52  /// close a position.
54 
55  /// Indicates the name of a member institution to which a give-up is designated.
57 
58  /// Partner identification at the Korea Exchange is required for orders in KRX products.
60 
61  /// Mandatory final KRX beneficiary account required for orders in KRX products.
62  std::string partyIdBeneficiary;
63 
64  /// First free-format text field for trader-specific or customer-related comments.
65  std::string freeText1;
66 
67  /// Second free-format text field for trader-specific or customer-related comments.
68  std::string freeText2;
69 
70  /// Third free-format text field for trader-specific or customer-related comments.
71  std::string freeText3;
72 
73  /// Returns string representation.
74  std::string toString() const;
75 
76 private:
77  friend class Serializer;
78  EnrichmentRulesGrpElem(const void* data);
79 };
80 
81 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const EnrichmentRulesGrpElem&);
82 
83 /// Inquire Enrichment Rule Id List Response Message.
84 class ONIXS_EUREX_ETI_EXPORT InquireEnrichmentRuleIdListResponse : public Message
85 {
86 public:
87  /// Initialize default instance.
89 
90  /// Paging key for reference data request.
92 
93  /// Enrichment Rules Group.
94  std::vector<EnrichmentRulesGrpElem> enrichmentRulesGrp;
95 
96  /// Returns template ID.
97  TemplateId::Enum templateId() const;
98 
99  /// Returns string representation.
100  std::string toString() const;
101 
102 private:
103  friend class Serializer;
104  InquireEnrichmentRuleIdListResponse(const void* data, size_t dataSize, MessageInfo& msgInfo);
105  void nativeSerializeTo(void* nativeMessage);
106 };
107 
108 ONIXS_EUREX_ETI_EXPORT std::ostream& operator<<(std::ostream&, const InquireEnrichmentRuleIdListResponse&);
109 
110 }}} // namespace OnixS::Eurex::Trading
std::string freeText2
Second free-format text field for trader-specific or customer-related comments.
std::string freeText1
First free-format text field for trader-specific or customer-related comments.
Message base class.
Definition: Message.h:32
std::vector< UInt8 > Data
Definition: Defines.h:59
std::vector< EnrichmentRulesGrpElem > enrichmentRulesGrp
Enrichment Rules Group.
std::string partyIdBeneficiary
Mandatory final KRX beneficiary account required for orders in KRX products.
std::string freeText3
Third free-format text field for trader-specific or customer-related comments.
std::ostream & operator<<(std::ostream &, ConnectionState::Enum)
Make it printable using C++ I/O streams.
std::string account
Account to book trades and keep positions on.
std::string partyIdTakeUpTradingFirm
Indicates the name of a member institution to which a give-up is designated.
PartyIdOriginationMarket::Enum partyIdOriginationMarket
Party ID origination market.
unsigned short UInt16
Definition: Defines.h:44
std::string partyIdOrderOriginationFirm
Partner identification at the Korea Exchange is required for orders in KRX products.