OnixS C++ MTS Bond Vision SDP Handler 1.3.0
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
39namespace OnixS {
40namespace Mts {
41namespace BondVision {
42namespace SDP {
43
44
45
47class ONIXS_MTS_BONDVISION_SDP_API BV_HIST_TRADE_SPLIT : public Class
48{
49public:
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
62
64 virtual ClassId::Enum id() const
65 {
67 }
68
71
74
77
79 std::string clientAllocationId; // maxSize = 100
80
82 std::string allocationDescription; // maxSize = 50
83
86
88 std::string workingTraderName; // maxSize = 12
89
92
94 std::string clientOrderId; // maxSize = 50
95
98
100 UInt64 preAllocationTime; // UTIME presentation
101
104
107
109 static const size_t accountInfoSize = 100;
110 std::vector<BV_HIST_SPLIT_ACCOUNT_INFO> accountInfo;
111
114
117
120
123
126
128 UInt64 creationTime; // UTIME presentation
129
132
134 UInt64 updateTime; // UTIME presentation
135
137 std::string userData; // maxSize = 8
138
141
142
144 size_t deserialize(const void* buf, size_t inLen);
145
147 virtual std::string toString () const;
148
150 virtual size_t serializationBufSize() const { return 43228; }
151
153 virtual BV_HIST_TRADE_SPLIT* clone() const;
154
155 virtual BV_HIST_TRADE_SPLIT* clone(void*) const;
156
157private:
158 virtual size_t serialize(void* buf) const;
159
160};
161
162
163}
164}
165}
166}
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
UInt16 numOfBlocks
Total number of block to be sent for the allocation (Reserved for future use)
std::string clientAllocationId
Allocation Id for client use.
BV_HIST_INSTRUMENT_INFO_EXT instrument
Data regarding the tradable instrument.
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