OnixS C++ CME Market Data Handler  5.7.0
API documentation
Serialization.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 
25 #include <OnixS/CME/MDH/Messages.h>
26 
28 
29 // Market Data Serialization.
30 
31 /// Serializes object into a string.
32 ONIXS_CMEMDH_EXPORTED
33 void
34 toStr(
35  std::string& str,
36  AggressorFlag::Enum value);
37 
38 
39 /// Serializes object into a string.
40 inline
41 std::string
44 {
45  std::string str;
46 
47  toStr(str, value);
48 
49  return str;
50 }
51 
52 /// Serializes object into FIX presentation.
53 inline
54 void
56  std::string& str,
58 {
59  toStr(
60  str,
61  static_cast<AggressorFlag::Base>(value));
62 }
63 
64 
65 /// Serializes object into a string.
66 ONIXS_CMEMDH_EXPORTED
67 void
68 toStr(
69  std::string& str,
71 
72 
73 /// Serializes object into a string.
74 inline
75 std::string
78 {
79  std::string str;
80 
81  toStr(str, value);
82 
83  return str;
84 }
85 
86 /// Serializes object into FIX presentation.
87 inline
88 void
90  std::string& str,
92 {
93  toStr(
94  str,
95  static_cast<AggressorSide::Base>(value));
96 }
97 
98 
99 /// Serializes object into a string.
100 ONIXS_CMEMDH_EXPORTED
101 void
102 toStr(
103  std::string& str,
105 
106 
107 /// Serializes object into a string.
108 inline std::string toStr(EventType::Enum value)
109 {
110  std::string str;
111 
112  toStr(str, value);
113 
114  return str;
115 }
116 
117 /// Serializes object into FIX presentation.
118 inline
119 void
121  std::string& str,
123 {
124  toStr(
125  str,
126  static_cast<EventType::Base>(value));
127 }
128 
129 
130 /// Serializes object into a string.
131 ONIXS_CMEMDH_EXPORTED
132 void
133 toStr(
134  std::string& str,
136 
137 
138 /// Serializes object into a string.
139 inline std::string toStr(HaltReason::Enum value)
140 {
141  std::string str;
142 
143  toStr(str, value);
144 
145  return str;
146 }
147 
148 /// Serializes object into FIX presentation.
149 inline
150 void
152  std::string& str,
154 {
155  toStr(
156  str,
157  static_cast<HaltReason::Base>(value));
158 }
159 
160 
161 /// Serializes object into a string.
162 ONIXS_CMEMDH_EXPORTED
163 void
164 toStr(
165  std::string& str,
167 
168 
169 /// Serializes object into a string.
170 inline std::string toStr(LegSide::Enum value)
171 {
172  std::string str;
173 
174  toStr(str, value);
175 
176  return str;
177 }
178 
179 /// Serializes object into FIX presentation.
180 inline
181 void
183  std::string& str,
185 {
186  toStr(
187  str,
188  static_cast<LegSide::Base>(value));
189 }
190 
191 
192 /// Serializes object into a string.
193 ONIXS_CMEMDH_EXPORTED
194 void
195 toStr(
196  std::string& str,
198 
199 
200 /// Serializes object into a string.
201 inline std::string toStr(EntryType::Enum value)
202 {
203  std::string str;
204 
205  toStr(str, value);
206 
207  return str;
208 }
209 
210 /// Serializes object into FIX presentation.
211 inline
212 void
214  std::string& str,
216 {
217  toStr(
218  str,
219  static_cast<EntryType::Base>(value));
220 }
221 
222 
223 /// Serializes object into a string.
224 ONIXS_CMEMDH_EXPORTED
225 void
226 toStr(
227  std::string& str,
229 
230 
231 /// Serializes object into a string.
232 inline
233 std::string
236 {
237  std::string str;
238 
239  toStr(str, value);
240 
241  return str;
242 }
243 
244 /// Serializes object into FIX presentation.
245 inline
246 void
248  std::string& str,
250 {
251  toStr(
252  str,
253  static_cast<EntryTypeBook::Base>(value));
254 }
255 
256 
257 /// Serializes object into a string.
258 ONIXS_CMEMDH_EXPORTED
259 void
260 toStr(
261  std::string& str,
263 
264 
265 /// Serializes object into a string.
266 inline
267 std::string
270 {
271  std::string str;
272 
273  toStr(str, value);
274 
275  return str;
276 }
277 
278 /// Serializes object into FIX presentation.
279 inline
280 void
282  std::string& str,
284 {
285  toStr(
286  str,
287  static_cast<EntryTypeDailyStatistics::Base>(value));
288 }
289 
290 
291 /// Serializes object into a string.
292 ONIXS_CMEMDH_EXPORTED
293 void
294 toStr(
295  std::string& str,
297 
298 
299 /// Serializes object into a string.
300 inline
301 std::string
304 {
305  std::string str;
306 
307  toStr(str, value);
308 
309  return str;
310 }
311 
312 /// Serializes object into FIX presentation.
313 inline
314 void
316  std::string& str,
318 {
319  toStr(
320  str,
321  static_cast<EntryTypeStatistics::Base>(value));
322 }
323 
324 
325 /// Serializes object into a string.
326 ONIXS_CMEMDH_EXPORTED
327 void
328 toStr(
329  std::string& str,
331 
332 
333 /// Serializes object into a string.
334 inline std::string toStr(UpdateAction::Enum value)
335 {
336  std::string str;
337 
338  toStr(str, value);
339 
340  return str;
341 }
342 
343 /// Serializes object into FIX presentation.
344 inline
345 void
347  std::string& str,
349 {
350  toStr(
351  str,
352  static_cast<UpdateAction::Base>(value));
353 }
354 
355 
356 /// Serializes object into a string.
357 ONIXS_CMEMDH_EXPORTED
358 void
359 toStr(
360  std::string& str,
362 
363 
364 /// Serializes object into a string.
365 inline std::string toStr(MoneyOrPar::Enum value)
366 {
367  std::string str;
368 
369  toStr(str, value);
370 
371  return str;
372 }
373 
374 /// Serializes object into FIX presentation.
375 inline
376 void
378  std::string& str,
380 {
381  toStr(
382  str,
383  static_cast<MoneyOrPar::Base>(value));
384 }
385 
386 
387 /// Serializes object into a string.
388 ONIXS_CMEMDH_EXPORTED
389 void
390 toStr(
391  std::string& str,
393 
394 
395 /// Serializes object into a string.
396 inline
397 std::string
400 {
401  std::string str;
402 
403  toStr(str, value);
404 
405  return str;
406 }
407 
408 /// Serializes object into FIX presentation.
409 inline
410 void
412  std::string& str,
414 {
415  toStr(
416  str,
417  static_cast<OpenCloseSettlFlag::Base>(value));
418 }
419 
420 
421 /// Serializes object into a string.
422 ONIXS_CMEMDH_EXPORTED
423 void
424 toStr(
425  std::string& str,
427 
428 
429 /// Serializes object into a string.
430 inline
431 std::string
434 {
435  std::string str;
436 
437  toStr(str, value);
438 
439  return str;
440 }
441 
442 /// Serializes object into FIX presentation.
443 inline
444 void
446  std::string& str,
448 {
449  toStr(
450  str,
451  static_cast<OrderUpdateAction::Base>(value));
452 }
453 
454 
455 /// Serializes object into a string.
456 ONIXS_CMEMDH_EXPORTED
457 void
458 toStr(
459  std::string& str,
461 
462 
463 /// Serializes object into a string.
464 inline std::string toStr(PriceSource::Enum value)
465 {
466  std::string str;
467 
468  toStr(str, value);
469 
470  return str;
471 }
472 
473 /// Serializes object into FIX presentation.
474 inline
475 void
477  std::string& str,
479 {
480  toStr(
481  str,
482  static_cast<PriceSource::Base>(value));
483 }
484 
485 
486 /// Serializes object into a string.
487 ONIXS_CMEMDH_EXPORTED
488 void
489 toStr(
490  std::string& str,
492 
493 
494 /// Serializes object into a string.
495 inline std::string toStr(PutOrCall::Enum value)
496 {
497  std::string str;
498 
499  toStr(str, value);
500 
501  return str;
502 }
503 
504 /// Serializes object into FIX presentation.
505 inline
506 void
508  std::string& str,
510 {
511  toStr(
512  str,
513  static_cast<PutOrCall::Base>(value));
514 }
515 
516 
517 /// Serializes object into a string.
518 ONIXS_CMEMDH_EXPORTED
519 void
520 toStr(
521  std::string& str,
523 
524 
525 /// Serializes object into a string.
526 inline std::string toStr(RepoSubType::Enum value)
527 {
528  std::string str;
529 
530  toStr(str, value);
531 
532  return str;
533 }
534 
535 /// Serializes object into FIX presentation.
536 inline
537 void
539  std::string& str,
541 {
542  toStr(
543  str,
544  static_cast<RepoSubType::Base>(value));
545 }
546 
547 
548 /// Serializes object into a string.
549 ONIXS_CMEMDH_EXPORTED
550 void
551 toStr(
552  std::string& str,
554 
555 
556 /// Serializes object into a string.
557 inline
558 std::string
561 {
562  std::string str;
563 
564  toStr(str, value);
565 
566  return str;
567 }
568 
569 /// Serializes object into FIX presentation.
570 inline
571 void
573  std::string& str,
575 {
576  toStr(
577  str,
578  static_cast<SecurityAltIDSource::Base>(value));
579 }
580 
581 
582 /// Serializes object into a string.
583 ONIXS_CMEMDH_EXPORTED
584 void
585 toStr(
586  std::string& str,
588 
589 
590 /// Serializes object into a string.
591 inline
592 std::string
595 {
596  std::string str;
597 
598  toStr(str, value);
599 
600  return str;
601 }
602 
603 /// Serializes object into FIX presentation.
604 inline
605 void
607  std::string& str,
609 {
610  toStr(
611  str,
612  static_cast<SecurityTradingEvent::Base>(value));
613 }
614 
615 
616 /// Serializes object into a string.
617 ONIXS_CMEMDH_EXPORTED
618 void
619 toStr(
620  std::string& str,
622 
623 
624 /// Serializes object into a string.
625 inline
626 std::string
629 {
630  std::string str;
631 
632  toStr(str, value);
633 
634  return str;
635 }
636 
637 /// Serializes object into FIX presentation.
638 inline
639 void
641  std::string& str,
643 {
644  toStr(
645  str,
646  static_cast<SecurityTradingStatus::Base>(value));
647 }
648 
649 
650 /// Serializes object into a string.
651 ONIXS_CMEMDH_EXPORTED
652 void
653 toStr(
654  std::string& str,
656 
657 
658 /// Serializes object into a string.
659 inline
660 std::string
663 {
664  std::string str;
665 
666  toStr(str, value);
667 
668  return str;
669 }
670 
671 /// Serializes object into FIX presentation.
672 inline
673 void
675  std::string& str,
677 {
678  toStr(
679  str,
680  static_cast<SecurityUpdateAction::Base>(value));
681 }
682 
683 
684 /// Serializes object into a string.
685 ONIXS_CMEMDH_EXPORTED
686 void
687 toStr(
688  std::string& str,
689  Side::Enum value);
690 
691 
692 /// Serializes object into a string.
693 inline std::string toStr(Side::Enum value)
694 {
695  std::string str;
696 
697  toStr(str, value);
698 
699  return str;
700 }
701 
702 /// Serializes object into FIX presentation.
703 inline
704 void
706  std::string& str,
708 {
709  toStr(
710  str,
711  static_cast<Side::Base>(value));
712 }
713 
714 
715 /// Serializes object into a string.
716 ONIXS_CMEMDH_EXPORTED
717 void
718 toStr(
719  std::string& str,
721 
722 
723 /// Serializes object into a string.
724 inline
725 std::string
728 {
729  std::string str;
730 
731  toStr(str, value);
732 
733  return str;
734 }
735 
736 /// Serializes object into FIX presentation.
737 inline
738 void
740  std::string& str,
742 {
743  toStr(
744  str,
745  static_cast<WorkupTradingStatus::Base>(value));
746 }
747 
748 
749 /// Serializes object into a string.
750 ONIXS_CMEMDH_EXPORTED
751 void
752 toStr(
753  std::string& str,
754  InstAttribValue set);
755 
756 
757 /// Serializes object into a string.
758 inline std::string toStr(InstAttribValue set)
759 {
760  std::string str;
761 
762  toStr(str, set);
763 
764  return str;
765 }
766 
767 /// Serializes object into FIX presentation.
768 inline
769 void
771  std::string& str,
772  InstAttribValue set)
773 {
774  toStr(str, set.bits());
775 }
776 
777 
778 /// Serializes object into a string.
779 ONIXS_CMEMDH_EXPORTED
780 void
781 toStr(
782  std::string& str,
783  MatchEventIndicator set);
784 
785 
786 /// Serializes object into a string.
787 inline std::string toStr(MatchEventIndicator set)
788 {
789  std::string str;
790 
791  toStr(str, set);
792 
793  return str;
794 }
795 
796 /// Serializes object into FIX presentation.
797 inline
798 void
800  std::string& str,
802 {
803  toStr(str, set.bits());
804 }
805 
806 
807 /// Serializes object into a string.
808 ONIXS_CMEMDH_EXPORTED
809 void
810 toStr(
811  std::string& str,
812  SettlPriceType set);
813 
814 
815 /// Serializes object into a string.
816 inline std::string toStr(SettlPriceType set)
817 {
818  std::string str;
819 
820  toStr(str, set);
821 
822  return str;
823 }
824 
825 /// Serializes object into FIX presentation.
826 inline
827 void
829  std::string& str,
830  SettlPriceType set)
831 {
832  toStr(str, set.bits());
833 }
834 
835 
836 /// Serializes object into a string.
837 ONIXS_CMEMDH_EXPORTED
838 void
839 toStr(
840  std::string& str,
841  const MaturityMonthYear& obj);
842 
843 
844 /// Serializes object into a string.
845 inline
846 std::string
848  const MaturityMonthYear& obj)
849 {
850  std::string str;
851 
852  toStr(str, obj);
853 
854  return str;
855 }
856 
857 
858 /// Serializes object into a string.
859 ONIXS_CMEMDH_EXPORTED
860 void
861 toStr(
862  std::string& str,
863  const GroupSize& obj);
864 
865 
866 /// Serializes object into a string.
867 inline std::string toStr(const GroupSize& obj)
868 {
869  std::string str;
870 
871  toStr(str, obj);
872 
873  return str;
874 }
875 
876 
877 /// Serializes object into a string.
878 ONIXS_CMEMDH_EXPORTED
879 void
880 toStr(
881  std::string& str,
882  const GroupSize8Byte& obj);
883 
884 
885 /// Serializes object into a string.
886 inline
887 std::string
889  const GroupSize8Byte& obj)
890 {
891  std::string str;
892 
893  toStr(str, obj);
894 
895  return str;
896 }
897 
898 
899 /// Serializes object into a string.
900 ONIXS_CMEMDH_EXPORTED
901 void
902 toStr(
903  std::string& str,
904  const GroupSizeEncoding& obj);
905 
906 
907 /// Serializes object into a string.
908 inline
909 std::string
911  const GroupSizeEncoding& obj)
912 {
913  std::string str;
914 
915  toStr(str, obj);
916 
917  return str;
918 }
919 
920 
921 /// Serializes object into a string.
922 ONIXS_CMEMDH_EXPORTED
923 void
924 toStr(
925  std::string& str,
926  const MessageHeader& obj);
927 
928 
929 /// Serializes object into a string.
930 inline std::string toStr(const MessageHeader& obj)
931 {
932  std::string str;
933 
934  toStr(str, obj);
935 
936  return str;
937 }
938 
939 
940 /// Serializes object into a string.
941 ONIXS_CMEMDH_EXPORTED
942 void
943 toStr(
944  std::string& str,
946 
947 
948 /// Serializes object into a string.
949 inline
950 std::string
953 {
954  std::string str;
955 
956  toStr(str, obj);
957 
958  return str;
959 }
960 
961 /// Serializes object into FIX presentation.
962 ONIXS_CMEMDH_EXPORTED
963 void
964 toFix(
965  std::string& str,
967 
968 
969 /// Serializes object into a string.
970 ONIXS_CMEMDH_EXPORTED
971 void
972 toStr(
973  std::string& str,
974  const ChannelReset4& obj);
975 
976 
977 /// Serializes object into a string.
978 inline std::string toStr(const ChannelReset4& obj)
979 {
980  std::string str;
981 
982  toStr(str, obj);
983 
984  return str;
985 }
986 
987 /// Serializes object into FIX presentation.
988 ONIXS_CMEMDH_EXPORTED
989 void
990 toFix(
991  std::string& str,
992  const ChannelReset4& obj);
993 
994 
995 /// Serializes object into a string.
996 ONIXS_CMEMDH_EXPORTED
997 void
998 toStr(
999  std::string& str,
1000  const AdminHeartbeat12& obj);
1001 
1002 
1003 /// Serializes object into a string.
1004 inline
1005 std::string
1007  const AdminHeartbeat12& obj)
1008 {
1009  std::string str;
1010 
1011  toStr(str, obj);
1012 
1013  return str;
1014 }
1015 
1016 /// Serializes object into FIX presentation.
1017 ONIXS_CMEMDH_EXPORTED
1018 void
1019 toFix(
1020  std::string& str,
1021  const AdminHeartbeat12& obj);
1022 
1023 
1024 /// Serializes object into a string.
1025 ONIXS_CMEMDH_EXPORTED
1026 void
1027 toStr(
1028  std::string& str,
1029  const AdminLogin15& obj);
1030 
1031 
1032 /// Serializes object into a string.
1033 inline std::string toStr(const AdminLogin15& obj)
1034 {
1035  std::string str;
1036 
1037  toStr(str, obj);
1038 
1039  return str;
1040 }
1041 
1042 /// Serializes object into FIX presentation.
1043 ONIXS_CMEMDH_EXPORTED
1044 void
1045 toFix(
1046  std::string& str,
1047  const AdminLogin15& obj);
1048 
1049 
1050 /// Serializes object into a string.
1051 ONIXS_CMEMDH_EXPORTED
1052 void
1053 toStr(
1054  std::string& str,
1055  const AdminLogout16& obj);
1056 
1057 
1058 /// Serializes object into a string.
1059 inline std::string toStr(const AdminLogout16& obj)
1060 {
1061  std::string str;
1062 
1063  toStr(str, obj);
1064 
1065  return str;
1066 }
1067 
1068 /// Serializes object into FIX presentation.
1069 ONIXS_CMEMDH_EXPORTED
1070 void
1071 toFix(
1072  std::string& str,
1073  const AdminLogout16& obj);
1074 
1075 /// Serializes object into a string.
1076 ONIXS_CMEMDH_EXPORTED
1077 void
1078 toStr(
1079  std::string& str,
1080  const AdminLogin408& obj);
1081 
1082 /// Serializes object into a string.
1083 inline
1084 std::string
1086  const AdminLogin408& obj)
1087 {
1088  std::string str;
1089 
1090  toStr(str, obj);
1091 
1092  return str;
1093 }
1094 
1095 /// Serializes object into FIX presentation.
1096 ONIXS_CMEMDH_EXPORTED
1097 void
1098 toFix(
1099  std::string& str,
1100  const AdminLogin408& obj);
1101 
1102 /// Serializes object into a string.
1103 ONIXS_CMEMDH_EXPORTED
1104 void
1105 toStr(
1106  std::string& str,
1107  const AdminLogout409& obj);
1108 
1109 /// Serializes object into a string.
1110 inline
1111 std::string
1113  const AdminLogout409& obj)
1114 {
1115  std::string str;
1116 
1117  toStr(str, obj);
1118 
1119  return str;
1120 }
1121 
1122 /// Serializes object into FIX presentation.
1123 ONIXS_CMEMDH_EXPORTED
1124 void
1125 toFix(
1126  std::string& str,
1127  const AdminLogout409& obj);
1128 
1129 /// Serializes object into a string.
1130 ONIXS_CMEMDH_EXPORTED
1131 void
1132 toStr(
1133  std::string& str,
1134  const AdminHeartbeat410& obj);
1135 
1136 /// Serializes object into a string.
1137 inline
1138 std::string
1140  const AdminHeartbeat410& obj)
1141 {
1142  std::string str;
1143 
1144  toStr(str, obj);
1145 
1146  return str;
1147 }
1148 
1149 /// Serializes object into FIX presentation.
1150 ONIXS_CMEMDH_EXPORTED
1151 void
1152 toFix(
1153  std::string& str,
1154  const AdminHeartbeat410& obj);
1155 
1156 /// Serializes object into a string.
1157 ONIXS_CMEMDH_EXPORTED
1158 void
1159 toStr(
1160  std::string& str,
1161  const InstrumentDefinitionFuture54& obj);
1162 
1163 
1164 /// Serializes object into a string.
1165 inline
1166 std::string
1168  const InstrumentDefinitionFuture54& obj)
1169 {
1170  std::string str;
1171 
1172  toStr(str, obj);
1173 
1174  return str;
1175 }
1176 
1177 /// Serializes object into FIX presentation.
1178 ONIXS_CMEMDH_EXPORTED
1179 void
1180 toFix(
1181  std::string& str,
1182  const InstrumentDefinitionFuture54& obj);
1183 
1184 
1185 /// Serializes object into a string.
1186 ONIXS_CMEMDH_EXPORTED
1187 void
1188 toStr(
1189  std::string& str,
1190  const InstrumentDefinitionSpread56& obj);
1191 
1192 
1193 /// Serializes object into a string.
1194 inline
1195 std::string
1197  const InstrumentDefinitionSpread56& obj)
1198 {
1199  std::string str;
1200 
1201  toStr(str, obj);
1202 
1203  return str;
1204 }
1205 
1206 /// Serializes object into FIX presentation.
1207 ONIXS_CMEMDH_EXPORTED
1208 void
1209 toFix(
1210  std::string& str,
1211  const InstrumentDefinitionSpread56& obj);
1212 
1213 
1214 /// Serializes object into a string.
1215 ONIXS_CMEMDH_EXPORTED
1216 void
1217 toStr(
1218  std::string& str,
1219  const SecurityStatus30& obj);
1220 
1221 
1222 /// Serializes object into a string.
1223 inline
1224 std::string
1226  const SecurityStatus30& obj)
1227 {
1228  std::string str;
1229 
1230  toStr(str, obj);
1231 
1232  return str;
1233 }
1234 
1235 /// Serializes object into FIX presentation.
1236 ONIXS_CMEMDH_EXPORTED
1237 void
1238 toFix(
1239  std::string& str,
1240  const SecurityStatus30& obj);
1241 
1242 
1243 /// Serializes object into a string.
1244 ONIXS_CMEMDH_EXPORTED
1245 void
1246 toStr(
1247  std::string& str,
1248  const IncrementalRefreshBook46& obj);
1249 
1250 
1251 /// Serializes object into a string.
1252 inline
1253 std::string
1255  const IncrementalRefreshBook46& obj)
1256 {
1257  std::string str;
1258 
1259  toStr(str, obj);
1260 
1261  return str;
1262 }
1263 
1264 /// Serializes object into FIX presentation.
1265 ONIXS_CMEMDH_EXPORTED
1266 void
1267 toFix(
1268  std::string& str,
1269  const IncrementalRefreshBook46& obj);
1270 
1271 
1272 /// Serializes object into a string.
1273 ONIXS_CMEMDH_EXPORTED
1274 void
1275 toStr(
1276  std::string& str,
1278 
1279 
1280 /// Serializes object into a string.
1281 inline
1282 std::string
1285 {
1286  std::string str;
1287 
1288  toStr(str, obj);
1289 
1290  return str;
1291 }
1292 
1293 /// Serializes object into FIX presentation.
1294 ONIXS_CMEMDH_EXPORTED
1295 void
1296 toFix(
1297  std::string& str,
1299 
1300 
1301 /// Serializes object into a string.
1302 ONIXS_CMEMDH_EXPORTED
1303 void
1304 toStr(
1305  std::string& str,
1307 
1308 
1309 /// Serializes object into a string.
1310 inline
1311 std::string
1314 {
1315  std::string str;
1316 
1317  toStr(str, obj);
1318 
1319  return str;
1320 }
1321 
1322 /// Serializes object into FIX presentation.
1323 ONIXS_CMEMDH_EXPORTED
1324 void
1325 toFix(
1326  std::string& str,
1328 
1329 
1330 /// Serializes object into a string.
1331 ONIXS_CMEMDH_EXPORTED
1332 void
1333 toStr(
1334  std::string& str,
1336 
1337 
1338 /// Serializes object into a string.
1339 inline
1340 std::string
1343 {
1344  std::string str;
1345 
1346  toStr(str, obj);
1347 
1348  return str;
1349 }
1350 
1351 /// Serializes object into FIX presentation.
1352 ONIXS_CMEMDH_EXPORTED
1353 void
1354 toFix(
1355  std::string& str,
1357 
1358 
1359 /// Serializes object into a string.
1360 ONIXS_CMEMDH_EXPORTED
1361 void
1362 toStr(
1363  std::string& str,
1364  const IncrementalRefreshVolume37& obj);
1365 
1366 
1367 /// Serializes object into a string.
1368 inline
1369 std::string
1371  const IncrementalRefreshVolume37& obj)
1372 {
1373  std::string str;
1374 
1375  toStr(str, obj);
1376 
1377  return str;
1378 }
1379 
1380 /// Serializes object into FIX presentation.
1381 ONIXS_CMEMDH_EXPORTED
1382 void
1383 toFix(
1384  std::string& str,
1385  const IncrementalRefreshVolume37& obj);
1386 
1387 
1388 /// Serializes object into a string.
1389 ONIXS_CMEMDH_EXPORTED
1390 void
1391 toStr(
1392  std::string& str,
1393  const SnapshotFullRefresh52& obj);
1394 
1395 
1396 /// Serializes object into a string.
1397 inline
1398 std::string
1400  const SnapshotFullRefresh52& obj)
1401 {
1402  std::string str;
1403 
1404  toStr(str, obj);
1405 
1406  return str;
1407 }
1408 
1409 /// Serializes object into FIX presentation.
1410 ONIXS_CMEMDH_EXPORTED
1411 void
1412 toFix(
1413  std::string& str,
1414  const SnapshotFullRefresh52& obj);
1415 
1416 
1417 /// Serializes object into a string.
1418 ONIXS_CMEMDH_EXPORTED
1419 void
1420 toStr(
1421  std::string& str,
1422  const QuoteRequest39& obj);
1423 
1424 
1425 /// Serializes object into a string.
1426 inline
1427 std::string
1429  const QuoteRequest39& obj)
1430 {
1431  std::string str;
1432 
1433  toStr(str, obj);
1434 
1435  return str;
1436 }
1437 
1438 /// Serializes object into FIX presentation.
1439 ONIXS_CMEMDH_EXPORTED
1440 void
1441 toFix(
1442  std::string& str,
1443  const QuoteRequest39& obj);
1444 
1445 
1446 /// Serializes object into a string.
1447 ONIXS_CMEMDH_EXPORTED
1448 void
1449 toStr(
1450  std::string& str,
1451  const InstrumentDefinitionOption55& obj);
1452 
1453 
1454 /// Serializes object into a string.
1455 inline
1456 std::string
1458  const InstrumentDefinitionOption55& obj)
1459 {
1460  std::string str;
1461 
1462  toStr(str, obj);
1463 
1464  return str;
1465 }
1466 
1467 /// Serializes object into FIX presentation.
1468 ONIXS_CMEMDH_EXPORTED
1469 void
1470 toFix(
1471  std::string& str,
1472  const InstrumentDefinitionOption55& obj);
1473 
1474 
1475 /// Serializes object into a string.
1476 ONIXS_CMEMDH_EXPORTED
1477 void
1478 toStr(
1479  std::string& str,
1481 
1482 
1483 /// Serializes object into a string.
1484 inline
1485 std::string
1488 {
1489  std::string str;
1490 
1491  toStr(str, obj);
1492 
1493  return str;
1494 }
1495 
1496 /// Serializes object into FIX presentation.
1497 ONIXS_CMEMDH_EXPORTED
1498 void
1499 toFix(
1500  std::string& str,
1502 
1503 
1504 /// Serializes object into a string.
1505 ONIXS_CMEMDH_EXPORTED
1506 void
1507 toStr(
1508  std::string& str,
1509  const IncrementalRefreshOrderBook47& obj);
1510 
1511 
1512 /// Serializes object into a string.
1513 inline
1514 std::string
1516  const IncrementalRefreshOrderBook47& obj)
1517 {
1518  std::string str;
1519 
1520  toStr(str, obj);
1521 
1522  return str;
1523 }
1524 
1525 /// Serializes object into FIX presentation.
1526 ONIXS_CMEMDH_EXPORTED
1527 void
1528 toFix(
1529  std::string& str,
1530  const IncrementalRefreshOrderBook47& obj);
1531 
1532 
1533 /// Serializes object into a string.
1534 ONIXS_CMEMDH_EXPORTED
1535 void
1536 toStr(
1537  std::string& str,
1538  const SnapshotFullRefreshOrderBook53& obj);
1539 
1540 
1541 /// Serializes object into a string.
1542 inline
1543 std::string
1545  const SnapshotFullRefreshOrderBook53& obj)
1546 {
1547  std::string str;
1548 
1549  toStr(str, obj);
1550 
1551  return str;
1552 }
1553 
1554 /// Serializes object into FIX presentation.
1555 ONIXS_CMEMDH_EXPORTED
1556 void
1557 toFix(
1558  std::string& str,
1559  const SnapshotFullRefreshOrderBook53& obj);
1560 
1561 
MDIncrementalRefreshSessionStatistics.
Definition: Messages.h:4156
InstAttribValue type.
Definition: Fields.h:772
SnapshotFullRefreshOrderBook.
Definition: Messages.h:6507
Repeating group dimensions.
Definition: Composites.h:377
MDIncrementalRefreshBook.
Definition: Messages.h:3420
ONIXS_CMEMDH_EXPORTED void toFix(std::string &str, const SnapshotFullRefreshOrderBook53 &obj)
Serializes object into FIX presentation.
std::string toStr(const SnapshotFullRefreshOrderBook53 &obj)
Serializes object into a string.
MatchEventIndicator type.
Definition: Fields.h:939
MDIncrementalRefreshDailyStatistics.
Definition: Messages.h:3749
MDIncrementalRefreshOrderBook.
Definition: Messages.h:6309
bool value(Number &number, const MultiContainer &container, Tag tag)
SettlPriceType type.
Definition: Fields.h:1010
MDInstrumentDefinitionSpread.
Definition: Messages.h:2337
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
Definition: Bootstrap.h:152
MDIncrementalRefreshTradeSummary.
Definition: Messages.h:6019
Template ID and length of message root.
Definition: Composites.h:425
MDIncrementalRefreshVolume.
Definition: Messages.h:4352
MDInstrumentDefinitionFuture.
Definition: Messages.h:1485
MDInstrumentDefinitionOption.
Definition: Messages.h:5027
MDInstrumentDefinitionFixedIncome.
Definition: Messages.h:32
MDIncrementalRefreshLimitsBanding.
Definition: Messages.h:3963
#define ONIXS_CMEMDH_NAMESPACE_END
Definition: Bootstrap.h:156