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