OnixS C++ FMX UST BIMP Market Data Handler 1.2.0
API documentation
Loading...
Searching...
No Matches
Enumerations.h
Go to the documentation of this file.
1/*
2* Copyright Onix Solutions Limited [OnixS]. All rights reserved.
3*
4* This software owned by Onix Solutions Limited [OnixS] and is protected by copyright law
5* and international copyright treaties.
6*
7* Access to and use of the software is governed by the terms of the applicable ONIXS Software
8* Services Agreement (the Agreement) and Customer end user license agreements granting
9* a non-assignable, non-transferable and non-exclusive license to use the software
10* for it's own data processing purposes under the terms defined in the Agreement.
11*
12* Except as otherwise granted within the terms of the Agreement, copying or reproduction of any part
13* of this source code or associated reference material to any other location for further reproduction
14* or redistribution, and any amendments to this copyright notice, are expressly prohibited.
15*
16* Any reproduction or redistribution for sale or hiring of the Software not in accordance with
17* the terms of the Agreement is a violation of copyright law.
18*/
19
20#pragma once
21
24
25#include <string>
26
27namespace OnixS
28{
29 namespace FmxUST
30 {
31 namespace MarketData
32 {
33 namespace Bimp
34 {
36 struct EventCode
37 {
39 typedef UInt8 Base;
40
41 enum Enum
42 {
44 EndOfDay = 'E',
46 };
47 };
48
50 ONIXS_FMXUST_BIMP_API void toStr(std::string&, EventCode::Enum);
51
53 inline std::string toStr(EventCode::Enum layout)
54 {
55 std::string str;
56
57 toStr(str, layout);
58
59 return str;
60 }
61
64 {
66 typedef UInt8 Base;
67
68 enum Enum
69 {
70 ISIN = 'I',
71 CUSIP = 'C',
72 None = ' ',
73 };
74 };
75
77 ONIXS_FMXUST_BIMP_API void toStr(std::string&, IndustryIdentifierType::Enum);
78
80 inline std::string toStr(IndustryIdentifierType::Enum layout)
81 {
82 std::string str;
83
84 toStr(str, layout);
85
86 return str;
87 }
88
91 {
93 typedef UInt8 Base;
94
95 enum Enum
96 {
97 GovtBond = 'S',
98 MultiLeg = 'M',
99 };
100 };
101
103 ONIXS_FMXUST_BIMP_API void toStr(std::string&, InstrumentType::Enum);
104
106 inline std::string toStr(InstrumentType::Enum layout)
107 {
108 std::string str;
109
110 toStr(str, layout);
111
112 return str;
113 }
114
117 {
119 typedef UInt8 Base;
120
131 };
132
134 ONIXS_FMXUST_BIMP_API void toStr(std::string&, PriceType::Enum);
135
137 inline std::string toStr(PriceType::Enum layout)
138 {
139 std::string str;
140
141 toStr(str, layout);
142
143 return str;
144 }
145
148 {
150 typedef UInt8 Base;
151
152 enum Enum
153 {
154 FIFO = 'F',
156 };
157 };
158
160 ONIXS_FMXUST_BIMP_API void toStr(std::string&, MatchAlgorithm::Enum);
161
163 inline std::string toStr(MatchAlgorithm::Enum layout)
164 {
165 std::string str;
166
167 toStr(str, layout);
168
169 return str;
170 }
171
174 {
176 typedef UInt8 Base;
177
178 enum Enum
179 {
181 Test = 'T',
182 };
183 };
184
186 ONIXS_FMXUST_BIMP_API void toStr(std::string&, Authenticity::Enum);
187
189 inline std::string toStr(Authenticity::Enum layout)
190 {
191 std::string str;
192
193 toStr(str, layout);
194
195 return str;
196 }
197
200 {
202 typedef UInt8 Base;
203
204 enum Enum
205 {
206 Halted = 'H',
207 Trading = 'T',
209 };
210 };
211
213 ONIXS_FMXUST_BIMP_API void toStr(std::string&, TradingState::Enum);
214
216 inline std::string toStr(TradingState::Enum layout)
217 {
218 std::string str;
219
220 toStr(str, layout);
221
222 return str;
223 }
224
226 struct Side
227 {
229 typedef UInt8 Base;
230
231 enum Enum
232 {
233 Buy = 'B',
234 Sell = 'S',
235 };
236 };
237
239 ONIXS_FMXUST_BIMP_API void toStr(std::string&, Side::Enum);
240
242 inline std::string toStr(Side::Enum layout)
243 {
244 std::string str;
245
246 toStr(str, layout);
247
248 return str;
249 }
250
253 {
255 typedef UInt8 Base;
256
257 enum Enum
258 {
259 CLOB = 0,
262 };
263 };
264
266 ONIXS_FMXUST_BIMP_API void toStr(std::string&, BlockTierId::Enum);
267
269 inline std::string toStr(BlockTierId::Enum layout)
270 {
271 std::string str;
272
273 toStr(str, layout);
274
275 return str;
276 }
277
279 struct YesOrNo
280 {
282 typedef UInt8 Base;
283
284 enum Enum
285 {
286 Yes = 'Y',
287 No = 'N',
288 };
289 };
290
292 ONIXS_FMXUST_BIMP_API void toStr(std::string&, YesOrNo::Enum);
293
295 inline std::string toStr(YesOrNo::Enum layout)
296 {
297 std::string str;
298
299 toStr(str, layout);
300
301 return str;
302 }
303
306 {
308 typedef UInt8 Base;
309
310 enum Enum
311 {
312 End = 0,
314 };
315 };
316
318 ONIXS_FMXUST_BIMP_API void toStr(std::string&, PrivilegeState::Enum);
319
321 inline std::string toStr(PrivilegeState::Enum layout)
322 {
323 std::string str;
324
325 toStr(str, layout);
326
327 return str;
328 }
329
332 {
334 typedef UInt8 Base;
335
336 enum Enum
337 {
338 None = 0,
341 End = 3,
342 };
343 };
344
346 ONIXS_FMXUST_BIMP_API void toStr(std::string&, WorkupState::Enum);
347
349 inline std::string toStr(WorkupState::Enum layout)
350 {
351 std::string str;
352
353 toStr(str, layout);
354
355 return str;
356 }
357 }
358 }
359 }
360}
ONIXS_FMXUST_BIMP_API void toStr(std::string &, EventCode::Enum)
Appends string presentation of object.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.
UInt8 Base
Integral type used as basement for constants.