OnixS C++ CME MDP Conflated TCP Handler 1.3.6
API Documentation
Loading...
Searching...
No Matches
MessageSerialization.h
Go to the documentation of this file.
1// Copyright Onix Solutions Limited [OnixS]. All rights reserved.
2//
3// This software owned by Onix Solutions Limited [OnixS] and is
4// protected by copyright law and international copyright treaties.
5//
6// Access to and use of the software is governed by the terms of the applicable
7// OnixS Software Services Agreement (the Agreement) and Customer end user license
8// agreements granting a non-assignable, non-transferable and non-exclusive license
9// to use the software for it's own data processing purposes under the terms defined
10// in the Agreement.
11//
12// Except as otherwise granted within the terms of the Agreement, copying or
13// reproduction of any part of this source code or associated reference material
14// to any other location for further reproduction or redistribution, and any
15// amendments to this copyright notice, are expressly prohibited.
16//
17// Any reproduction or redistribution for sale or hiring of the Software not in
18// accordance with the terms of the Agreement is a violation of copyright law.
19//
20
21#pragma once
22
23#include <string>
24
26
27
29
30// Market Data Serialization.
31
34void
36 std::string& str,
37 const Negotiate200& obj);
38
39
41inline std::string toStr(const Negotiate200& obj)
42{
43 std::string str;
44
45 toStr(str, obj);
46
47 return str;
48}
49
51inline
52std::ostream&
54 std::ostream& stream,
55 const Negotiate200& obj)
56{
57 std::string str;
58
59 toStr(str, obj);
60
61 return stream << str;
62}
63
64inline std::string Negotiate200::toString() const
65{
66 return toStr(*this);
67}
68
70void
72 std::string& str,
73 const Negotiate200& obj);
74
75
78void
80 std::string& str,
81 const NegotiationReject201& obj);
82
83
85inline
86std::string
88 const NegotiationReject201& obj)
89{
90 std::string str;
91
92 toStr(str, obj);
93
94 return str;
95}
96
98inline
99std::ostream&
101 std::ostream& stream,
102 const NegotiationReject201& obj)
103{
104 std::string str;
105
106 toStr(str, obj);
107
108 return stream << str;
109}
110
111inline std::string NegotiationReject201::toString() const
112{
113 return toStr(*this);
114}
115
117void
119 std::string& str,
120 const NegotiationReject201& obj);
121
122
125void
127 std::string& str,
128 const NegotiationResponse202& obj);
129
130
132inline
133std::string
135 const NegotiationResponse202& obj)
136{
137 std::string str;
138
139 toStr(str, obj);
140
141 return str;
142}
143
145inline
146std::ostream&
148 std::ostream& stream,
149 const NegotiationResponse202& obj)
150{
151 std::string str;
152
153 toStr(str, obj);
154
155 return stream << str;
156}
157
158inline std::string NegotiationResponse202::toString() const
159{
160 return toStr(*this);
161}
162
164void
166 std::string& str,
167 const NegotiationResponse202& obj);
168
169
172void
174 std::string& str,
175 const Terminate203& obj);
176
177
179inline std::string toStr(const Terminate203& obj)
180{
181 std::string str;
182
183 toStr(str, obj);
184
185 return str;
186}
187
189inline
190std::ostream&
192 std::ostream& stream,
193 const Terminate203& obj)
194{
195 std::string str;
196
197 toStr(str, obj);
198
199 return stream << str;
200}
201
202inline std::string Terminate203::toString() const
203{
204 return toStr(*this);
205}
206
208void
210 std::string& str,
211 const Terminate203& obj);
212
213
216void
218 std::string& str,
219 const MarketDataRequest205& obj);
220
221
223inline
224std::string
226 const MarketDataRequest205& obj)
227{
228 std::string str;
229
230 toStr(str, obj);
231
232 return str;
233}
234
236inline
237std::ostream&
239 std::ostream& stream,
240 const MarketDataRequest205& obj)
241{
242 std::string str;
243
244 toStr(str, obj);
245
246 return stream << str;
247}
248
249inline std::string MarketDataRequest205::toString() const
250{
251 return toStr(*this);
252}
253
255void
257 std::string& str,
258 const MarketDataRequest205& obj);
259
260
263void
265 std::string& str,
267
269inline
270std::string
273{
274 std::string str;
275
276 toStr(str, obj);
277
278 return str;
279}
280
282inline
283std::ostream&
285 std::ostream& stream,
287{
288 std::string str;
289
290 toStr(str, obj);
291
292 return stream << str;
293}
294
297void
299 std::string& str,
301
303inline
304std::string
307{
308 std::string str;
309
310 toStr(str, obj);
311
312 return str;
313}
314
316inline
317std::ostream&
319 std::ostream& stream,
321{
322 std::string str;
323
324 toStr(str, obj);
325
326 return stream << str;
327}
328
331void
333 std::string& str,
334 const RequestAck206& obj);
335
336
338inline std::string toStr(const RequestAck206& obj)
339{
340 std::string str;
341
342 toStr(str, obj);
343
344 return str;
345}
346
348inline
349std::ostream&
351 std::ostream& stream,
352 const RequestAck206& obj)
353{
354 std::string str;
355
356 toStr(str, obj);
357
358 return stream << str;
359}
360
361inline std::string RequestAck206::toString() const
362{
363 return toStr(*this);
364}
365
367void
369 std::string& str,
370 const RequestAck206& obj);
371
372
375void
377 std::string& str,
379
381inline
382std::string
385{
386 std::string str;
387
388 toStr(str, obj);
389
390 return str;
391}
392
394inline
395std::ostream&
397 std::ostream& stream,
399{
400 std::string str;
401
402 toStr(str, obj);
403
404 return stream << str;
405}
406
409void
411 std::string& str,
413
415inline
416std::string
419{
420 std::string str;
421
422 toStr(str, obj);
423
424 return str;
425}
426
428inline
429std::ostream&
431 std::ostream& stream,
433{
434 std::string str;
435
436 toStr(str, obj);
437
438 return stream << str;
439}
440
443void
445 std::string& str,
446 const RequestReject207& obj);
447
448
450inline
451std::string
453 const RequestReject207& obj)
454{
455 std::string str;
456
457 toStr(str, obj);
458
459 return str;
460}
461
463inline
464std::ostream&
466 std::ostream& stream,
467 const RequestReject207& obj)
468{
469 std::string str;
470
471 toStr(str, obj);
472
473 return stream << str;
474}
475
476inline std::string RequestReject207::toString() const
477{
478 return toStr(*this);
479}
480
482void
484 std::string& str,
485 const RequestReject207& obj);
486
487
490void
492 std::string& str,
493 const SecurityListRequest208& obj);
494
495
497inline
498std::string
500 const SecurityListRequest208& obj)
501{
502 std::string str;
503
504 toStr(str, obj);
505
506 return str;
507}
508
510inline
511std::ostream&
513 std::ostream& stream,
514 const SecurityListRequest208& obj)
515{
516 std::string str;
517
518 toStr(str, obj);
519
520 return stream << str;
521}
522
523inline std::string SecurityListRequest208::toString() const
524{
525 return toStr(*this);
526}
527
529void
531 std::string& str,
532 const SecurityListRequest208& obj);
533
534
537void
539 std::string& str,
541
543inline
544std::string
547{
548 std::string str;
549
550 toStr(str, obj);
551
552 return str;
553}
554
556inline
557std::ostream&
559 std::ostream& stream,
561{
562 std::string str;
563
564 toStr(str, obj);
565
566 return stream << str;
567}
568
571void
573 std::string& str,
575
577inline
578std::string
581{
582 std::string str;
583
584 toStr(str, obj);
585
586 return str;
587}
588
590inline
591std::ostream&
593 std::ostream& stream,
595{
596 std::string str;
597
598 toStr(str, obj);
599
600 return stream << str;
601}
602
605void
607 std::string& str,
608 const SecurityStatusRequest209& obj);
609
610
612inline
613std::string
615 const SecurityStatusRequest209& obj)
616{
617 std::string str;
618
619 toStr(str, obj);
620
621 return str;
622}
623
625inline
626std::ostream&
628 std::ostream& stream,
629 const SecurityStatusRequest209& obj)
630{
631 std::string str;
632
633 toStr(str, obj);
634
635 return stream << str;
636}
637
638inline std::string SecurityStatusRequest209::toString() const
639{
640 return toStr(*this);
641}
642
644void
646 std::string& str,
647 const SecurityStatusRequest209& obj);
648
649
652void
654 std::string& str,
656
658inline
659std::string
662{
663 std::string str;
664
665 toStr(str, obj);
666
667 return str;
668}
669
671inline
672std::ostream&
674 std::ostream& stream,
676{
677 std::string str;
678
679 toStr(str, obj);
680
681 return stream << str;
682}
683
686void
688 std::string& str,
690
692inline
693std::string
696{
697 std::string str;
698
699 toStr(str, obj);
700
701 return str;
702}
703
705inline
706std::ostream&
708 std::ostream& stream,
710{
711 std::string str;
712
713 toStr(str, obj);
714
715 return stream << str;
716}
717
720void
722 std::string& str,
723 const SubscriberHeartbeat210& obj);
724
725
727inline
728std::string
730 const SubscriberHeartbeat210& obj)
731{
732 std::string str;
733
734 toStr(str, obj);
735
736 return str;
737}
738
740inline
741std::ostream&
743 std::ostream& stream,
744 const SubscriberHeartbeat210& obj)
745{
746 std::string str;
747
748 toStr(str, obj);
749
750 return stream << str;
751}
752
753inline std::string SubscriberHeartbeat210::toString() const
754{
755 return toStr(*this);
756}
757
759void
761 std::string& str,
762 const SubscriberHeartbeat210& obj);
763
764
#define ONIXS_CONFLATEDTCP_MESSAGING_NAMESPACE_BEGIN
Definition ABI.h:140
#define ONIXS_CONFLATEDTCP_MESSAGING_NAMESPACE_END
Definition ABI.h:143
#define ONIXS_CONFLATEDTCP_EXPORTED
Definition Compiler.h:175
void toFix(std::string &str, const Negotiate200 &obj)
Serializes the object into FIX presentation.
std::ostream & operator<<(std::ostream &stream, const Negotiate200 &obj)
Serializes into a stream.
void toStr(std::string &str, const Negotiate200 &obj)
Serializes into a string.
Number of SecurityGroups specified in subscription request.
Definition Messages.h:1255
Number of SecurityGroups specified in subscription request.
Definition Messages.h:2745
Number of SecurityGroups specified in subscription request.
Definition Messages.h:3348