OnixS C++ MTS Repo SDP Handler  1.3.2.8
API documentation
SMP.Classes.REPO_GC_DEFINITION.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>
38 
39 
40 namespace OnixS {
41 namespace Mts {
42 namespace Repo {
43 namespace SDP {
44 
45 
46 
47 ///
49 {
50 public:
52  subContract(30)
53 
54  {
55  }
56 
57  virtual ~REPO_GC_DEFINITION() {}
58 
59  /// Class id
60  virtual ClassId::Enum id() const
61  {
63  }
64 
65  /// ID of the General Collateral trade
67 
68  /// Member's ID of the Provider
70 
71  /// Member's ID of the Aggressor
73 
74  /// ID of the financial instrument
76 
77  /// Flag indicating whether it is a buy or sell trade
79 
80  /// Rate
81  Double rate; // DOUBLE presentation
82 
83  /// Quantity
84  Double qty; // DOUBLE presentation
85 
86  /// Rate type
88 
89  /// Number of sub-trades
91 
92  /// Information about each accounting movement defined for the General Collateral
93  static const size_t subContractSize = 30;
94  std::vector<REPO_SUBCONTRACT> subContract;
95 
96  /// Definition status of the General Collateral
98 
99  /// Time at which the data was updated
100  UInt64 updateTime; // UTIME presentation
101 
102  /// Unique ID of the EOI message the RFQ refers to
104 
105  /// Haircut value
106  Double haircut; // DOUBLE presentation
107 
108 
109  ///
110  size_t deserialize(const void* buf, size_t inLen);
111 
112  /// Provides string presentation
113  virtual std::string toString () const;
114 
115  ///
116  virtual size_t serializationBufSize() const { return 1492; }
117 
118  ///
119  virtual REPO_GC_DEFINITION* clone() const;
120 
121  virtual REPO_GC_DEFINITION* clone(void*) const;
122 
123 private:
124  virtual size_t serialize(void* buf) const;
125 
126 };
127 
128 
129 }
130 }
131 }
132 }
TI_VERB::Enum verb
Flag indicating whether it is a buy or sell trade.
UInt64 updateTime
Time at which the data was updated.
unsigned short UInt16
Definition: Defines.h:45
unsigned long long UInt64
Definition: Defines.h:47
TI_MSG_INFO gCMsgInfo
ID of the General Collateral trade.
REPO_INSTRUMENT_DATE_INFO instrument
ID of the financial instrument.
unsigned int UInt32
Definition: Defines.h:46
virtual ClassId::Enum id() const
Class id.
UInt32 eOIMsgId
Unique ID of the EOI message the RFQ refers to.
REPO_GC_TYPE::Enum gCDefinition
Definition status of the General Collateral.
REPO_FILL_MEMBER_INFO provider
Member&#39;s ID of the Provider.
#define ONIXS_MTS_REPO_SDP_API
Definition: ABI.h:49
REPO_FILL_MEMBER_INFO aggressor
Member&#39;s ID of the Aggressor.