OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
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 --------------
24 GENERATED FILE
25 --------------
26 */
27 
28 
29 #include <string>
33 
34 
35 namespace OnixS {
36 namespace Mts {
37 namespace BondVision {
38 namespace SDP {
39 
40 
41 
42 ///
43 class ONIXS_MTS_BONDVISION_SDP_API TI_TRADER : public Class
44 {
45 public:
47  {
48  traderName.reserve(12);
49  password.reserve(16);
50  firstName.reserve(25);
51  lastName.reserve(25);
52  email.reserve(50);
53  phone.reserve(50);
54  fax.reserve(20);
55  otherInfo.reserve(100);
56  otherInfo2.reserve(100);
57  templateDescription.reserve(36);
58  submitterTraderName.reserve(12);
59  }
60 
61  virtual ~TI_TRADER() {}
62 
63  /// Class id
64  virtual ClassId::Enum id() const
65  {
66  return ClassId::TI_TRADER;
67  }
68 
69  /// Unique ID of the member
71 
72  /// Unique ID of the trader
74 
75  /// Unique name of the trader
76  std::string traderName; // maxSize = 12
77 
78  /// ID of the type of trader under examination
80 
81  /// Unique ID of the trader group (optional) CMF, BV Markets
83 
84  /// Flag indicating whether the trader is active, inactive or deleted. Deleted status is reserverd for future use
86 
87  /// Number of days for which the password is valid (0 - password never expires)
89 
90  /// Date of expiry of the password
92 
93  /// Indicates whether the trader has a fixed or variable communication window size
95 
96  /// Maximum variable communication window size negotiable by the trader
98 
99  /// Date of activation of the trader
101 
102  /// Date of deactivation of the trader (optional)
104 
105  /// Trader's password
106  std::string password; // maxSize = 16
107 
108  /// Flag indicating whether the trader may be represented by Master Multitraders (i.e. traders of multimembers). CMF, BV Markets.
110 
111  /// Flag indicating whether the trader is a Master Multitrader ( i.e. may represent Slave Multitraders). CMF, BV Markets.
113 
114  /// Number of minutes of inactivity after which the client workstation must auto-lock. If it is set to zero, it means that the workstation must never be locked.
116 
117  /// Trader's first name
118  std::string firstName; // maxSize = 25
119 
120  /// Trader's last name
121  std::string lastName; // maxSize = 25
122 
123  /// Trader's email address
124  std::string email; // maxSize = 50
125 
126  /// Trader's phone number(s)
127  std::string phone; // maxSize = 50
128 
129  /// Trader's FAX number(s)
130  std::string fax; // maxSize = 20
131 
132  /// Additional Information
133  std::string otherInfo; // maxSize = 100
134 
135  /// Additional Information (for future use)
136  std::string otherInfo2; // maxSize = 100
137 
138  /// Reserved for future use
140 
141  /// Reserved for future use
142  std::string templateDescription; // maxSize = 36
143 
144  /// Flag indicating whether the trader has been certified by MTS
146 
147  /// Unique ID of the member who defined the trader
149 
150  /// Unique ID of the trader who defined the trader
152 
153  /// Unique name of the trader who defined the trader
154  std::string submitterTraderName; // maxSize = 12
155 
156  /// Date at which the record was created
158 
159  /// Time at which the record was created
160  UInt64 creationTime; // UTIME presentation
161 
162  /// Date at which the record was last updated
164 
165  /// Time at which the record was last updated
166  UInt64 updateTime; // UTIME presentation
167 
168 
169  ///
170  size_t deserialize(const void* buf, size_t inLen);
171 
172  /// Provides string presentation
173  virtual std::string toString () const;
174 
175  ///
176  virtual size_t serializationBufSize() const { return 596; }
177 
178  ///
179  virtual TI_TRADER* clone() const;
180 
181  virtual TI_TRADER* clone(void*) const;
182 
183 private:
184  virtual size_t serialize(void* buf) const;
185 
186 };
187 
188 
189 }
190 }
191 }
192 }
std::string fax
Trader&#39;s FAX number(s)
std::string firstName
Trader&#39;s first name.
virtual ClassId::Enum id() const
Class id.
TI_FLAG::Enum multiTraderSlaveFg
Flag indicating whether the trader may be represented by Master Multitraders (i.e. traders of multimembers). CMF, BV Markets.
UInt32 creationDate
Date at which the record was created.
UInt16 workstationLockTimeout
Number of minutes of inactivity after which the client workstation must auto-lock. If it is set to zero, it means that the workstation must never be locked.
UInt32 endDate
Date of deactivation of the trader (optional)
std::string password
Trader&#39;s password.
TI_FLAG::Enum fixedWindowSizeFlag
Indicates whether the trader has a fixed or variable communication window size.
UInt32 memberId
Unique ID of the member.
UInt32 variableWindowSize
Maximum variable communication window size negotiable by the trader.
TI_TRADER_TYPE::Enum traderType
ID of the type of trader under examination.
std::string otherInfo
Additional Information.
std::string templateDescription
Reserved for future use.
UInt32 updateDate
Date at which the record was last updated.
UInt32 submitterTraderId
Unique ID of the trader who defined the trader.
UInt32 submitterMemberId
Unique ID of the member who defined the trader.
TI_TRADER_ACCOUNT_STATUS::Enum traderAccountStatus
Flag indicating whether the trader is active, inactive or deleted. Deleted status is reserverd for fu...
UInt32 templateId
Reserved for future use.
std::string lastName
Trader&#39;s last name.
UInt32 traderId
Unique ID of the trader.
TI_FLAG::Enum multiTraderMasterFg
Flag indicating whether the trader is a Master Multitrader ( i.e. may represent Slave Multitraders)...
UInt16 passwordExpiryPeriod
Number of days for which the password is valid (0 - password never expires)
std::string traderName
Unique name of the trader.
UInt32 startDate
Date of activation of the trader.
std::string submitterTraderName
Unique name of the trader who defined the trader.
std::string email
Trader&#39;s email address.
UInt32 groupId
Unique ID of the trader group (optional) CMF, BV Markets.
UInt32 passwordExpiryDate
Date of expiry of the password.
std::string otherInfo2
Additional Information (for future use)
unsigned long long UInt64
Definition: Defines.h:47
UInt64 creationTime
Time at which the record was created.
unsigned short UInt16
Definition: Defines.h:45
UInt64 updateTime
Time at which the record was last updated.
std::string phone
Trader&#39;s phone number(s)
TI_FLAG::Enum mTSCertifiedFg
Flag indicating whether the trader has been certified by MTS.