OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
SMP.Classes.BV_IOI.h
Go to the documentation of this file.
1 #pragma once
2 /*
3 * Copyright Onix Solutions Limited [OnixS]. All rights reserved.
4 *
5 * This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
6 * and international copyright treaties.
7 *
8 * Access to and use of the software is governed by the terms of the applicable ONIXS Software
9 * Services Agreement (the Agreement) and Customer end user license agreements granting
10 * a non-assignable, non-transferable and non-exclusive license to use the software
11 * for it's own data processing purposes under the terms defined in the Agreement.
12 *
13 * Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
14 * of this source code or associated reference material to any other location for further reproduction
15 * or redistribution, and any amendments to this copyright notice, are expressly 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 
22 /*
23 --------------
24 GENERATED FILE
25 --------------
26 */
27 
28 
29 #include <string>
38 
39 
40 namespace OnixS {
41 namespace Mts {
42 namespace BondVision {
43 namespace SDP {
44 
45 
46 
47 ///
48 class ONIXS_MTS_BONDVISION_SDP_API BV_IOI : public Class
49 {
50 public:
52  {
53  iOIClientInfo.reserve(32);
54  iOIRefClientInfo.reserve(32);
55  freeText.reserve(20);
56  transactionTime.reserve(32);
57  }
58 
59  virtual ~BV_IOI() {}
60 
61  /// Class id
62  virtual ClassId::Enum id() const
63  {
64  return ClassId::BV_IOI;
65  }
66 
67  /// Message data
69 
70  /// Alphanumeric client's message identifier, set by the client who inserts/modifies an IOI
71  std::string iOIClientInfo; // maxSize = 32
72 
73  /// Message reference, referred to the IOI to be modified/deleted. Empty in case of IOI insertion
74  std::string iOIRefClientInfo; // maxSize = 32
75 
76  /// Data about the member - Sell Side Member
78 
79  /// Data about the member - submitterof the IOI (Sell Side Member or broker OBO)
81 
82  /// Data about the instrument (instrument ID and type)
84 
85  /// Unique ID of the group. The field is set to 0, if the IOI is addressed to a single Buy Side Member.
87 
88  /// IOI event (e.g. activate, delete)
90 
91  /// IOI status
93 
94  /// Verb - from Sell Side Member's point of view
96 
97  /// IOI quoting data (e.g. Quantity, Price, ...). The Quantity must be specified.
99 
100  /// Free text or Single Buy Side Member. See the description provided at the beginning of this chapter
101  std::string freeText; // maxSize = 20
102 
103  /// Time at which the transaction took place
104  std::string transactionTime; // maxSize = 32
105 
106  /// Time at which the data was last updated
107  UInt64 updateTime; // UTIME presentation
108 
109 
110  ///
111  size_t deserialize(const void* buf, size_t inLen);
112 
113  /// Provides string presentation
114  virtual std::string toString () const;
115 
116  ///
117  virtual size_t serializationBufSize() const { return 1060; }
118 
119  ///
120  virtual BV_IOI* clone() const;
121 
122  virtual BV_IOI* clone(void*) const;
123 
124 private:
125  virtual size_t serialize(void* buf) const;
126 
127 };
128 
129 
130 }
131 }
132 }
133 }
UInt32 groupId
Unique ID of the group. The field is set to 0, if the IOI is addressed to a single Buy Side Member...
BV_IOI_EVENT::Enum event
IOI event (e.g. activate, delete)
std::string iOIClientInfo
Alphanumeric client&#39;s message identifier, set by the client who inserts/modifies an IOI...
UInt64 updateTime
Time at which the data was last updated.
std::string freeText
Free text or Single Buy Side Member. See the description provided at the beginning of this chapter...
virtual size_t serializationBufSize() const
std::string iOIRefClientInfo
Message reference, referred to the IOI to be modified/deleted. Empty in case of IOI insertion...
BV_MEMBER_INFO provider
Data about the member - Sell Side Member.
BV_IOI_QUOTING_DATA quotingData
IOI quoting data (e.g. Quantity, Price, ...). The Quantity must be specified.
std::string transactionTime
Time at which the transaction took place.
TI_MSG_INFO iOIMsgInfo
Message data.
BV_MEMBER_INFO submitter
Data about the member - submitterof the IOI (Sell Side Member or broker OBO)
virtual ClassId::Enum id() const
Class id.
BV_IOI_STATUS::Enum status
IOI status.
unsigned long long UInt64
Definition: Defines.h:47
TI_VERB::Enum side
Verb - from Sell Side Member&#39;s point of view.
BV_INSTRUMENT_INFO instrument
Data about the instrument (instrument ID and type)