OnixS C++ Euronext Optiq MDG Handler  1.3.1
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 StartOfDay& obj);
38 
39 
40 /// Serializes into a string.
41 inline std::string toStr(const StartOfDay& 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 StartOfDay& obj)
56 {
57  std::string str;
58 
59  toStr(str, obj);
60 
61  return stream << str;
62 }
63 
64 inline std::string StartOfDay::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 StartOfDay& obj);
74 
75 
76 /// Serializes into a string.
78 void
79 toStr(
80  std::string& str,
81  const EndOfDay& obj);
82 
83 
84 /// Serializes into a string.
85 inline std::string toStr(const EndOfDay& obj)
86 {
87  std::string str;
88 
89  toStr(str, obj);
90 
91  return str;
92 }
93 
94 /// Serializes into a stream.
95 inline
96 std::ostream&
98  std::ostream& stream,
99  const EndOfDay& obj)
100 {
101  std::string str;
102 
103  toStr(str, obj);
104 
105  return stream << str;
106 }
107 
108 inline std::string EndOfDay::toString() const
109 {
110  return toStr(*this);
111 }
112 /// Serializes the object into FIX presentation.
114 void
115 toFix(
116  std::string& str,
117  const EndOfDay& obj);
118 
119 
120 /// Serializes into a string.
122 void
123 toStr(
124  std::string& str,
125  const HealthStatus& obj);
126 
127 
128 /// Serializes into a string.
129 inline std::string toStr(const HealthStatus& obj)
130 {
131  std::string str;
132 
133  toStr(str, obj);
134 
135  return str;
136 }
137 
138 /// Serializes into a stream.
139 inline
140 std::ostream&
142  std::ostream& stream,
143  const HealthStatus& obj)
144 {
145  std::string str;
146 
147  toStr(str, obj);
148 
149  return stream << str;
150 }
151 
152 inline std::string HealthStatus::toString() const
153 {
154  return toStr(*this);
155 }
156 /// Serializes the object into FIX presentation.
158 void
159 toFix(
160  std::string& str,
161  const HealthStatus& obj);
162 
163 
164 /// Serializes into a string.
166 void
167 toStr(
168  std::string& str,
169  const TechnicalNotification& obj);
170 
171 
172 /// Serializes into a string.
173 inline
174 std::string
176  const TechnicalNotification& obj)
177 {
178  std::string str;
179 
180  toStr(str, obj);
181 
182  return str;
183 }
184 
185 /// Serializes into a stream.
186 inline
187 std::ostream&
189  std::ostream& stream,
190  const TechnicalNotification& obj)
191 {
192  std::string str;
193 
194  toStr(str, obj);
195 
196  return stream << str;
197 }
198 
199 inline std::string TechnicalNotification::toString() const
200 {
201  return toStr(*this);
202 }
203 /// Serializes the object into FIX presentation.
205 void
206 toFix(
207  std::string& str,
208  const TechnicalNotification& obj);
209 
210 
211 /// Serializes into a string.
213 void
214 toStr(
215  std::string& str,
216  const MarketUpdate& obj);
217 
218 
219 /// Serializes into a string.
220 inline std::string toStr(const MarketUpdate& obj)
221 {
222  std::string str;
223 
224  toStr(str, obj);
225 
226  return str;
227 }
228 
229 /// Serializes into a stream.
230 inline
231 std::ostream&
233  std::ostream& stream,
234  const MarketUpdate& obj)
235 {
236  std::string str;
237 
238  toStr(str, obj);
239 
240  return stream << str;
241 }
242 
243 inline std::string MarketUpdate::toString() const
244 {
245  return toStr(*this);
246 }
247 /// Serializes the object into FIX presentation.
249 void
250 toFix(
251  std::string& str,
252  const MarketUpdate& obj);
253 
254 
255 /// Serializes into a string.
257 void
258 toStr(
259  std::string& str,
260  const MarketUpdate::UpdatesEntry& obj);
261 
262 /// Serializes into a string.
263 inline
264 std::string
266  const MarketUpdate::UpdatesEntry& obj)
267 {
268  std::string str;
269 
270  toStr(str, obj);
271 
272  return str;
273 }
274 
275 /// Serializes into a stream.
276 inline
277 std::ostream&
279  std::ostream& stream,
280  const MarketUpdate::UpdatesEntry& obj)
281 {
282  std::string str;
283 
284  toStr(str, obj);
285 
286  return stream << str;
287 }
288 
289 /// Serializes into a string.
291 void
292 toStr(
293  std::string& str,
294  const OrderUpdate& obj);
295 
296 
297 /// Serializes into a string.
298 inline std::string toStr(const OrderUpdate& obj)
299 {
300  std::string str;
301 
302  toStr(str, obj);
303 
304  return str;
305 }
306 
307 /// Serializes into a stream.
308 inline
309 std::ostream&
311  std::ostream& stream,
312  const OrderUpdate& obj)
313 {
314  std::string str;
315 
316  toStr(str, obj);
317 
318  return stream << str;
319 }
320 
321 inline std::string OrderUpdate::toString() const
322 {
323  return toStr(*this);
324 }
325 /// Serializes the object into FIX presentation.
327 void
328 toFix(
329  std::string& str,
330  const OrderUpdate& obj);
331 
332 
333 /// Serializes into a string.
335 void
336 toStr(
337  std::string& str,
338  const OrderUpdate::OrdersEntry& obj);
339 
340 /// Serializes into a string.
341 inline
342 std::string
344  const OrderUpdate::OrdersEntry& obj)
345 {
346  std::string str;
347 
348  toStr(str, obj);
349 
350  return str;
351 }
352 
353 /// Serializes into a stream.
354 inline
355 std::ostream&
357  std::ostream& stream,
358  const OrderUpdate::OrdersEntry& obj)
359 {
360  std::string str;
361 
362  toStr(str, obj);
363 
364  return stream << str;
365 }
366 
367 /// Serializes into a string.
369 void
370 toStr(
371  std::string& str,
372  const PriceUpdate& obj);
373 
374 
375 /// Serializes into a string.
376 inline std::string toStr(const PriceUpdate& obj)
377 {
378  std::string str;
379 
380  toStr(str, obj);
381 
382  return str;
383 }
384 
385 /// Serializes into a stream.
386 inline
387 std::ostream&
389  std::ostream& stream,
390  const PriceUpdate& obj)
391 {
392  std::string str;
393 
394  toStr(str, obj);
395 
396  return stream << str;
397 }
398 
399 inline std::string PriceUpdate::toString() const
400 {
401  return toStr(*this);
402 }
403 /// Serializes the object into FIX presentation.
405 void
406 toFix(
407  std::string& str,
408  const PriceUpdate& obj);
409 
410 
411 /// Serializes into a string.
413 void
414 toStr(
415  std::string& str,
416  const PriceUpdate::PricesEntry& obj);
417 
418 /// Serializes into a string.
419 inline
420 std::string
422  const PriceUpdate::PricesEntry& obj)
423 {
424  std::string str;
425 
426  toStr(str, obj);
427 
428  return str;
429 }
430 
431 /// Serializes into a stream.
432 inline
433 std::ostream&
435  std::ostream& stream,
436  const PriceUpdate::PricesEntry& obj)
437 {
438  std::string str;
439 
440  toStr(str, obj);
441 
442  return stream << str;
443 }
444 
445 /// Serializes into a string.
447 void
448 toStr(
449  std::string& str,
450  const FullTradeInformation& obj);
451 
452 
453 /// Serializes into a string.
454 inline
455 std::string
457  const FullTradeInformation& obj)
458 {
459  std::string str;
460 
461  toStr(str, obj);
462 
463  return str;
464 }
465 
466 /// Serializes into a stream.
467 inline
468 std::ostream&
470  std::ostream& stream,
471  const FullTradeInformation& obj)
472 {
473  std::string str;
474 
475  toStr(str, obj);
476 
477  return stream << str;
478 }
479 
480 inline std::string FullTradeInformation::toString() const
481 {
482  return toStr(*this);
483 }
484 /// Serializes the object into FIX presentation.
486 void
487 toFix(
488  std::string& str,
489  const FullTradeInformation& obj);
490 
491 
492 /// Serializes into a string.
494 void
495 toStr(
496  std::string& str,
498 
499 /// Serializes into a string.
500 inline
501 std::string
504 {
505  std::string str;
506 
507  toStr(str, obj);
508 
509  return str;
510 }
511 
512 /// Serializes into a stream.
513 inline
514 std::ostream&
516  std::ostream& stream,
518 {
519  std::string str;
520 
521  toStr(str, obj);
522 
523  return stream << str;
524 }
525 
526 /// Serializes into a string.
528 void
529 toStr(
530  std::string& str,
531  const MarketStatusChange& obj);
532 
533 
534 /// Serializes into a string.
535 inline
536 std::string
538  const MarketStatusChange& obj)
539 {
540  std::string str;
541 
542  toStr(str, obj);
543 
544  return str;
545 }
546 
547 /// Serializes into a stream.
548 inline
549 std::ostream&
551  std::ostream& stream,
552  const MarketStatusChange& obj)
553 {
554  std::string str;
555 
556  toStr(str, obj);
557 
558  return stream << str;
559 }
560 
561 inline std::string MarketStatusChange::toString() const
562 {
563  return toStr(*this);
564 }
565 /// Serializes the object into FIX presentation.
567 void
568 toFix(
569  std::string& str,
570  const MarketStatusChange& obj);
571 
572 
573 /// Serializes into a string.
575 void
576 toStr(
577  std::string& str,
579 
580 /// Serializes into a string.
581 inline
582 std::string
585 {
586  std::string str;
587 
588  toStr(str, obj);
589 
590  return str;
591 }
592 
593 /// Serializes into a stream.
594 inline
595 std::ostream&
597  std::ostream& stream,
599 {
600  std::string str;
601 
602  toStr(str, obj);
603 
604  return stream << str;
605 }
606 
607 /// Serializes into a string.
609 void
610 toStr(
611  std::string& str,
612  const Timetable& obj);
613 
614 
615 /// Serializes into a string.
616 inline std::string toStr(const Timetable& obj)
617 {
618  std::string str;
619 
620  toStr(str, obj);
621 
622  return str;
623 }
624 
625 /// Serializes into a stream.
626 inline
627 std::ostream&
629  std::ostream& stream,
630  const Timetable& obj)
631 {
632  std::string str;
633 
634  toStr(str, obj);
635 
636  return stream << str;
637 }
638 
639 inline std::string Timetable::toString() const
640 {
641  return toStr(*this);
642 }
643 /// Serializes the object into FIX presentation.
645 void
646 toFix(
647  std::string& str,
648  const Timetable& obj);
649 
650 
651 /// Serializes into a string.
653 void
654 toStr(
655  std::string& str,
656  const Timetable::TimetablesEntry& obj);
657 
658 /// Serializes into a string.
659 inline
660 std::string
662  const Timetable::TimetablesEntry& obj)
663 {
664  std::string str;
665 
666  toStr(str, obj);
667 
668  return str;
669 }
670 
671 /// Serializes into a stream.
672 inline
673 std::ostream&
675  std::ostream& stream,
676  const Timetable::TimetablesEntry& obj)
677 {
678  std::string str;
679 
680  toStr(str, obj);
681 
682  return stream << str;
683 }
684 
685 /// Serializes into a string.
687 void
688 toStr(
689  std::string& str,
690  const StandingData& obj);
691 
692 
693 /// Serializes into a string.
694 inline std::string toStr(const StandingData& obj)
695 {
696  std::string str;
697 
698  toStr(str, obj);
699 
700  return str;
701 }
702 
703 /// Serializes into a stream.
704 inline
705 std::ostream&
707  std::ostream& stream,
708  const StandingData& obj)
709 {
710  std::string str;
711 
712  toStr(str, obj);
713 
714  return stream << str;
715 }
716 
717 inline std::string StandingData::toString() const
718 {
719  return toStr(*this);
720 }
721 /// Serializes the object into FIX presentation.
723 void
724 toFix(
725  std::string& str,
726  const StandingData& obj);
727 
728 
729 /// Serializes into a string.
731 void
732 toStr(
733  std::string& str,
735 
736 /// Serializes into a string.
737 inline
738 std::string
741 {
742  std::string str;
743 
744  toStr(str, obj);
745 
746  return str;
747 }
748 
749 /// Serializes into a stream.
750 inline
751 std::ostream&
753  std::ostream& stream,
755 {
756  std::string str;
757 
758  toStr(str, obj);
759 
760  return stream << str;
761 }
762 
763 /// Serializes into a string.
765 void
766 toStr(
767  std::string& str,
768  const RealTimeIndex& obj);
769 
770 
771 /// Serializes into a string.
772 inline std::string toStr(const RealTimeIndex& obj)
773 {
774  std::string str;
775 
776  toStr(str, obj);
777 
778  return str;
779 }
780 
781 /// Serializes into a stream.
782 inline
783 std::ostream&
785  std::ostream& stream,
786  const RealTimeIndex& obj)
787 {
788  std::string str;
789 
790  toStr(str, obj);
791 
792  return stream << str;
793 }
794 
795 inline std::string RealTimeIndex::toString() const
796 {
797  return toStr(*this);
798 }
799 /// Serializes the object into FIX presentation.
801 void
802 toFix(
803  std::string& str,
804  const RealTimeIndex& obj);
805 
806 
807 /// Serializes into a string.
809 void
810 toStr(
811  std::string& str,
812  const Statistics& obj);
813 
814 
815 /// Serializes into a string.
816 inline std::string toStr(const Statistics& obj)
817 {
818  std::string str;
819 
820  toStr(str, obj);
821 
822  return str;
823 }
824 
825 /// Serializes into a stream.
826 inline
827 std::ostream&
829  std::ostream& stream,
830  const Statistics& obj)
831 {
832  std::string str;
833 
834  toStr(str, obj);
835 
836  return stream << str;
837 }
838 
839 inline std::string Statistics::toString() const
840 {
841  return toStr(*this);
842 }
843 /// Serializes the object into FIX presentation.
845 void
846 toFix(
847  std::string& str,
848  const Statistics& obj);
849 
850 
851 /// Serializes into a string.
853 void
854 toStr(
855  std::string& str,
856  const Statistics::NewStatsEntry& obj);
857 
858 /// Serializes into a string.
859 inline
860 std::string
862  const Statistics::NewStatsEntry& obj)
863 {
864  std::string str;
865 
866  toStr(str, obj);
867 
868  return str;
869 }
870 
871 /// Serializes into a stream.
872 inline
873 std::ostream&
875  std::ostream& stream,
876  const Statistics::NewStatsEntry& obj)
877 {
878  std::string str;
879 
880  toStr(str, obj);
881 
882  return stream << str;
883 }
884 
885 /// Serializes into a string.
887 void
888 toStr(
889  std::string& str,
890  const IndexSummary& obj);
891 
892 
893 /// Serializes into a string.
894 inline std::string toStr(const IndexSummary& obj)
895 {
896  std::string str;
897 
898  toStr(str, obj);
899 
900  return str;
901 }
902 
903 /// Serializes into a stream.
904 inline
905 std::ostream&
907  std::ostream& stream,
908  const IndexSummary& obj)
909 {
910  std::string str;
911 
912  toStr(str, obj);
913 
914  return stream << str;
915 }
916 
917 inline std::string IndexSummary::toString() const
918 {
919  return toStr(*this);
920 }
921 /// Serializes the object into FIX presentation.
923 void
924 toFix(
925  std::string& str,
926  const IndexSummary& obj);
927 
928 
929 /// Serializes into a string.
931 void
932 toStr(
933  std::string& str,
934  const StrategyStandingData& obj);
935 
936 
937 /// Serializes into a string.
938 inline
939 std::string
941  const StrategyStandingData& obj)
942 {
943  std::string str;
944 
945  toStr(str, obj);
946 
947  return str;
948 }
949 
950 /// Serializes into a stream.
951 inline
952 std::ostream&
954  std::ostream& stream,
955  const StrategyStandingData& obj)
956 {
957  std::string str;
958 
959  toStr(str, obj);
960 
961  return stream << str;
962 }
963 
964 inline std::string StrategyStandingData::toString() const
965 {
966  return toStr(*this);
967 }
968 /// Serializes the object into FIX presentation.
970 void
971 toFix(
972  std::string& str,
973  const StrategyStandingData& obj);
974 
975 
976 /// Serializes into a string.
978 void
979 toStr(
980  std::string& str,
982 
983 /// Serializes into a string.
984 inline
985 std::string
988 {
989  std::string str;
990 
991  toStr(str, obj);
992 
993  return str;
994 }
995 
996 /// Serializes into a stream.
997 inline
998 std::ostream&
1000  std::ostream& stream,
1002 {
1003  std::string str;
1004 
1005  toStr(str, obj);
1006 
1007  return stream << str;
1008 }
1009 
1010 /// Serializes into a string.
1012 void
1013 toStr(
1014  std::string& str,
1015  const ContractStandingData& obj);
1016 
1017 
1018 /// Serializes into a string.
1019 inline
1020 std::string
1022  const ContractStandingData& obj)
1023 {
1024  std::string str;
1025 
1026  toStr(str, obj);
1027 
1028  return str;
1029 }
1030 
1031 /// Serializes into a stream.
1032 inline
1033 std::ostream&
1035  std::ostream& stream,
1036  const ContractStandingData& obj)
1037 {
1038  std::string str;
1039 
1040  toStr(str, obj);
1041 
1042  return stream << str;
1043 }
1044 
1045 inline std::string ContractStandingData::toString() const
1046 {
1047  return toStr(*this);
1048 }
1049 /// Serializes the object into FIX presentation.
1051 void
1052 toFix(
1053  std::string& str,
1054  const ContractStandingData& obj);
1055 
1056 
1057 /// Serializes into a string.
1059 void
1060 toStr(
1061  std::string& str,
1063 
1064 /// Serializes into a string.
1065 inline
1066 std::string
1069 {
1070  std::string str;
1071 
1072  toStr(str, obj);
1073 
1074  return str;
1075 }
1076 
1077 /// Serializes into a stream.
1078 inline
1079 std::ostream&
1081  std::ostream& stream,
1083 {
1084  std::string str;
1085 
1086  toStr(str, obj);
1087 
1088  return stream << str;
1089 }
1090 
1091 /// Serializes into a string.
1093 void
1094 toStr(
1095  std::string& str,
1096  const OutrightStandingData& obj);
1097 
1098 
1099 /// Serializes into a string.
1100 inline
1101 std::string
1103  const OutrightStandingData& obj)
1104 {
1105  std::string str;
1106 
1107  toStr(str, obj);
1108 
1109  return str;
1110 }
1111 
1112 /// Serializes into a stream.
1113 inline
1114 std::ostream&
1116  std::ostream& stream,
1117  const OutrightStandingData& obj)
1118 {
1119  std::string str;
1120 
1121  toStr(str, obj);
1122 
1123  return stream << str;
1124 }
1125 
1126 inline std::string OutrightStandingData::toString() const
1127 {
1128  return toStr(*this);
1129 }
1130 /// Serializes the object into FIX presentation.
1132 void
1133 toFix(
1134  std::string& str,
1135  const OutrightStandingData& obj);
1136 
1137 
1138 /// Serializes into a string.
1140 void
1141 toStr(
1142  std::string& str,
1144 
1145 /// Serializes into a string.
1146 inline
1147 std::string
1150 {
1151  std::string str;
1152 
1153  toStr(str, obj);
1154 
1155  return str;
1156 }
1157 
1158 /// Serializes into a stream.
1159 inline
1160 std::ostream&
1162  std::ostream& stream,
1164 {
1165  std::string str;
1166 
1167  toStr(str, obj);
1168 
1169  return stream << str;
1170 }
1171 
1172 /// Serializes into a string.
1174 void
1175 toStr(
1176  std::string& str,
1177  const LongOrderUpdate& obj);
1178 
1179 
1180 /// Serializes into a string.
1181 inline
1182 std::string
1184  const LongOrderUpdate& obj)
1185 {
1186  std::string str;
1187 
1188  toStr(str, obj);
1189 
1190  return str;
1191 }
1192 
1193 /// Serializes into a stream.
1194 inline
1195 std::ostream&
1197  std::ostream& stream,
1198  const LongOrderUpdate& obj)
1199 {
1200  std::string str;
1201 
1202  toStr(str, obj);
1203 
1204  return stream << str;
1205 }
1206 
1207 inline std::string LongOrderUpdate::toString() const
1208 {
1209  return toStr(*this);
1210 }
1211 /// Serializes the object into FIX presentation.
1213 void
1214 toFix(
1215  std::string& str,
1216  const LongOrderUpdate& obj);
1217 
1218 
1219 /// Serializes into a string.
1221 void
1222 toStr(
1223  std::string& str,
1224  const LongOrderUpdate::OrdersEntry& obj);
1225 
1226 /// Serializes into a string.
1227 inline
1228 std::string
1230  const LongOrderUpdate::OrdersEntry& obj)
1231 {
1232  std::string str;
1233 
1234  toStr(str, obj);
1235 
1236  return str;
1237 }
1238 
1239 /// Serializes into a stream.
1240 inline
1241 std::ostream&
1243  std::ostream& stream,
1244  const LongOrderUpdate::OrdersEntry& obj)
1245 {
1246  std::string str;
1247 
1248  toStr(str, obj);
1249 
1250  return stream << str;
1251 }
1252 
1253 /// Serializes into a string.
1255 void
1256 toStr(
1257  std::string& str,
1258  const LisPackageStructure& obj);
1259 
1260 
1261 /// Serializes into a string.
1262 inline
1263 std::string
1265  const LisPackageStructure& obj)
1266 {
1267  std::string str;
1268 
1269  toStr(str, obj);
1270 
1271  return str;
1272 }
1273 
1274 /// Serializes into a stream.
1275 inline
1276 std::ostream&
1278  std::ostream& stream,
1279  const LisPackageStructure& obj)
1280 {
1281  std::string str;
1282 
1283  toStr(str, obj);
1284 
1285  return stream << str;
1286 }
1287 
1288 inline std::string LisPackageStructure::toString() const
1289 {
1290  return toStr(*this);
1291 }
1292 /// Serializes the object into FIX presentation.
1294 void
1295 toFix(
1296  std::string& str,
1297  const LisPackageStructure& obj);
1298 
1299 
1300 /// Serializes into a string.
1302 void
1303 toStr(
1304  std::string& str,
1306 
1307 /// Serializes into a string.
1308 inline
1309 std::string
1312 {
1313  std::string str;
1314 
1315  toStr(str, obj);
1316 
1317  return str;
1318 }
1319 
1320 /// Serializes into a stream.
1321 inline
1322 std::ostream&
1324  std::ostream& stream,
1326 {
1327  std::string str;
1328 
1329  toStr(str, obj);
1330 
1331  return stream << str;
1332 }
1333 
1334 /// Serializes into a string.
1336 void
1337 toStr(
1338  std::string& str,
1339  const ApaQuotes& obj);
1340 
1341 
1342 /// Serializes into a string.
1343 inline std::string toStr(const ApaQuotes& obj)
1344 {
1345  std::string str;
1346 
1347  toStr(str, obj);
1348 
1349  return str;
1350 }
1351 
1352 /// Serializes into a stream.
1353 inline
1354 std::ostream&
1356  std::ostream& stream,
1357  const ApaQuotes& obj)
1358 {
1359  std::string str;
1360 
1361  toStr(str, obj);
1362 
1363  return stream << str;
1364 }
1365 
1366 inline std::string ApaQuotes::toString() const
1367 {
1368  return toStr(*this);
1369 }
1370 /// Serializes the object into FIX presentation.
1372 void
1373 toFix(
1374  std::string& str,
1375  const ApaQuotes& obj);
1376 
1377 
1378 /// Serializes into a string.
1380 void
1381 toStr(
1382  std::string& str,
1383  const ApaStandingData& obj);
1384 
1385 
1386 /// Serializes into a string.
1387 inline
1388 std::string
1390  const ApaStandingData& obj)
1391 {
1392  std::string str;
1393 
1394  toStr(str, obj);
1395 
1396  return str;
1397 }
1398 
1399 /// Serializes into a stream.
1400 inline
1401 std::ostream&
1403  std::ostream& stream,
1404  const ApaStandingData& obj)
1405 {
1406  std::string str;
1407 
1408  toStr(str, obj);
1409 
1410  return stream << str;
1411 }
1412 
1413 inline std::string ApaStandingData::toString() const
1414 {
1415  return toStr(*this);
1416 }
1417 /// Serializes the object into FIX presentation.
1419 void
1420 toFix(
1421  std::string& str,
1422  const ApaStandingData& obj);
1423 
1424 
1425 /// Serializes into a string.
1427 void
1428 toStr(
1429  std::string& str,
1430  const ApaFullTradeInformation& obj);
1431 
1432 
1433 /// Serializes into a string.
1434 inline
1435 std::string
1437  const ApaFullTradeInformation& obj)
1438 {
1439  std::string str;
1440 
1441  toStr(str, obj);
1442 
1443  return str;
1444 }
1445 
1446 /// Serializes into a stream.
1447 inline
1448 std::ostream&
1450  std::ostream& stream,
1451  const ApaFullTradeInformation& obj)
1452 {
1453  std::string str;
1454 
1455  toStr(str, obj);
1456 
1457  return stream << str;
1458 }
1459 
1460 inline std::string ApaFullTradeInformation::toString() const
1461 {
1462  return toStr(*this);
1463 }
1464 /// Serializes the object into FIX presentation.
1466 void
1467 toFix(
1468  std::string& str,
1469  const ApaFullTradeInformation& obj);
1470 
1471 
1472 /// Serializes into a string.
1474 void
1475 toStr(
1476  std::string& str,
1477  const BfInstrumentReference& obj);
1478 
1479 
1480 /// Serializes into a string.
1481 inline
1482 std::string
1484  const BfInstrumentReference& obj)
1485 {
1486  std::string str;
1487 
1488  toStr(str, obj);
1489 
1490  return str;
1491 }
1492 
1493 /// Serializes into a stream.
1494 inline
1495 std::ostream&
1497  std::ostream& stream,
1498  const BfInstrumentReference& obj)
1499 {
1500  std::string str;
1501 
1502  toStr(str, obj);
1503 
1504  return stream << str;
1505 }
1506 
1507 inline std::string BfInstrumentReference::toString() const
1508 {
1509  return toStr(*this);
1510 }
1511 /// Serializes the object into FIX presentation.
1513 void
1514 toFix(
1515  std::string& str,
1516  const BfInstrumentReference& obj);
1517 
1518 
1519 /// Serializes into a string.
1521 void
1522 toStr(
1523  std::string& str,
1525 
1526 /// Serializes into a string.
1527 inline
1528 std::string
1531 {
1532  std::string str;
1533 
1534  toStr(str, obj);
1535 
1536  return str;
1537 }
1538 
1539 /// Serializes into a stream.
1540 inline
1541 std::ostream&
1543  std::ostream& stream,
1545 {
1546  std::string str;
1547 
1548  toStr(str, obj);
1549 
1550  return stream << str;
1551 }
1552 
1553 /// Serializes into a string.
1555 void
1556 toStr(
1557  std::string& str,
1558  const BfTrade& obj);
1559 
1560 
1561 /// Serializes into a string.
1562 inline std::string toStr(const BfTrade& obj)
1563 {
1564  std::string str;
1565 
1566  toStr(str, obj);
1567 
1568  return str;
1569 }
1570 
1571 /// Serializes into a stream.
1572 inline
1573 std::ostream&
1575  std::ostream& stream,
1576  const BfTrade& obj)
1577 {
1578  std::string str;
1579 
1580  toStr(str, obj);
1581 
1582  return stream << str;
1583 }
1584 
1585 inline std::string BfTrade::toString() const
1586 {
1587  return toStr(*this);
1588 }
1589 /// Serializes the object into FIX presentation.
1591 void
1592 toFix(
1593  std::string& str,
1594  const BfTrade& obj);
1595 
1596 
1597 /// Serializes into a string.
1599 void
1600 toStr(
1601  std::string& str,
1602  const Bfnav& obj);
1603 
1604 
1605 /// Serializes into a string.
1606 inline std::string toStr(const Bfnav& obj)
1607 {
1608  std::string str;
1609 
1610  toStr(str, obj);
1611 
1612  return str;
1613 }
1614 
1615 /// Serializes into a stream.
1616 inline
1617 std::ostream&
1619  std::ostream& stream,
1620  const Bfnav& obj)
1621 {
1622  std::string str;
1623 
1624  toStr(str, obj);
1625 
1626  return stream << str;
1627 }
1628 
1629 inline std::string Bfnav::toString() const
1630 {
1631  return toStr(*this);
1632 }
1633 /// Serializes the object into FIX presentation.
1635 void
1636 toFix(
1637  std::string& str,
1638  const Bfnav& obj);
1639 
1640 
1641 /// Serializes into a string.
1643 void
1644 toStr(
1645  std::string& str,
1646  const BfInstrumentSuspension& obj);
1647 
1648 
1649 /// Serializes into a string.
1650 inline
1651 std::string
1653  const BfInstrumentSuspension& obj)
1654 {
1655  std::string str;
1656 
1657  toStr(str, obj);
1658 
1659  return str;
1660 }
1661 
1662 /// Serializes into a stream.
1663 inline
1664 std::ostream&
1666  std::ostream& stream,
1667  const BfInstrumentSuspension& obj)
1668 {
1669  std::string str;
1670 
1671  toStr(str, obj);
1672 
1673  return stream << str;
1674 }
1675 
1676 inline std::string BfInstrumentSuspension::toString() const
1677 {
1678  return toStr(*this);
1679 }
1680 /// Serializes the object into FIX presentation.
1682 void
1683 toFix(
1684  std::string& str,
1685  const BfInstrumentSuspension& obj);
1686 
1687 
1688 /// Serializes into a string.
1690 void
1691 toStr(
1692  std::string& str,
1693  const StartOfSnapshot& obj);
1694 
1695 
1696 /// Serializes into a string.
1697 inline
1698 std::string
1700  const StartOfSnapshot& obj)
1701 {
1702  std::string str;
1703 
1704  toStr(str, obj);
1705 
1706  return str;
1707 }
1708 
1709 /// Serializes into a stream.
1710 inline
1711 std::ostream&
1713  std::ostream& stream,
1714  const StartOfSnapshot& obj)
1715 {
1716  std::string str;
1717 
1718  toStr(str, obj);
1719 
1720  return stream << str;
1721 }
1722 
1723 inline std::string StartOfSnapshot::toString() const
1724 {
1725  return toStr(*this);
1726 }
1727 /// Serializes the object into FIX presentation.
1729 void
1730 toFix(
1731  std::string& str,
1732  const StartOfSnapshot& obj);
1733 
1734 
1735 /// Serializes into a string.
1737 void
1738 toStr(
1739  std::string& str,
1740  const EndOfSnapshot& obj);
1741 
1742 
1743 /// Serializes into a string.
1744 inline std::string toStr(const EndOfSnapshot& obj)
1745 {
1746  std::string str;
1747 
1748  toStr(str, obj);
1749 
1750  return str;
1751 }
1752 
1753 /// Serializes into a stream.
1754 inline
1755 std::ostream&
1757  std::ostream& stream,
1758  const EndOfSnapshot& obj)
1759 {
1760  std::string str;
1761 
1762  toStr(str, obj);
1763 
1764  return stream << str;
1765 }
1766 
1767 inline std::string EndOfSnapshot::toString() const
1768 {
1769  return toStr(*this);
1770 }
1771 /// Serializes the object into FIX presentation.
1773 void
1774 toFix(
1775  std::string& str,
1776  const EndOfSnapshot& obj);
1777 
1778 
std::string toStr(const EndOfSnapshot &obj)
Serializes into a string.
#define ONIXS_EURONEXT_OPTIQMDG_MESSAGING_NAMESPACE_END
Definition: ABI.h:151
Message identifiers and length of message root.
Definition: Messages.h:4479
Message identifiers and length of message root.
Definition: Messages.h:933
Message identifiers and length of message root.
Definition: Messages.h:171
Message identifiers and length of message root.
Definition: Messages.h:7906
Message identifiers and length of message root.
Definition: Messages.h:5043
Message identifiers and length of message root.
Definition: Messages.h:447
Message identifiers and length of message root.
Definition: Messages.h:6628
#define ONIXS_EURONEXT_OPTIQMDG_EXPORTED
Definition: ABI.h:37
Message identifiers and length of message root.
Definition: Messages.h:309
Message identifiers and length of message root.
Definition: Messages.h:9981
std::ostream & operator<<(std::ostream &stream, const EndOfSnapshot &obj)
Serializes into a stream.
Message identifiers and length of message root.
Definition: Messages.h:6998
#define ONIXS_EURONEXT_OPTIQMDG_MESSAGING_NAMESPACE_BEGIN
Definition: ABI.h:146
Message identifiers and length of message root.
Definition: Messages.h:33
Message identifiers and length of message root.
Definition: Messages.h:9453
Message identifiers and length of message root.
Definition: Messages.h:1280
Message identifiers and length of message root.
Definition: Messages.h:9135
Message identifiers and length of message root.
Definition: Messages.h:2491
Message identifiers and length of message root.
Definition: Messages.h:626
Message identifiers and length of message root.
Definition: Messages.h:9843
Message identifiers and length of message root.
Definition: Messages.h:7575
Message identifiers and length of message root.
Definition: Messages.h:6188
Message identifiers and length of message root.
Definition: Messages.h:4251
Message identifiers and length of message root.
Definition: Messages.h:5406
Message identifiers and length of message root.
Definition: Messages.h:3246
Message identifiers and length of message root.
Definition: Messages.h:1611
Message identifiers and length of message root.
Definition: Messages.h:2904
Message identifiers and length of message root.
Definition: Messages.h:4745
Message identifiers and length of message root.
Definition: Messages.h:7329
Message identifiers and length of message root.
Definition: Messages.h:9673
void toFix(std::string &str, const EndOfSnapshot &obj)
Serializes the object into FIX presentation.
Message identifiers and length of message root.
Definition: Messages.h:8493