OnixS C++ MTS Repo SDP Handler  1.3.2.8
API documentation
SMP.Classes.REPO_ACM_COLLATERAL_OFFER.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>
37 
38 
39 namespace OnixS {
40 namespace Mts {
41 namespace Repo {
42 namespace SDP {
43 
44 
45 
46 ///
48 {
49 public:
51  {
52  comment.reserve(256);
53  }
54 
56 
57  /// Class id
58  virtual ClassId::Enum id() const
59  {
61  }
62 
63  /// ID of the Collateral Offer
65 
66  /// ID of the the Cash Offer
68 
69  /// ID of the member who entered the Collateral Offer
71 
72  /// ID of the member who entered the Cash Offer
74 
75  /// ID of the instrument
77 
78  /// Action executed on the Collateral Offer
80 
81  /// Status of the Collateral Offer
83 
84  /// Cash Provider's user data filled in case of reject
85  std::string comment; // maxSize = 256
86 
87  /// Rate specified in the Collateral Offer
88  Double rate; // DOUBLE presentation
89 
90  /// Quantity of the Collateral Offer
91  Double qty; // DOUBLE presentation
92 
93  /// Minimum Executable Quantity of the Collateral Offer
94  Double minQty; // DOUBLE presentation
95 
96  /// Executed Quantity
97  Double fillQty; // DOUBLE presentation
98 
99  /// If set to Yes, indicates an AON Collateral Offer
101 
102  /// Time at which the last change was made to the Collateral Offer (takes into account the changes following an order for a partial quantity)
103  UInt64 editTime; // UTIME presentation
104 
105  /// Indicates whether it is an incoming Collateral Offer (IN) or an outgoing Collateral Offer (OUT)
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 792; }
117 
118  ///
119  virtual REPO_ACM_COLLATERAL_OFFER* clone() const;
120 
121  virtual REPO_ACM_COLLATERAL_OFFER* clone(void*) const;
122 
123 private:
124  virtual size_t serialize(void* buf) const;
125 
126 };
127 
128 
129 }
130 }
131 }
132 }
REPO_ACM_COLLATERAL_OFFER_EVENT::Enum event
Action executed on the Collateral Offer.
unsigned long long UInt64
Definition: Defines.h:47
REPO_ACM_COLLATERAL_OFFER_STATUS::Enum status
Status of the Collateral Offer.
TI_IN_OUT_FLAG::Enum inOutFlag
Indicates whether it is an incoming Collateral Offer (IN) or an outgoing Collateral Offer (OUT) ...
std::string comment
Cash Provider&#39;s user data filled in case of reject.
unsigned int UInt32
Definition: Defines.h:46
UInt64 editTime
Time at which the last change was made to the Collateral Offer (takes into account the changes follow...
TI_FLAG::Enum aONFg
If set to Yes, indicates an AON Collateral Offer.
REPO_INSTRUMENT_DATE_INFO instrument
ID of the instrument.
REPO_MEMBER_INFO aggressor
ID of the member who entered the Cash Offer.
REPO_MEMBER_INFO provider
ID of the member who entered the Collateral Offer.
#define ONIXS_MTS_REPO_SDP_API
Definition: ABI.h:49
Double minQty
Minimum Executable Quantity of the Collateral Offer.