FastRTPS  Version 2.11.2
FastRTPS
TypeIdentifierTypes.h
1 // Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
22 #ifndef _TYPEIDENTIFIERTYPES_H_
23 #define _TYPEIDENTIFIERTYPES_H_
24 
25 #include <fastrtps/types/TypesBase.h>
26 #include <fastrtps/types/TypeObjectHashId.h>
27 #include <stdint.h>
28 #include <array>
29 #include <string>
30 #include <vector>
31 
32 namespace eprosima {
33 namespace fastcdr {
34 class Cdr;
35 }
36 }
37 
38 namespace eprosima {
39 
40 namespace fastdds {
41 namespace dds {
43 }
44 }
45 
46 namespace fastrtps {
47 namespace types {
48 
49 
50 // Forward declaration
51 class TypeIdentifier;
52 class StringLTypeDefn;
53 
57 class StringSTypeDefn final
58 {
59 public:
60 
64  RTPS_DllAPI StringSTypeDefn();
65 
69  RTPS_DllAPI ~StringSTypeDefn();
70 
75  RTPS_DllAPI StringSTypeDefn(
76  const StringSTypeDefn& x);
77 
82  RTPS_DllAPI StringSTypeDefn(
83  StringSTypeDefn&& x);
84 
89  RTPS_DllAPI StringSTypeDefn& operator=(
90  const StringSTypeDefn& x);
91 
96  RTPS_DllAPI StringSTypeDefn& operator=(
97  StringSTypeDefn&& x);
98 
103  RTPS_DllAPI inline void bound(
104  SBound _bound)
105  {
106  m_bound = _bound;
107  }
108 
113  RTPS_DllAPI inline SBound bound() const
114  {
115  return m_bound;
116  }
117 
122  RTPS_DllAPI inline SBound& bound()
123  {
124  return m_bound;
125  }
126 
133  RTPS_DllAPI static size_t getCdrSerializedSize(
134  const StringSTypeDefn& data,
135  size_t current_alignment = 0);
136 
137 
142  RTPS_DllAPI void serialize(
143  eprosima::fastcdr::Cdr& cdr) const;
144 
149  RTPS_DllAPI void deserialize(
150  eprosima::fastcdr::Cdr& cdr);
151 
152  RTPS_DllAPI bool consistent(
153  const StringSTypeDefn& x,
154  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
155 
156  RTPS_DllAPI bool consistent(
157  const StringLTypeDefn& x,
158  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
159 
160 private:
161 
162  SBound m_bound;
163 };
167 class StringLTypeDefn final
168 {
169 public:
170 
174  RTPS_DllAPI StringLTypeDefn();
175 
179  RTPS_DllAPI ~StringLTypeDefn();
180 
185  RTPS_DllAPI StringLTypeDefn(
186  const StringLTypeDefn& x);
187 
192  RTPS_DllAPI StringLTypeDefn(
193  StringLTypeDefn&& x);
194 
199  RTPS_DllAPI StringLTypeDefn& operator=(
200  const StringLTypeDefn& x);
201 
206  RTPS_DllAPI StringLTypeDefn& operator=(
207  StringLTypeDefn&& x);
208 
213  RTPS_DllAPI inline void bound(
214  LBound _bound)
215  {
216  m_bound = _bound;
217  }
218 
223  RTPS_DllAPI inline LBound bound() const
224  {
225  return m_bound;
226  }
227 
232  RTPS_DllAPI inline LBound& bound()
233  {
234  return m_bound;
235  }
236 
243  RTPS_DllAPI static size_t getCdrSerializedSize(
244  const StringLTypeDefn& data,
245  size_t current_alignment = 0);
246 
247 
252  RTPS_DllAPI void serialize(
253  eprosima::fastcdr::Cdr& cdr) const;
254 
259  RTPS_DllAPI void deserialize(
260  eprosima::fastcdr::Cdr& cdr);
261 
262  RTPS_DllAPI bool consistent(
263  const StringLTypeDefn& x,
264  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
265 
266  RTPS_DllAPI bool consistent(
267  const StringSTypeDefn& x,
268  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
269 
270 private:
271 
272  LBound m_bound;
273 };
278 {
279 public:
280 
284  RTPS_DllAPI PlainCollectionHeader();
285 
289  RTPS_DllAPI ~PlainCollectionHeader();
290 
295  RTPS_DllAPI PlainCollectionHeader(
296  const PlainCollectionHeader& x);
297 
302  RTPS_DllAPI PlainCollectionHeader(
304 
309  RTPS_DllAPI PlainCollectionHeader& operator=(
310  const PlainCollectionHeader& x);
311 
316  RTPS_DllAPI PlainCollectionHeader& operator=(
318 
323  RTPS_DllAPI inline void equiv_kind(
324  EquivalenceKind _equiv_kind)
325  {
326  m_equiv_kind = _equiv_kind;
327  }
328 
333  RTPS_DllAPI inline EquivalenceKind equiv_kind() const
334  {
335  return m_equiv_kind;
336  }
337 
342  RTPS_DllAPI inline EquivalenceKind& equiv_kind()
343  {
344  return m_equiv_kind;
345  }
350  RTPS_DllAPI inline void element_flags(
351  CollectionElementFlag _element_flags)
352  {
353  m_element_flags = _element_flags;
354  }
355 
360  RTPS_DllAPI inline CollectionElementFlag element_flags() const
361  {
362  return m_element_flags;
363  }
364 
369  RTPS_DllAPI inline CollectionElementFlag& element_flags()
370  {
371  return m_element_flags;
372  }
373 
380  RTPS_DllAPI static size_t getCdrSerializedSize(
381  const PlainCollectionHeader& data,
382  size_t current_alignment = 0);
383 
384 
389  RTPS_DllAPI void serialize(
390  eprosima::fastcdr::Cdr& cdr) const;
391 
396  RTPS_DllAPI void deserialize(
397  eprosima::fastcdr::Cdr& cdr);
398 
399  RTPS_DllAPI bool consistent(
400  const PlainCollectionHeader& x,
401  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
402 
403 private:
404 
405  EquivalenceKind m_equiv_kind;
406  CollectionElementFlag m_element_flags;
407 };
412 {
413 public:
414 
418  RTPS_DllAPI PlainSequenceSElemDefn();
419 
423  RTPS_DllAPI ~PlainSequenceSElemDefn();
424 
429  RTPS_DllAPI PlainSequenceSElemDefn(
430  const PlainSequenceSElemDefn& x);
431 
436  RTPS_DllAPI PlainSequenceSElemDefn(
438 
443  RTPS_DllAPI PlainSequenceSElemDefn& operator=(
444  const PlainSequenceSElemDefn& x);
445 
450  RTPS_DllAPI PlainSequenceSElemDefn& operator=(
452 
457  RTPS_DllAPI inline void header(
458  const PlainCollectionHeader& _header)
459  {
460  m_header = _header;
461  }
462 
467  RTPS_DllAPI inline void header(
468  PlainCollectionHeader&& _header)
469  {
470  m_header = std::move(_header);
471  }
472 
477  RTPS_DllAPI inline const PlainCollectionHeader& header() const
478  {
479  return m_header;
480  }
481 
486  RTPS_DllAPI inline PlainCollectionHeader& header()
487  {
488  return m_header;
489  }
494  RTPS_DllAPI inline void bound(
495  SBound _bound)
496  {
497  m_bound = _bound;
498  }
499 
504  RTPS_DllAPI inline SBound bound() const
505  {
506  return m_bound;
507  }
508 
513  RTPS_DllAPI inline SBound& bound()
514  {
515  return m_bound;
516  }
521  RTPS_DllAPI void element_identifier(
522  const TypeIdentifier* _element_identifier);
523 
528  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
529  {
530  return m_element_identifier;
531  }
532 
537  RTPS_DllAPI inline TypeIdentifier* element_identifier()
538  {
539  return m_element_identifier;
540  }
541 
548  RTPS_DllAPI static size_t getCdrSerializedSize(
549  const PlainSequenceSElemDefn& data,
550  size_t current_alignment = 0);
551 
552 
557  RTPS_DllAPI void serialize(
558  eprosima::fastcdr::Cdr& cdr) const;
559 
564  RTPS_DllAPI void deserialize(
565  eprosima::fastcdr::Cdr& cdr);
566 
567  RTPS_DllAPI bool consistent(
568  const PlainSequenceSElemDefn& x,
569  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
570 
571 private:
572 
573  PlainCollectionHeader m_header;
574  SBound m_bound;
575  TypeIdentifier* m_element_identifier;
576 };
581 {
582 public:
583 
587  RTPS_DllAPI PlainSequenceLElemDefn();
588 
592  RTPS_DllAPI ~PlainSequenceLElemDefn();
593 
598  RTPS_DllAPI PlainSequenceLElemDefn(
599  const PlainSequenceLElemDefn& x);
600 
605  RTPS_DllAPI PlainSequenceLElemDefn(
607 
612  RTPS_DllAPI PlainSequenceLElemDefn& operator=(
613  const PlainSequenceLElemDefn& x);
614 
619  RTPS_DllAPI PlainSequenceLElemDefn& operator=(
621 
626  RTPS_DllAPI inline void header(
627  const PlainCollectionHeader& _header)
628  {
629  m_header = _header;
630  }
631 
636  RTPS_DllAPI inline void header(
637  PlainCollectionHeader&& _header)
638  {
639  m_header = std::move(_header);
640  }
641 
646  RTPS_DllAPI inline const PlainCollectionHeader& header() const
647  {
648  return m_header;
649  }
650 
655  RTPS_DllAPI inline PlainCollectionHeader& header()
656  {
657  return m_header;
658  }
663  RTPS_DllAPI inline void bound(
664  LBound _bound)
665  {
666  m_bound = _bound;
667  }
668 
673  RTPS_DllAPI inline LBound bound() const
674  {
675  return m_bound;
676  }
677 
682  RTPS_DllAPI inline LBound& bound()
683  {
684  return m_bound;
685  }
690  RTPS_DllAPI void element_identifier(
691  const TypeIdentifier* _element_identifier);
692 
697  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
698  {
699  return m_element_identifier;
700  }
701 
706  RTPS_DllAPI inline TypeIdentifier* element_identifier()
707  {
708  return m_element_identifier;
709  }
710 
717  RTPS_DllAPI static size_t getCdrSerializedSize(
718  const PlainSequenceLElemDefn& data,
719  size_t current_alignment = 0);
720 
721 
726  RTPS_DllAPI void serialize(
727  eprosima::fastcdr::Cdr& cdr) const;
728 
733  RTPS_DllAPI void deserialize(
734  eprosima::fastcdr::Cdr& cdr);
735 
736  RTPS_DllAPI bool consistent(
737  const PlainSequenceLElemDefn& x,
738  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
739 
740 private:
741 
742  PlainCollectionHeader m_header;
743  LBound m_bound;
744  TypeIdentifier* m_element_identifier;
745 };
750 {
751 public:
752 
756  RTPS_DllAPI PlainArraySElemDefn();
757 
761  RTPS_DllAPI ~PlainArraySElemDefn();
762 
767  RTPS_DllAPI PlainArraySElemDefn(
768  const PlainArraySElemDefn& x);
769 
774  RTPS_DllAPI PlainArraySElemDefn(
775  PlainArraySElemDefn&& x);
776 
781  RTPS_DllAPI PlainArraySElemDefn& operator=(
782  const PlainArraySElemDefn& x);
783 
788  RTPS_DllAPI PlainArraySElemDefn& operator=(
789  PlainArraySElemDefn&& x);
790 
795  RTPS_DllAPI inline void header(
796  const PlainCollectionHeader& _header)
797  {
798  m_header = _header;
799  }
800 
805  RTPS_DllAPI inline void header(
806  PlainCollectionHeader&& _header)
807  {
808  m_header = std::move(_header);
809  }
810 
815  RTPS_DllAPI inline const PlainCollectionHeader& header() const
816  {
817  return m_header;
818  }
819 
824  RTPS_DllAPI inline PlainCollectionHeader& header()
825  {
826  return m_header;
827  }
832  RTPS_DllAPI inline void array_bound_seq(
833  const SBoundSeq& _array_bound_seq)
834  {
835  m_array_bound_seq = _array_bound_seq;
836  }
837 
842  RTPS_DllAPI inline void array_bound_seq(
843  SBoundSeq&& _array_bound_seq)
844  {
845  m_array_bound_seq = std::move(_array_bound_seq);
846  }
847 
852  RTPS_DllAPI inline const SBoundSeq& array_bound_seq() const
853  {
854  return m_array_bound_seq;
855  }
856 
861  RTPS_DllAPI inline SBoundSeq& array_bound_seq()
862  {
863  return m_array_bound_seq;
864  }
869  RTPS_DllAPI void element_identifier(
870  const TypeIdentifier* _element_identifier);
871 
876  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
877  {
878  return m_element_identifier;
879  }
880 
885  RTPS_DllAPI inline TypeIdentifier* element_identifier()
886  {
887  return m_element_identifier;
888  }
889 
896  RTPS_DllAPI static size_t getCdrSerializedSize(
897  const PlainArraySElemDefn& data,
898  size_t current_alignment = 0);
899 
900 
905  RTPS_DllAPI void serialize(
906  eprosima::fastcdr::Cdr& cdr) const;
907 
912  RTPS_DllAPI void deserialize(
913  eprosima::fastcdr::Cdr& cdr);
914 
915  RTPS_DllAPI bool consistent(
916  const PlainArraySElemDefn& x,
917  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
918 
919 private:
920 
921  PlainCollectionHeader m_header;
922  SBoundSeq m_array_bound_seq;
923  TypeIdentifier* m_element_identifier;
924 };
929 {
930 public:
931 
935  RTPS_DllAPI PlainArrayLElemDefn();
936 
940  RTPS_DllAPI ~PlainArrayLElemDefn();
941 
946  RTPS_DllAPI PlainArrayLElemDefn(
947  const PlainArrayLElemDefn& x);
948 
953  RTPS_DllAPI PlainArrayLElemDefn(
954  PlainArrayLElemDefn&& x);
955 
960  RTPS_DllAPI PlainArrayLElemDefn& operator=(
961  const PlainArrayLElemDefn& x);
962 
967  RTPS_DllAPI PlainArrayLElemDefn& operator=(
968  PlainArrayLElemDefn&& x);
969 
974  RTPS_DllAPI inline void header(
975  const PlainCollectionHeader& _header)
976  {
977  m_header = _header;
978  }
979 
984  RTPS_DllAPI inline void header(
985  PlainCollectionHeader&& _header)
986  {
987  m_header = std::move(_header);
988  }
989 
994  RTPS_DllAPI inline const PlainCollectionHeader& header() const
995  {
996  return m_header;
997  }
998 
1003  RTPS_DllAPI inline PlainCollectionHeader& header()
1004  {
1005  return m_header;
1006  }
1011  RTPS_DllAPI inline void array_bound_seq(
1012  const LBoundSeq& _array_bound_seq)
1013  {
1014  m_array_bound_seq = _array_bound_seq;
1015  }
1016 
1021  RTPS_DllAPI inline void array_bound_seq(
1022  LBoundSeq&& _array_bound_seq)
1023  {
1024  m_array_bound_seq = std::move(_array_bound_seq);
1025  }
1026 
1031  RTPS_DllAPI inline const LBoundSeq& array_bound_seq() const
1032  {
1033  return m_array_bound_seq;
1034  }
1035 
1040  RTPS_DllAPI inline LBoundSeq& array_bound_seq()
1041  {
1042  return m_array_bound_seq;
1043  }
1048  RTPS_DllAPI void element_identifier(
1049  const TypeIdentifier* _element_identifier);
1050 
1055  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
1056  {
1057  return m_element_identifier;
1058  }
1059 
1064  RTPS_DllAPI inline TypeIdentifier* element_identifier()
1065  {
1066  return m_element_identifier;
1067  }
1068 
1075  RTPS_DllAPI static size_t getCdrSerializedSize(
1076  const PlainArrayLElemDefn& data,
1077  size_t current_alignment = 0);
1078 
1079 
1084  RTPS_DllAPI void serialize(
1085  eprosima::fastcdr::Cdr& cdr) const;
1086 
1091  RTPS_DllAPI void deserialize(
1092  eprosima::fastcdr::Cdr& cdr);
1093 
1094  RTPS_DllAPI bool consistent(
1095  const PlainArrayLElemDefn& x,
1096  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1097 
1098 private:
1099 
1100  PlainCollectionHeader m_header;
1101  LBoundSeq m_array_bound_seq;
1102  TypeIdentifier* m_element_identifier;
1103 };
1108 {
1109 public:
1110 
1114  RTPS_DllAPI PlainMapSTypeDefn();
1115 
1119  RTPS_DllAPI ~PlainMapSTypeDefn();
1120 
1125  RTPS_DllAPI PlainMapSTypeDefn(
1126  const PlainMapSTypeDefn& x);
1127 
1132  RTPS_DllAPI PlainMapSTypeDefn(
1133  PlainMapSTypeDefn&& x);
1134 
1139  RTPS_DllAPI PlainMapSTypeDefn& operator=(
1140  const PlainMapSTypeDefn& x);
1141 
1146  RTPS_DllAPI PlainMapSTypeDefn& operator=(
1147  PlainMapSTypeDefn&& x);
1148 
1153  RTPS_DllAPI inline void header(
1154  const PlainCollectionHeader& _header)
1155  {
1156  m_header = _header;
1157  }
1158 
1163  RTPS_DllAPI inline void header(
1164  PlainCollectionHeader&& _header)
1165  {
1166  m_header = std::move(_header);
1167  }
1168 
1173  RTPS_DllAPI inline const PlainCollectionHeader& header() const
1174  {
1175  return m_header;
1176  }
1177 
1182  RTPS_DllAPI inline PlainCollectionHeader& header()
1183  {
1184  return m_header;
1185  }
1190  RTPS_DllAPI inline void bound(
1191  SBound _bound)
1192  {
1193  m_bound = _bound;
1194  }
1195 
1200  RTPS_DllAPI inline SBound bound() const
1201  {
1202  return m_bound;
1203  }
1204 
1209  RTPS_DllAPI inline SBound& bound()
1210  {
1211  return m_bound;
1212  }
1217  RTPS_DllAPI void element_identifier(
1218  const TypeIdentifier* _element_identifier);
1219 
1224  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
1225  {
1226  return m_element_identifier;
1227  }
1228 
1233  RTPS_DllAPI inline TypeIdentifier* element_identifier()
1234  {
1235  return m_element_identifier;
1236  }
1241  RTPS_DllAPI inline void key_flags(
1242  CollectionElementFlag _key_flags)
1243  {
1244  m_key_flags = _key_flags;
1245  }
1246 
1251  RTPS_DllAPI inline CollectionElementFlag key_flags() const
1252  {
1253  return m_key_flags;
1254  }
1255 
1260  RTPS_DllAPI inline CollectionElementFlag& key_flags()
1261  {
1262  return m_key_flags;
1263  }
1268  RTPS_DllAPI void key_identifier(
1269  const TypeIdentifier* _key_identifier);
1270 
1275  RTPS_DllAPI inline const TypeIdentifier* key_identifier() const
1276  {
1277  return m_key_identifier;
1278  }
1279 
1284  RTPS_DllAPI inline TypeIdentifier* key_identifier()
1285  {
1286  return m_key_identifier;
1287  }
1288 
1295  RTPS_DllAPI static size_t getCdrSerializedSize(
1296  const PlainMapSTypeDefn& data,
1297  size_t current_alignment = 0);
1298 
1299 
1304  RTPS_DllAPI void serialize(
1305  eprosima::fastcdr::Cdr& cdr) const;
1306 
1311  RTPS_DllAPI void deserialize(
1312  eprosima::fastcdr::Cdr& cdr);
1313 
1314  RTPS_DllAPI bool consistent(
1315  const PlainMapSTypeDefn& x,
1316  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1317 
1318 private:
1319 
1320  PlainCollectionHeader m_header;
1321  SBound m_bound;
1322  TypeIdentifier* m_element_identifier;
1323  CollectionElementFlag m_key_flags;
1324  TypeIdentifier* m_key_identifier;
1325 };
1330 {
1331 public:
1332 
1336  RTPS_DllAPI PlainMapLTypeDefn();
1337 
1341  RTPS_DllAPI ~PlainMapLTypeDefn();
1342 
1347  RTPS_DllAPI PlainMapLTypeDefn(
1348  const PlainMapLTypeDefn& x);
1349 
1354  RTPS_DllAPI PlainMapLTypeDefn(
1355  PlainMapLTypeDefn&& x);
1356 
1361  RTPS_DllAPI PlainMapLTypeDefn& operator=(
1362  const PlainMapLTypeDefn& x);
1363 
1368  RTPS_DllAPI PlainMapLTypeDefn& operator=(
1369  PlainMapLTypeDefn&& x);
1370 
1375  RTPS_DllAPI inline void header(
1376  const PlainCollectionHeader& _header)
1377  {
1378  m_header = _header;
1379  }
1380 
1385  RTPS_DllAPI inline void header(
1386  PlainCollectionHeader&& _header)
1387  {
1388  m_header = std::move(_header);
1389  }
1390 
1395  RTPS_DllAPI inline const PlainCollectionHeader& header() const
1396  {
1397  return m_header;
1398  }
1399 
1404  RTPS_DllAPI inline PlainCollectionHeader& header()
1405  {
1406  return m_header;
1407  }
1412  RTPS_DllAPI inline void bound(
1413  LBound _bound)
1414  {
1415  m_bound = _bound;
1416  }
1417 
1422  RTPS_DllAPI inline LBound bound() const
1423  {
1424  return m_bound;
1425  }
1426 
1431  RTPS_DllAPI inline LBound& bound()
1432  {
1433  return m_bound;
1434  }
1439  RTPS_DllAPI void element_identifier(
1440  const TypeIdentifier* _element_identifier);
1441 
1446  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
1447  {
1448  return m_element_identifier;
1449  }
1450 
1455  RTPS_DllAPI inline TypeIdentifier* element_identifier()
1456  {
1457  return m_element_identifier;
1458  }
1463  RTPS_DllAPI inline void key_flags(
1464  CollectionElementFlag _key_flags)
1465  {
1466  m_key_flags = _key_flags;
1467  }
1468 
1473  RTPS_DllAPI inline CollectionElementFlag key_flags() const
1474  {
1475  return m_key_flags;
1476  }
1477 
1482  RTPS_DllAPI inline CollectionElementFlag& key_flags()
1483  {
1484  return m_key_flags;
1485  }
1490  RTPS_DllAPI void key_identifier(
1491  const TypeIdentifier* _key_identifier);
1492 
1497  RTPS_DllAPI inline const TypeIdentifier* key_identifier() const
1498  {
1499  return m_key_identifier;
1500  }
1501 
1506  RTPS_DllAPI inline TypeIdentifier* key_identifier()
1507  {
1508  return m_key_identifier;
1509  }
1510 
1517  RTPS_DllAPI static size_t getCdrSerializedSize(
1518  const PlainMapLTypeDefn& data,
1519  size_t current_alignment = 0);
1520 
1521 
1526  RTPS_DllAPI void serialize(
1527  eprosima::fastcdr::Cdr& cdr) const;
1528 
1533  RTPS_DllAPI void deserialize(
1534  eprosima::fastcdr::Cdr& cdr);
1535 
1536  RTPS_DllAPI bool consistent(
1537  const PlainMapLTypeDefn& x,
1538  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1539 
1540 private:
1541 
1542  PlainCollectionHeader m_header;
1543  LBound m_bound;
1544  TypeIdentifier* m_element_identifier;
1545  CollectionElementFlag m_key_flags;
1546  TypeIdentifier* m_key_identifier;
1547 };
1552 {
1553 public:
1554 
1558  RTPS_DllAPI StronglyConnectedComponentId();
1559 
1563  RTPS_DllAPI ~StronglyConnectedComponentId();
1564 
1569  RTPS_DllAPI StronglyConnectedComponentId(
1570  const StronglyConnectedComponentId& x);
1571 
1576  RTPS_DllAPI StronglyConnectedComponentId(
1578 
1584  const StronglyConnectedComponentId& x);
1585 
1592 
1597  RTPS_DllAPI inline void sc_component_id(
1598  const TypeObjectHashId& _sc_component_id)
1599  {
1600  m_sc_component_id = _sc_component_id;
1601  }
1602 
1607  RTPS_DllAPI inline void sc_component_id(
1608  TypeObjectHashId&& _sc_component_id)
1609  {
1610  m_sc_component_id = std::move(_sc_component_id);
1611  }
1612 
1617  RTPS_DllAPI inline const TypeObjectHashId& sc_component_id() const
1618  {
1619  return m_sc_component_id;
1620  }
1621 
1626  RTPS_DllAPI inline TypeObjectHashId& sc_component_id()
1627  {
1628  return m_sc_component_id;
1629  }
1634  RTPS_DllAPI inline void scc_length(
1635  int32_t _scc_length)
1636  {
1637  m_scc_length = _scc_length;
1638  }
1639 
1644  RTPS_DllAPI inline int32_t scc_length() const
1645  {
1646  return m_scc_length;
1647  }
1648 
1653  RTPS_DllAPI inline int32_t& scc_length()
1654  {
1655  return m_scc_length;
1656  }
1661  RTPS_DllAPI inline void scc_index(
1662  int32_t _scc_index)
1663  {
1664  m_scc_index = _scc_index;
1665  }
1666 
1671  RTPS_DllAPI inline int32_t scc_index() const
1672  {
1673  return m_scc_index;
1674  }
1675 
1680  RTPS_DllAPI inline int32_t& scc_index()
1681  {
1682  return m_scc_index;
1683  }
1684 
1691  RTPS_DllAPI static size_t getCdrSerializedSize(
1692  const StronglyConnectedComponentId& data,
1693  size_t current_alignment = 0);
1694 
1695 
1700  RTPS_DllAPI void serialize(
1701  eprosima::fastcdr::Cdr& cdr) const;
1702 
1707  RTPS_DllAPI void deserialize(
1708  eprosima::fastcdr::Cdr& cdr);
1709 
1710  RTPS_DllAPI bool consistent(
1712  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1713 
1714 private:
1715 
1716  TypeObjectHashId m_sc_component_id;
1717  int32_t m_scc_length;
1718  int32_t m_scc_index;
1719 };
1723 class ExtendedTypeDefn final
1724 {
1725 public:
1726 
1730  RTPS_DllAPI ExtendedTypeDefn();
1731 
1735  RTPS_DllAPI virtual ~ExtendedTypeDefn();
1736 
1741  RTPS_DllAPI ExtendedTypeDefn(
1742  const ExtendedTypeDefn& x);
1743 
1748  RTPS_DllAPI ExtendedTypeDefn(
1749  ExtendedTypeDefn&& x);
1750 
1755  RTPS_DllAPI virtual ExtendedTypeDefn& operator=(
1756  const ExtendedTypeDefn& x);
1757 
1762  RTPS_DllAPI virtual ExtendedTypeDefn& operator=(
1763  ExtendedTypeDefn&& x);
1764 
1771  RTPS_DllAPI static size_t getCdrSerializedSize(
1772  const ExtendedTypeDefn& data,
1773  size_t current_alignment = 0);
1774 
1775 
1780  RTPS_DllAPI virtual void serialize(
1781  eprosima::fastcdr::Cdr& cdr) const;
1782 
1787  RTPS_DllAPI virtual void deserialize(
1788  eprosima::fastcdr::Cdr& cdr);
1789 
1790  RTPS_DllAPI bool consistent(
1791  const ExtendedTypeDefn& x,
1792  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1793 
1794 
1795 };
1796 
1797 } // namespace types
1798 } // namespace fastrtps
1799 } // namespace eprosima
1800 
1801 #endif // _TYPEIDENTIFIERTYPES_H_
eprosima::fastrtps::types::PlainSequenceLElemDefn::operator=
RTPS_DllAPI PlainSequenceLElemDefn & operator=(const PlainSequenceLElemDefn &x)
Copy assignment.
eprosima::fastrtps::types::StronglyConnectedComponentId::scc_length
RTPS_DllAPI void scc_length(int32_t _scc_length)
This function sets a value in member scc_length.
Definition: TypeIdentifierTypes.h:1634
eprosima::fastrtps::types::PlainMapLTypeDefn::deserialize
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eprosima::fastrtps::types::PlainMapLTypeDefn::getCdrSerializedSize
static RTPS_DllAPI size_t getCdrSerializedSize(const PlainMapLTypeDefn &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eprosima::fastrtps::types::StronglyConnectedComponentId::scc_length
RTPS_DllAPI int32_t & scc_length()
This function returns a reference to member scc_length.
Definition: TypeIdentifierTypes.h:1653
eprosima::fastrtps::types::ExtendedTypeDefn::~ExtendedTypeDefn
virtual RTPS_DllAPI ~ExtendedTypeDefn()
Default destructor.
eprosima::fastrtps::types::PlainArraySElemDefn::getCdrSerializedSize
static RTPS_DllAPI size_t getCdrSerializedSize(const PlainArraySElemDefn &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eprosima::fastrtps::types::PlainMapLTypeDefn::~PlainMapLTypeDefn
RTPS_DllAPI ~PlainMapLTypeDefn()
Default destructor.
eprosima::fastrtps::types::ExtendedTypeDefn
This class represents the structure ExtendedTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:1723
eprosima::fastrtps::types::StringSTypeDefn::getCdrSerializedSize
static RTPS_DllAPI size_t getCdrSerializedSize(const StringSTypeDefn &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eprosima::fastrtps::types::PlainArraySElemDefn::serialize
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eprosima::fastrtps::types::PlainSequenceSElemDefn::header
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:467
eprosima::fastrtps::types::StringSTypeDefn::bound
RTPS_DllAPI SBound & bound()
This function returns a reference to member bound.
Definition: TypeIdentifierTypes.h:122
eprosima::fastrtps::types::PlainArrayLElemDefn::getCdrSerializedSize
static RTPS_DllAPI size_t getCdrSerializedSize(const PlainArrayLElemDefn &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eprosima::fastrtps::types::StronglyConnectedComponentId::operator=
RTPS_DllAPI StronglyConnectedComponentId & operator=(const StronglyConnectedComponentId &x)
Copy assignment.
eprosima::fastrtps::types::PlainMapLTypeDefn::serialize
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eprosima::fastrtps::types::LBoundSeq
std::vector< LBound > LBoundSeq
Definition: TypesBase.h:282
eprosima::fastrtps::types::PlainMapSTypeDefn::key_flags
RTPS_DllAPI CollectionElementFlag & key_flags()
This function returns a reference to member key_flags.
Definition: TypeIdentifierTypes.h:1260
eprosima::fastrtps::types::StringSTypeDefn
This class represents the structure StringSTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:57
eprosima::fastrtps::types::PlainSequenceSElemDefn::bound
RTPS_DllAPI SBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:504
eprosima::fastrtps::types::PlainSequenceSElemDefn::element_identifier
RTPS_DllAPI TypeIdentifier * element_identifier()
This function returns a reference to member element_identifier.
Definition: TypeIdentifierTypes.h:537
eprosima::fastrtps::types::PlainMapLTypeDefn::consistent
RTPS_DllAPI bool consistent(const PlainMapLTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
eprosima::fastrtps::types::StringLTypeDefn::bound
RTPS_DllAPI LBound & bound()
This function returns a reference to member bound.
Definition: TypeIdentifierTypes.h:232
eprosima::fastrtps::types::StronglyConnectedComponentId::getCdrSerializedSize
static RTPS_DllAPI size_t getCdrSerializedSize(const StronglyConnectedComponentId &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eprosima::fastrtps::types::PlainMapSTypeDefn::header
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:1163
eprosima::fastrtps::types::PlainSequenceLElemDefn::element_identifier
RTPS_DllAPI TypeIdentifier * element_identifier()
This function returns a reference to member element_identifier.
Definition: TypeIdentifierTypes.h:706
eprosima::fastrtps::types::PlainMapSTypeDefn::element_identifier
RTPS_DllAPI TypeIdentifier * element_identifier()
This function returns a reference to member element_identifier.
Definition: TypeIdentifierTypes.h:1233
eprosima::fastrtps::types::StringSTypeDefn::~StringSTypeDefn
RTPS_DllAPI ~StringSTypeDefn()
Default destructor.
eprosima::fastrtps::types::PlainMapLTypeDefn::key_identifier
RTPS_DllAPI TypeIdentifier * key_identifier()
This function returns a reference to member key_identifier.
Definition: TypeIdentifierTypes.h:1506
eprosima::fastrtps::types::PlainCollectionHeader::~PlainCollectionHeader
RTPS_DllAPI ~PlainCollectionHeader()
Default destructor.
eprosima::fastrtps::types::PlainArraySElemDefn::header
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:795
eprosima::fastrtps::types::PlainArraySElemDefn::operator=
RTPS_DllAPI PlainArraySElemDefn & operator=(const PlainArraySElemDefn &x)
Copy assignment.
eprosima::fastrtps::types::PlainArraySElemDefn::~PlainArraySElemDefn
RTPS_DllAPI ~PlainArraySElemDefn()
Default destructor.
eprosima::fastrtps::types::TypeObjectHashId
This class represents the union TypeObjectHashId defined by the user in the IDL file.
Definition: TypeObjectHashId.h:52
eprosima::fastrtps::types::StringSTypeDefn::deserialize
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eprosima::fastrtps::types::PlainCollectionHeader::equiv_kind
RTPS_DllAPI EquivalenceKind & equiv_kind()
This function returns a reference to member equiv_kind.
Definition: TypeIdentifierTypes.h:342
eprosima::fastrtps::types::PlainSequenceSElemDefn::element_identifier
const RTPS_DllAPI TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:528
eprosima::fastrtps::types::PlainMapSTypeDefn::bound
RTPS_DllAPI SBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:1200
eprosima::fastrtps::types::PlainArraySElemDefn::header
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition: TypeIdentifierTypes.h:824
eprosima::fastrtps::types::PlainArraySElemDefn::element_identifier
const RTPS_DllAPI TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:876
eprosima::fastrtps::types::MemberFlag
Definition: TypesBase.h:322
eprosima::fastrtps::types::PlainSequenceLElemDefn::bound
RTPS_DllAPI void bound(LBound _bound)
This function sets a value in member bound.
Definition: TypeIdentifierTypes.h:663
eprosima::fastrtps::types::PlainSequenceLElemDefn::element_identifier
const RTPS_DllAPI TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:697
eprosima::fastrtps::types::PlainArraySElemDefn::array_bound_seq
RTPS_DllAPI SBoundSeq & array_bound_seq()
This function returns a reference to member array_bound_seq.
Definition: TypeIdentifierTypes.h:861
eprosima::fastrtps::types::PlainMapSTypeDefn::getCdrSerializedSize
static RTPS_DllAPI size_t getCdrSerializedSize(const PlainMapSTypeDefn &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eprosima::fastrtps::types::PlainCollectionHeader::serialize
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eprosima::fastrtps::types::LBound
uint32_t LBound
Definition: TypesBase.h:281
eprosima::fastrtps::types::PlainCollectionHeader::PlainCollectionHeader
RTPS_DllAPI PlainCollectionHeader()
Default constructor.
eprosima::fastrtps::types::PlainCollectionHeader::getCdrSerializedSize
static RTPS_DllAPI size_t getCdrSerializedSize(const PlainCollectionHeader &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eprosima::fastrtps::types::EquivalenceKind
octet EquivalenceKind
Definition: TypesBase.h:113
eprosima::fastrtps::types::PlainSequenceSElemDefn::bound
RTPS_DllAPI void bound(SBound _bound)
This function sets a value in member bound.
Definition: TypeIdentifierTypes.h:494
eprosima::fastrtps::types::TypeIdentifier
Definition: TypeIdentifier.h:80
eprosima::fastrtps::types::PlainArraySElemDefn
This class represents the structure PlainArraySElemDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:749
eprosima::fastrtps::types::PlainMapLTypeDefn::key_flags
RTPS_DllAPI CollectionElementFlag & key_flags()
This function returns a reference to member key_flags.
Definition: TypeIdentifierTypes.h:1482
eprosima::fastrtps::types::PlainArrayLElemDefn::header
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition: TypeIdentifierTypes.h:1003
eprosima::fastrtps::types::PlainArrayLElemDefn::array_bound_seq
const RTPS_DllAPI LBoundSeq & array_bound_seq() const
This function returns a constant reference to member array_bound_seq.
Definition: TypeIdentifierTypes.h:1031
eprosima::fastrtps::types::PlainSequenceSElemDefn::bound
RTPS_DllAPI SBound & bound()
This function returns a reference to member bound.
Definition: TypeIdentifierTypes.h:513
eprosima::fastrtps::types::PlainMapLTypeDefn::bound
RTPS_DllAPI void bound(LBound _bound)
This function sets a value in member bound.
Definition: TypeIdentifierTypes.h:1412
eprosima::fastrtps::types::PlainMapSTypeDefn::PlainMapSTypeDefn
RTPS_DllAPI PlainMapSTypeDefn()
Default constructor.
eprosima::fastrtps::types::StronglyConnectedComponentId::~StronglyConnectedComponentId
RTPS_DllAPI ~StronglyConnectedComponentId()
Default destructor.
eprosima::fastrtps::types::ExtendedTypeDefn::ExtendedTypeDefn
RTPS_DllAPI ExtendedTypeDefn()
Default constructor.
eprosima::fastrtps::types::StronglyConnectedComponentId::scc_index
RTPS_DllAPI void scc_index(int32_t _scc_index)
This function sets a value in member scc_index.
Definition: TypeIdentifierTypes.h:1661
eprosima::fastrtps::types::PlainMapLTypeDefn::key_identifier
const RTPS_DllAPI TypeIdentifier * key_identifier() const
This function returns the value of member key_identifier.
Definition: TypeIdentifierTypes.h:1497
eprosima::fastrtps::types::PlainArrayLElemDefn::header
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:984
eprosima::fastrtps::types::StringLTypeDefn::getCdrSerializedSize
static RTPS_DllAPI size_t getCdrSerializedSize(const StringLTypeDefn &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eprosima::fastrtps::types::PlainMapSTypeDefn::element_identifier
const RTPS_DllAPI TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:1224
eprosima::fastrtps::types::PlainSequenceSElemDefn::header
const RTPS_DllAPI PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition: TypeIdentifierTypes.h:477
eprosima::fastrtps::types::PlainArrayLElemDefn::deserialize
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eprosima::fastrtps::types::PlainSequenceSElemDefn::operator=
RTPS_DllAPI PlainSequenceSElemDefn & operator=(const PlainSequenceSElemDefn &x)
Copy assignment.
eprosima::fastrtps::types::PlainArrayLElemDefn::array_bound_seq
RTPS_DllAPI void array_bound_seq(const LBoundSeq &_array_bound_seq)
This function copies the value in member array_bound_seq.
Definition: TypeIdentifierTypes.h:1011
eprosima::fastrtps::types::StringLTypeDefn::~StringLTypeDefn
RTPS_DllAPI ~StringLTypeDefn()
Default destructor.
eprosima::fastrtps::types::PlainMapLTypeDefn::PlainMapLTypeDefn
RTPS_DllAPI PlainMapLTypeDefn()
Default constructor.
eprosima::fastrtps::types::PlainArraySElemDefn::element_identifier
RTPS_DllAPI TypeIdentifier * element_identifier()
This function returns a reference to member element_identifier.
Definition: TypeIdentifierTypes.h:885
eprosima::fastrtps::types::PlainMapSTypeDefn::deserialize
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eprosima::fastrtps::types::StringSTypeDefn::operator=
RTPS_DllAPI StringSTypeDefn & operator=(const StringSTypeDefn &x)
Copy assignment.
eprosima::fastrtps::types::PlainArrayLElemDefn::header
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:974
eprosima::fastrtps::types::StronglyConnectedComponentId::scc_index
RTPS_DllAPI int32_t scc_index() const
This function returns the value of member scc_index.
Definition: TypeIdentifierTypes.h:1671
eprosima::fastrtps::types::StringSTypeDefn::StringSTypeDefn
RTPS_DllAPI StringSTypeDefn()
Default constructor.
eprosima::fastrtps::types::PlainSequenceLElemDefn::getCdrSerializedSize
static RTPS_DllAPI size_t getCdrSerializedSize(const PlainSequenceLElemDefn &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eprosima::fastrtps::types::SBound
octet SBound
Definition: TypesBase.h:286
eprosima::fastrtps::types::PlainSequenceLElemDefn::~PlainSequenceLElemDefn
RTPS_DllAPI ~PlainSequenceLElemDefn()
Default destructor.
eprosima::fastrtps::types::PlainCollectionHeader::operator=
RTPS_DllAPI PlainCollectionHeader & operator=(const PlainCollectionHeader &x)
Copy assignment.
eprosima::fastrtps::types::PlainMapSTypeDefn::key_flags
RTPS_DllAPI void key_flags(CollectionElementFlag _key_flags)
This function sets a value in member key_flags.
Definition: TypeIdentifierTypes.h:1241
eprosima::fastrtps::types::PlainMapSTypeDefn::key_flags
RTPS_DllAPI CollectionElementFlag key_flags() const
This function returns the value of member key_flags.
Definition: TypeIdentifierTypes.h:1251
eprosima::fastrtps::types::PlainArraySElemDefn::header
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:805
eprosima::fastrtps::types::PlainArraySElemDefn::header
const RTPS_DllAPI PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition: TypeIdentifierTypes.h:815
eprosima::fastrtps::types::PlainMapSTypeDefn::serialize
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eprosima::fastrtps::types::ExtendedTypeDefn::serialize
virtual RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eprosima::fastrtps::types::PlainMapSTypeDefn::header
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:1153
eprosima::fastrtps::types::PlainSequenceLElemDefn::header
const RTPS_DllAPI PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition: TypeIdentifierTypes.h:646
eprosima::fastrtps::types::PlainCollectionHeader::consistent
RTPS_DllAPI bool consistent(const PlainCollectionHeader &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
eprosima::fastrtps::types::PlainSequenceLElemDefn::deserialize
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eprosima::fastrtps::types::PlainMapSTypeDefn
This class represents the structure PlainMapSTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:1107
eprosima::fastrtps::types::PlainMapSTypeDefn::header
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition: TypeIdentifierTypes.h:1182
eprosima::fastrtps::types::PlainSequenceLElemDefn::header
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition: TypeIdentifierTypes.h:655
eprosima::fastrtps::types::StronglyConnectedComponentId::serialize
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eprosima::fastrtps::types::PlainArrayLElemDefn::serialize
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eprosima::fastrtps::types::PlainSequenceLElemDefn::PlainSequenceLElemDefn
RTPS_DllAPI PlainSequenceLElemDefn()
Default constructor.
eprosima::fastrtps::types::PlainArraySElemDefn::deserialize
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eprosima::fastrtps::types::PlainSequenceSElemDefn::~PlainSequenceSElemDefn
RTPS_DllAPI ~PlainSequenceSElemDefn()
Default destructor.
eprosima::fastrtps::types::StringLTypeDefn::serialize
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eprosima::fastrtps::types::StronglyConnectedComponentId
This class represents the structure StronglyConnectedComponentId defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:1551
eprosima::fastrtps::types::PlainMapSTypeDefn::bound
RTPS_DllAPI SBound & bound()
This function returns a reference to member bound.
Definition: TypeIdentifierTypes.h:1209
eprosima::fastrtps::types::StronglyConnectedComponentId::sc_component_id
RTPS_DllAPI void sc_component_id(TypeObjectHashId &&_sc_component_id)
This function moves the value in member sc_component_id.
Definition: TypeIdentifierTypes.h:1607
eprosima::fastrtps::types::StringLTypeDefn::consistent
RTPS_DllAPI bool consistent(const StringLTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
eprosima::fastrtps::types::PlainSequenceLElemDefn::header
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:626
eprosima::fastrtps::types::PlainArraySElemDefn::array_bound_seq
const RTPS_DllAPI SBoundSeq & array_bound_seq() const
This function returns a constant reference to member array_bound_seq.
Definition: TypeIdentifierTypes.h:852
eprosima::fastrtps::types::PlainMapSTypeDefn::bound
RTPS_DllAPI void bound(SBound _bound)
This function sets a value in member bound.
Definition: TypeIdentifierTypes.h:1190
eprosima::fastrtps::types::SBoundSeq
std::vector< SBound > SBoundSeq
Definition: TypesBase.h:287
eprosima::fastrtps::types::PlainArraySElemDefn::array_bound_seq
RTPS_DllAPI void array_bound_seq(SBoundSeq &&_array_bound_seq)
This function moves the value in member array_bound_seq.
Definition: TypeIdentifierTypes.h:842
eprosima::fastrtps::types::PlainMapSTypeDefn::operator=
RTPS_DllAPI PlainMapSTypeDefn & operator=(const PlainMapSTypeDefn &x)
Copy assignment.
eprosima::fastrtps::types::ExtendedTypeDefn::operator=
virtual RTPS_DllAPI ExtendedTypeDefn & operator=(const ExtendedTypeDefn &x)
Copy assignment.
eprosima::fastrtps::types::PlainCollectionHeader::element_flags
RTPS_DllAPI CollectionElementFlag element_flags() const
This function returns the value of member element_flags.
Definition: TypeIdentifierTypes.h:360
eprosima::fastrtps::types::PlainArraySElemDefn::array_bound_seq
RTPS_DllAPI void array_bound_seq(const SBoundSeq &_array_bound_seq)
This function copies the value in member array_bound_seq.
Definition: TypeIdentifierTypes.h:832
eprosima::fastrtps::types::PlainCollectionHeader::deserialize
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eprosima::fastrtps::types::PlainMapLTypeDefn::header
const RTPS_DllAPI PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition: TypeIdentifierTypes.h:1395
eprosima::fastrtps::types::PlainMapSTypeDefn::~PlainMapSTypeDefn
RTPS_DllAPI ~PlainMapSTypeDefn()
Default destructor.
eprosima::fastrtps::types::PlainMapLTypeDefn::header
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:1385
eprosima::fastrtps::types::PlainCollectionHeader
This class represents the structure PlainCollectionHeader defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:277
eprosima::fastrtps::types::PlainSequenceSElemDefn::deserialize
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eprosima::fastrtps::types::StringLTypeDefn::bound
RTPS_DllAPI void bound(LBound _bound)
This function sets a value in member bound.
Definition: TypeIdentifierTypes.h:213
eprosima::fastrtps::types::StringSTypeDefn::bound
RTPS_DllAPI void bound(SBound _bound)
This function sets a value in member bound.
Definition: TypeIdentifierTypes.h:103
eprosima::fastrtps::types::PlainCollectionHeader::equiv_kind
RTPS_DllAPI EquivalenceKind equiv_kind() const
This function returns the value of member equiv_kind.
Definition: TypeIdentifierTypes.h:333
eprosima::fastrtps::types::PlainSequenceSElemDefn::header
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition: TypeIdentifierTypes.h:486
eprosima::fastrtps::types::PlainMapLTypeDefn::key_flags
RTPS_DllAPI void key_flags(CollectionElementFlag _key_flags)
This function sets a value in member key_flags.
Definition: TypeIdentifierTypes.h:1463
eprosima::fastrtps::types::StringSTypeDefn::bound
RTPS_DllAPI SBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:113
eprosima::fastrtps::types::PlainMapLTypeDefn::header
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition: TypeIdentifierTypes.h:1404
eprosima::fastrtps::types::PlainMapLTypeDefn::key_flags
RTPS_DllAPI CollectionElementFlag key_flags() const
This function returns the value of member key_flags.
Definition: TypeIdentifierTypes.h:1473
eprosima::fastrtps::types::StringLTypeDefn::bound
RTPS_DllAPI LBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:223
eprosima::fastrtps::types::StringLTypeDefn::operator=
RTPS_DllAPI StringLTypeDefn & operator=(const StringLTypeDefn &x)
Copy assignment.
eprosima::fastrtps::types::PlainArrayLElemDefn::~PlainArrayLElemDefn
RTPS_DllAPI ~PlainArrayLElemDefn()
Default destructor.
eprosima::fastrtps::types::PlainSequenceSElemDefn::PlainSequenceSElemDefn
RTPS_DllAPI PlainSequenceSElemDefn()
Default constructor.
eprosima::fastrtps::types::PlainSequenceLElemDefn::serialize
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eprosima::fastrtps::types::PlainArrayLElemDefn::array_bound_seq
RTPS_DllAPI void array_bound_seq(LBoundSeq &&_array_bound_seq)
This function moves the value in member array_bound_seq.
Definition: TypeIdentifierTypes.h:1021
eprosima::fastrtps::types::ExtendedTypeDefn::getCdrSerializedSize
static RTPS_DllAPI size_t getCdrSerializedSize(const ExtendedTypeDefn &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eprosima::fastrtps::types::PlainSequenceLElemDefn::bound
RTPS_DllAPI LBound & bound()
This function returns a reference to member bound.
Definition: TypeIdentifierTypes.h:682
eprosima::fastrtps::types::PlainSequenceLElemDefn::consistent
RTPS_DllAPI bool consistent(const PlainSequenceLElemDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
eprosima::fastrtps::types::PlainSequenceSElemDefn::header
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:457
eprosima::fastrtps::types::PlainSequenceLElemDefn::bound
RTPS_DllAPI LBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:673
eprosima::fastrtps::types::PlainMapLTypeDefn
This class represents the structure PlainMapLTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:1329
eprosima::fastrtps::types::PlainMapLTypeDefn::bound
RTPS_DllAPI LBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:1422
eprosima::fastrtps::types::PlainArraySElemDefn::PlainArraySElemDefn
RTPS_DllAPI PlainArraySElemDefn()
Default constructor.
eprosima::fastrtps::types::PlainSequenceSElemDefn::getCdrSerializedSize
static RTPS_DllAPI size_t getCdrSerializedSize(const PlainSequenceSElemDefn &data, size_t current_alignment=0)
This function returns the serialized size of a data depending on the buffer alignment.
eprosima::fastrtps::types::PlainCollectionHeader::element_flags
RTPS_DllAPI CollectionElementFlag & element_flags()
This function returns a reference to member element_flags.
Definition: TypeIdentifierTypes.h:369
eprosima::fastrtps::types::StringLTypeDefn
This class represents the structure StringLTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:167
eprosima::fastrtps::TypeConsistencyEnforcementQosPolicy
fastdds::dds::TypeConsistencyEnforcementQosPolicy TypeConsistencyEnforcementQosPolicy
Definition: QosPolicies.h:95
eprosima::fastrtps::types::StringSTypeDefn::serialize
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eprosima::fastrtps::types::StronglyConnectedComponentId::sc_component_id
RTPS_DllAPI TypeObjectHashId & sc_component_id()
This function returns a reference to member sc_component_id.
Definition: TypeIdentifierTypes.h:1626
eprosima::fastrtps::types::PlainMapSTypeDefn::key_identifier
RTPS_DllAPI TypeIdentifier * key_identifier()
This function returns a reference to member key_identifier.
Definition: TypeIdentifierTypes.h:1284
eprosima::fastrtps::types::PlainMapSTypeDefn::key_identifier
const RTPS_DllAPI TypeIdentifier * key_identifier() const
This function returns the value of member key_identifier.
Definition: TypeIdentifierTypes.h:1275
eprosima::fastrtps::types::ExtendedTypeDefn::consistent
RTPS_DllAPI bool consistent(const ExtendedTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
eprosima::fastrtps::types::PlainMapLTypeDefn::header
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:1375
eprosima::fastrtps::types::PlainArrayLElemDefn::element_identifier
const RTPS_DllAPI TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:1055
eprosima::fastrtps::types::PlainArrayLElemDefn::consistent
RTPS_DllAPI bool consistent(const PlainArrayLElemDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
eprosima::fastrtps::types::PlainArrayLElemDefn::element_identifier
RTPS_DllAPI TypeIdentifier * element_identifier()
This function returns a reference to member element_identifier.
Definition: TypeIdentifierTypes.h:1064
eprosima::fastrtps::types::PlainMapSTypeDefn::consistent
RTPS_DllAPI bool consistent(const PlainMapSTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
eprosima::fastrtps::types::ExtendedTypeDefn::deserialize
virtual RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eprosima::fastrtps::types::StronglyConnectedComponentId::sc_component_id
RTPS_DllAPI void sc_component_id(const TypeObjectHashId &_sc_component_id)
This function copies the value in member sc_component_id.
Definition: TypeIdentifierTypes.h:1597
eprosima::fastrtps::types::StronglyConnectedComponentId::consistent
RTPS_DllAPI bool consistent(const StronglyConnectedComponentId &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
eprosima::fastrtps::types::StronglyConnectedComponentId::deserialize
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eprosima::fastrtps::types::PlainMapLTypeDefn::bound
RTPS_DllAPI LBound & bound()
This function returns a reference to member bound.
Definition: TypeIdentifierTypes.h:1431
eprosima::fastrtps::types::StronglyConnectedComponentId::StronglyConnectedComponentId
RTPS_DllAPI StronglyConnectedComponentId()
Default constructor.
eprosima::fastrtps::types::PlainArrayLElemDefn::operator=
RTPS_DllAPI PlainArrayLElemDefn & operator=(const PlainArrayLElemDefn &x)
Copy assignment.
eprosima::fastrtps::types::PlainSequenceSElemDefn::serialize
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
eprosima::fastrtps::types::PlainArrayLElemDefn::header
const RTPS_DllAPI PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition: TypeIdentifierTypes.h:994
eprosima::fastrtps::types::PlainCollectionHeader::element_flags
RTPS_DllAPI void element_flags(CollectionElementFlag _element_flags)
This function sets a value in member element_flags.
Definition: TypeIdentifierTypes.h:350
eprosima
Definition: LibrarySettingsAttributes.h:23
eprosima::fastrtps::types::PlainSequenceSElemDefn
This class represents the structure PlainSequenceSElemDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:411
eprosima::fastrtps::types::StronglyConnectedComponentId::scc_index
RTPS_DllAPI int32_t & scc_index()
This function returns a reference to member scc_index.
Definition: TypeIdentifierTypes.h:1680
eprosima::fastrtps::types::PlainSequenceLElemDefn::header
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:636
eprosima::fastrtps::types::PlainMapLTypeDefn::element_identifier
const RTPS_DllAPI TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:1446
eprosima::fastrtps::types::PlainArrayLElemDefn
This class represents the structure PlainArrayLElemDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:928
eprosima::fastrtps::types::PlainMapLTypeDefn::operator=
RTPS_DllAPI PlainMapLTypeDefn & operator=(const PlainMapLTypeDefn &x)
Copy assignment.
eprosima::fastrtps::types::PlainMapLTypeDefn::element_identifier
RTPS_DllAPI TypeIdentifier * element_identifier()
This function returns a reference to member element_identifier.
Definition: TypeIdentifierTypes.h:1455
eprosima::fastrtps::types::StronglyConnectedComponentId::sc_component_id
const RTPS_DllAPI TypeObjectHashId & sc_component_id() const
This function returns a constant reference to member sc_component_id.
Definition: TypeIdentifierTypes.h:1617
eprosima::fastrtps::types::PlainArrayLElemDefn::array_bound_seq
RTPS_DllAPI LBoundSeq & array_bound_seq()
This function returns a reference to member array_bound_seq.
Definition: TypeIdentifierTypes.h:1040
eprosima::fastrtps::types::StronglyConnectedComponentId::scc_length
RTPS_DllAPI int32_t scc_length() const
This function returns the value of member scc_length.
Definition: TypeIdentifierTypes.h:1644
eprosima::fastrtps::types::StringLTypeDefn::deserialize
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
eprosima::fastrtps::types::PlainArrayLElemDefn::PlainArrayLElemDefn
RTPS_DllAPI PlainArrayLElemDefn()
Default constructor.
eprosima::fastrtps::types::PlainArraySElemDefn::consistent
RTPS_DllAPI bool consistent(const PlainArraySElemDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
eprosima::fastrtps::types::StringLTypeDefn::StringLTypeDefn
RTPS_DllAPI StringLTypeDefn()
Default constructor.
eprosima::fastrtps::types::PlainSequenceLElemDefn
This class represents the structure PlainSequenceLElemDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:580
eprosima::fastrtps::types::StringSTypeDefn::consistent
RTPS_DllAPI bool consistent(const StringSTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
eprosima::fastrtps::types::PlainSequenceSElemDefn::consistent
RTPS_DllAPI bool consistent(const PlainSequenceSElemDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
eprosima::fastrtps::types::PlainMapSTypeDefn::header
const RTPS_DllAPI PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition: TypeIdentifierTypes.h:1173
eprosima::fastrtps::types::PlainCollectionHeader::equiv_kind
RTPS_DllAPI void equiv_kind(EquivalenceKind _equiv_kind)
This function sets a value in member equiv_kind.
Definition: TypeIdentifierTypes.h:323