OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
SMP.Classes.BV_HIST_TRADE_SPLIT.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>
37 
38 
39 namespace OnixS {
40 namespace Mts {
41 namespace BondVision {
42 namespace SDP {
43 
44 
45 
46 ///
47 class ONIXS_MTS_BONDVISION_SDP_API BV_HIST_TRADE_SPLIT : public Class
48 {
49 public:
51  accountInfo(100)
52 
53  {
54  clientAllocationId.reserve(100);
55  allocationDescription.reserve(50);
56  workingTraderName.reserve(12);
57  clientOrderId.reserve(50);
58  userData.reserve(8);
59  }
60 
61  virtual ~BV_HIST_TRADE_SPLIT() {}
62 
63  /// Class id
64  virtual ClassId::Enum id() const
65  {
67  }
68 
69  /// Member requesting the split
71 
72  /// Unique ID of the sell side Member (counterpart of trade)
74 
75  /// Unique ID of the pre-allocation
77 
78  /// Allocation Id for client use
79  std::string clientAllocationId; // maxSize = 100
80 
81  /// Description of the allocation
82  std::string allocationDescription; // maxSize = 50
83 
84  /// Specifies whether the pre-allocation is public or private
86 
87  /// Unique Name of the working trader, belonging to the same member
88  std::string workingTraderName; // maxSize = 12
89 
90  /// Unique ID of the trade to be split
92 
93  /// Unique ID of the executed order within the client institution.
94  std::string clientOrderId; // maxSize = 50
95 
96  /// Data regarding the tradable instrument
98 
99  /// Time at which the pre-allocation was made
100  UInt64 preAllocationTime; // UTIME presentation
101 
102  /// Identifies the split attempt. (Reserved for future use)
104 
105  /// Number of account information
107 
108  /// Account information
109  static const size_t accountInfoSize = 100;
110  std::vector<BV_HIST_SPLIT_ACCOUNT_INFO> accountInfo;
111 
112  /// Block counter
114 
115  /// Total number of block to be sent for the allocation (Reserved for future use)
117 
118  /// Status of the block validation (Reserved for future use)
120 
121  /// Final status of the allocation
123 
124  /// Creation date
126 
127  /// Creation time
128  UInt64 creationTime; // UTIME presentation
129 
130  /// Last update date
132 
133  /// Last update time
134  UInt64 updateTime; // UTIME presentation
135 
136  /// Free field used by the client
137  std::string userData; // maxSize = 8
138 
139  /// Time zone information
141 
142 
143  ///
144  size_t deserialize(const void* buf, size_t inLen);
145 
146  /// Provides string presentation
147  virtual std::string toString () const;
148 
149  ///
150  virtual size_t serializationBufSize() const { return 43228; }
151 
152  ///
153  virtual BV_HIST_TRADE_SPLIT* clone() const;
154 
155  virtual BV_HIST_TRADE_SPLIT* clone(void*) const;
156 
157 private:
158  virtual size_t serialize(void* buf) const;
159 
160 };
161 
162 
163 }
164 }
165 }
166 }
UInt32 sellSideMemberId
Unique ID of the sell side Member (counterpart of trade)
std::string workingTraderName
Unique Name of the working trader, belonging to the same member.
BV_HIST_MEMBER_INFO member
Member requesting the split.
UInt32 tradeId
Unique ID of the trade to be split.
UInt64 preAllocationTime
Time at which the pre-allocation was made.
UInt16 splitAttemptNo
Identifies the split attempt. (Reserved for future use)
BV_TRADE_SPLIT_STATUS::Enum status
Final status of the allocation.
std::string clientOrderId
Unique ID of the executed order within the client institution.
std::string clientAllocationId
Allocation Id for client use.
std::string allocationDescription
Description of the allocation.
BV_HIST_INSTRUMENT_INFO_EXT instrument
Data regarding the tradable instrument.
BV_PREALLOCATION_TYPE::Enum preAllocationType
Specifies whether the pre-allocation is public or private.
unsigned long long UInt64
Definition: Defines.h:47
unsigned short UInt16
Definition: Defines.h:45
UInt16 numOfBlocks
Total number of block to be sent for the allocation (Reserved for future use)
BV_BLOCK_SPLIT_STATUS::Enum blockValidity
Status of the block validation (Reserved for future use)