OnixS C++ B3 BOE Binary Order Entry  1.2.0
API Documentation
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 
32 /// Serializes into a string.
34 void
35 toStr(
36  std::string& str,
37  const Negotiate1& obj);
38 
39 
40 /// Serializes into a string.
41 inline std::string toStr(const Negotiate1& obj)
42 {
43  std::string str;
44 
45  toStr(str, obj);
46 
47  return str;
48 }
49 
50 /// Serializes into a stream.
51 inline
52 std::ostream&
54  std::ostream& stream,
55  const Negotiate1& obj)
56 {
57  std::string str;
58 
59  toStr(str, obj);
60 
61  return stream << str;
62 }
63 
64 inline std::string Negotiate1::toString() const
65 {
66  return toStr(*this);
67 }
68 /// Serializes the object into FIX presentation.
70 void
71 toFix(
72  std::string& str,
73  const Negotiate1& obj);
74 
75 
76 /// Serializes into a string.
78 void
79 toStr(
80  std::string& str,
81  const NegotiateResponse2& obj);
82 
83 
84 /// Serializes into a string.
85 inline
86 std::string
88  const NegotiateResponse2& obj)
89 {
90  std::string str;
91 
92  toStr(str, obj);
93 
94  return str;
95 }
96 
97 /// Serializes into a stream.
98 inline
99 std::ostream&
101  std::ostream& stream,
102  const NegotiateResponse2& obj)
103 {
104  std::string str;
105 
106  toStr(str, obj);
107 
108  return stream << str;
109 }
110 
111 inline std::string NegotiateResponse2::toString() const
112 {
113  return toStr(*this);
114 }
115 /// Serializes the object into FIX presentation.
117 void
118 toFix(
119  std::string& str,
120  const NegotiateResponse2& obj);
121 
122 
123 /// Serializes into a string.
125 void
126 toStr(
127  std::string& str,
128  const NegotiateReject3& obj);
129 
130 
131 /// Serializes into a string.
132 inline
133 std::string
135  const NegotiateReject3& obj)
136 {
137  std::string str;
138 
139  toStr(str, obj);
140 
141  return str;
142 }
143 
144 /// Serializes into a stream.
145 inline
146 std::ostream&
148  std::ostream& stream,
149  const NegotiateReject3& obj)
150 {
151  std::string str;
152 
153  toStr(str, obj);
154 
155  return stream << str;
156 }
157 
158 inline std::string NegotiateReject3::toString() const
159 {
160  return toStr(*this);
161 }
162 /// Serializes the object into FIX presentation.
164 void
165 toFix(
166  std::string& str,
167  const NegotiateReject3& obj);
168 
169 
170 /// Serializes into a string.
172 void
173 toStr(
174  std::string& str,
175  const Establish4& obj);
176 
177 
178 /// Serializes into a string.
179 inline std::string toStr(const Establish4& obj)
180 {
181  std::string str;
182 
183  toStr(str, obj);
184 
185  return str;
186 }
187 
188 /// Serializes into a stream.
189 inline
190 std::ostream&
192  std::ostream& stream,
193  const Establish4& obj)
194 {
195  std::string str;
196 
197  toStr(str, obj);
198 
199  return stream << str;
200 }
201 
202 inline std::string Establish4::toString() const
203 {
204  return toStr(*this);
205 }
206 /// Serializes the object into FIX presentation.
208 void
209 toFix(
210  std::string& str,
211  const Establish4& obj);
212 
213 
214 /// Serializes into a string.
216 void
217 toStr(
218  std::string& str,
219  const EstablishAck5& obj);
220 
221 
222 /// Serializes into a string.
223 inline std::string toStr(const EstablishAck5& obj)
224 {
225  std::string str;
226 
227  toStr(str, obj);
228 
229  return str;
230 }
231 
232 /// Serializes into a stream.
233 inline
234 std::ostream&
236  std::ostream& stream,
237  const EstablishAck5& obj)
238 {
239  std::string str;
240 
241  toStr(str, obj);
242 
243  return stream << str;
244 }
245 
246 inline std::string EstablishAck5::toString() const
247 {
248  return toStr(*this);
249 }
250 /// Serializes the object into FIX presentation.
252 void
253 toFix(
254  std::string& str,
255  const EstablishAck5& obj);
256 
257 
258 /// Serializes into a string.
260 void
261 toStr(
262  std::string& str,
263  const EstablishReject6& obj);
264 
265 
266 /// Serializes into a string.
267 inline
268 std::string
270  const EstablishReject6& obj)
271 {
272  std::string str;
273 
274  toStr(str, obj);
275 
276  return str;
277 }
278 
279 /// Serializes into a stream.
280 inline
281 std::ostream&
283  std::ostream& stream,
284  const EstablishReject6& obj)
285 {
286  std::string str;
287 
288  toStr(str, obj);
289 
290  return stream << str;
291 }
292 
293 inline std::string EstablishReject6::toString() const
294 {
295  return toStr(*this);
296 }
297 /// Serializes the object into FIX presentation.
299 void
300 toFix(
301  std::string& str,
302  const EstablishReject6& obj);
303 
304 
305 /// Serializes into a string.
307 void
308 toStr(
309  std::string& str,
310  const Terminate7& obj);
311 
312 
313 /// Serializes into a string.
314 inline std::string toStr(const Terminate7& obj)
315 {
316  std::string str;
317 
318  toStr(str, obj);
319 
320  return str;
321 }
322 
323 /// Serializes into a stream.
324 inline
325 std::ostream&
327  std::ostream& stream,
328  const Terminate7& obj)
329 {
330  std::string str;
331 
332  toStr(str, obj);
333 
334  return stream << str;
335 }
336 
337 inline std::string Terminate7::toString() const
338 {
339  return toStr(*this);
340 }
341 /// Serializes the object into FIX presentation.
343 void
344 toFix(
345  std::string& str,
346  const Terminate7& obj);
347 
348 
349 /// Serializes into a string.
351 void
352 toStr(
353  std::string& str,
354  const NotApplied8& obj);
355 
356 
357 /// Serializes into a string.
358 inline std::string toStr(const NotApplied8& obj)
359 {
360  std::string str;
361 
362  toStr(str, obj);
363 
364  return str;
365 }
366 
367 /// Serializes into a stream.
368 inline
369 std::ostream&
371  std::ostream& stream,
372  const NotApplied8& obj)
373 {
374  std::string str;
375 
376  toStr(str, obj);
377 
378  return stream << str;
379 }
380 
381 inline std::string NotApplied8::toString() const
382 {
383  return toStr(*this);
384 }
385 /// Serializes the object into FIX presentation.
387 void
388 toFix(
389  std::string& str,
390  const NotApplied8& obj);
391 
392 
393 /// Serializes into a string.
395 void
396 toStr(
397  std::string& str,
398  const Sequence9& obj);
399 
400 
401 /// Serializes into a string.
402 inline std::string toStr(const Sequence9& obj)
403 {
404  std::string str;
405 
406  toStr(str, obj);
407 
408  return str;
409 }
410 
411 /// Serializes into a stream.
412 inline
413 std::ostream&
415  std::ostream& stream,
416  const Sequence9& obj)
417 {
418  std::string str;
419 
420  toStr(str, obj);
421 
422  return stream << str;
423 }
424 
425 inline std::string Sequence9::toString() const
426 {
427  return toStr(*this);
428 }
429 /// Serializes the object into FIX presentation.
431 void
432 toFix(
433  std::string& str,
434  const Sequence9& obj);
435 
436 
437 /// Serializes into a string.
439 void
440 toStr(
441  std::string& str,
442  const RetransmitRequest12& obj);
443 
444 
445 /// Serializes into a string.
446 inline
447 std::string
449  const RetransmitRequest12& obj)
450 {
451  std::string str;
452 
453  toStr(str, obj);
454 
455  return str;
456 }
457 
458 /// Serializes into a stream.
459 inline
460 std::ostream&
462  std::ostream& stream,
463  const RetransmitRequest12& obj)
464 {
465  std::string str;
466 
467  toStr(str, obj);
468 
469  return stream << str;
470 }
471 
472 inline std::string RetransmitRequest12::toString() const
473 {
474  return toStr(*this);
475 }
476 /// Serializes the object into FIX presentation.
478 void
479 toFix(
480  std::string& str,
481  const RetransmitRequest12& obj);
482 
483 
484 /// Serializes into a string.
486 void
487 toStr(
488  std::string& str,
489  const Retransmission13& obj);
490 
491 
492 /// Serializes into a string.
493 inline
494 std::string
496  const Retransmission13& obj)
497 {
498  std::string str;
499 
500  toStr(str, obj);
501 
502  return str;
503 }
504 
505 /// Serializes into a stream.
506 inline
507 std::ostream&
509  std::ostream& stream,
510  const Retransmission13& obj)
511 {
512  std::string str;
513 
514  toStr(str, obj);
515 
516  return stream << str;
517 }
518 
519 inline std::string Retransmission13::toString() const
520 {
521  return toStr(*this);
522 }
523 /// Serializes the object into FIX presentation.
525 void
526 toFix(
527  std::string& str,
528  const Retransmission13& obj);
529 
530 
531 /// Serializes into a string.
533 void
534 toStr(
535  std::string& str,
536  const RetransmitReject14& obj);
537 
538 
539 /// Serializes into a string.
540 inline
541 std::string
543  const RetransmitReject14& obj)
544 {
545  std::string str;
546 
547  toStr(str, obj);
548 
549  return str;
550 }
551 
552 /// Serializes into a stream.
553 inline
554 std::ostream&
556  std::ostream& stream,
557  const RetransmitReject14& obj)
558 {
559  std::string str;
560 
561  toStr(str, obj);
562 
563  return stream << str;
564 }
565 
566 inline std::string RetransmitReject14::toString() const
567 {
568  return toStr(*this);
569 }
570 /// Serializes the object into FIX presentation.
572 void
573 toFix(
574  std::string& str,
575  const RetransmitReject14& obj);
576 
577 
578 /// Serializes into a string.
580 void
581 toStr(
582  std::string& str,
583  const SimpleNewOrder100& obj);
584 
585 
586 /// Serializes into a string.
587 inline
588 std::string
590  const SimpleNewOrder100& obj)
591 {
592  std::string str;
593 
594  toStr(str, obj);
595 
596  return str;
597 }
598 
599 /// Serializes into a stream.
600 inline
601 std::ostream&
603  std::ostream& stream,
604  const SimpleNewOrder100& obj)
605 {
606  std::string str;
607 
608  toStr(str, obj);
609 
610  return stream << str;
611 }
612 
613 inline std::string SimpleNewOrder100::toString() const
614 {
615  return toStr(*this);
616 }
617 /// Serializes the object into FIX presentation.
619 void
620 toFix(
621  std::string& str,
622  const SimpleNewOrder100& obj);
623 
624 
625 /// Serializes into a string.
627 void
628 toStr(
629  std::string& str,
630  const SimpleModifyOrder101& obj);
631 
632 
633 /// Serializes into a string.
634 inline
635 std::string
637  const SimpleModifyOrder101& obj)
638 {
639  std::string str;
640 
641  toStr(str, obj);
642 
643  return str;
644 }
645 
646 /// Serializes into a stream.
647 inline
648 std::ostream&
650  std::ostream& stream,
651  const SimpleModifyOrder101& obj)
652 {
653  std::string str;
654 
655  toStr(str, obj);
656 
657  return stream << str;
658 }
659 
660 inline std::string SimpleModifyOrder101::toString() const
661 {
662  return toStr(*this);
663 }
664 /// Serializes the object into FIX presentation.
666 void
667 toFix(
668  std::string& str,
669  const SimpleModifyOrder101& obj);
670 
671 
672 /// Serializes into a string.
674 void
675 toStr(
676  std::string& str,
677  const NewOrderSingle102& obj);
678 
679 
680 /// Serializes into a string.
681 inline
682 std::string
684  const NewOrderSingle102& obj)
685 {
686  std::string str;
687 
688  toStr(str, obj);
689 
690  return str;
691 }
692 
693 /// Serializes into a stream.
694 inline
695 std::ostream&
697  std::ostream& stream,
698  const NewOrderSingle102& obj)
699 {
700  std::string str;
701 
702  toStr(str, obj);
703 
704  return stream << str;
705 }
706 
707 inline std::string NewOrderSingle102::toString() const
708 {
709  return toStr(*this);
710 }
711 /// Serializes the object into FIX presentation.
713 void
714 toFix(
715  std::string& str,
716  const NewOrderSingle102& obj);
717 
718 
719 /// Serializes into a string.
721 void
722 toStr(
723  std::string& str,
724  const OrderCancelReplaceRequest104& obj);
725 
726 
727 /// Serializes into a string.
728 inline
729 std::string
731  const OrderCancelReplaceRequest104& obj)
732 {
733  std::string str;
734 
735  toStr(str, obj);
736 
737  return str;
738 }
739 
740 /// Serializes into a stream.
741 inline
742 std::ostream&
744  std::ostream& stream,
745  const OrderCancelReplaceRequest104& obj)
746 {
747  std::string str;
748 
749  toStr(str, obj);
750 
751  return stream << str;
752 }
753 
754 inline std::string OrderCancelReplaceRequest104::toString() const
755 {
756  return toStr(*this);
757 }
758 /// Serializes the object into FIX presentation.
760 void
761 toFix(
762  std::string& str,
763  const OrderCancelReplaceRequest104& obj);
764 
765 
766 /// Serializes into a string.
768 void
769 toStr(
770  std::string& str,
771  const OrderCancelRequest105& obj);
772 
773 
774 /// Serializes into a string.
775 inline
776 std::string
778  const OrderCancelRequest105& obj)
779 {
780  std::string str;
781 
782  toStr(str, obj);
783 
784  return str;
785 }
786 
787 /// Serializes into a stream.
788 inline
789 std::ostream&
791  std::ostream& stream,
792  const OrderCancelRequest105& obj)
793 {
794  std::string str;
795 
796  toStr(str, obj);
797 
798  return stream << str;
799 }
800 
801 inline std::string OrderCancelRequest105::toString() const
802 {
803  return toStr(*this);
804 }
805 /// Serializes the object into FIX presentation.
807 void
808 toFix(
809  std::string& str,
810  const OrderCancelRequest105& obj);
811 
812 
813 /// Serializes into a string.
815 void
816 toStr(
817  std::string& str,
818  const NewOrderCross106& obj);
819 
820 
821 /// Serializes into a string.
822 inline
823 std::string
825  const NewOrderCross106& obj)
826 {
827  std::string str;
828 
829  toStr(str, obj);
830 
831  return str;
832 }
833 
834 /// Serializes into a stream.
835 inline
836 std::ostream&
838  std::ostream& stream,
839  const NewOrderCross106& obj)
840 {
841  std::string str;
842 
843  toStr(str, obj);
844 
845  return stream << str;
846 }
847 
848 inline std::string NewOrderCross106::toString() const
849 {
850  return toStr(*this);
851 }
852 /// Serializes the object into FIX presentation.
854 void
855 toFix(
856  std::string& str,
857  const NewOrderCross106& obj);
858 
859 
860 /// Serializes into a string.
862 void
863 toStr(
864  std::string& str,
865  const NewOrderCross106::SidesEntry& obj);
866 
867 /// Serializes into a string.
868 inline
869 std::string
871  const NewOrderCross106::SidesEntry& obj)
872 {
873  std::string str;
874 
875  toStr(str, obj);
876 
877  return str;
878 }
879 
880 /// Serializes into a stream.
881 inline
882 std::ostream&
884  std::ostream& stream,
885  const NewOrderCross106::SidesEntry& obj)
886 {
887  std::string str;
888 
889  toStr(str, obj);
890 
891  return stream << str;
892 }
893 
894 /// Serializes into a string.
896 void
897 toStr(
898  std::string& str,
899  const ExecutionReportNew200& obj);
900 
901 
902 /// Serializes into a string.
903 inline
904 std::string
906  const ExecutionReportNew200& obj)
907 {
908  std::string str;
909 
910  toStr(str, obj);
911 
912  return str;
913 }
914 
915 /// Serializes into a stream.
916 inline
917 std::ostream&
919  std::ostream& stream,
920  const ExecutionReportNew200& obj)
921 {
922  std::string str;
923 
924  toStr(str, obj);
925 
926  return stream << str;
927 }
928 
929 inline std::string ExecutionReportNew200::toString() const
930 {
931  return toStr(*this);
932 }
933 /// Serializes the object into FIX presentation.
935 void
936 toFix(
937  std::string& str,
938  const ExecutionReportNew200& obj);
939 
940 
941 /// Serializes into a string.
943 void
944 toStr(
945  std::string& str,
946  const ExecutionReportModify201& obj);
947 
948 
949 /// Serializes into a string.
950 inline
951 std::string
953  const ExecutionReportModify201& obj)
954 {
955  std::string str;
956 
957  toStr(str, obj);
958 
959  return str;
960 }
961 
962 /// Serializes into a stream.
963 inline
964 std::ostream&
966  std::ostream& stream,
967  const ExecutionReportModify201& obj)
968 {
969  std::string str;
970 
971  toStr(str, obj);
972 
973  return stream << str;
974 }
975 
976 inline std::string ExecutionReportModify201::toString() const
977 {
978  return toStr(*this);
979 }
980 /// Serializes the object into FIX presentation.
982 void
983 toFix(
984  std::string& str,
985  const ExecutionReportModify201& obj);
986 
987 
988 /// Serializes into a string.
990 void
991 toStr(
992  std::string& str,
993  const ExecutionReportCancel202& obj);
994 
995 
996 /// Serializes into a string.
997 inline
998 std::string
1000  const ExecutionReportCancel202& obj)
1001 {
1002  std::string str;
1003 
1004  toStr(str, obj);
1005 
1006  return str;
1007 }
1008 
1009 /// Serializes into a stream.
1010 inline
1011 std::ostream&
1013  std::ostream& stream,
1014  const ExecutionReportCancel202& obj)
1015 {
1016  std::string str;
1017 
1018  toStr(str, obj);
1019 
1020  return stream << str;
1021 }
1022 
1023 inline std::string ExecutionReportCancel202::toString() const
1024 {
1025  return toStr(*this);
1026 }
1027 /// Serializes the object into FIX presentation.
1029 void
1030 toFix(
1031  std::string& str,
1032  const ExecutionReportCancel202& obj);
1033 
1034 
1035 /// Serializes into a string.
1037 void
1038 toStr(
1039  std::string& str,
1040  const ExecutionReportTrade203& obj);
1041 
1042 
1043 /// Serializes into a string.
1044 inline
1045 std::string
1047  const ExecutionReportTrade203& obj)
1048 {
1049  std::string str;
1050 
1051  toStr(str, obj);
1052 
1053  return str;
1054 }
1055 
1056 /// Serializes into a stream.
1057 inline
1058 std::ostream&
1060  std::ostream& stream,
1061  const ExecutionReportTrade203& obj)
1062 {
1063  std::string str;
1064 
1065  toStr(str, obj);
1066 
1067  return stream << str;
1068 }
1069 
1070 inline std::string ExecutionReportTrade203::toString() const
1071 {
1072  return toStr(*this);
1073 }
1074 /// Serializes the object into FIX presentation.
1076 void
1077 toFix(
1078  std::string& str,
1079  const ExecutionReportTrade203& obj);
1080 
1081 
1082 /// Serializes into a string.
1084 void
1085 toStr(
1086  std::string& str,
1087  const ExecutionReportReject204& obj);
1088 
1089 
1090 /// Serializes into a string.
1091 inline
1092 std::string
1094  const ExecutionReportReject204& obj)
1095 {
1096  std::string str;
1097 
1098  toStr(str, obj);
1099 
1100  return str;
1101 }
1102 
1103 /// Serializes into a stream.
1104 inline
1105 std::ostream&
1107  std::ostream& stream,
1108  const ExecutionReportReject204& obj)
1109 {
1110  std::string str;
1111 
1112  toStr(str, obj);
1113 
1114  return stream << str;
1115 }
1116 
1117 inline std::string ExecutionReportReject204::toString() const
1118 {
1119  return toStr(*this);
1120 }
1121 /// Serializes the object into FIX presentation.
1123 void
1124 toFix(
1125  std::string& str,
1126  const ExecutionReportReject204& obj);
1127 
1128 
1129 /// Serializes into a string.
1131 void
1132 toStr(
1133  std::string& str,
1134  const ExecutionReportForward205& obj);
1135 
1136 
1137 /// Serializes into a string.
1138 inline
1139 std::string
1141  const ExecutionReportForward205& obj)
1142 {
1143  std::string str;
1144 
1145  toStr(str, obj);
1146 
1147  return str;
1148 }
1149 
1150 /// Serializes into a stream.
1151 inline
1152 std::ostream&
1154  std::ostream& stream,
1155  const ExecutionReportForward205& obj)
1156 {
1157  std::string str;
1158 
1159  toStr(str, obj);
1160 
1161  return stream << str;
1162 }
1163 
1164 inline std::string ExecutionReportForward205::toString() const
1165 {
1166  return toStr(*this);
1167 }
1168 /// Serializes the object into FIX presentation.
1170 void
1171 toFix(
1172  std::string& str,
1173  const ExecutionReportForward205& obj);
1174 
1175 
1176 /// Serializes into a string.
1178 void
1179 toStr(
1180  std::string& str,
1181  const BusinessMessageReject206& obj);
1182 
1183 
1184 /// Serializes into a string.
1185 inline
1186 std::string
1188  const BusinessMessageReject206& obj)
1189 {
1190  std::string str;
1191 
1192  toStr(str, obj);
1193 
1194  return str;
1195 }
1196 
1197 /// Serializes into a stream.
1198 inline
1199 std::ostream&
1201  std::ostream& stream,
1202  const BusinessMessageReject206& obj)
1203 {
1204  std::string str;
1205 
1206  toStr(str, obj);
1207 
1208  return stream << str;
1209 }
1210 
1211 inline std::string BusinessMessageReject206::toString() const
1212 {
1213  return toStr(*this);
1214 }
1215 /// Serializes the object into FIX presentation.
1217 void
1218 toFix(
1219  std::string& str,
1220  const BusinessMessageReject206& obj);
1221 
1222 
1223 /// Serializes into a string.
1225 void
1226 toStr(
1227  std::string& str,
1228  const SecurityDefinitionRequest300& obj);
1229 
1230 
1231 /// Serializes into a string.
1232 inline
1233 std::string
1235  const SecurityDefinitionRequest300& obj)
1236 {
1237  std::string str;
1238 
1239  toStr(str, obj);
1240 
1241  return str;
1242 }
1243 
1244 /// Serializes into a stream.
1245 inline
1246 std::ostream&
1248  std::ostream& stream,
1249  const SecurityDefinitionRequest300& obj)
1250 {
1251  std::string str;
1252 
1253  toStr(str, obj);
1254 
1255  return stream << str;
1256 }
1257 
1258 inline std::string SecurityDefinitionRequest300::toString() const
1259 {
1260  return toStr(*this);
1261 }
1262 /// Serializes the object into FIX presentation.
1264 void
1265 toFix(
1266  std::string& str,
1267  const SecurityDefinitionRequest300& obj);
1268 
1269 
1270 /// Serializes into a string.
1272 void
1273 toStr(
1274  std::string& str,
1276 
1277 /// Serializes into a string.
1278 inline
1279 std::string
1282 {
1283  std::string str;
1284 
1285  toStr(str, obj);
1286 
1287  return str;
1288 }
1289 
1290 /// Serializes into a stream.
1291 inline
1292 std::ostream&
1294  std::ostream& stream,
1296 {
1297  std::string str;
1298 
1299  toStr(str, obj);
1300 
1301  return stream << str;
1302 }
1303 
1304 /// Serializes into a string.
1306 void
1307 toStr(
1308  std::string& str,
1309  const SecurityDefinitionResponse301& obj);
1310 
1311 
1312 /// Serializes into a string.
1313 inline
1314 std::string
1316  const SecurityDefinitionResponse301& obj)
1317 {
1318  std::string str;
1319 
1320  toStr(str, obj);
1321 
1322  return str;
1323 }
1324 
1325 /// Serializes into a stream.
1326 inline
1327 std::ostream&
1329  std::ostream& stream,
1330  const SecurityDefinitionResponse301& obj)
1331 {
1332  std::string str;
1333 
1334  toStr(str, obj);
1335 
1336  return stream << str;
1337 }
1338 
1339 inline std::string SecurityDefinitionResponse301::toString() const
1340 {
1341  return toStr(*this);
1342 }
1343 /// Serializes the object into FIX presentation.
1345 void
1346 toFix(
1347  std::string& str,
1348  const SecurityDefinitionResponse301& obj);
1349 
1350 
1351 /// Serializes into a string.
1353 void
1354 toStr(
1355  std::string& str,
1356  const QuoteRequest401& obj);
1357 
1358 
1359 /// Serializes into a string.
1360 inline
1361 std::string
1363  const QuoteRequest401& obj)
1364 {
1365  std::string str;
1366 
1367  toStr(str, obj);
1368 
1369  return str;
1370 }
1371 
1372 /// Serializes into a stream.
1373 inline
1374 std::ostream&
1376  std::ostream& stream,
1377  const QuoteRequest401& obj)
1378 {
1379  std::string str;
1380 
1381  toStr(str, obj);
1382 
1383  return stream << str;
1384 }
1385 
1386 inline std::string QuoteRequest401::toString() const
1387 {
1388  return toStr(*this);
1389 }
1390 /// Serializes the object into FIX presentation.
1392 void
1393 toFix(
1394  std::string& str,
1395  const QuoteRequest401& obj);
1396 
1397 
1398 /// Serializes into a string.
1400 void
1401 toStr(
1402  std::string& str,
1403  const QuoteRequest401::SidesEntry& obj);
1404 
1405 /// Serializes into a string.
1406 inline
1407 std::string
1409  const QuoteRequest401::SidesEntry& obj)
1410 {
1411  std::string str;
1412 
1413  toStr(str, obj);
1414 
1415  return str;
1416 }
1417 
1418 /// Serializes into a stream.
1419 inline
1420 std::ostream&
1422  std::ostream& stream,
1423  const QuoteRequest401::SidesEntry& obj)
1424 {
1425  std::string str;
1426 
1427  toStr(str, obj);
1428 
1429  return stream << str;
1430 }
1431 
1432 /// Serializes into a string.
1434 void
1435 toStr(
1436  std::string& str,
1437  const QuoteStatusReport402& obj);
1438 
1439 
1440 /// Serializes into a string.
1441 inline
1442 std::string
1444  const QuoteStatusReport402& obj)
1445 {
1446  std::string str;
1447 
1448  toStr(str, obj);
1449 
1450  return str;
1451 }
1452 
1453 /// Serializes into a stream.
1454 inline
1455 std::ostream&
1457  std::ostream& stream,
1458  const QuoteStatusReport402& obj)
1459 {
1460  std::string str;
1461 
1462  toStr(str, obj);
1463 
1464  return stream << str;
1465 }
1466 
1467 inline std::string QuoteStatusReport402::toString() const
1468 {
1469  return toStr(*this);
1470 }
1471 /// Serializes the object into FIX presentation.
1473 void
1474 toFix(
1475  std::string& str,
1476  const QuoteStatusReport402& obj);
1477 
1478 
1479 /// Serializes into a string.
1481 void
1482 toStr(
1483  std::string& str,
1484  const Quote403& obj);
1485 
1486 
1487 /// Serializes into a string.
1488 inline std::string toStr(const Quote403& obj)
1489 {
1490  std::string str;
1491 
1492  toStr(str, obj);
1493 
1494  return str;
1495 }
1496 
1497 /// Serializes into a stream.
1498 inline
1499 std::ostream&
1501  std::ostream& stream,
1502  const Quote403& obj)
1503 {
1504  std::string str;
1505 
1506  toStr(str, obj);
1507 
1508  return stream << str;
1509 }
1510 
1511 inline std::string Quote403::toString() const
1512 {
1513  return toStr(*this);
1514 }
1515 /// Serializes the object into FIX presentation.
1517 void
1518 toFix(
1519  std::string& str,
1520  const Quote403& obj);
1521 
1522 
1523 /// Serializes into a string.
1525 void
1526 toStr(
1527  std::string& str,
1528  const QuoteCancel404& obj);
1529 
1530 
1531 /// Serializes into a string.
1532 inline
1533 std::string
1535  const QuoteCancel404& obj)
1536 {
1537  std::string str;
1538 
1539  toStr(str, obj);
1540 
1541  return str;
1542 }
1543 
1544 /// Serializes into a stream.
1545 inline
1546 std::ostream&
1548  std::ostream& stream,
1549  const QuoteCancel404& obj)
1550 {
1551  std::string str;
1552 
1553  toStr(str, obj);
1554 
1555  return stream << str;
1556 }
1557 
1558 inline std::string QuoteCancel404::toString() const
1559 {
1560  return toStr(*this);
1561 }
1562 /// Serializes the object into FIX presentation.
1564 void
1565 toFix(
1566  std::string& str,
1567  const QuoteCancel404& obj);
1568 
1569 
1570 /// Serializes into a string.
1572 void
1573 toStr(
1574  std::string& str,
1575  const QuoteRequestReject405& obj);
1576 
1577 
1578 /// Serializes into a string.
1579 inline
1580 std::string
1582  const QuoteRequestReject405& obj)
1583 {
1584  std::string str;
1585 
1586  toStr(str, obj);
1587 
1588  return str;
1589 }
1590 
1591 /// Serializes into a stream.
1592 inline
1593 std::ostream&
1595  std::ostream& stream,
1596  const QuoteRequestReject405& obj)
1597 {
1598  std::string str;
1599 
1600  toStr(str, obj);
1601 
1602  return stream << str;
1603 }
1604 
1605 inline std::string QuoteRequestReject405::toString() const
1606 {
1607  return toStr(*this);
1608 }
1609 /// Serializes the object into FIX presentation.
1611 void
1612 toFix(
1613  std::string& str,
1614  const QuoteRequestReject405& obj);
1615 
1616 
1617 /// Serializes into a string.
1619 void
1620 toStr(
1621  std::string& str,
1623 
1624 /// Serializes into a string.
1625 inline
1626 std::string
1629 {
1630  std::string str;
1631 
1632  toStr(str, obj);
1633 
1634  return str;
1635 }
1636 
1637 /// Serializes into a stream.
1638 inline
1639 std::ostream&
1641  std::ostream& stream,
1643 {
1644  std::string str;
1645 
1646  toStr(str, obj);
1647 
1648  return stream << str;
1649 }
1650 
1651 /// Serializes into a string.
1653 void
1654 toStr(
1655  std::string& str,
1657 
1658 
1659 /// Serializes into a string.
1660 inline
1661 std::string
1664 {
1665  std::string str;
1666 
1667  toStr(str, obj);
1668 
1669  return str;
1670 }
1671 
1672 /// Serializes into a stream.
1673 inline
1674 std::ostream&
1676  std::ostream& stream,
1678 {
1679  std::string str;
1680 
1681  toStr(str, obj);
1682 
1683  return stream << str;
1684 }
1685 
1686 inline std::string PositionMaintenanceCancelRequest501::toString() const
1687 {
1688  return toStr(*this);
1689 }
1690 /// Serializes the object into FIX presentation.
1692 void
1693 toFix(
1694  std::string& str,
1696 
1697 
1698 /// Serializes into a string.
1700 void
1701 toStr(
1702  std::string& str,
1703  const PositionMaintenanceRequest502& obj);
1704 
1705 
1706 /// Serializes into a string.
1707 inline
1708 std::string
1710  const PositionMaintenanceRequest502& obj)
1711 {
1712  std::string str;
1713 
1714  toStr(str, obj);
1715 
1716  return str;
1717 }
1718 
1719 /// Serializes into a stream.
1720 inline
1721 std::ostream&
1723  std::ostream& stream,
1724  const PositionMaintenanceRequest502& obj)
1725 {
1726  std::string str;
1727 
1728  toStr(str, obj);
1729 
1730  return stream << str;
1731 }
1732 
1733 inline std::string PositionMaintenanceRequest502::toString() const
1734 {
1735  return toStr(*this);
1736 }
1737 /// Serializes the object into FIX presentation.
1739 void
1740 toFix(
1741  std::string& str,
1742  const PositionMaintenanceRequest502& obj);
1743 
1744 
1745 /// Serializes into a string.
1747 void
1748 toStr(
1749  std::string& str,
1750  const PositionMaintenanceReport503& obj);
1751 
1752 
1753 /// Serializes into a string.
1754 inline
1755 std::string
1757  const PositionMaintenanceReport503& obj)
1758 {
1759  std::string str;
1760 
1761  toStr(str, obj);
1762 
1763  return str;
1764 }
1765 
1766 /// Serializes into a stream.
1767 inline
1768 std::ostream&
1770  std::ostream& stream,
1771  const PositionMaintenanceReport503& obj)
1772 {
1773  std::string str;
1774 
1775  toStr(str, obj);
1776 
1777  return stream << str;
1778 }
1779 
1780 inline std::string PositionMaintenanceReport503::toString() const
1781 {
1782  return toStr(*this);
1783 }
1784 /// Serializes the object into FIX presentation.
1786 void
1787 toFix(
1788  std::string& str,
1789  const PositionMaintenanceReport503& obj);
1790 
1791 
1792 /// Serializes into a string.
1794 void
1795 toStr(
1796  std::string& str,
1798 
1799 /// Serializes into a string.
1800 inline
1801 std::string
1804 {
1805  std::string str;
1806 
1807  toStr(str, obj);
1808 
1809  return str;
1810 }
1811 
1812 /// Serializes into a stream.
1813 inline
1814 std::ostream&
1816  std::ostream& stream,
1818 {
1819  std::string str;
1820 
1821  toStr(str, obj);
1822 
1823  return stream << str;
1824 }
1825 
1826 /// Serializes into a string.
1828 void
1829 toStr(
1830  std::string& str,
1831  const AllocationInstruction601& obj);
1832 
1833 
1834 /// Serializes into a string.
1835 inline
1836 std::string
1838  const AllocationInstruction601& obj)
1839 {
1840  std::string str;
1841 
1842  toStr(str, obj);
1843 
1844  return str;
1845 }
1846 
1847 /// Serializes into a stream.
1848 inline
1849 std::ostream&
1851  std::ostream& stream,
1852  const AllocationInstruction601& obj)
1853 {
1854  std::string str;
1855 
1856  toStr(str, obj);
1857 
1858  return stream << str;
1859 }
1860 
1861 inline std::string AllocationInstruction601::toString() const
1862 {
1863  return toStr(*this);
1864 }
1865 /// Serializes the object into FIX presentation.
1867 void
1868 toFix(
1869  std::string& str,
1870  const AllocationInstruction601& obj);
1871 
1872 
1873 /// Serializes into a string.
1875 void
1876 toStr(
1877  std::string& str,
1878  const AllocationReport602& obj);
1879 
1880 
1881 /// Serializes into a string.
1882 inline
1883 std::string
1885  const AllocationReport602& obj)
1886 {
1887  std::string str;
1888 
1889  toStr(str, obj);
1890 
1891  return str;
1892 }
1893 
1894 /// Serializes into a stream.
1895 inline
1896 std::ostream&
1898  std::ostream& stream,
1899  const AllocationReport602& obj)
1900 {
1901  std::string str;
1902 
1903  toStr(str, obj);
1904 
1905  return stream << str;
1906 }
1907 
1908 inline std::string AllocationReport602::toString() const
1909 {
1910  return toStr(*this);
1911 }
1912 /// Serializes the object into FIX presentation.
1914 void
1915 toFix(
1916  std::string& str,
1917  const AllocationReport602& obj);
1918 
1919 
1920 /// Serializes into a string.
1922 void
1923 toStr(
1924  std::string& str,
1925  const OrderMassActionRequest701& obj);
1926 
1927 
1928 /// Serializes into a string.
1929 inline
1930 std::string
1932  const OrderMassActionRequest701& obj)
1933 {
1934  std::string str;
1935 
1936  toStr(str, obj);
1937 
1938  return str;
1939 }
1940 
1941 /// Serializes into a stream.
1942 inline
1943 std::ostream&
1945  std::ostream& stream,
1946  const OrderMassActionRequest701& obj)
1947 {
1948  std::string str;
1949 
1950  toStr(str, obj);
1951 
1952  return stream << str;
1953 }
1954 
1955 inline std::string OrderMassActionRequest701::toString() const
1956 {
1957  return toStr(*this);
1958 }
1959 /// Serializes the object into FIX presentation.
1961 void
1962 toFix(
1963  std::string& str,
1964  const OrderMassActionRequest701& obj);
1965 
1966 
1967 /// Serializes into a string.
1969 void
1970 toStr(
1971  std::string& str,
1972  const OrderMassActionReport702& obj);
1973 
1974 
1975 /// Serializes into a string.
1976 inline
1977 std::string
1979  const OrderMassActionReport702& obj)
1980 {
1981  std::string str;
1982 
1983  toStr(str, obj);
1984 
1985  return str;
1986 }
1987 
1988 /// Serializes into a stream.
1989 inline
1990 std::ostream&
1992  std::ostream& stream,
1993  const OrderMassActionReport702& obj)
1994 {
1995  std::string str;
1996 
1997  toStr(str, obj);
1998 
1999  return stream << str;
2000 }
2001 
2002 inline std::string OrderMassActionReport702::toString() const
2003 {
2004  return toStr(*this);
2005 }
2006 /// Serializes the object into FIX presentation.
2008 void
2009 toFix(
2010  std::string& str,
2011  const OrderMassActionReport702& obj);
2012 
2013 
OrderCancelRequest message submits a deletion of an existing order by referencing the original client...
Definition: Messages.h:7732
NegotiateReject message is sent when B3 rejects a Negotiate message sent by the client.
Definition: Messages.h:932
#define ONIXS_B3_BOE_MESSAGING_NAMESPACE_END
Definition: ABI.h:144
OrderMassActionReport message is used to acknowledge an OrderMassActionRequest message.
Definition: Messages.h:25890
Sent by client system to replace an existing order.
Definition: Messages.h:6663
The client sends the Negotiate message to B3 to initiate a connection. Negotiate is the first message...
Definition: Messages.h:33
std::string toStr(const OrderMassActionReport702 &obj)
Serializes into a string.
The SecurityDefinitionRequest message creates a User Defined Spread (UDS) instrument. User-Defined Spreads provide users of the electronic trading platform the ability to create strategies composed by their choice of leg instruments, leg ratio and leg side.
Definition: Messages.h:16671
Execution Report - Reject message notifies the reason a client request was not accepted by Matching E...
Definition: Messages.h:14052
Terminate message is sent to indicate that the sender is going to disconnect the TCP socket connectio...
Definition: Messages.h:2509
RetransmitReject message is sent when a RetransmitRequest message is rejected by B3. More details are described in the Message Specification Guidelines document.
Definition: Messages.h:3941
ExecutionReport - Cancel message is sent in response to Order Cancel Request as well as to report uns...
Definition: Messages.h:11657
Execution Report - New message is sent in response to a NewOrderSingle or SimpleNewOrder messages...
Definition: Messages.h:9246
Execution Report - Modify message is sent in response to OrderCancelReplaceRequest or SimpleModifyOrd...
Definition: Messages.h:10465
Quote message is used as the response to a QuoteRequest message, tradeable, and restricted tradeable ...
Definition: Messages.h:19625
#define ONIXS_B3_BOE_EXPORTED
Definition: Compiler.h:181
The QuoteRequestReject message is used when a QuoteRequest is not accept by B3 due to missing or inco...
Definition: Messages.h:20922
The SimpleModifyOrder submits a simple modify request for basic parameters like price and quantity...
Definition: Messages.h:4928
SimpleNewOrder message submits a simple new order focused on sent only main parameters with low compl...
Definition: Messages.h:4232
BusinessMessageReject message can reject an application-level message which fulfills session level ru...
Definition: Messages.h:16229
EstablishmentReject message is sent when an Establish message is rejected by B3 informing the reason ...
Definition: Messages.h:2148
The QuoteStatusReport message is to inform the current status of forward acceptance.
Definition: Messages.h:18655
The SecurityDefinitioresponse message is sent in response to an attempt to create a new security defi...
Definition: Messages.h:17232
The QuoteCancel message is used to cancel a previous QuoteRequest message.
Definition: Messages.h:20356
void toFix(std::string &str, const OrderMassActionReport702 &obj)
Serializes the object into FIX presentation.
Execution Report – Trade/Trade Bust message is sent with order fills that were traded and processed ...
Definition: Messages.h:12819
#define ONIXS_B3_BOE_MESSAGING_NAMESPACE_BEGIN
Definition: ABI.h:140
NewOrderSingle message is used to enter an order in the system; the behavior of an order can be affec...
Definition: Messages.h:5695
After negotiation level is complete, the client must send an Establish message to start assigning seq...
Definition: Messages.h:1334
The NegotiationResponse message is sent when a Negotiate message from the client is accepted by B3...
Definition: Messages.h:590
RetransmitRequest message is used for client to recover missed messages.
Definition: Messages.h:3321
std::ostream & operator<<(std::ostream &stream, const OrderMassActionReport702 &obj)
Serializes into a stream.
Retransmission message is sent when a RetransmitRequest message from the client is accepted by B3...
Definition: Messages.h:3633
AllocationReport message is as response of AllocationInstruction message.
Definition: Messages.h:24748
PositionMaintenanceCancelRequest is a solicited cancel of PositionMaintenance message sent by client...
Definition: Messages.h:21964
PositionMaintenanceRequest message allows the position owner (holder) to submit requests which will a...
Definition: Messages.h:22384
Sequence message specifies the sequence number of the next business message both: Recoverable (B3 to ...
Definition: Messages.h:3073
Execution Report – Forward message is sent with order fills were traded and processed on Matching En...
Definition: Messages.h:15178
The NewOrderCross message submits a Cross on Order Entry gateway, a two-sided order submitted by a si...
Definition: Messages.h:8329
PositionMaintenanceReport message is sent owner of a position (holder) in response to a PositionMaint...
Definition: Messages.h:23001
OrderMassActionRequest is sent by the client system to cancel working orders that belongs to a define...
Definition: Messages.h:25346
AllocationInstruction message submits a request to allocate (fully or partially) a non-allocated trad...
Definition: Messages.h:24076
NotApplied message is sent when B3 detects messages that already been sent (concept of idempotence) o...
Definition: Messages.h:2807
The Quote Request message is used within the context of this Forward transaction in which two parties...
Definition: Messages.h:17703
The EstablishmentAck message is sent when an Establish message is accepted by B3. EstablishmentAck me...
Definition: Messages.h:1782