OnixS C++ MTS Bond Vision SDP Handler  1.2.0
API documentation
SMP.Classes.BV_DEALER_GROUP.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 BV_DEALER_GROUP : public Class
44 {
45 public:
47  {
48  traderName.reserve(12);
49  ownerTraderName.reserve(12);
50  groupName.reserve(32);
51  userdata.reserve(8);
52  }
53 
54  virtual ~BV_DEALER_GROUP() {}
55 
56  /// Class id
57  virtual ClassId::Enum id() const
58  {
60  }
61 
62  /// Unique ID of the Buy side member
64 
65  /// Unique ID of the Buy side trader
67 
68  /// Name of the Buy side trader
69  std::string traderName; // maxSize = 12
70 
71  /// Unique Id of the Buy side trader owner of the group
73 
74  /// Name of the Buy side trader owner of the group
75  std::string ownerTraderName; // maxSize = 12
76 
77  /// Unique ID of the Dealer Group
79 
80  /// Name of the Dealer Group
81  std::string groupName; // maxSize = 32
82 
83  /// Number of dealers in the Dealer Group
85 
86  /// List of Dealers (MemberId)
87  UInt64 dealers[100];
88 
89  /// Action applied to the Dealer Group
91 
92  /// Dealer Group status
94 
95  /// Date at which the data was created
97 
98  /// Time at which the data was last created
99  UInt64 creationTime; // UTIME presentation
100 
101  /// Date at which the data was last updated
103 
104  /// Time at which the data was last updated
105  UInt64 updateTime; // UTIME presentation
106 
107  /// Free field used by the client
108  std::string userdata; // maxSize = 8
109 
110 
111  ///
112  size_t deserialize(const void* buf, size_t inLen);
113 
114  /// Provides string presentation
115  virtual std::string toString () const;
116 
117  ///
118  virtual size_t serializationBufSize() const { return 932; }
119 
120  ///
121  virtual BV_DEALER_GROUP* clone() const;
122 
123  virtual BV_DEALER_GROUP* clone(void*) const;
124 
125 private:
126  virtual size_t serialize(void* buf) const;
127 
128 };
129 
130 
131 }
132 }
133 }
134 }
BV_DEALER_GROUP_EVENT::Enum event
Action applied to the Dealer Group.
UInt64 creationTime
Time at which the data was last created.
std::string ownerTraderName
Name of the Buy side trader owner of the group.
BV_DEALER_GROUP_STATUS::Enum status
Dealer Group status.
UInt64 updateTime
Time at which the data was last updated.
UInt32 creationDate
Date at which the data was created.
std::string userdata
Free field used by the client.
UInt32 ownerTraderId
Unique Id of the Buy side trader owner of the group.
virtual ClassId::Enum id() const
Class id.
UInt32 memberId
Unique ID of the Buy side member.
std::string traderName
Name of the Buy side trader.
UInt32 updateDate
Date at which the data was last updated.
UInt32 groupId
Unique ID of the Dealer Group.
UInt16 dealersNum
Number of dealers in the Dealer Group.
std::string groupName
Name of the Dealer Group.
unsigned long long UInt64
Definition: Defines.h:47
unsigned short UInt16
Definition: Defines.h:45
UInt32 traderId
Unique ID of the Buy side trader.