OnixS C++ FMX UST BIMP Market Data Handler 1.4.1
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 Future = 'F',
101 };
102 };
103
105 ONIXS_FMXUST_BIMP_API void toStr(std::string&, InstrumentType::Enum);
106
108 inline std::string toStr(InstrumentType::Enum layout)
109 {
110 std::string str;
111
112 toStr(str, layout);
113
114 return str;
115 }
116
119 {
121 typedef UInt16 Base;
122
133 };
134
136 ONIXS_FMXUST_BIMP_API void toStr(std::string&, PriceType::Enum);
137
139 inline std::string toStr(PriceType::Enum layout)
140 {
141 std::string str;
142
143 toStr(str, layout);
144
145 return str;
146 }
147
150 {
152 typedef UInt8 Base;
153
154 enum Enum
155 {
156 FIFO = 'F',
158 };
159 };
160
162 ONIXS_FMXUST_BIMP_API void toStr(std::string&, MatchAlgorithm::Enum);
163
165 inline std::string toStr(MatchAlgorithm::Enum layout)
166 {
167 std::string str;
168
169 toStr(str, layout);
170
171 return str;
172 }
173
176 {
178 typedef UInt8 Base;
179
180 enum Enum
181 {
183 Test = 'T'
184 };
185 };
186
188 ONIXS_FMXUST_BIMP_API void toStr(std::string&, Authenticity::Enum);
189
191 inline std::string toStr(Authenticity::Enum layout)
192 {
193 std::string str;
194
195 toStr(str, layout);
196
197 return str;
198 }
199
202 {
204 typedef UInt8 Base;
205
206 enum Enum
207 {
208 Halted = 'H',
209 Trading = 'T',
211 };
212 };
213
215 ONIXS_FMXUST_BIMP_API void toStr(std::string&, TradingState::Enum);
216
218 inline std::string toStr(TradingState::Enum layout)
219 {
220 std::string str;
221
222 toStr(str, layout);
223
224 return str;
225 }
226
228 struct Side
229 {
231 typedef UInt8 Base;
232
233 enum Enum
234 {
235 Buy = 'B',
236 Sell = 'S'
237 };
238 };
239
241 ONIXS_FMXUST_BIMP_API void toStr(std::string&, Side::Enum);
242
244 inline std::string toStr(Side::Enum layout)
245 {
246 std::string str;
247
248 toStr(str, layout);
249
250 return str;
251 }
252
255 {
257 typedef UInt8 Base;
258
259 enum Enum
260 {
261 CLOB = 0,
264 };
265 };
266
268 ONIXS_FMXUST_BIMP_API void toStr(std::string&, BlockTierId::Enum);
269
271 inline std::string toStr(BlockTierId::Enum layout)
272 {
273 std::string str;
274
275 toStr(str, layout);
276
277 return str;
278 }
279
281 struct YesOrNo
282 {
284 typedef UInt8 Base;
285
286 enum Enum
287 {
288 Yes = 'Y',
289 No = 'N'
290 };
291 };
292
294 ONIXS_FMXUST_BIMP_API void toStr(std::string&, YesOrNo::Enum);
295
297 inline std::string toStr(YesOrNo::Enum layout)
298 {
299 std::string str;
300
301 toStr(str, layout);
302
303 return str;
304 }
305
308 {
310 typedef UInt8 Base;
311
312 enum Enum
313 {
314 End = 0,
316 };
317 };
318
320 ONIXS_FMXUST_BIMP_API void toStr(std::string&, PrivilegeState::Enum);
321
323 inline std::string toStr(PrivilegeState::Enum layout)
324 {
325 std::string str;
326
327 toStr(str, layout);
328
329 return str;
330 }
331
334 {
336 typedef UInt8 Base;
337
338 enum Enum
339 {
340 None = 0,
343 End = 3,
346 };
347 };
348
350 ONIXS_FMXUST_BIMP_API void toStr(std::string&, WorkupState::Enum);
351
353 inline std::string toStr(WorkupState::Enum layout)
354 {
355 std::string str;
356
357 toStr(str, layout);
358
359 return str;
360 }
361
364 {
366 typedef UInt8 Base;
367
368 enum Enum
369 {
371 Final = 1,
373 };
374 };
375
377 ONIXS_FMXUST_BIMP_API void toStr(std::string&, SettlePriceType::Enum);
378
380 inline std::string toStr(SettlePriceType::Enum layout)
381 {
382 std::string str;
383
384 toStr(str, layout);
385
386 return str;
387 }
388
391 {
393 typedef UInt8 Base;
394
395 enum Enum
396 {
397 Amend = 'A',
398 Cancel = 'C'
399 };
400 };
401
403 ONIXS_FMXUST_BIMP_API void toStr(std::string&, TradeStatus::Enum);
404
406 inline std::string toStr(TradeStatus::Enum layout)
407 {
408 std::string str;
409
410 toStr(str, layout);
411
412 return str;
413 }
414 }
415 }
416 }
417}
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.
UInt16 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.