OnixS C++ MTS Bond Vision SDP Handler 1.3.0
API documentation
Loading...
Searching...
No Matches
SMP.Classes.BV_TRADE_REGISTRATION.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>
40
41
42namespace OnixS {
43namespace Mts {
44namespace BondVision {
45namespace SDP {
46
47
48
50class ONIXS_MTS_BONDVISION_SDP_API BV_TRADE_REGISTRATION : public Class
51{
52public:
54 legs(20)
55
56 {
57 sectionCode.reserve(4);
58 dealerOrderId.reserve(50);
59 originalDealerOrderId.reserve(50);
60 }
61
63
65 virtual ClassId::Enum id() const
66 {
68 }
69
72
74 std::string sectionCode; // maxSize = 4
75
78
81
83 std::string dealerOrderId; // maxSize = 50
84
86 std::string originalDealerOrderId; // maxSize = 50
87
90
93
96
99
101 static const size_t legsSize = 20;
102 std::vector<BV_TRADE_REGISTRATION_LEG_INFO> legs;
103
106
109
112
114 UInt64 timeout; // UTIME presentation
115
118
121
124
127
129 UInt64 updateTime; // UTIME presentation
130
131
133 size_t deserialize(const void* buf, size_t inLen);
134
136 virtual std::string toString () const;
137
139 virtual size_t serializationBufSize() const { return 28028; }
140
142 virtual BV_TRADE_REGISTRATION* clone() const;
143
144 virtual BV_TRADE_REGISTRATION* clone(void*) const;
145
146private:
147 virtual size_t serialize(void* buf) const;
148
149};
150
151
152}
153}
154}
155}
TI_MSG_INFO msgInfo
Message Info - unique ID of the Trade Registration.
BV_TRADE_FUTURE_ACCOUNT_INFO aggressorExchangeAccountInfo
Eurex account info of the aggressor.
BV_TRADE_REGISTRATION_MEMBER_STATUS::Enum aggressorStatus
Status of the Aggressor (Buy Side Member)
UInt64 timeout
Time when the Trade Registration will expire.
virtual BV_TRADE_REGISTRATION * clone() const
BV_TRADE_REGISTRATION_TYPE::Enum registrationType
Type of Trade Registration.
BV_TRADE_REGISTRATION_GOOD_FOR_TIME::Enum goodForTime
Validity of the Trade Registration.
std::string originalDealerOrderId
Previous provider reference ID of the order execution.
UInt32 duration
Duration, in seconds, of the Trade Registration.
BV_TRADE_FUTURE_ACCOUNT_INFO providerExchangeAccountInfo
Eurex account info of the provider.
BV_TRADE_REGISTRATION_MEMBER_INFO aggressor
Buy Side Member receiving the Trade Registration.
BV_TRADE_REGISTRATION_STATUS::Enum status
Status of the Trade Registration.
BV_TRADE_REGISTRATION_MEMBER_STATUS::Enum providerStatus
Status of the Provider (Sell Side Member)
size_t deserialize(const void *buf, size_t inLen)
BV_TRADE_REGISTRATION_MEMBER_INFO provider
Sell Side Member sending the Trade Registration.
BV_TRADE_REGISTRATION_EVENT::Enum event
Action applied to Trade Registration.
std::string dealerOrderId
Provider reference ID of the order execution.
virtual BV_TRADE_REGISTRATION * clone(void *) const
virtual std::string toString() const
Provides string presentation.
unsigned long long UInt64
Definition Defines.h:47
unsigned short UInt16
Definition Defines.h:45