OnixS C++ MTS Bond Vision SDP Handler 1.5.1
API documentation
Loading...
Searching...
No Matches
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--------------
24GENERATED FILE
25--------------
26*/
27
28
29#include <string>
37
38
39#if defined (_MSC_VER)
40#pragma warning (push)
41#pragma warning (disable: 4251)
42#endif
43
44namespace OnixS {
45namespace Mts {
46namespace BondVision {
47namespace SDP {
48
49
50
52class ONIXS_MTS_BONDVISION_SDP_API BV_HIST_TRADE_SPLIT : public Class
53{
54public:
56 accountInfo(100)
57
58 {
59 clientAllocationId.reserve(100);
60 allocationDescription.reserve(50);
61 workingTraderName.reserve(12);
62 clientOrderId.reserve(50);
63 userData.reserve(8);
64 }
65
67
69 virtual ClassId::Enum id() const
70 {
72 }
73
76
79
82
84 std::string clientAllocationId; // maxSize = 100
85
87 std::string allocationDescription; // maxSize = 50
88
91
93 std::string workingTraderName; // maxSize = 12
94
97
100
102 std::string clientOrderId; // maxSize = 50
103
106
108 UInt64 preAllocationTime; // UTIME presentation
109
112
115
117 static const size_t accountInfoSize = 100;
118 std::vector<BV_HIST_SPLIT_ACCOUNT_INFO> accountInfo;
119
122
125
128
131
134
136 UInt64 creationTime; // UTIME presentation
137
140
142 UInt64 updateTime; // UTIME presentation
143
145 std::string userData; // maxSize = 8
146
149
150
152 size_t deserialize(const void* buf, size_t inLen);
153
155 virtual std::string toString () const;
156
158 virtual size_t serializationBufSize() const { return 43192; }
159
161 virtual BV_HIST_TRADE_SPLIT* clone() const;
162
163 virtual BV_HIST_TRADE_SPLIT* clone(void*) const;
164
165private:
166 virtual size_t serialize(void* buf) const;
167
168};
169
170
171}
172}
173}
174}
175
176#if defined (_MSC_VER)
177#pragma warning (pop)
178#endif
BV_TRADE_SPLIT_STATUS::Enum status
Final status of the allocation.
BV_PREALLOCATION_TYPE::Enum preAllocationType
Specifies whether the pre-allocation is public or private.
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.
std::string clientOrderId
Unique ID of the executed order within the client institution.
UInt16 splitAttemptNo
Identifies the split attempt. (Reserved for future use)
UInt64 preAllocationTime
Time at which the pre-allocation was made.
std::string allocationDescription
Description of the allocation.
virtual BV_HIST_TRADE_SPLIT * clone(void *) const
BV_HIST_INSTRUMENT_INFO instrument
Data regarding the tradable instrument.
UInt16 numOfBlocks
Total number of block to be sent for the allocation (Reserved for future use)
std::string clientAllocationId
Allocation Id for client use.
virtual BV_HIST_TRADE_SPLIT * clone() const
BV_BLOCK_SPLIT_STATUS::Enum blockValidity
Status of the block validation (Reserved for future use)
size_t deserialize(const void *buf, size_t inLen)
BV_HIST_MEMBER_INFO member
Member requesting the split.
virtual std::string toString() const
Provides string presentation.
unsigned long long UInt64
Definition Defines.h:47
unsigned short UInt16
Definition Defines.h:45