Fast RTPS  Version 2.5.0
Fast RTPS
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 
58 class StringSTypeDefn final
59 {
60 public:
61 
65  RTPS_DllAPI StringSTypeDefn();
66 
70  RTPS_DllAPI ~StringSTypeDefn();
71 
76  RTPS_DllAPI StringSTypeDefn(
77  const StringSTypeDefn& x);
78 
83  RTPS_DllAPI StringSTypeDefn(
84  StringSTypeDefn&& x);
85 
90  RTPS_DllAPI StringSTypeDefn& operator=(
91  const StringSTypeDefn& x);
92 
97  RTPS_DllAPI StringSTypeDefn& operator=(
98  StringSTypeDefn&& x);
99 
104  RTPS_DllAPI inline void bound(
105  SBound _bound)
106  {
107  m_bound = _bound;
108  }
109 
114  RTPS_DllAPI inline SBound bound() const
115  {
116  return m_bound;
117  }
118 
123  RTPS_DllAPI inline SBound& bound()
124  {
125  return m_bound;
126  }
127 
134  RTPS_DllAPI static size_t getCdrSerializedSize(
135  const StringSTypeDefn& data,
136  size_t current_alignment = 0);
137 
138 
143  RTPS_DllAPI void serialize(
144  eprosima::fastcdr::Cdr& cdr) const;
145 
150  RTPS_DllAPI void deserialize(
151  eprosima::fastcdr::Cdr& cdr);
152 
153  RTPS_DllAPI bool consistent(
154  const StringSTypeDefn& x,
155  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
156 
157  RTPS_DllAPI bool consistent(
158  const StringLTypeDefn& x,
159  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
160 
161 private:
162 
163  SBound m_bound;
164 };
169 class StringLTypeDefn final
170 {
171 public:
172 
176  RTPS_DllAPI StringLTypeDefn();
177 
181  RTPS_DllAPI ~StringLTypeDefn();
182 
187  RTPS_DllAPI StringLTypeDefn(
188  const StringLTypeDefn& x);
189 
194  RTPS_DllAPI StringLTypeDefn(
195  StringLTypeDefn&& x);
196 
202  const StringLTypeDefn& x);
203 
209  StringLTypeDefn&& x);
210 
215  RTPS_DllAPI inline void bound(
216  LBound _bound)
217  {
218  m_bound = _bound;
219  }
220 
225  RTPS_DllAPI inline LBound bound() const
226  {
227  return m_bound;
228  }
229 
234  RTPS_DllAPI inline LBound& bound()
235  {
236  return m_bound;
237  }
238 
245  RTPS_DllAPI static size_t getCdrSerializedSize(
246  const StringLTypeDefn& data,
247  size_t current_alignment = 0);
248 
249 
254  RTPS_DllAPI void serialize(
255  eprosima::fastcdr::Cdr& cdr) const;
256 
261  RTPS_DllAPI void deserialize(
262  eprosima::fastcdr::Cdr& cdr);
263 
264  RTPS_DllAPI bool consistent(
265  const StringLTypeDefn& x,
266  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
267 
268  RTPS_DllAPI bool consistent(
269  const StringSTypeDefn& x,
270  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
271 
272 private:
273 
274  LBound m_bound;
275 };
281 {
282 public:
283 
287  RTPS_DllAPI PlainCollectionHeader();
288 
292  RTPS_DllAPI ~PlainCollectionHeader();
293 
299  const PlainCollectionHeader& x);
300 
307 
313  const PlainCollectionHeader& x);
314 
321 
326  RTPS_DllAPI inline void equiv_kind(
327  EquivalenceKind _equiv_kind)
328  {
329  m_equiv_kind = _equiv_kind;
330  }
331 
336  RTPS_DllAPI inline EquivalenceKind equiv_kind() const
337  {
338  return m_equiv_kind;
339  }
340 
345  RTPS_DllAPI inline EquivalenceKind& equiv_kind()
346  {
347  return m_equiv_kind;
348  }
353  RTPS_DllAPI inline void element_flags(
354  CollectionElementFlag _element_flags)
355  {
356  m_element_flags = _element_flags;
357  }
358 
363  RTPS_DllAPI inline CollectionElementFlag element_flags() const
364  {
365  return m_element_flags;
366  }
367 
372  RTPS_DllAPI inline CollectionElementFlag& element_flags()
373  {
374  return m_element_flags;
375  }
376 
383  RTPS_DllAPI static size_t getCdrSerializedSize(
384  const PlainCollectionHeader& data,
385  size_t current_alignment = 0);
386 
387 
392  RTPS_DllAPI void serialize(
393  eprosima::fastcdr::Cdr& cdr) const;
394 
399  RTPS_DllAPI void deserialize(
400  eprosima::fastcdr::Cdr& cdr);
401 
402  RTPS_DllAPI bool consistent(
403  const PlainCollectionHeader& x,
404  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
405 
406 private:
407 
408  EquivalenceKind m_equiv_kind;
409  CollectionElementFlag m_element_flags;
410 };
416 {
417 public:
418 
422  RTPS_DllAPI PlainSequenceSElemDefn();
423 
427  RTPS_DllAPI ~PlainSequenceSElemDefn();
428 
434  const PlainSequenceSElemDefn& x);
435 
442 
448  const PlainSequenceSElemDefn& x);
449 
456 
461  RTPS_DllAPI inline void header(
462  const PlainCollectionHeader& _header)
463  {
464  m_header = _header;
465  }
466 
471  RTPS_DllAPI inline void header(
472  PlainCollectionHeader&& _header)
473  {
474  m_header = std::move(_header);
475  }
476 
481  RTPS_DllAPI inline const PlainCollectionHeader& header() const
482  {
483  return m_header;
484  }
485 
490  RTPS_DllAPI inline PlainCollectionHeader& header()
491  {
492  return m_header;
493  }
498  RTPS_DllAPI inline void bound(
499  SBound _bound)
500  {
501  m_bound = _bound;
502  }
503 
508  RTPS_DllAPI inline SBound bound() const
509  {
510  return m_bound;
511  }
512 
517  RTPS_DllAPI inline SBound& bound()
518  {
519  return m_bound;
520  }
525  RTPS_DllAPI void element_identifier(
526  const TypeIdentifier* _element_identifier);
527 
532  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
533  {
534  return m_element_identifier;
535  }
536 
541  RTPS_DllAPI inline TypeIdentifier* element_identifier()
542  {
543  return m_element_identifier;
544  }
545 
552  RTPS_DllAPI static size_t getCdrSerializedSize(
553  const PlainSequenceSElemDefn& data,
554  size_t current_alignment = 0);
555 
556 
561  RTPS_DllAPI void serialize(
562  eprosima::fastcdr::Cdr& cdr) const;
563 
568  RTPS_DllAPI void deserialize(
569  eprosima::fastcdr::Cdr& cdr);
570 
571  RTPS_DllAPI bool consistent(
572  const PlainSequenceSElemDefn& x,
573  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
574 
575 private:
576 
577  PlainCollectionHeader m_header;
578  SBound m_bound;
579  TypeIdentifier* m_element_identifier;
580 };
586 {
587 public:
588 
592  RTPS_DllAPI PlainSequenceLElemDefn();
593 
597  RTPS_DllAPI ~PlainSequenceLElemDefn();
598 
604  const PlainSequenceLElemDefn& x);
605 
612 
618  const PlainSequenceLElemDefn& x);
619 
626 
631  RTPS_DllAPI inline void header(
632  const PlainCollectionHeader& _header)
633  {
634  m_header = _header;
635  }
636 
641  RTPS_DllAPI inline void header(
642  PlainCollectionHeader&& _header)
643  {
644  m_header = std::move(_header);
645  }
646 
651  RTPS_DllAPI inline const PlainCollectionHeader& header() const
652  {
653  return m_header;
654  }
655 
660  RTPS_DllAPI inline PlainCollectionHeader& header()
661  {
662  return m_header;
663  }
668  RTPS_DllAPI inline void bound(
669  LBound _bound)
670  {
671  m_bound = _bound;
672  }
673 
678  RTPS_DllAPI inline LBound bound() const
679  {
680  return m_bound;
681  }
682 
687  RTPS_DllAPI inline LBound& bound()
688  {
689  return m_bound;
690  }
695  RTPS_DllAPI void element_identifier(
696  const TypeIdentifier* _element_identifier);
697 
702  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
703  {
704  return m_element_identifier;
705  }
706 
711  RTPS_DllAPI inline TypeIdentifier* element_identifier()
712  {
713  return m_element_identifier;
714  }
715 
722  RTPS_DllAPI static size_t getCdrSerializedSize(
723  const PlainSequenceLElemDefn& data,
724  size_t current_alignment = 0);
725 
726 
731  RTPS_DllAPI void serialize(
732  eprosima::fastcdr::Cdr& cdr) const;
733 
738  RTPS_DllAPI void deserialize(
739  eprosima::fastcdr::Cdr& cdr);
740 
741  RTPS_DllAPI bool consistent(
742  const PlainSequenceLElemDefn& x,
743  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
744 
745 private:
746 
747  PlainCollectionHeader m_header;
748  LBound m_bound;
749  TypeIdentifier* m_element_identifier;
750 };
756 {
757 public:
758 
762  RTPS_DllAPI PlainArraySElemDefn();
763 
767  RTPS_DllAPI ~PlainArraySElemDefn();
768 
773  RTPS_DllAPI PlainArraySElemDefn(
774  const PlainArraySElemDefn& x);
775 
780  RTPS_DllAPI PlainArraySElemDefn(
781  PlainArraySElemDefn&& x);
782 
788  const PlainArraySElemDefn& x);
789 
795  PlainArraySElemDefn&& x);
796 
801  RTPS_DllAPI inline void header(
802  const PlainCollectionHeader& _header)
803  {
804  m_header = _header;
805  }
806 
811  RTPS_DllAPI inline void header(
812  PlainCollectionHeader&& _header)
813  {
814  m_header = std::move(_header);
815  }
816 
821  RTPS_DllAPI inline const PlainCollectionHeader& header() const
822  {
823  return m_header;
824  }
825 
830  RTPS_DllAPI inline PlainCollectionHeader& header()
831  {
832  return m_header;
833  }
838  RTPS_DllAPI inline void array_bound_seq(
839  const SBoundSeq& _array_bound_seq)
840  {
841  m_array_bound_seq = _array_bound_seq;
842  }
843 
848  RTPS_DllAPI inline void array_bound_seq(
849  SBoundSeq&& _array_bound_seq)
850  {
851  m_array_bound_seq = std::move(_array_bound_seq);
852  }
853 
858  RTPS_DllAPI inline const SBoundSeq& array_bound_seq() const
859  {
860  return m_array_bound_seq;
861  }
862 
867  RTPS_DllAPI inline SBoundSeq& array_bound_seq()
868  {
869  return m_array_bound_seq;
870  }
875  RTPS_DllAPI void element_identifier(
876  const TypeIdentifier* _element_identifier);
877 
882  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
883  {
884  return m_element_identifier;
885  }
886 
891  RTPS_DllAPI inline TypeIdentifier* element_identifier()
892  {
893  return m_element_identifier;
894  }
895 
902  RTPS_DllAPI static size_t getCdrSerializedSize(
903  const PlainArraySElemDefn& data,
904  size_t current_alignment = 0);
905 
906 
911  RTPS_DllAPI void serialize(
912  eprosima::fastcdr::Cdr& cdr) const;
913 
918  RTPS_DllAPI void deserialize(
919  eprosima::fastcdr::Cdr& cdr);
920 
921  RTPS_DllAPI bool consistent(
922  const PlainArraySElemDefn& x,
923  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
924 
925 private:
926 
927  PlainCollectionHeader m_header;
928  SBoundSeq m_array_bound_seq;
929  TypeIdentifier* m_element_identifier;
930 };
936 {
937 public:
938 
942  RTPS_DllAPI PlainArrayLElemDefn();
943 
947  RTPS_DllAPI ~PlainArrayLElemDefn();
948 
953  RTPS_DllAPI PlainArrayLElemDefn(
954  const PlainArrayLElemDefn& x);
955 
960  RTPS_DllAPI PlainArrayLElemDefn(
961  PlainArrayLElemDefn&& x);
962 
968  const PlainArrayLElemDefn& x);
969 
975  PlainArrayLElemDefn&& x);
976 
981  RTPS_DllAPI inline void header(
982  const PlainCollectionHeader& _header)
983  {
984  m_header = _header;
985  }
986 
991  RTPS_DllAPI inline void header(
992  PlainCollectionHeader&& _header)
993  {
994  m_header = std::move(_header);
995  }
996 
1001  RTPS_DllAPI inline const PlainCollectionHeader& header() const
1002  {
1003  return m_header;
1004  }
1005 
1010  RTPS_DllAPI inline PlainCollectionHeader& header()
1011  {
1012  return m_header;
1013  }
1018  RTPS_DllAPI inline void array_bound_seq(
1019  const LBoundSeq& _array_bound_seq)
1020  {
1021  m_array_bound_seq = _array_bound_seq;
1022  }
1023 
1028  RTPS_DllAPI inline void array_bound_seq(
1029  LBoundSeq&& _array_bound_seq)
1030  {
1031  m_array_bound_seq = std::move(_array_bound_seq);
1032  }
1033 
1038  RTPS_DllAPI inline const LBoundSeq& array_bound_seq() const
1039  {
1040  return m_array_bound_seq;
1041  }
1042 
1047  RTPS_DllAPI inline LBoundSeq& array_bound_seq()
1048  {
1049  return m_array_bound_seq;
1050  }
1055  RTPS_DllAPI void element_identifier(
1056  const TypeIdentifier* _element_identifier);
1057 
1062  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
1063  {
1064  return m_element_identifier;
1065  }
1066 
1071  RTPS_DllAPI inline TypeIdentifier* element_identifier()
1072  {
1073  return m_element_identifier;
1074  }
1075 
1082  RTPS_DllAPI static size_t getCdrSerializedSize(
1083  const PlainArrayLElemDefn& data,
1084  size_t current_alignment = 0);
1085 
1086 
1091  RTPS_DllAPI void serialize(
1092  eprosima::fastcdr::Cdr& cdr) const;
1093 
1098  RTPS_DllAPI void deserialize(
1099  eprosima::fastcdr::Cdr& cdr);
1100 
1101  RTPS_DllAPI bool consistent(
1102  const PlainArrayLElemDefn& x,
1103  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1104 
1105 private:
1106 
1107  PlainCollectionHeader m_header;
1108  LBoundSeq m_array_bound_seq;
1109  TypeIdentifier* m_element_identifier;
1110 };
1116 {
1117 public:
1118 
1122  RTPS_DllAPI PlainMapSTypeDefn();
1123 
1127  RTPS_DllAPI ~PlainMapSTypeDefn();
1128 
1133  RTPS_DllAPI PlainMapSTypeDefn(
1134  const PlainMapSTypeDefn& x);
1135 
1140  RTPS_DllAPI PlainMapSTypeDefn(
1141  PlainMapSTypeDefn&& x);
1142 
1148  const PlainMapSTypeDefn& x);
1149 
1155  PlainMapSTypeDefn&& x);
1156 
1161  RTPS_DllAPI inline void header(
1162  const PlainCollectionHeader& _header)
1163  {
1164  m_header = _header;
1165  }
1166 
1171  RTPS_DllAPI inline void header(
1172  PlainCollectionHeader&& _header)
1173  {
1174  m_header = std::move(_header);
1175  }
1176 
1181  RTPS_DllAPI inline const PlainCollectionHeader& header() const
1182  {
1183  return m_header;
1184  }
1185 
1190  RTPS_DllAPI inline PlainCollectionHeader& header()
1191  {
1192  return m_header;
1193  }
1198  RTPS_DllAPI inline void bound(
1199  SBound _bound)
1200  {
1201  m_bound = _bound;
1202  }
1203 
1208  RTPS_DllAPI inline SBound bound() const
1209  {
1210  return m_bound;
1211  }
1212 
1217  RTPS_DllAPI inline SBound& bound()
1218  {
1219  return m_bound;
1220  }
1225  RTPS_DllAPI void element_identifier(
1226  const TypeIdentifier* _element_identifier);
1227 
1232  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
1233  {
1234  return m_element_identifier;
1235  }
1236 
1241  RTPS_DllAPI inline TypeIdentifier* element_identifier()
1242  {
1243  return m_element_identifier;
1244  }
1249  RTPS_DllAPI inline void key_flags(
1250  CollectionElementFlag _key_flags)
1251  {
1252  m_key_flags = _key_flags;
1253  }
1254 
1259  RTPS_DllAPI inline CollectionElementFlag key_flags() const
1260  {
1261  return m_key_flags;
1262  }
1263 
1268  RTPS_DllAPI inline CollectionElementFlag& key_flags()
1269  {
1270  return m_key_flags;
1271  }
1276  RTPS_DllAPI void key_identifier(
1277  const TypeIdentifier* _key_identifier);
1278 
1283  RTPS_DllAPI inline const TypeIdentifier* key_identifier() const
1284  {
1285  return m_key_identifier;
1286  }
1287 
1292  RTPS_DllAPI inline TypeIdentifier* key_identifier()
1293  {
1294  return m_key_identifier;
1295  }
1296 
1303  RTPS_DllAPI static size_t getCdrSerializedSize(
1304  const PlainMapSTypeDefn& data,
1305  size_t current_alignment = 0);
1306 
1307 
1312  RTPS_DllAPI void serialize(
1313  eprosima::fastcdr::Cdr& cdr) const;
1314 
1319  RTPS_DllAPI void deserialize(
1320  eprosima::fastcdr::Cdr& cdr);
1321 
1322  RTPS_DllAPI bool consistent(
1323  const PlainMapSTypeDefn& x,
1324  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1325 
1326 private:
1327 
1328  PlainCollectionHeader m_header;
1329  SBound m_bound;
1330  TypeIdentifier* m_element_identifier;
1331  CollectionElementFlag m_key_flags;
1332  TypeIdentifier* m_key_identifier;
1333 };
1339 {
1340 public:
1341 
1345  RTPS_DllAPI PlainMapLTypeDefn();
1346 
1350  RTPS_DllAPI ~PlainMapLTypeDefn();
1351 
1356  RTPS_DllAPI PlainMapLTypeDefn(
1357  const PlainMapLTypeDefn& x);
1358 
1363  RTPS_DllAPI PlainMapLTypeDefn(
1364  PlainMapLTypeDefn&& x);
1365 
1371  const PlainMapLTypeDefn& x);
1372 
1378  PlainMapLTypeDefn&& x);
1379 
1384  RTPS_DllAPI inline void header(
1385  const PlainCollectionHeader& _header)
1386  {
1387  m_header = _header;
1388  }
1389 
1394  RTPS_DllAPI inline void header(
1395  PlainCollectionHeader&& _header)
1396  {
1397  m_header = std::move(_header);
1398  }
1399 
1404  RTPS_DllAPI inline const PlainCollectionHeader& header() const
1405  {
1406  return m_header;
1407  }
1408 
1413  RTPS_DllAPI inline PlainCollectionHeader& header()
1414  {
1415  return m_header;
1416  }
1421  RTPS_DllAPI inline void bound(
1422  LBound _bound)
1423  {
1424  m_bound = _bound;
1425  }
1426 
1431  RTPS_DllAPI inline LBound bound() const
1432  {
1433  return m_bound;
1434  }
1435 
1440  RTPS_DllAPI inline LBound& bound()
1441  {
1442  return m_bound;
1443  }
1448  RTPS_DllAPI void element_identifier(
1449  const TypeIdentifier* _element_identifier);
1450 
1455  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
1456  {
1457  return m_element_identifier;
1458  }
1459 
1464  RTPS_DllAPI inline TypeIdentifier* element_identifier()
1465  {
1466  return m_element_identifier;
1467  }
1472  RTPS_DllAPI inline void key_flags(
1473  CollectionElementFlag _key_flags)
1474  {
1475  m_key_flags = _key_flags;
1476  }
1477 
1482  RTPS_DllAPI inline CollectionElementFlag key_flags() const
1483  {
1484  return m_key_flags;
1485  }
1486 
1491  RTPS_DllAPI inline CollectionElementFlag& key_flags()
1492  {
1493  return m_key_flags;
1494  }
1499  RTPS_DllAPI void key_identifier(
1500  const TypeIdentifier* _key_identifier);
1501 
1506  RTPS_DllAPI inline const TypeIdentifier* key_identifier() const
1507  {
1508  return m_key_identifier;
1509  }
1510 
1515  RTPS_DllAPI inline TypeIdentifier* key_identifier()
1516  {
1517  return m_key_identifier;
1518  }
1519 
1526  RTPS_DllAPI static size_t getCdrSerializedSize(
1527  const PlainMapLTypeDefn& data,
1528  size_t current_alignment = 0);
1529 
1530 
1535  RTPS_DllAPI void serialize(
1536  eprosima::fastcdr::Cdr& cdr) const;
1537 
1542  RTPS_DllAPI void deserialize(
1543  eprosima::fastcdr::Cdr& cdr);
1544 
1545  RTPS_DllAPI bool consistent(
1546  const PlainMapLTypeDefn& x,
1547  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1548 
1549 private:
1550 
1551  PlainCollectionHeader m_header;
1552  LBound m_bound;
1553  TypeIdentifier* m_element_identifier;
1554  CollectionElementFlag m_key_flags;
1555  TypeIdentifier* m_key_identifier;
1556 };
1562 {
1563 public:
1564 
1569 
1574 
1580  const StronglyConnectedComponentId& x);
1581 
1588 
1594  const StronglyConnectedComponentId& x);
1595 
1602 
1607  RTPS_DllAPI inline void sc_component_id(
1608  const TypeObjectHashId& _sc_component_id)
1609  {
1610  m_sc_component_id = _sc_component_id;
1611  }
1612 
1617  RTPS_DllAPI inline void sc_component_id(
1618  TypeObjectHashId&& _sc_component_id)
1619  {
1620  m_sc_component_id = std::move(_sc_component_id);
1621  }
1622 
1627  RTPS_DllAPI inline const TypeObjectHashId& sc_component_id() const
1628  {
1629  return m_sc_component_id;
1630  }
1631 
1636  RTPS_DllAPI inline TypeObjectHashId& sc_component_id()
1637  {
1638  return m_sc_component_id;
1639  }
1644  RTPS_DllAPI inline void scc_length(
1645  int32_t _scc_length)
1646  {
1647  m_scc_length = _scc_length;
1648  }
1649 
1654  RTPS_DllAPI inline int32_t scc_length() const
1655  {
1656  return m_scc_length;
1657  }
1658 
1663  RTPS_DllAPI inline int32_t& scc_length()
1664  {
1665  return m_scc_length;
1666  }
1671  RTPS_DllAPI inline void scc_index(
1672  int32_t _scc_index)
1673  {
1674  m_scc_index = _scc_index;
1675  }
1676 
1681  RTPS_DllAPI inline int32_t scc_index() const
1682  {
1683  return m_scc_index;
1684  }
1685 
1690  RTPS_DllAPI inline int32_t& scc_index()
1691  {
1692  return m_scc_index;
1693  }
1694 
1701  RTPS_DllAPI static size_t getCdrSerializedSize(
1702  const StronglyConnectedComponentId& data,
1703  size_t current_alignment = 0);
1704 
1705 
1710  RTPS_DllAPI void serialize(
1711  eprosima::fastcdr::Cdr& cdr) const;
1712 
1717  RTPS_DllAPI void deserialize(
1718  eprosima::fastcdr::Cdr& cdr);
1719 
1720  RTPS_DllAPI bool consistent(
1722  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1723 
1724 private:
1725 
1726  TypeObjectHashId m_sc_component_id;
1727  int32_t m_scc_length;
1728  int32_t m_scc_index;
1729 };
1734 class ExtendedTypeDefn final
1735 {
1736 public:
1737 
1741  RTPS_DllAPI ExtendedTypeDefn();
1742 
1746  RTPS_DllAPI virtual ~ExtendedTypeDefn();
1747 
1752  RTPS_DllAPI ExtendedTypeDefn(
1753  const ExtendedTypeDefn& x);
1754 
1759  RTPS_DllAPI ExtendedTypeDefn(
1760  ExtendedTypeDefn&& x);
1761 
1766  RTPS_DllAPI virtual ExtendedTypeDefn& operator=(
1767  const ExtendedTypeDefn& x);
1768 
1773  RTPS_DllAPI virtual ExtendedTypeDefn& operator=(
1774  ExtendedTypeDefn&& x);
1775 
1782  RTPS_DllAPI static size_t getCdrSerializedSize(
1783  const ExtendedTypeDefn& data,
1784  size_t current_alignment = 0);
1785 
1786 
1791  RTPS_DllAPI virtual void serialize(
1792  eprosima::fastcdr::Cdr& cdr) const;
1793 
1798  RTPS_DllAPI virtual void deserialize(
1799  eprosima::fastcdr::Cdr& cdr);
1800 
1801  RTPS_DllAPI bool consistent(
1802  const ExtendedTypeDefn& x,
1803  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1804 
1805 
1806 };
1807 
1808 } // namespace types
1809 } // namespace fastrtps
1810 } // namespace eprosima
1811 
1812 #endif // _TYPEIDENTIFIERTYPES_H_
This class represents the structure ExtendedTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:1735
RTPS_DllAPI ExtendedTypeDefn(const ExtendedTypeDefn &x)
Copy constructor.
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.
RTPS_DllAPI ExtendedTypeDefn()
Default constructor.
virtual RTPS_DllAPI ExtendedTypeDefn & operator=(const ExtendedTypeDefn &x)
Copy assignment.
virtual RTPS_DllAPI ExtendedTypeDefn & operator=(ExtendedTypeDefn &&x)
Move assignment.
RTPS_DllAPI bool consistent(const ExtendedTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
virtual RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
virtual RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
RTPS_DllAPI ExtendedTypeDefn(ExtendedTypeDefn &&x)
Move constructor.
virtual RTPS_DllAPI ~ExtendedTypeDefn()
Default destructor.
Definition: TypesBase.h:323
This class represents the structure PlainArrayLElemDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:936
RTPS_DllAPI PlainArrayLElemDefn()
Default constructor.
RTPS_DllAPI PlainArrayLElemDefn(const PlainArrayLElemDefn &x)
Copy constructor.
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:981
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:991
RTPS_DllAPI void element_identifier(const TypeIdentifier *_element_identifier)
This function sets a value in member element_identifier.
RTPS_DllAPI TypeIdentifier * element_identifier()
This function returns a reference to member element_identifier.
Definition: TypeIdentifierTypes.h:1071
RTPS_DllAPI const LBoundSeq & array_bound_seq() const
This function returns a constant reference to member array_bound_seq.
Definition: TypeIdentifierTypes.h:1038
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
RTPS_DllAPI ~PlainArrayLElemDefn()
Default destructor.
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition: TypeIdentifierTypes.h:1010
RTPS_DllAPI const TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:1062
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.
RTPS_DllAPI PlainArrayLElemDefn & operator=(PlainArrayLElemDefn &&x)
Move assignment.
RTPS_DllAPI void array_bound_seq(const LBoundSeq &_array_bound_seq)
This function copies the value in member array_bound_seq.
Definition: TypeIdentifierTypes.h:1018
RTPS_DllAPI bool consistent(const PlainArrayLElemDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
RTPS_DllAPI const PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition: TypeIdentifierTypes.h:1001
RTPS_DllAPI PlainArrayLElemDefn(PlainArrayLElemDefn &&x)
Move constructor.
RTPS_DllAPI PlainArrayLElemDefn & operator=(const PlainArrayLElemDefn &x)
Copy assignment.
RTPS_DllAPI LBoundSeq & array_bound_seq()
This function returns a reference to member array_bound_seq.
Definition: TypeIdentifierTypes.h:1047
RTPS_DllAPI void array_bound_seq(LBoundSeq &&_array_bound_seq)
This function moves the value in member array_bound_seq.
Definition: TypeIdentifierTypes.h:1028
This class represents the structure PlainArraySElemDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:756
RTPS_DllAPI ~PlainArraySElemDefn()
Default destructor.
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:801
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:811
RTPS_DllAPI void element_identifier(const TypeIdentifier *_element_identifier)
This function sets a value in member element_identifier.
RTPS_DllAPI SBoundSeq & array_bound_seq()
This function returns a reference to member array_bound_seq.
Definition: TypeIdentifierTypes.h:867
RTPS_DllAPI TypeIdentifier * element_identifier()
This function returns a reference to member element_identifier.
Definition: TypeIdentifierTypes.h:891
RTPS_DllAPI PlainArraySElemDefn & operator=(const PlainArraySElemDefn &x)
Copy assignment.
RTPS_DllAPI PlainArraySElemDefn(PlainArraySElemDefn &&x)
Move constructor.
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
RTPS_DllAPI PlainArraySElemDefn()
Default constructor.
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition: TypeIdentifierTypes.h:830
RTPS_DllAPI bool consistent(const PlainArraySElemDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
RTPS_DllAPI const TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:882
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.
RTPS_DllAPI void array_bound_seq(const SBoundSeq &_array_bound_seq)
This function copies the value in member array_bound_seq.
Definition: TypeIdentifierTypes.h:838
RTPS_DllAPI PlainArraySElemDefn(const PlainArraySElemDefn &x)
Copy constructor.
RTPS_DllAPI const SBoundSeq & array_bound_seq() const
This function returns a constant reference to member array_bound_seq.
Definition: TypeIdentifierTypes.h:858
RTPS_DllAPI PlainArraySElemDefn & operator=(PlainArraySElemDefn &&x)
Move assignment.
RTPS_DllAPI const PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition: TypeIdentifierTypes.h:821
RTPS_DllAPI void array_bound_seq(SBoundSeq &&_array_bound_seq)
This function moves the value in member array_bound_seq.
Definition: TypeIdentifierTypes.h:848
This class represents the structure PlainCollectionHeader defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:281
RTPS_DllAPI bool consistent(const PlainCollectionHeader &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
RTPS_DllAPI PlainCollectionHeader & operator=(PlainCollectionHeader &&x)
Move assignment.
RTPS_DllAPI void equiv_kind(EquivalenceKind _equiv_kind)
This function sets a value in member equiv_kind.
Definition: TypeIdentifierTypes.h:326
RTPS_DllAPI PlainCollectionHeader & operator=(const PlainCollectionHeader &x)
Copy assignment.
RTPS_DllAPI PlainCollectionHeader()
Default constructor.
RTPS_DllAPI EquivalenceKind equiv_kind() const
This function returns the value of member equiv_kind.
Definition: TypeIdentifierTypes.h:336
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
RTPS_DllAPI CollectionElementFlag & element_flags()
This function returns a reference to member element_flags.
Definition: TypeIdentifierTypes.h:372
RTPS_DllAPI EquivalenceKind & equiv_kind()
This function returns a reference to member equiv_kind.
Definition: TypeIdentifierTypes.h:345
RTPS_DllAPI void element_flags(CollectionElementFlag _element_flags)
This function sets a value in member element_flags.
Definition: TypeIdentifierTypes.h:353
RTPS_DllAPI PlainCollectionHeader(PlainCollectionHeader &&x)
Move constructor.
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
RTPS_DllAPI PlainCollectionHeader(const PlainCollectionHeader &x)
Copy constructor.
RTPS_DllAPI CollectionElementFlag element_flags() const
This function returns the value of member element_flags.
Definition: TypeIdentifierTypes.h:363
RTPS_DllAPI ~PlainCollectionHeader()
Default destructor.
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.
This class represents the structure PlainMapLTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:1339
RTPS_DllAPI void key_flags(CollectionElementFlag _key_flags)
This function sets a value in member key_flags.
Definition: TypeIdentifierTypes.h:1472
RTPS_DllAPI LBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:1431
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:1384
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:1394
RTPS_DllAPI void key_identifier(const TypeIdentifier *_key_identifier)
This function sets a value in member key_identifier.
RTPS_DllAPI void element_identifier(const TypeIdentifier *_element_identifier)
This function sets a value in member element_identifier.
RTPS_DllAPI TypeIdentifier * element_identifier()
This function returns a reference to member element_identifier.
Definition: TypeIdentifierTypes.h:1464
RTPS_DllAPI TypeIdentifier * key_identifier()
This function returns a reference to member key_identifier.
Definition: TypeIdentifierTypes.h:1515
RTPS_DllAPI void bound(LBound _bound)
This function sets a value in member bound.
Definition: TypeIdentifierTypes.h:1421
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
RTPS_DllAPI PlainMapLTypeDefn & operator=(const PlainMapLTypeDefn &x)
Copy assignment.
RTPS_DllAPI PlainMapLTypeDefn()
Default constructor.
RTPS_DllAPI CollectionElementFlag & key_flags()
This function returns a reference to member key_flags.
Definition: TypeIdentifierTypes.h:1491
RTPS_DllAPI bool consistent(const PlainMapLTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
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.
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition: TypeIdentifierTypes.h:1413
RTPS_DllAPI ~PlainMapLTypeDefn()
Default destructor.
RTPS_DllAPI const TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:1455
RTPS_DllAPI const TypeIdentifier * key_identifier() const
This function returns the value of member key_identifier.
Definition: TypeIdentifierTypes.h:1506
RTPS_DllAPI PlainMapLTypeDefn & operator=(PlainMapLTypeDefn &&x)
Move assignment.
RTPS_DllAPI PlainMapLTypeDefn(const PlainMapLTypeDefn &x)
Copy constructor.
RTPS_DllAPI const PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition: TypeIdentifierTypes.h:1404
RTPS_DllAPI LBound & bound()
This function returns a reference to member bound.
Definition: TypeIdentifierTypes.h:1440
RTPS_DllAPI CollectionElementFlag key_flags() const
This function returns the value of member key_flags.
Definition: TypeIdentifierTypes.h:1482
RTPS_DllAPI PlainMapLTypeDefn(PlainMapLTypeDefn &&x)
Move constructor.
This class represents the structure PlainMapSTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:1116
RTPS_DllAPI void key_flags(CollectionElementFlag _key_flags)
This function sets a value in member key_flags.
Definition: TypeIdentifierTypes.h:1249
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:1161
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.
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:1171
RTPS_DllAPI void key_identifier(const TypeIdentifier *_key_identifier)
This function sets a value in member key_identifier.
RTPS_DllAPI void element_identifier(const TypeIdentifier *_element_identifier)
This function sets a value in member element_identifier.
RTPS_DllAPI TypeIdentifier * element_identifier()
This function returns a reference to member element_identifier.
Definition: TypeIdentifierTypes.h:1241
RTPS_DllAPI ~PlainMapSTypeDefn()
Default destructor.
RTPS_DllAPI PlainMapSTypeDefn(const PlainMapSTypeDefn &x)
Copy constructor.
RTPS_DllAPI TypeIdentifier * key_identifier()
This function returns a reference to member key_identifier.
Definition: TypeIdentifierTypes.h:1292
RTPS_DllAPI SBound & bound()
This function returns a reference to member bound.
Definition: TypeIdentifierTypes.h:1217
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
RTPS_DllAPI CollectionElementFlag & key_flags()
This function returns a reference to member key_flags.
Definition: TypeIdentifierTypes.h:1268
RTPS_DllAPI PlainMapSTypeDefn & operator=(const PlainMapSTypeDefn &x)
Copy assignment.
RTPS_DllAPI void bound(SBound _bound)
This function sets a value in member bound.
Definition: TypeIdentifierTypes.h:1198
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition: TypeIdentifierTypes.h:1190
RTPS_DllAPI PlainMapSTypeDefn()
Default constructor.
RTPS_DllAPI const TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:1232
RTPS_DllAPI const TypeIdentifier * key_identifier() const
This function returns the value of member key_identifier.
Definition: TypeIdentifierTypes.h:1283
RTPS_DllAPI PlainMapSTypeDefn(PlainMapSTypeDefn &&x)
Move constructor.
RTPS_DllAPI const PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition: TypeIdentifierTypes.h:1181
RTPS_DllAPI CollectionElementFlag key_flags() const
This function returns the value of member key_flags.
Definition: TypeIdentifierTypes.h:1259
RTPS_DllAPI PlainMapSTypeDefn & operator=(PlainMapSTypeDefn &&x)
Move assignment.
RTPS_DllAPI SBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:1208
RTPS_DllAPI bool consistent(const PlainMapSTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
This class represents the structure PlainSequenceLElemDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:586
RTPS_DllAPI LBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:678
RTPS_DllAPI PlainSequenceLElemDefn(PlainSequenceLElemDefn &&x)
Move constructor.
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:631
RTPS_DllAPI bool consistent(const PlainSequenceLElemDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:641
RTPS_DllAPI void element_identifier(const TypeIdentifier *_element_identifier)
This function sets a value in member element_identifier.
RTPS_DllAPI PlainSequenceLElemDefn & operator=(const PlainSequenceLElemDefn &x)
Copy assignment.
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.
RTPS_DllAPI TypeIdentifier * element_identifier()
This function returns a reference to member element_identifier.
Definition: TypeIdentifierTypes.h:711
RTPS_DllAPI void bound(LBound _bound)
This function sets a value in member bound.
Definition: TypeIdentifierTypes.h:668
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition: TypeIdentifierTypes.h:660
RTPS_DllAPI const TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:702
RTPS_DllAPI PlainSequenceLElemDefn()
Default constructor.
RTPS_DllAPI const PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition: TypeIdentifierTypes.h:651
RTPS_DllAPI LBound & bound()
This function returns a reference to member bound.
Definition: TypeIdentifierTypes.h:687
RTPS_DllAPI PlainSequenceLElemDefn & operator=(PlainSequenceLElemDefn &&x)
Move assignment.
RTPS_DllAPI ~PlainSequenceLElemDefn()
Default destructor.
RTPS_DllAPI PlainSequenceLElemDefn(const PlainSequenceLElemDefn &x)
Copy constructor.
This class represents the structure PlainSequenceSElemDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:416
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:461
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:471
RTPS_DllAPI void element_identifier(const TypeIdentifier *_element_identifier)
This function sets a value in member element_identifier.
RTPS_DllAPI TypeIdentifier * element_identifier()
This function returns a reference to member element_identifier.
Definition: TypeIdentifierTypes.h:541
RTPS_DllAPI bool consistent(const PlainSequenceSElemDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
RTPS_DllAPI ~PlainSequenceSElemDefn()
Default destructor.
RTPS_DllAPI SBound & bound()
This function returns a reference to member bound.
Definition: TypeIdentifierTypes.h:517
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
RTPS_DllAPI void bound(SBound _bound)
This function sets a value in member bound.
Definition: TypeIdentifierTypes.h:498
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition: TypeIdentifierTypes.h:490
RTPS_DllAPI const TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:532
RTPS_DllAPI PlainSequenceSElemDefn(PlainSequenceSElemDefn &&x)
Move constructor.
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.
RTPS_DllAPI PlainSequenceSElemDefn & operator=(PlainSequenceSElemDefn &&x)
Move assignment.
RTPS_DllAPI PlainSequenceSElemDefn(const PlainSequenceSElemDefn &x)
Copy constructor.
RTPS_DllAPI PlainSequenceSElemDefn & operator=(const PlainSequenceSElemDefn &x)
Copy assignment.
RTPS_DllAPI const PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition: TypeIdentifierTypes.h:481
RTPS_DllAPI PlainSequenceSElemDefn()
Default constructor.
RTPS_DllAPI SBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:508
This class represents the structure StringLTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:170
RTPS_DllAPI LBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:225
RTPS_DllAPI StringLTypeDefn(StringLTypeDefn &&x)
Move constructor.
RTPS_DllAPI StringLTypeDefn()
Default constructor.
RTPS_DllAPI void bound(LBound _bound)
This function sets a value in member bound.
Definition: TypeIdentifierTypes.h:215
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.
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
RTPS_DllAPI bool consistent(const StringLTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
RTPS_DllAPI StringLTypeDefn & operator=(StringLTypeDefn &&x)
Move assignment.
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
RTPS_DllAPI StringLTypeDefn & operator=(const StringLTypeDefn &x)
Copy assignment.
RTPS_DllAPI StringLTypeDefn(const StringLTypeDefn &x)
Copy constructor.
RTPS_DllAPI ~StringLTypeDefn()
Default destructor.
RTPS_DllAPI LBound & bound()
This function returns a reference to member bound.
Definition: TypeIdentifierTypes.h:234
RTPS_DllAPI bool consistent(const StringSTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
This class represents the structure StringSTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:59
RTPS_DllAPI ~StringSTypeDefn()
Default destructor.
RTPS_DllAPI SBound & bound()
This function returns a reference to member bound.
Definition: TypeIdentifierTypes.h:123
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
RTPS_DllAPI StringSTypeDefn & operator=(StringSTypeDefn &&x)
Move assignment.
RTPS_DllAPI StringSTypeDefn(const StringSTypeDefn &x)
Copy constructor.
RTPS_DllAPI bool consistent(const StringLTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
RTPS_DllAPI void bound(SBound _bound)
This function sets a value in member bound.
Definition: TypeIdentifierTypes.h:104
RTPS_DllAPI StringSTypeDefn & operator=(const StringSTypeDefn &x)
Copy assignment.
RTPS_DllAPI StringSTypeDefn()
Default constructor.
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
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.
RTPS_DllAPI StringSTypeDefn(StringSTypeDefn &&x)
Move constructor.
RTPS_DllAPI bool consistent(const StringSTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
RTPS_DllAPI SBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:114
This class represents the structure StronglyConnectedComponentId defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:1562
RTPS_DllAPI StronglyConnectedComponentId & operator=(const StronglyConnectedComponentId &x)
Copy assignment.
RTPS_DllAPI int32_t & scc_length()
This function returns a reference to member scc_length.
Definition: TypeIdentifierTypes.h:1663
RTPS_DllAPI void sc_component_id(TypeObjectHashId &&_sc_component_id)
This function moves the value in member sc_component_id.
Definition: TypeIdentifierTypes.h:1617
RTPS_DllAPI void scc_index(int32_t _scc_index)
This function sets a value in member scc_index.
Definition: TypeIdentifierTypes.h:1671
RTPS_DllAPI const TypeObjectHashId & sc_component_id() const
This function returns a constant reference to member sc_component_id.
Definition: TypeIdentifierTypes.h:1627
RTPS_DllAPI StronglyConnectedComponentId & operator=(StronglyConnectedComponentId &&x)
Move assignment.
RTPS_DllAPI void sc_component_id(const TypeObjectHashId &_sc_component_id)
This function copies the value in member sc_component_id.
Definition: TypeIdentifierTypes.h:1607
RTPS_DllAPI StronglyConnectedComponentId()
Default constructor.
RTPS_DllAPI bool consistent(const StronglyConnectedComponentId &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
RTPS_DllAPI StronglyConnectedComponentId(const StronglyConnectedComponentId &x)
Copy constructor.
RTPS_DllAPI void deserialize(eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
RTPS_DllAPI ~StronglyConnectedComponentId()
Default destructor.
RTPS_DllAPI TypeObjectHashId & sc_component_id()
This function returns a reference to member sc_component_id.
Definition: TypeIdentifierTypes.h:1636
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.
RTPS_DllAPI void serialize(eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
RTPS_DllAPI int32_t & scc_index()
This function returns a reference to member scc_index.
Definition: TypeIdentifierTypes.h:1690
RTPS_DllAPI int32_t scc_index() const
This function returns the value of member scc_index.
Definition: TypeIdentifierTypes.h:1681
RTPS_DllAPI StronglyConnectedComponentId(StronglyConnectedComponentId &&x)
Move constructor.
RTPS_DllAPI int32_t scc_length() const
This function returns the value of member scc_length.
Definition: TypeIdentifierTypes.h:1654
RTPS_DllAPI void scc_length(int32_t _scc_length)
This function sets a value in member scc_length.
Definition: TypeIdentifierTypes.h:1644
Definition: TypeIdentifier.h:81
This class represents the union TypeObjectHashId defined by the user in the IDL file.
Definition: TypeObjectHashId.h:54
octet EquivalenceKind
Definition: TypesBase.h:113
octet SBound
Definition: TypesBase.h:286
uint32_t LBound
Definition: TypesBase.h:281
std::vector< SBound > SBoundSeq
Definition: TypesBase.h:287
std::vector< LBound > LBoundSeq
Definition: TypesBase.h:282
fastdds::dds::TypeConsistencyEnforcementQosPolicy TypeConsistencyEnforcementQosPolicy
Definition: QosPolicies.h:95
eProsima namespace.
Definition: LibrarySettingsAttributes.h:23