Fast RTPS  Version 2.6.10
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 } // namespace fastcdr
36 } // namespace eprosima
37 
38 namespace eprosima {
39 
40 namespace fastdds {
41 namespace dds {
43 } // namespace dds
44 } // namespace fastdds
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 
91  const StringSTypeDefn& x);
92 
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  }
349 
354  RTPS_DllAPI inline void element_flags(
355  CollectionElementFlag _element_flags)
356  {
357  m_element_flags = _element_flags;
358  }
359 
364  RTPS_DllAPI inline CollectionElementFlag element_flags() const
365  {
366  return m_element_flags;
367  }
368 
373  RTPS_DllAPI inline CollectionElementFlag& element_flags()
374  {
375  return m_element_flags;
376  }
377 
384  RTPS_DllAPI static size_t getCdrSerializedSize(
385  const PlainCollectionHeader& data,
386  size_t current_alignment = 0);
387 
388 
393  RTPS_DllAPI void serialize(
394  eprosima::fastcdr::Cdr& cdr) const;
395 
400  RTPS_DllAPI void deserialize(
401  eprosima::fastcdr::Cdr& cdr);
402 
403  RTPS_DllAPI bool consistent(
404  const PlainCollectionHeader& x,
405  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
406 
407 private:
408 
409  EquivalenceKind m_equiv_kind;
410  CollectionElementFlag m_element_flags;
411 };
417 {
418 public:
419 
423  RTPS_DllAPI PlainSequenceSElemDefn();
424 
428  RTPS_DllAPI ~PlainSequenceSElemDefn();
429 
435  const PlainSequenceSElemDefn& x);
436 
443 
449  const PlainSequenceSElemDefn& x);
450 
457 
462  RTPS_DllAPI inline void header(
463  const PlainCollectionHeader& _header)
464  {
465  m_header = _header;
466  }
467 
472  RTPS_DllAPI inline void header(
473  PlainCollectionHeader&& _header)
474  {
475  m_header = std::move(_header);
476  }
477 
482  RTPS_DllAPI inline const PlainCollectionHeader& header() const
483  {
484  return m_header;
485  }
486 
491  RTPS_DllAPI inline PlainCollectionHeader& header()
492  {
493  return m_header;
494  }
495 
500  RTPS_DllAPI inline void bound(
501  SBound _bound)
502  {
503  m_bound = _bound;
504  }
505 
510  RTPS_DllAPI inline SBound bound() const
511  {
512  return m_bound;
513  }
514 
519  RTPS_DllAPI inline SBound& bound()
520  {
521  return m_bound;
522  }
523 
528  RTPS_DllAPI void element_identifier(
529  const TypeIdentifier* _element_identifier);
530 
535  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
536  {
537  return m_element_identifier;
538  }
539 
544  RTPS_DllAPI inline TypeIdentifier* element_identifier()
545  {
546  return m_element_identifier;
547  }
548 
555  RTPS_DllAPI static size_t getCdrSerializedSize(
556  const PlainSequenceSElemDefn& data,
557  size_t current_alignment = 0);
558 
559 
564  RTPS_DllAPI void serialize(
565  eprosima::fastcdr::Cdr& cdr) const;
566 
571  RTPS_DllAPI void deserialize(
572  eprosima::fastcdr::Cdr& cdr);
573 
574  RTPS_DllAPI bool consistent(
575  const PlainSequenceSElemDefn& x,
576  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
577 
578 private:
579 
580  PlainCollectionHeader m_header;
581  SBound m_bound;
582  TypeIdentifier* m_element_identifier;
583 };
589 {
590 public:
591 
595  RTPS_DllAPI PlainSequenceLElemDefn();
596 
600  RTPS_DllAPI ~PlainSequenceLElemDefn();
601 
607  const PlainSequenceLElemDefn& x);
608 
615 
621  const PlainSequenceLElemDefn& x);
622 
629 
634  RTPS_DllAPI inline void header(
635  const PlainCollectionHeader& _header)
636  {
637  m_header = _header;
638  }
639 
644  RTPS_DllAPI inline void header(
645  PlainCollectionHeader&& _header)
646  {
647  m_header = std::move(_header);
648  }
649 
654  RTPS_DllAPI inline const PlainCollectionHeader& header() const
655  {
656  return m_header;
657  }
658 
663  RTPS_DllAPI inline PlainCollectionHeader& header()
664  {
665  return m_header;
666  }
667 
672  RTPS_DllAPI inline void bound(
673  LBound _bound)
674  {
675  m_bound = _bound;
676  }
677 
682  RTPS_DllAPI inline LBound bound() const
683  {
684  return m_bound;
685  }
686 
691  RTPS_DllAPI inline LBound& bound()
692  {
693  return m_bound;
694  }
695 
700  RTPS_DllAPI void element_identifier(
701  const TypeIdentifier* _element_identifier);
702 
707  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
708  {
709  return m_element_identifier;
710  }
711 
716  RTPS_DllAPI inline TypeIdentifier* element_identifier()
717  {
718  return m_element_identifier;
719  }
720 
727  RTPS_DllAPI static size_t getCdrSerializedSize(
728  const PlainSequenceLElemDefn& data,
729  size_t current_alignment = 0);
730 
731 
736  RTPS_DllAPI void serialize(
737  eprosima::fastcdr::Cdr& cdr) const;
738 
743  RTPS_DllAPI void deserialize(
744  eprosima::fastcdr::Cdr& cdr);
745 
746  RTPS_DllAPI bool consistent(
747  const PlainSequenceLElemDefn& x,
748  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
749 
750 private:
751 
752  PlainCollectionHeader m_header;
753  LBound m_bound;
754  TypeIdentifier* m_element_identifier;
755 };
761 {
762 public:
763 
767  RTPS_DllAPI PlainArraySElemDefn();
768 
772  RTPS_DllAPI ~PlainArraySElemDefn();
773 
778  RTPS_DllAPI PlainArraySElemDefn(
779  const PlainArraySElemDefn& x);
780 
785  RTPS_DllAPI PlainArraySElemDefn(
786  PlainArraySElemDefn&& x);
787 
793  const PlainArraySElemDefn& x);
794 
800  PlainArraySElemDefn&& x);
801 
806  RTPS_DllAPI inline void header(
807  const PlainCollectionHeader& _header)
808  {
809  m_header = _header;
810  }
811 
816  RTPS_DllAPI inline void header(
817  PlainCollectionHeader&& _header)
818  {
819  m_header = std::move(_header);
820  }
821 
826  RTPS_DllAPI inline const PlainCollectionHeader& header() const
827  {
828  return m_header;
829  }
830 
835  RTPS_DllAPI inline PlainCollectionHeader& header()
836  {
837  return m_header;
838  }
839 
844  RTPS_DllAPI inline void array_bound_seq(
845  const SBoundSeq& _array_bound_seq)
846  {
847  m_array_bound_seq = _array_bound_seq;
848  }
849 
854  RTPS_DllAPI inline void array_bound_seq(
855  SBoundSeq&& _array_bound_seq)
856  {
857  m_array_bound_seq = std::move(_array_bound_seq);
858  }
859 
864  RTPS_DllAPI inline const SBoundSeq& array_bound_seq() const
865  {
866  return m_array_bound_seq;
867  }
868 
873  RTPS_DllAPI inline SBoundSeq& array_bound_seq()
874  {
875  return m_array_bound_seq;
876  }
877 
882  RTPS_DllAPI void element_identifier(
883  const TypeIdentifier* _element_identifier);
884 
889  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
890  {
891  return m_element_identifier;
892  }
893 
898  RTPS_DllAPI inline TypeIdentifier* element_identifier()
899  {
900  return m_element_identifier;
901  }
902 
909  RTPS_DllAPI static size_t getCdrSerializedSize(
910  const PlainArraySElemDefn& data,
911  size_t current_alignment = 0);
912 
913 
918  RTPS_DllAPI void serialize(
919  eprosima::fastcdr::Cdr& cdr) const;
920 
925  RTPS_DllAPI void deserialize(
926  eprosima::fastcdr::Cdr& cdr);
927 
928  RTPS_DllAPI bool consistent(
929  const PlainArraySElemDefn& x,
930  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
931 
932 private:
933 
934  PlainCollectionHeader m_header;
935  SBoundSeq m_array_bound_seq;
936  TypeIdentifier* m_element_identifier;
937 };
943 {
944 public:
945 
949  RTPS_DllAPI PlainArrayLElemDefn();
950 
954  RTPS_DllAPI ~PlainArrayLElemDefn();
955 
960  RTPS_DllAPI PlainArrayLElemDefn(
961  const PlainArrayLElemDefn& x);
962 
967  RTPS_DllAPI PlainArrayLElemDefn(
968  PlainArrayLElemDefn&& x);
969 
975  const PlainArrayLElemDefn& x);
976 
982  PlainArrayLElemDefn&& x);
983 
988  RTPS_DllAPI inline void header(
989  const PlainCollectionHeader& _header)
990  {
991  m_header = _header;
992  }
993 
998  RTPS_DllAPI inline void header(
999  PlainCollectionHeader&& _header)
1000  {
1001  m_header = std::move(_header);
1002  }
1003 
1008  RTPS_DllAPI inline const PlainCollectionHeader& header() const
1009  {
1010  return m_header;
1011  }
1012 
1017  RTPS_DllAPI inline PlainCollectionHeader& header()
1018  {
1019  return m_header;
1020  }
1021 
1026  RTPS_DllAPI inline void array_bound_seq(
1027  const LBoundSeq& _array_bound_seq)
1028  {
1029  m_array_bound_seq = _array_bound_seq;
1030  }
1031 
1036  RTPS_DllAPI inline void array_bound_seq(
1037  LBoundSeq&& _array_bound_seq)
1038  {
1039  m_array_bound_seq = std::move(_array_bound_seq);
1040  }
1041 
1046  RTPS_DllAPI inline const LBoundSeq& array_bound_seq() const
1047  {
1048  return m_array_bound_seq;
1049  }
1050 
1055  RTPS_DllAPI inline LBoundSeq& array_bound_seq()
1056  {
1057  return m_array_bound_seq;
1058  }
1059 
1064  RTPS_DllAPI void element_identifier(
1065  const TypeIdentifier* _element_identifier);
1066 
1071  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
1072  {
1073  return m_element_identifier;
1074  }
1075 
1080  RTPS_DllAPI inline TypeIdentifier* element_identifier()
1081  {
1082  return m_element_identifier;
1083  }
1084 
1091  RTPS_DllAPI static size_t getCdrSerializedSize(
1092  const PlainArrayLElemDefn& data,
1093  size_t current_alignment = 0);
1094 
1095 
1100  RTPS_DllAPI void serialize(
1101  eprosima::fastcdr::Cdr& cdr) const;
1102 
1107  RTPS_DllAPI void deserialize(
1108  eprosima::fastcdr::Cdr& cdr);
1109 
1110  RTPS_DllAPI bool consistent(
1111  const PlainArrayLElemDefn& x,
1112  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1113 
1114 private:
1115 
1116  PlainCollectionHeader m_header;
1117  LBoundSeq m_array_bound_seq;
1118  TypeIdentifier* m_element_identifier;
1119 };
1125 {
1126 public:
1127 
1131  RTPS_DllAPI PlainMapSTypeDefn();
1132 
1136  RTPS_DllAPI ~PlainMapSTypeDefn();
1137 
1142  RTPS_DllAPI PlainMapSTypeDefn(
1143  const PlainMapSTypeDefn& x);
1144 
1149  RTPS_DllAPI PlainMapSTypeDefn(
1150  PlainMapSTypeDefn&& x);
1151 
1157  const PlainMapSTypeDefn& x);
1158 
1164  PlainMapSTypeDefn&& x);
1165 
1170  RTPS_DllAPI inline void header(
1171  const PlainCollectionHeader& _header)
1172  {
1173  m_header = _header;
1174  }
1175 
1180  RTPS_DllAPI inline void header(
1181  PlainCollectionHeader&& _header)
1182  {
1183  m_header = std::move(_header);
1184  }
1185 
1190  RTPS_DllAPI inline const PlainCollectionHeader& header() const
1191  {
1192  return m_header;
1193  }
1194 
1199  RTPS_DllAPI inline PlainCollectionHeader& header()
1200  {
1201  return m_header;
1202  }
1203 
1208  RTPS_DllAPI inline void bound(
1209  SBound _bound)
1210  {
1211  m_bound = _bound;
1212  }
1213 
1218  RTPS_DllAPI inline SBound bound() const
1219  {
1220  return m_bound;
1221  }
1222 
1227  RTPS_DllAPI inline SBound& bound()
1228  {
1229  return m_bound;
1230  }
1231 
1236  RTPS_DllAPI void element_identifier(
1237  const TypeIdentifier* _element_identifier);
1238 
1243  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
1244  {
1245  return m_element_identifier;
1246  }
1247 
1252  RTPS_DllAPI inline TypeIdentifier* element_identifier()
1253  {
1254  return m_element_identifier;
1255  }
1256 
1261  RTPS_DllAPI inline void key_flags(
1262  CollectionElementFlag _key_flags)
1263  {
1264  m_key_flags = _key_flags;
1265  }
1266 
1271  RTPS_DllAPI inline CollectionElementFlag key_flags() const
1272  {
1273  return m_key_flags;
1274  }
1275 
1280  RTPS_DllAPI inline CollectionElementFlag& key_flags()
1281  {
1282  return m_key_flags;
1283  }
1284 
1289  RTPS_DllAPI void key_identifier(
1290  const TypeIdentifier* _key_identifier);
1291 
1296  RTPS_DllAPI inline const TypeIdentifier* key_identifier() const
1297  {
1298  return m_key_identifier;
1299  }
1300 
1305  RTPS_DllAPI inline TypeIdentifier* key_identifier()
1306  {
1307  return m_key_identifier;
1308  }
1309 
1316  RTPS_DllAPI static size_t getCdrSerializedSize(
1317  const PlainMapSTypeDefn& data,
1318  size_t current_alignment = 0);
1319 
1320 
1325  RTPS_DllAPI void serialize(
1326  eprosima::fastcdr::Cdr& cdr) const;
1327 
1332  RTPS_DllAPI void deserialize(
1333  eprosima::fastcdr::Cdr& cdr);
1334 
1335  RTPS_DllAPI bool consistent(
1336  const PlainMapSTypeDefn& x,
1337  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1338 
1339 private:
1340 
1341  PlainCollectionHeader m_header;
1342  SBound m_bound;
1343  TypeIdentifier* m_element_identifier;
1344  CollectionElementFlag m_key_flags;
1345  TypeIdentifier* m_key_identifier;
1346 };
1352 {
1353 public:
1354 
1358  RTPS_DllAPI PlainMapLTypeDefn();
1359 
1363  RTPS_DllAPI ~PlainMapLTypeDefn();
1364 
1369  RTPS_DllAPI PlainMapLTypeDefn(
1370  const PlainMapLTypeDefn& x);
1371 
1376  RTPS_DllAPI PlainMapLTypeDefn(
1377  PlainMapLTypeDefn&& x);
1378 
1384  const PlainMapLTypeDefn& x);
1385 
1391  PlainMapLTypeDefn&& x);
1392 
1397  RTPS_DllAPI inline void header(
1398  const PlainCollectionHeader& _header)
1399  {
1400  m_header = _header;
1401  }
1402 
1407  RTPS_DllAPI inline void header(
1408  PlainCollectionHeader&& _header)
1409  {
1410  m_header = std::move(_header);
1411  }
1412 
1417  RTPS_DllAPI inline const PlainCollectionHeader& header() const
1418  {
1419  return m_header;
1420  }
1421 
1426  RTPS_DllAPI inline PlainCollectionHeader& header()
1427  {
1428  return m_header;
1429  }
1430 
1435  RTPS_DllAPI inline void bound(
1436  LBound _bound)
1437  {
1438  m_bound = _bound;
1439  }
1440 
1445  RTPS_DllAPI inline LBound bound() const
1446  {
1447  return m_bound;
1448  }
1449 
1454  RTPS_DllAPI inline LBound& bound()
1455  {
1456  return m_bound;
1457  }
1458 
1463  RTPS_DllAPI void element_identifier(
1464  const TypeIdentifier* _element_identifier);
1465 
1470  RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
1471  {
1472  return m_element_identifier;
1473  }
1474 
1479  RTPS_DllAPI inline TypeIdentifier* element_identifier()
1480  {
1481  return m_element_identifier;
1482  }
1483 
1488  RTPS_DllAPI inline void key_flags(
1489  CollectionElementFlag _key_flags)
1490  {
1491  m_key_flags = _key_flags;
1492  }
1493 
1498  RTPS_DllAPI inline CollectionElementFlag key_flags() const
1499  {
1500  return m_key_flags;
1501  }
1502 
1507  RTPS_DllAPI inline CollectionElementFlag& key_flags()
1508  {
1509  return m_key_flags;
1510  }
1511 
1516  RTPS_DllAPI void key_identifier(
1517  const TypeIdentifier* _key_identifier);
1518 
1523  RTPS_DllAPI inline const TypeIdentifier* key_identifier() const
1524  {
1525  return m_key_identifier;
1526  }
1527 
1532  RTPS_DllAPI inline TypeIdentifier* key_identifier()
1533  {
1534  return m_key_identifier;
1535  }
1536 
1543  RTPS_DllAPI static size_t getCdrSerializedSize(
1544  const PlainMapLTypeDefn& data,
1545  size_t current_alignment = 0);
1546 
1547 
1552  RTPS_DllAPI void serialize(
1553  eprosima::fastcdr::Cdr& cdr) const;
1554 
1559  RTPS_DllAPI void deserialize(
1560  eprosima::fastcdr::Cdr& cdr);
1561 
1562  RTPS_DllAPI bool consistent(
1563  const PlainMapLTypeDefn& x,
1564  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1565 
1566 private:
1567 
1568  PlainCollectionHeader m_header;
1569  LBound m_bound;
1570  TypeIdentifier* m_element_identifier;
1571  CollectionElementFlag m_key_flags;
1572  TypeIdentifier* m_key_identifier;
1573 };
1579 {
1580 public:
1581 
1586 
1591 
1597  const StronglyConnectedComponentId& x);
1598 
1605 
1611  const StronglyConnectedComponentId& x);
1612 
1619 
1624  RTPS_DllAPI inline void sc_component_id(
1625  const TypeObjectHashId& _sc_component_id)
1626  {
1627  m_sc_component_id = _sc_component_id;
1628  }
1629 
1634  RTPS_DllAPI inline void sc_component_id(
1635  TypeObjectHashId&& _sc_component_id)
1636  {
1637  m_sc_component_id = std::move(_sc_component_id);
1638  }
1639 
1644  RTPS_DllAPI inline const TypeObjectHashId& sc_component_id() const
1645  {
1646  return m_sc_component_id;
1647  }
1648 
1653  RTPS_DllAPI inline TypeObjectHashId& sc_component_id()
1654  {
1655  return m_sc_component_id;
1656  }
1657 
1662  RTPS_DllAPI inline void scc_length(
1663  int32_t _scc_length)
1664  {
1665  m_scc_length = _scc_length;
1666  }
1667 
1672  RTPS_DllAPI inline int32_t scc_length() const
1673  {
1674  return m_scc_length;
1675  }
1676 
1681  RTPS_DllAPI inline int32_t& scc_length()
1682  {
1683  return m_scc_length;
1684  }
1685 
1690  RTPS_DllAPI inline void scc_index(
1691  int32_t _scc_index)
1692  {
1693  m_scc_index = _scc_index;
1694  }
1695 
1700  RTPS_DllAPI inline int32_t scc_index() const
1701  {
1702  return m_scc_index;
1703  }
1704 
1709  RTPS_DllAPI inline int32_t& scc_index()
1710  {
1711  return m_scc_index;
1712  }
1713 
1720  RTPS_DllAPI static size_t getCdrSerializedSize(
1721  const StronglyConnectedComponentId& data,
1722  size_t current_alignment = 0);
1723 
1724 
1729  RTPS_DllAPI void serialize(
1730  eprosima::fastcdr::Cdr& cdr) const;
1731 
1736  RTPS_DllAPI void deserialize(
1737  eprosima::fastcdr::Cdr& cdr);
1738 
1739  RTPS_DllAPI bool consistent(
1741  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1742 
1743 private:
1744 
1745  TypeObjectHashId m_sc_component_id;
1746  int32_t m_scc_length;
1747  int32_t m_scc_index;
1748 };
1753 class ExtendedTypeDefn final
1754 {
1755 public:
1756 
1760  RTPS_DllAPI ExtendedTypeDefn();
1761 
1765  RTPS_DllAPI virtual ~ExtendedTypeDefn();
1766 
1771  RTPS_DllAPI ExtendedTypeDefn(
1772  const ExtendedTypeDefn& x);
1773 
1778  RTPS_DllAPI ExtendedTypeDefn(
1779  ExtendedTypeDefn&& x);
1780 
1785  RTPS_DllAPI virtual ExtendedTypeDefn& operator =(
1786  const ExtendedTypeDefn& x);
1787 
1792  RTPS_DllAPI virtual ExtendedTypeDefn& operator =(
1793  ExtendedTypeDefn&& x);
1794 
1801  RTPS_DllAPI static size_t getCdrSerializedSize(
1802  const ExtendedTypeDefn& data,
1803  size_t current_alignment = 0);
1804 
1805 
1810  RTPS_DllAPI virtual void serialize(
1811  eprosima::fastcdr::Cdr& cdr) const;
1812 
1817  RTPS_DllAPI virtual void deserialize(
1818  eprosima::fastcdr::Cdr& cdr);
1819 
1820  RTPS_DllAPI bool consistent(
1821  const ExtendedTypeDefn& x,
1822  const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1823 
1824 
1825 };
1826 
1827 } // namespace types
1828 } // namespace fastrtps
1829 } // namespace eprosima
1830 
1831 #endif // _TYPEIDENTIFIERTYPES_H_
This class represents the structure ExtendedTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:1754
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.
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:335
This class represents the structure PlainArrayLElemDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:943
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:988
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:998
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:1080
RTPS_DllAPI const LBoundSeq & array_bound_seq() const
This function returns a constant reference to member array_bound_seq.
Definition: TypeIdentifierTypes.h:1046
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:1017
RTPS_DllAPI const TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:1071
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 void array_bound_seq(const LBoundSeq &_array_bound_seq)
This function copies the value in member array_bound_seq.
Definition: TypeIdentifierTypes.h:1026
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:1008
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:1055
RTPS_DllAPI void array_bound_seq(LBoundSeq &&_array_bound_seq)
This function moves the value in member array_bound_seq.
Definition: TypeIdentifierTypes.h:1036
This class represents the structure PlainArraySElemDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:761
RTPS_DllAPI ~PlainArraySElemDefn()
Default destructor.
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:806
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:816
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:873
RTPS_DllAPI TypeIdentifier * element_identifier()
This function returns a reference to member element_identifier.
Definition: TypeIdentifierTypes.h:898
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:835
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:889
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:844
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:864
RTPS_DllAPI const PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition: TypeIdentifierTypes.h:826
RTPS_DllAPI void array_bound_seq(SBoundSeq &&_array_bound_seq)
This function moves the value in member array_bound_seq.
Definition: TypeIdentifierTypes.h:854
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 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:373
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:354
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:364
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:1352
RTPS_DllAPI void key_flags(CollectionElementFlag _key_flags)
This function sets a value in member key_flags.
Definition: TypeIdentifierTypes.h:1488
RTPS_DllAPI LBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:1445
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:1397
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:1407
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:1479
RTPS_DllAPI TypeIdentifier * key_identifier()
This function returns a reference to member key_identifier.
Definition: TypeIdentifierTypes.h:1532
RTPS_DllAPI void bound(LBound _bound)
This function sets a value in member bound.
Definition: TypeIdentifierTypes.h:1435
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:1507
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:1426
RTPS_DllAPI ~PlainMapLTypeDefn()
Default destructor.
RTPS_DllAPI const TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:1470
RTPS_DllAPI const TypeIdentifier * key_identifier() const
This function returns the value of member key_identifier.
Definition: TypeIdentifierTypes.h:1523
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:1417
RTPS_DllAPI LBound & bound()
This function returns a reference to member bound.
Definition: TypeIdentifierTypes.h:1454
RTPS_DllAPI CollectionElementFlag key_flags() const
This function returns the value of member key_flags.
Definition: TypeIdentifierTypes.h:1498
RTPS_DllAPI PlainMapLTypeDefn(PlainMapLTypeDefn &&x)
Move constructor.
This class represents the structure PlainMapSTypeDefn defined by the user in the IDL file.
Definition: TypeIdentifierTypes.h:1125
RTPS_DllAPI void key_flags(CollectionElementFlag _key_flags)
This function sets a value in member key_flags.
Definition: TypeIdentifierTypes.h:1261
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:1170
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:1180
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:1252
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:1305
RTPS_DllAPI SBound & bound()
This function returns a reference to member bound.
Definition: TypeIdentifierTypes.h:1227
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:1280
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:1208
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:1199
RTPS_DllAPI PlainMapSTypeDefn()
Default constructor.
RTPS_DllAPI const TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:1243
RTPS_DllAPI const TypeIdentifier * key_identifier() const
This function returns the value of member key_identifier.
Definition: TypeIdentifierTypes.h:1296
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:1190
RTPS_DllAPI CollectionElementFlag key_flags() const
This function returns the value of member key_flags.
Definition: TypeIdentifierTypes.h:1271
RTPS_DllAPI SBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:1218
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:589
RTPS_DllAPI LBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:682
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:634
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:644
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:716
RTPS_DllAPI void bound(LBound _bound)
This function sets a value in member bound.
Definition: TypeIdentifierTypes.h:672
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:663
RTPS_DllAPI const TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:707
RTPS_DllAPI PlainSequenceLElemDefn()
Default constructor.
RTPS_DllAPI const PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition: TypeIdentifierTypes.h:654
RTPS_DllAPI LBound & bound()
This function returns a reference to member bound.
Definition: TypeIdentifierTypes.h:691
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:417
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition: TypeIdentifierTypes.h:462
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition: TypeIdentifierTypes.h:472
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:544
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:519
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:500
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:491
RTPS_DllAPI const TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition: TypeIdentifierTypes.h:535
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(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:482
RTPS_DllAPI PlainSequenceSElemDefn()
Default constructor.
RTPS_DllAPI SBound bound() const
This function returns the value of member bound.
Definition: TypeIdentifierTypes.h:510
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 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(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:1579
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:1681
RTPS_DllAPI void sc_component_id(TypeObjectHashId &&_sc_component_id)
This function moves the value in member sc_component_id.
Definition: TypeIdentifierTypes.h:1634
RTPS_DllAPI void scc_index(int32_t _scc_index)
This function sets a value in member scc_index.
Definition: TypeIdentifierTypes.h:1690
RTPS_DllAPI const TypeObjectHashId & sc_component_id() const
This function returns a constant reference to member sc_component_id.
Definition: TypeIdentifierTypes.h:1644
RTPS_DllAPI void sc_component_id(const TypeObjectHashId &_sc_component_id)
This function copies the value in member sc_component_id.
Definition: TypeIdentifierTypes.h:1624
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:1653
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:1709
RTPS_DllAPI int32_t scc_index() const
This function returns the value of member scc_index.
Definition: TypeIdentifierTypes.h:1700
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:1672
RTPS_DllAPI void scc_length(int32_t _scc_length)
This function sets a value in member scc_length.
Definition: TypeIdentifierTypes.h:1662
Definition: TypeIdentifier.h:81
This class represents the union TypeObjectHashId defined by the user in the IDL file.
Definition: TypeObjectHashId.h:52
octet EquivalenceKind
Definition: TypesBase.h:113
octet SBound
Definition: TypesBase.h:298
uint32_t LBound
Definition: TypesBase.h:293
std::vector< SBound > SBoundSeq
Definition: TypesBase.h:299
std::vector< LBound > LBoundSeq
Definition: TypesBase.h:294
fastdds::dds::TypeConsistencyEnforcementQosPolicy TypeConsistencyEnforcementQosPolicy
Definition: QosPolicies.h:95
eProsima namespace.
Definition: LibrarySettingsAttributes.h:23