OnixS C++ MTS Bond Vision SDP Handler 1.5.1
API documentation
Loading...
Searching...
No Matches
SMP.Classes.TI_TRADER.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>
33
34
35#if defined (_MSC_VER)
36#pragma warning (push)
37#pragma warning (disable: 4251)
38#endif
39
40namespace OnixS {
41namespace Mts {
42namespace BondVision {
43namespace SDP {
44
45
46
48class ONIXS_MTS_BONDVISION_SDP_API TI_TRADER : public Class
49{
50public:
52 {
53 traderName.reserve(12);
54 password.reserve(16);
55 firstName.reserve(25);
56 lastName.reserve(25);
57 email.reserve(50);
58 phone.reserve(50);
59 fax.reserve(20);
60 otherInfo.reserve(100);
61 otherInfo2.reserve(100);
62 templateDescription.reserve(36);
63 submitterTraderName.reserve(12);
64 }
65
66 virtual ~TI_TRADER() {}
67
69 virtual ClassId::Enum id() const
70 {
71 return ClassId::TI_TRADER;
72 }
73
76
79
81 std::string traderName; // maxSize = 12
82
85
88
91
94
97
100
103
106
109
111 std::string password; // maxSize = 16
112
115
118
121
123 std::string firstName; // maxSize = 25
124
126 std::string lastName; // maxSize = 25
127
129 std::string email; // maxSize = 50
130
132 std::string phone; // maxSize = 50
133
135 std::string fax; // maxSize = 20
136
138 std::string otherInfo; // maxSize = 100
139
141 std::string otherInfo2; // maxSize = 100
142
145
147 std::string templateDescription; // maxSize = 36
148
151
154
157
159 std::string submitterTraderName; // maxSize = 12
160
163
165 UInt64 creationTime; // UTIME presentation
166
169
171 UInt64 updateTime; // UTIME presentation
172
173
175 size_t deserialize(const void* buf, size_t inLen);
176
178 virtual std::string toString () const;
179
181 virtual size_t serializationBufSize() const { return 596; }
182
184 virtual TI_TRADER* clone() const;
185
186 virtual TI_TRADER* clone(void*) const;
187
188private:
189 virtual size_t serialize(void* buf) const;
190
191};
192
193
194}
195}
196}
197}
198
199#if defined (_MSC_VER)
200#pragma warning (pop)
201#endif
UInt16 workstationLockTimeout
Number of minutes of inactivity after which the client workstation must auto-lock....
UInt32 creationDate
Date at which the record was created.
std::string firstName
Trader's first name.
virtual ClassId::Enum id() const
Class id.
std::string lastName
Trader's last name.
TI_FLAG::Enum multiTraderSlaveFg
Flag indicating whether the trader may be represented by Master Multitraders (i.e....
TI_TRADER_TYPE::Enum traderType
ID of the type of trader under examination.
TI_FLAG::Enum mTSCertifiedFg
Flag indicating whether the trader has been certified by MTS.
UInt64 updateTime
Time at which the record was last updated.
std::string phone
Trader's phone number(s)
TI_TRADER_ACCOUNT_STATUS::Enum traderAccountStatus
Flag indicating whether the trader is active, inactive or deleted. Deleted status is reserverd for fu...
std::string submitterTraderName
Unique name of the trader who defined the trader.
std::string email
Trader's email address.
UInt32 groupId
Unique ID of the trader group (optional) CMF, BV Markets.
TI_FLAG::Enum fixedWindowSizeFlag
Indicates whether the trader has a fixed or variable communication window size.
std::string otherInfo2
Additional Information (for future use)
UInt32 variableWindowSize
Maximum variable communication window size negotiable by the trader.
virtual TI_TRADER * clone(void *) const
UInt32 memberId
Unique ID of the member.
UInt32 templateId
Reserved for future use.
std::string templateDescription
Reserved for future use.
UInt32 stopDate
Date of deactivation of the trader (optional)
virtual TI_TRADER * clone() const
UInt32 submitterTraderId
Unique ID of the trader who defined the trader.
UInt64 creationTime
Time at which the record was created.
std::string otherInfo
Additional Information.
std::string traderName
Unique name of the trader.
size_t deserialize(const void *buf, size_t inLen)
std::string fax
Trader's FAX number(s)
UInt16 passwordExpiryPeriod
Number of days for which the password is valid (0 - password never expires)
UInt32 submitterMemberId
Unique ID of the member who defined the trader.
virtual std::string toString() const
Provides string presentation.
UInt32 traderId
Unique ID of the trader.
UInt32 startDate
Date of activation of the trader.
UInt32 passwordExpiryDate
Date of expiry of the password.
UInt32 updateDate
Date at which the record was last updated.
TI_FLAG::Enum multiTraderMasterFg
Flag indicating whether the trader is a Master Multitrader ( i.e. may represent Slave Multitraders)....
unsigned long long UInt64
Definition Defines.h:47
unsigned short UInt16
Definition Defines.h:45