OnixS C++ MTS Repo SDP Handler  1.3.2.8
API documentation
SMP.Classes.REPO_RFCQ_BUY_SIDE_TRADING_LIST.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>
35 
36 
37 namespace OnixS {
38 namespace Mts {
39 namespace Repo {
40 namespace SDP {
41 
42 
43 
44 ///
46 {
47 public:
49  tradingList(100)
50 
51  {
52  traderName.reserve(12);
53  comment.reserve(100);
54  userData.reserve(8);
55  }
56 
58 
59  /// Class id
60  virtual ClassId::Enum id() const
61  {
63  }
64 
65  /// Message Info (Unique ID) of the trading list
67 
68  /// Unique ID of the RFCQ request
70 
71  /// Unique ID of the member
73 
74  /// Unique ID of the trader
76 
77  /// Name of the trader
78  std::string traderName; // maxSize = 12
79 
80  /// Flag specifying whether the trading list is private or public (toward other traders of the same member)
82 
83  /// Unique ID of the trader who is locking the trading list
85 
86  /// RFCQ Type
88 
89  /// Number of instruments in the trading list
91 
92  /// List of instruments
93  static const size_t tradingListSize = 100;
94  std::vector<REPO_RFCQ_BUY_SIDE_TRADING_LIST_INFO> tradingList;
95 
96  /// Free text
97  std::string comment; // maxSize = 100
98 
99  /// Specifies if the comment must be shown to sell side members
101 
102  /// Action applied to the trading list
104 
105  /// Status of the trading list
107 
108  /// Free field used by the client
109  std::string userData; // maxSize = 8
110 
111  /// Specifies whether the Central System should perform pre-trade quantity checks against the Warning Cap
113 
114  /// Last update date
116 
117  /// Last update time
118  UInt64 updateTime; // UTIME presentation
119 
120 
121  ///
122  size_t deserialize(const void* buf, size_t inLen);
123 
124  /// Provides string presentation
125  virtual std::string toString () const;
126 
127  ///
128  virtual size_t serializationBufSize() const { return 9812; }
129 
130  ///
131  virtual REPO_RFCQ_BUY_SIDE_TRADING_LIST* clone() const;
132 
133  virtual REPO_RFCQ_BUY_SIDE_TRADING_LIST* clone(void*) const;
134 
135 private:
136  virtual size_t serialize(void* buf) const;
137 
138 };
139 
140 
141 }
142 }
143 }
144 }
UInt32 workingTraderId
Unique ID of the trader who is locking the trading list.
unsigned short UInt16
Definition: Defines.h:45
TI_RFCQ_TRADING_LIST_EVENT::Enum event
Action applied to the trading list.
unsigned long long UInt64
Definition: Defines.h:47
TI_FLAG::Enum warningChecksFg
Specifies whether the Central System should perform pre-trade quantity checks against the Warning Cap...
TI_MSG_INFO tradingListMsgInfo
Message Info (Unique ID) of the trading list.
TI_FLAG::Enum showCommentFg
Specifies if the comment must be shown to sell side members.
unsigned int UInt32
Definition: Defines.h:46
#define ONIXS_MTS_REPO_SDP_API
Definition: ABI.h:49
TI_FLAG::Enum privateFg
Flag specifying whether the trading list is private or public (toward other traders of the same membe...
TI_RFCQ_TRADING_LIST_STATUS::Enum status
Status of the trading list.