OnixS C++ MTS Repo SDP Handler  1.3.2.8
API documentation
SMP.Classes.REPO_ACM_CASH_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>
36 
37 
38 namespace OnixS {
39 namespace Mts {
40 namespace Repo {
41 namespace SDP {
42 
43 
44 
45 ///
47 {
48 public:
50  {
51  }
52 
53  virtual ~REPO_ACM_CASH_OFFER() {}
54 
55  /// Class id
56  virtual ClassId::Enum id() const
57  {
59  }
60 
61  /// ID of the Cash Offer
63 
64  /// ID of the member who entered the Cash Offer
66 
67  /// ID of the instrument
69 
70  /// Action executed on the Cash Offer
72 
73  /// Status of the Cash Offer
75 
76  /// Flag indicating if rate is specified in the Cash Offer
78 
79  /// Rate specified in the Cash Offer
80  Double rate; // DOUBLE presentation
81 
82  /// Quantity of the Cash Offer
83  Double qty; // DOUBLE presentation
84 
85  /// Quantity of the offer filled by the Collateral Offers
86  Double fillQty; // DOUBLE presentation
87 
88  /// Time at which the last change was made to the Cash Offer (takes into account the changes following an order for a partial quantity)
89  UInt64 editTime; // UTIME presentation
90 
91 
92  ///
93  size_t deserialize(const void* buf, size_t inLen);
94 
95  /// Provides string presentation
96  virtual std::string toString () const;
97 
98  ///
99  virtual size_t serializationBufSize() const { return 312; }
100 
101  ///
102  virtual REPO_ACM_CASH_OFFER* clone() const;
103 
104  virtual REPO_ACM_CASH_OFFER* clone(void*) const;
105 
106 private:
107  virtual size_t serialize(void* buf) const;
108 
109 };
110 
111 
112 }
113 }
114 }
115 }
TI_FLAG::Enum rateFg
Flag indicating if rate is specified in the Cash Offer.
REPO_INSTRUMENT_DATE_INFO instrument
ID of the instrument.
REPO_ACM_CASH_OFFER_EVENT::Enum event
Action executed on the Cash Offer.
unsigned long long UInt64
Definition: Defines.h:47
REPO_ACM_CASH_OFFER_STATUS::Enum status
Status of the Cash Offer.
Double fillQty
Quantity of the offer filled by the Collateral Offers.
UInt64 editTime
Time at which the last change was made to the Cash Offer (takes into account the changes following an...
Double rate
Rate specified in the Cash Offer.
#define ONIXS_MTS_REPO_SDP_API
Definition: ABI.h:49
virtual ClassId::Enum id() const
Class id.
REPO_MEMBER_INFO member
ID of the member who entered the Cash Offer.