Fast RTPS  Version 2.14.1
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 <stdint.h>
26#include <array>
27#include <string>
28#include <vector>
29
30#include <fastrtps/types/TypesBase.h>
31#include <fastrtps/types/TypeObjectHashId.h>
32
33namespace eprosima {
34namespace fastcdr {
35class Cdr;
36} // namespace fastcdr
37} // namespace eprosima
38
39namespace eprosima {
40
41namespace fastdds {
42namespace dds {
44} // namespace dds
45} // namespace fastdds
46
47namespace fastrtps {
48namespace types {
49
50
51// Forward declaration
52class TypeIdentifier;
53class StringLTypeDefn;
54
59class StringSTypeDefn final
60{
61public:
62
66 RTPS_DllAPI StringSTypeDefn();
67
71 RTPS_DllAPI ~StringSTypeDefn();
72
77 RTPS_DllAPI StringSTypeDefn(
78 const StringSTypeDefn& x);
79
84 RTPS_DllAPI StringSTypeDefn(
85 StringSTypeDefn&& x);
86
92 const StringSTypeDefn& x);
93
99 StringSTypeDefn&& x);
100
105 RTPS_DllAPI inline void bound(
106 SBound _bound)
107 {
108 m_bound = _bound;
109 }
110
115 RTPS_DllAPI inline SBound bound() const
116 {
117 return m_bound;
118 }
119
124 RTPS_DllAPI inline SBound& bound()
125 {
126 return m_bound;
127 }
128
129#ifndef DOXYGEN_SHOULD_SKIP_THIS
136 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::StringSTypeDefn::getCdrSerializedSize()",
137 "In favor of version using eprosima::fastcdr::calculate_serialized_size.")
138 RTPS_DllAPI static size_t getCdrSerializedSize(
139 const StringSTypeDefn& data,
140 size_t current_alignment = 0);
141
142
147 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::StringSTypeDefn::serialize()",
148 "In favor of version using eprosima::fastcdr::serialize.")
149 RTPS_DllAPI void serialize(
150 eprosima::fastcdr::Cdr& cdr) const;
151
156 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::StringSTypeDefn::deserialize()",
157 "In favor of version using eprosima::fastcdr::deserialize.")
158 RTPS_DllAPI void deserialize(
159 eprosima::fastcdr::Cdr& cdr);
160#endif // DOXYGEN_SHOULD_SKIP_THIS
161
162 RTPS_DllAPI bool consistent(
163 const StringSTypeDefn& x,
164 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
165
166 RTPS_DllAPI bool consistent(
167 const StringLTypeDefn& x,
168 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
169
170private:
171
172 SBound m_bound;
173};
179{
180public:
181
185 RTPS_DllAPI StringLTypeDefn();
186
190 RTPS_DllAPI ~StringLTypeDefn();
191
196 RTPS_DllAPI StringLTypeDefn(
197 const StringLTypeDefn& x);
198
203 RTPS_DllAPI StringLTypeDefn(
204 StringLTypeDefn&& x);
205
211 const StringLTypeDefn& x);
212
218 StringLTypeDefn&& x);
219
224 RTPS_DllAPI inline void bound(
225 LBound _bound)
226 {
227 m_bound = _bound;
228 }
229
234 RTPS_DllAPI inline LBound bound() const
235 {
236 return m_bound;
237 }
238
243 RTPS_DllAPI inline LBound& bound()
244 {
245 return m_bound;
246 }
247
248#ifndef DOXYGEN_SHOULD_SKIP_THIS
255 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::StringLTypeDefn::getCdrSerializedSize()",
256 "In favor of version using eprosima::fastcdr::calculate_serialized_size.")
257 RTPS_DllAPI static size_t getCdrSerializedSize(
258 const StringLTypeDefn& data,
259 size_t current_alignment = 0);
260
261
266 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::StringLTypeDefn::serialize()",
267 "In favor of version using eprosima::fastcdr::serialize.")
268 RTPS_DllAPI void serialize(
269 eprosima::fastcdr::Cdr& cdr) const;
270
275 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::StringLTypeDefn::deserialize()",
276 "In favor of version using eprosima::fastcdr::deserialize.")
277 RTPS_DllAPI void deserialize(
278 eprosima::fastcdr::Cdr& cdr);
279#endif // DOXYGEN_SHOULD_SKIP_THIS
280
281 RTPS_DllAPI bool consistent(
282 const StringLTypeDefn& x,
283 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
284
285 RTPS_DllAPI bool consistent(
286 const StringSTypeDefn& x,
287 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
288
289private:
290
291 LBound m_bound;
292};
298{
299public:
300
305
310
316 const PlainCollectionHeader& x);
317
324
330 const PlainCollectionHeader& x);
331
338
343 RTPS_DllAPI inline void equiv_kind(
344 EquivalenceKind _equiv_kind)
345 {
346 m_equiv_kind = _equiv_kind;
347 }
348
353 RTPS_DllAPI inline EquivalenceKind equiv_kind() const
354 {
355 return m_equiv_kind;
356 }
357
362 RTPS_DllAPI inline EquivalenceKind& equiv_kind()
363 {
364 return m_equiv_kind;
365 }
366
371 RTPS_DllAPI inline void element_flags(
372 CollectionElementFlag _element_flags)
373 {
374 m_element_flags = _element_flags;
375 }
376
381 RTPS_DllAPI inline CollectionElementFlag element_flags() const
382 {
383 return m_element_flags;
384 }
385
391 {
392 return m_element_flags;
393 }
394
395#ifndef DOXYGEN_SHOULD_SKIP_THIS
402 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainCollectionHeader::getCdrSerializedSize()",
403 "In favor of version using eprosima::fastcdr::calculate_serialized_size.")
404 RTPS_DllAPI static size_t getCdrSerializedSize(
405 const PlainCollectionHeader& data,
406 size_t current_alignment = 0);
407
408
413 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainCollectionHeader::serialize()",
414 "In favor of version using eprosima::fastcdr::serialize.")
415 RTPS_DllAPI void serialize(
416 eprosima::fastcdr::Cdr& cdr) const;
417
422 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainCollectionHeader::deserialize()",
423 "In favor of version using eprosima::fastcdr::deserialize.")
424 RTPS_DllAPI void deserialize(
425 eprosima::fastcdr::Cdr& cdr);
426#endif // DOXYGEN_SHOULD_SKIP_THIS
427
428 RTPS_DllAPI bool consistent(
429 const PlainCollectionHeader& x,
430 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
431
432private:
433
434 EquivalenceKind m_equiv_kind;
435 CollectionElementFlag m_element_flags;
436};
442{
443public:
444
449
454
460 const PlainSequenceSElemDefn& x);
461
468
474 const PlainSequenceSElemDefn& x);
475
482
487 RTPS_DllAPI inline void header(
488 const PlainCollectionHeader& _header)
489 {
490 m_header = _header;
491 }
492
497 RTPS_DllAPI inline void header(
498 PlainCollectionHeader&& _header)
499 {
500 m_header = std::move(_header);
501 }
502
507 RTPS_DllAPI inline const PlainCollectionHeader& header() const
508 {
509 return m_header;
510 }
511
516 RTPS_DllAPI inline PlainCollectionHeader& header()
517 {
518 return m_header;
519 }
520
525 RTPS_DllAPI inline void bound(
526 SBound _bound)
527 {
528 m_bound = _bound;
529 }
530
535 RTPS_DllAPI inline SBound bound() const
536 {
537 return m_bound;
538 }
539
544 RTPS_DllAPI inline SBound& bound()
545 {
546 return m_bound;
547 }
548
553 RTPS_DllAPI void element_identifier(
554 const TypeIdentifier* _element_identifier);
555
560 RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
561 {
562 return m_element_identifier;
563 }
564
569 RTPS_DllAPI inline TypeIdentifier* element_identifier()
570 {
571 return m_element_identifier;
572 }
573
574#ifndef DOXYGEN_SHOULD_SKIP_THIS
581 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainSequenceSElemDefn::getCdrSerializedSize()",
582 "In favor of version using eprosima::fastcdr::calculate_serialized_size.")
583 RTPS_DllAPI static size_t getCdrSerializedSize(
584 const PlainSequenceSElemDefn& data,
585 size_t current_alignment = 0);
586
587
592 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainSequenceSElemDefn::serialize()",
593 "In favor of version using eprosima::fastcdr::serialize.")
594 RTPS_DllAPI void serialize(
595 eprosima::fastcdr::Cdr& cdr) const;
596
601 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainSequenceSElemDefn::deserialize()",
602 "In favor of version using eprosima::fastcdr::deserialize.")
603 RTPS_DllAPI void deserialize(
604 eprosima::fastcdr::Cdr& cdr);
605#endif // DOXYGEN_SHOULD_SKIP_THIS
606
607 RTPS_DllAPI bool consistent(
608 const PlainSequenceSElemDefn& x,
609 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
610
611private:
612
613 PlainCollectionHeader m_header;
614 SBound m_bound;
615 TypeIdentifier* m_element_identifier;
616};
622{
623public:
624
629
634
640 const PlainSequenceLElemDefn& x);
641
648
654 const PlainSequenceLElemDefn& x);
655
662
667 RTPS_DllAPI inline void header(
668 const PlainCollectionHeader& _header)
669 {
670 m_header = _header;
671 }
672
677 RTPS_DllAPI inline void header(
678 PlainCollectionHeader&& _header)
679 {
680 m_header = std::move(_header);
681 }
682
687 RTPS_DllAPI inline const PlainCollectionHeader& header() const
688 {
689 return m_header;
690 }
691
696 RTPS_DllAPI inline PlainCollectionHeader& header()
697 {
698 return m_header;
699 }
700
705 RTPS_DllAPI inline void bound(
706 LBound _bound)
707 {
708 m_bound = _bound;
709 }
710
715 RTPS_DllAPI inline LBound bound() const
716 {
717 return m_bound;
718 }
719
724 RTPS_DllAPI inline LBound& bound()
725 {
726 return m_bound;
727 }
728
733 RTPS_DllAPI void element_identifier(
734 const TypeIdentifier* _element_identifier);
735
740 RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
741 {
742 return m_element_identifier;
743 }
744
749 RTPS_DllAPI inline TypeIdentifier* element_identifier()
750 {
751 return m_element_identifier;
752 }
753
754#ifndef DOXYGEN_SHOULD_SKIP_THIS
761 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainSequenceLElemDefn::getCdrSerializedSize()",
762 "In favor of version using eprosima::fastcdr::calculate_serialized_size.")
763 RTPS_DllAPI static size_t getCdrSerializedSize(
764 const PlainSequenceLElemDefn& data,
765 size_t current_alignment = 0);
766
767
772 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainSequenceLElemDefn::serialize()",
773 "In favor of version using eprosima::fastcdr::serialize.")
774 RTPS_DllAPI void serialize(
775 eprosima::fastcdr::Cdr& cdr) const;
776
781 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainSequenceLElemDefn::deserialize()",
782 "In favor of version using eprosima::fastcdr::deserialize.")
783 RTPS_DllAPI void deserialize(
784 eprosima::fastcdr::Cdr& cdr);
785#endif // DOXYGEN_SHOULD_SKIP_THIS
786
787 RTPS_DllAPI bool consistent(
788 const PlainSequenceLElemDefn& x,
789 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
790
791private:
792
793 PlainCollectionHeader m_header;
794 LBound m_bound;
795 TypeIdentifier* m_element_identifier;
796};
802{
803public:
804
808 RTPS_DllAPI PlainArraySElemDefn();
809
813 RTPS_DllAPI ~PlainArraySElemDefn();
814
820 const PlainArraySElemDefn& x);
821
828
834 const PlainArraySElemDefn& x);
835
842
847 RTPS_DllAPI inline void header(
848 const PlainCollectionHeader& _header)
849 {
850 m_header = _header;
851 }
852
857 RTPS_DllAPI inline void header(
858 PlainCollectionHeader&& _header)
859 {
860 m_header = std::move(_header);
861 }
862
867 RTPS_DllAPI inline const PlainCollectionHeader& header() const
868 {
869 return m_header;
870 }
871
876 RTPS_DllAPI inline PlainCollectionHeader& header()
877 {
878 return m_header;
879 }
880
885 RTPS_DllAPI inline void array_bound_seq(
886 const SBoundSeq& _array_bound_seq)
887 {
888 m_array_bound_seq = _array_bound_seq;
889 }
890
895 RTPS_DllAPI inline void array_bound_seq(
896 SBoundSeq&& _array_bound_seq)
897 {
898 m_array_bound_seq = std::move(_array_bound_seq);
899 }
900
905 RTPS_DllAPI inline const SBoundSeq& array_bound_seq() const
906 {
907 return m_array_bound_seq;
908 }
909
914 RTPS_DllAPI inline SBoundSeq& array_bound_seq()
915 {
916 return m_array_bound_seq;
917 }
918
923 RTPS_DllAPI void element_identifier(
924 const TypeIdentifier* _element_identifier);
925
930 RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
931 {
932 return m_element_identifier;
933 }
934
939 RTPS_DllAPI inline TypeIdentifier* element_identifier()
940 {
941 return m_element_identifier;
942 }
943
944#ifndef DOXYGEN_SHOULD_SKIP_THIS
951 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainArraySElemDefn::getCdrSerializedSize()",
952 "In favor of version using eprosima::fastcdr::calculate_serialized_size.")
953 RTPS_DllAPI static size_t getCdrSerializedSize(
954 const PlainArraySElemDefn& data,
955 size_t current_alignment = 0);
956
957
962 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainArraySElemDefn::serialize()",
963 "In favor of version using eprosima::fastcdr::serialize.")
964 RTPS_DllAPI void serialize(
965 eprosima::fastcdr::Cdr& cdr) const;
966
971 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainArraySElemDefn::deserialize()",
972 "In favor of version using eprosima::fastcdr::deserialize.")
973 RTPS_DllAPI void deserialize(
974 eprosima::fastcdr::Cdr& cdr);
975#endif // DOXYGEN_SHOULD_SKIP_THIS
976
977 RTPS_DllAPI bool consistent(
978 const PlainArraySElemDefn& x,
979 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
980
981private:
982
983 PlainCollectionHeader m_header;
984 SBoundSeq m_array_bound_seq;
985 TypeIdentifier* m_element_identifier;
986};
992{
993public:
994
998 RTPS_DllAPI PlainArrayLElemDefn();
999
1004
1010 const PlainArrayLElemDefn& x);
1011
1018
1024 const PlainArrayLElemDefn& x);
1025
1032
1037 RTPS_DllAPI inline void header(
1038 const PlainCollectionHeader& _header)
1039 {
1040 m_header = _header;
1041 }
1042
1047 RTPS_DllAPI inline void header(
1048 PlainCollectionHeader&& _header)
1049 {
1050 m_header = std::move(_header);
1051 }
1052
1057 RTPS_DllAPI inline const PlainCollectionHeader& header() const
1058 {
1059 return m_header;
1060 }
1061
1066 RTPS_DllAPI inline PlainCollectionHeader& header()
1067 {
1068 return m_header;
1069 }
1070
1075 RTPS_DllAPI inline void array_bound_seq(
1076 const LBoundSeq& _array_bound_seq)
1077 {
1078 m_array_bound_seq = _array_bound_seq;
1079 }
1080
1085 RTPS_DllAPI inline void array_bound_seq(
1086 LBoundSeq&& _array_bound_seq)
1087 {
1088 m_array_bound_seq = std::move(_array_bound_seq);
1089 }
1090
1095 RTPS_DllAPI inline const LBoundSeq& array_bound_seq() const
1096 {
1097 return m_array_bound_seq;
1098 }
1099
1104 RTPS_DllAPI inline LBoundSeq& array_bound_seq()
1105 {
1106 return m_array_bound_seq;
1107 }
1108
1113 RTPS_DllAPI void element_identifier(
1114 const TypeIdentifier* _element_identifier);
1115
1120 RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
1121 {
1122 return m_element_identifier;
1123 }
1124
1130 {
1131 return m_element_identifier;
1132 }
1133
1134#ifndef DOXYGEN_SHOULD_SKIP_THIS
1141 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainArrayLElemDefn::getCdrSerializedSize()",
1142 "In favor of version using eprosima::fastcdr::calculate_serialized_size.")
1143 RTPS_DllAPI static size_t getCdrSerializedSize(
1144 const PlainArrayLElemDefn& data,
1145 size_t current_alignment = 0);
1146
1147
1152 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainArrayLElemDefn::serialize()",
1153 "In favor of version using eprosima::fastcdr::serialize.")
1154 RTPS_DllAPI void serialize(
1155 eprosima::fastcdr::Cdr& cdr) const;
1156
1161 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainArrayLElemDefn::deserialize()",
1162 "In favor of version using eprosima::fastcdr::deserialize.")
1163 RTPS_DllAPI void deserialize(
1164 eprosima::fastcdr::Cdr& cdr);
1165#endif // DOXYGEN_SHOULD_SKIP_THIS
1166
1167 RTPS_DllAPI bool consistent(
1168 const PlainArrayLElemDefn& x,
1169 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1170
1171private:
1172
1173 PlainCollectionHeader m_header;
1174 LBoundSeq m_array_bound_seq;
1175 TypeIdentifier* m_element_identifier;
1176};
1182{
1183public:
1184
1188 RTPS_DllAPI PlainMapSTypeDefn();
1189
1193 RTPS_DllAPI ~PlainMapSTypeDefn();
1194
1200 const PlainMapSTypeDefn& x);
1201
1207 PlainMapSTypeDefn&& x);
1208
1214 const PlainMapSTypeDefn& x);
1215
1221 PlainMapSTypeDefn&& x);
1222
1227 RTPS_DllAPI inline void header(
1228 const PlainCollectionHeader& _header)
1229 {
1230 m_header = _header;
1231 }
1232
1237 RTPS_DllAPI inline void header(
1238 PlainCollectionHeader&& _header)
1239 {
1240 m_header = std::move(_header);
1241 }
1242
1247 RTPS_DllAPI inline const PlainCollectionHeader& header() const
1248 {
1249 return m_header;
1250 }
1251
1256 RTPS_DllAPI inline PlainCollectionHeader& header()
1257 {
1258 return m_header;
1259 }
1260
1265 RTPS_DllAPI inline void bound(
1266 SBound _bound)
1267 {
1268 m_bound = _bound;
1269 }
1270
1275 RTPS_DllAPI inline SBound bound() const
1276 {
1277 return m_bound;
1278 }
1279
1284 RTPS_DllAPI inline SBound& bound()
1285 {
1286 return m_bound;
1287 }
1288
1293 RTPS_DllAPI void element_identifier(
1294 const TypeIdentifier* _element_identifier);
1295
1300 RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
1301 {
1302 return m_element_identifier;
1303 }
1304
1310 {
1311 return m_element_identifier;
1312 }
1313
1318 RTPS_DllAPI inline void key_flags(
1319 CollectionElementFlag _key_flags)
1320 {
1321 m_key_flags = _key_flags;
1322 }
1323
1328 RTPS_DllAPI inline CollectionElementFlag key_flags() const
1329 {
1330 return m_key_flags;
1331 }
1332
1337 RTPS_DllAPI inline CollectionElementFlag& key_flags()
1338 {
1339 return m_key_flags;
1340 }
1341
1346 RTPS_DllAPI void key_identifier(
1347 const TypeIdentifier* _key_identifier);
1348
1353 RTPS_DllAPI inline const TypeIdentifier* key_identifier() const
1354 {
1355 return m_key_identifier;
1356 }
1357
1362 RTPS_DllAPI inline TypeIdentifier* key_identifier()
1363 {
1364 return m_key_identifier;
1365 }
1366
1367#ifndef DOXYGEN_SHOULD_SKIP_THIS
1374 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainMapSTypeDefn::getCdrSerializedSize()",
1375 "In favor of version using eprosima::fastcdr::calculate_serialized_size.")
1376 RTPS_DllAPI static size_t getCdrSerializedSize(
1377 const PlainMapSTypeDefn& data,
1378 size_t current_alignment = 0);
1379
1380
1385 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainMapSTypeDefn::serialize()",
1386 "In favor of version using eprosima::fastcdr::serialize.")
1387 RTPS_DllAPI void serialize(
1388 eprosima::fastcdr::Cdr& cdr) const;
1389
1394 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainMapSTypeDefn::deserialize()",
1395 "In favor of version using eprosima::fastcdr::deserialize.")
1396 RTPS_DllAPI void deserialize(
1397 eprosima::fastcdr::Cdr& cdr);
1398#endif // DOXYGEN_SHOULD_SKIP_THIS
1399
1400 RTPS_DllAPI bool consistent(
1401 const PlainMapSTypeDefn& x,
1402 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1403
1404private:
1405
1406 PlainCollectionHeader m_header;
1407 SBound m_bound;
1408 TypeIdentifier* m_element_identifier;
1409 CollectionElementFlag m_key_flags;
1410 TypeIdentifier* m_key_identifier;
1411};
1417{
1418public:
1419
1423 RTPS_DllAPI PlainMapLTypeDefn();
1424
1428 RTPS_DllAPI ~PlainMapLTypeDefn();
1429
1435 const PlainMapLTypeDefn& x);
1436
1442 PlainMapLTypeDefn&& x);
1443
1449 const PlainMapLTypeDefn& x);
1450
1456 PlainMapLTypeDefn&& x);
1457
1462 RTPS_DllAPI inline void header(
1463 const PlainCollectionHeader& _header)
1464 {
1465 m_header = _header;
1466 }
1467
1472 RTPS_DllAPI inline void header(
1473 PlainCollectionHeader&& _header)
1474 {
1475 m_header = std::move(_header);
1476 }
1477
1482 RTPS_DllAPI inline const PlainCollectionHeader& header() const
1483 {
1484 return m_header;
1485 }
1486
1491 RTPS_DllAPI inline PlainCollectionHeader& header()
1492 {
1493 return m_header;
1494 }
1495
1500 RTPS_DllAPI inline void bound(
1501 LBound _bound)
1502 {
1503 m_bound = _bound;
1504 }
1505
1510 RTPS_DllAPI inline LBound bound() const
1511 {
1512 return m_bound;
1513 }
1514
1519 RTPS_DllAPI inline LBound& bound()
1520 {
1521 return m_bound;
1522 }
1523
1528 RTPS_DllAPI void element_identifier(
1529 const TypeIdentifier* _element_identifier);
1530
1535 RTPS_DllAPI inline const TypeIdentifier* element_identifier() const
1536 {
1537 return m_element_identifier;
1538 }
1539
1545 {
1546 return m_element_identifier;
1547 }
1548
1553 RTPS_DllAPI inline void key_flags(
1554 CollectionElementFlag _key_flags)
1555 {
1556 m_key_flags = _key_flags;
1557 }
1558
1563 RTPS_DllAPI inline CollectionElementFlag key_flags() const
1564 {
1565 return m_key_flags;
1566 }
1567
1572 RTPS_DllAPI inline CollectionElementFlag& key_flags()
1573 {
1574 return m_key_flags;
1575 }
1576
1581 RTPS_DllAPI void key_identifier(
1582 const TypeIdentifier* _key_identifier);
1583
1588 RTPS_DllAPI inline const TypeIdentifier* key_identifier() const
1589 {
1590 return m_key_identifier;
1591 }
1592
1597 RTPS_DllAPI inline TypeIdentifier* key_identifier()
1598 {
1599 return m_key_identifier;
1600 }
1601
1602#ifndef DOXYGEN_SHOULD_SKIP_THIS
1609 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainMapLTypeDefn::getCdrSerializedSize()",
1610 "In favor of version using eprosima::fastcdr::calculate_serialized_size.")
1611 RTPS_DllAPI static size_t getCdrSerializedSize(
1612 const PlainMapLTypeDefn& data,
1613 size_t current_alignment = 0);
1614
1615
1620 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainMapLTypeDefn::serialize()",
1621 "In favor of version using eprosima::fastcdr::serialize.")
1622 RTPS_DllAPI void serialize(
1623 eprosima::fastcdr::Cdr& cdr) const;
1624
1629 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainMapLTypeDefn::deserialize()",
1630 "In favor of version using eprosima::fastcdr::deserialize.")
1631 RTPS_DllAPI void deserialize(
1632 eprosima::fastcdr::Cdr& cdr);
1633#endif // DOXYGEN_SHOULD_SKIP_THIS
1634
1635 RTPS_DllAPI bool consistent(
1636 const PlainMapLTypeDefn& x,
1637 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1638
1639private:
1640
1641 PlainCollectionHeader m_header;
1642 LBound m_bound;
1643 TypeIdentifier* m_element_identifier;
1644 CollectionElementFlag m_key_flags;
1645 TypeIdentifier* m_key_identifier;
1646};
1652{
1653public:
1654
1659
1664
1671
1678
1685
1692
1697 RTPS_DllAPI inline void sc_component_id(
1698 const TypeObjectHashId& _sc_component_id)
1699 {
1700 m_sc_component_id = _sc_component_id;
1701 }
1702
1707 RTPS_DllAPI inline void sc_component_id(
1708 TypeObjectHashId&& _sc_component_id)
1709 {
1710 m_sc_component_id = std::move(_sc_component_id);
1711 }
1712
1717 RTPS_DllAPI inline const TypeObjectHashId& sc_component_id() const
1718 {
1719 return m_sc_component_id;
1720 }
1721
1726 RTPS_DllAPI inline TypeObjectHashId& sc_component_id()
1727 {
1728 return m_sc_component_id;
1729 }
1730
1735 RTPS_DllAPI inline void scc_length(
1736 int32_t _scc_length)
1737 {
1738 m_scc_length = _scc_length;
1739 }
1740
1745 RTPS_DllAPI inline int32_t scc_length() const
1746 {
1747 return m_scc_length;
1748 }
1749
1754 RTPS_DllAPI inline int32_t& scc_length()
1755 {
1756 return m_scc_length;
1757 }
1758
1763 RTPS_DllAPI inline void scc_index(
1764 int32_t _scc_index)
1765 {
1766 m_scc_index = _scc_index;
1767 }
1768
1773 RTPS_DllAPI inline int32_t scc_index() const
1774 {
1775 return m_scc_index;
1776 }
1777
1782 RTPS_DllAPI inline int32_t& scc_index()
1783 {
1784 return m_scc_index;
1785 }
1786
1787#ifndef DOXYGEN_SHOULD_SKIP_THIS
1794 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::StronglyConnectedComponentId::getCdrSerializedSize()",
1795 "In favor of version using eprosima::fastcdr::calculate_serialized_size.")
1796 RTPS_DllAPI static size_t getCdrSerializedSize(
1797 const StronglyConnectedComponentId& data,
1798 size_t current_alignment = 0);
1799
1800
1805 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::StronglyConnectedComponentId::serialize()",
1806 "In favor of version using eprosima::fastcdr::serialize.")
1807 RTPS_DllAPI void serialize(
1808 eprosima::fastcdr::Cdr& cdr) const;
1809
1814 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::StronglyConnectedComponentId::deserialize()",
1815 "In favor of version using eprosima::fastcdr::deserialize.")
1816 RTPS_DllAPI void deserialize(
1817 eprosima::fastcdr::Cdr& cdr);
1818#endif // DOXYGEN_SHOULD_SKIP_THIS
1819
1820 RTPS_DllAPI bool consistent(
1822 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1823
1824private:
1825
1826 TypeObjectHashId m_sc_component_id;
1827 int32_t m_scc_length;
1828 int32_t m_scc_index;
1829};
1835{
1836public:
1837
1841 RTPS_DllAPI ExtendedTypeDefn();
1842
1846 RTPS_DllAPI virtual ~ExtendedTypeDefn();
1847
1852 RTPS_DllAPI ExtendedTypeDefn(
1853 const ExtendedTypeDefn& x);
1854
1859 RTPS_DllAPI ExtendedTypeDefn(
1860 ExtendedTypeDefn&& x);
1861
1866 RTPS_DllAPI virtual ExtendedTypeDefn& operator =(
1867 const ExtendedTypeDefn& x);
1868
1873 RTPS_DllAPI virtual ExtendedTypeDefn& operator =(
1874 ExtendedTypeDefn&& x);
1875
1876#ifndef DOXYGEN_SHOULD_SKIP_THIS
1883 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::ExtendedTypeDefn::getCdrSerializedSize()",
1884 "In favor of version using eprosima::fastcdr::calculate_serialized_size.")
1885 RTPS_DllAPI static size_t getCdrSerializedSize(
1886 const ExtendedTypeDefn& data,
1887 size_t current_alignment = 0);
1888
1889
1894 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::ExtendedTypeDefn::serialize()",
1895 "In favor of version using eprosima::fastcdr::serialize.")
1896 RTPS_DllAPI virtual void serialize(
1897 eprosima::fastcdr::Cdr& cdr) const;
1898
1903 FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::ExtendedTypeDefn::deserialize()",
1904 "In favor of version using eprosima::fastcdr::deserialize.")
1905 RTPS_DllAPI virtual void deserialize(
1906 eprosima::fastcdr::Cdr& cdr);
1907#endif // DOXYGEN_SHOULD_SKIP_THIS
1908
1909 RTPS_DllAPI bool consistent(
1910 const ExtendedTypeDefn& x,
1911 const fastdds::dds::TypeConsistencyEnforcementQosPolicy& consistency) const;
1912
1913
1914};
1915
1916} // namespace types
1917} // namespace fastrtps
1918} // namespace eprosima
1919
1920#endif // _TYPEIDENTIFIERTYPES_H_
This class represents the structure ExtendedTypeDefn defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:1835
RTPS_DllAPI ExtendedTypeDefn(const ExtendedTypeDefn &x)
Copy constructor.
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
RTPS_DllAPI ExtendedTypeDefn(ExtendedTypeDefn &&x)
Move constructor.
virtual RTPS_DllAPI ~ExtendedTypeDefn()
Default destructor.
Definition TypesBase.h:336
This class represents the structure PlainArrayLElemDefn defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:992
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:1037
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition TypeIdentifierTypes.h:1047
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:1120
RTPS_DllAPI ~PlainArrayLElemDefn()
Default destructor.
RTPS_DllAPI const PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition TypeIdentifierTypes.h:1057
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:1129
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition TypeIdentifierTypes.h:1066
RTPS_DllAPI void array_bound_seq(const LBoundSeq &_array_bound_seq)
This function copies the value in member array_bound_seq.
Definition TypeIdentifierTypes.h:1075
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:1095
RTPS_DllAPI LBoundSeq & array_bound_seq()
This function returns a reference to member array_bound_seq.
Definition TypeIdentifierTypes.h:1104
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:1085
This class represents the structure PlainArraySElemDefn defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:802
RTPS_DllAPI ~PlainArraySElemDefn()
Default destructor.
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition TypeIdentifierTypes.h:847
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition TypeIdentifierTypes.h:857
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:905
RTPS_DllAPI const TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition TypeIdentifierTypes.h:930
RTPS_DllAPI PlainArraySElemDefn(PlainArraySElemDefn &&x)
Move constructor.
RTPS_DllAPI PlainArraySElemDefn()
Default constructor.
RTPS_DllAPI SBoundSeq & array_bound_seq()
This function returns a reference to member array_bound_seq.
Definition TypeIdentifierTypes.h:914
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:867
RTPS_DllAPI void array_bound_seq(const SBoundSeq &_array_bound_seq)
This function copies the value in member array_bound_seq.
Definition TypeIdentifierTypes.h:885
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:939
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition TypeIdentifierTypes.h:876
RTPS_DllAPI void array_bound_seq(SBoundSeq &&_array_bound_seq)
This function moves the value in member array_bound_seq.
Definition TypeIdentifierTypes.h:895
This class represents the structure PlainCollectionHeader defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:298
RTPS_DllAPI EquivalenceKind & equiv_kind()
This function returns a reference to member equiv_kind.
Definition TypeIdentifierTypes.h:362
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:343
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:353
RTPS_DllAPI void element_flags(CollectionElementFlag _element_flags)
This function sets a value in member element_flags.
Definition TypeIdentifierTypes.h:371
RTPS_DllAPI PlainCollectionHeader(PlainCollectionHeader &&x)
Move constructor.
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:381
RTPS_DllAPI ~PlainCollectionHeader()
Default destructor.
RTPS_DllAPI CollectionElementFlag & element_flags()
This function returns a reference to member element_flags.
Definition TypeIdentifierTypes.h:390
This class represents the structure PlainMapLTypeDefn defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:1417
RTPS_DllAPI void key_flags(CollectionElementFlag _key_flags)
This function sets a value in member key_flags.
Definition TypeIdentifierTypes.h:1553
RTPS_DllAPI LBound bound() const
This function returns the value of member bound.
Definition TypeIdentifierTypes.h:1510
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition TypeIdentifierTypes.h:1462
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition TypeIdentifierTypes.h:1472
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:1535
RTPS_DllAPI void bound(LBound _bound)
This function sets a value in member bound.
Definition TypeIdentifierTypes.h:1500
RTPS_DllAPI PlainMapLTypeDefn()
Default constructor.
RTPS_DllAPI bool consistent(const PlainMapLTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
RTPS_DllAPI ~PlainMapLTypeDefn()
Default destructor.
RTPS_DllAPI const PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition TypeIdentifierTypes.h:1482
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:1544
RTPS_DllAPI LBound & bound()
This function returns a reference to member bound.
Definition TypeIdentifierTypes.h:1519
RTPS_DllAPI TypeIdentifier * key_identifier()
This function returns a reference to member key_identifier.
Definition TypeIdentifierTypes.h:1597
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition TypeIdentifierTypes.h:1491
RTPS_DllAPI const TypeIdentifier * key_identifier() const
This function returns the value of member key_identifier.
Definition TypeIdentifierTypes.h:1588
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:1563
RTPS_DllAPI PlainMapLTypeDefn(PlainMapLTypeDefn &&x)
Move constructor.
RTPS_DllAPI CollectionElementFlag & key_flags()
This function returns a reference to member key_flags.
Definition TypeIdentifierTypes.h:1572
This class represents the structure PlainMapSTypeDefn defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:1182
RTPS_DllAPI void key_flags(CollectionElementFlag _key_flags)
This function sets a value in member key_flags.
Definition TypeIdentifierTypes.h:1318
RTPS_DllAPI SBound & bound()
This function returns a reference to member bound.
Definition TypeIdentifierTypes.h:1284
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition TypeIdentifierTypes.h:1227
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition TypeIdentifierTypes.h:1237
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:1300
RTPS_DllAPI void bound(SBound _bound)
This function sets a value in member bound.
Definition TypeIdentifierTypes.h:1265
RTPS_DllAPI PlainMapSTypeDefn()
Default constructor.
RTPS_DllAPI const PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition TypeIdentifierTypes.h:1247
RTPS_DllAPI PlainMapSTypeDefn(PlainMapSTypeDefn &&x)
Move constructor.
RTPS_DllAPI TypeIdentifier * element_identifier()
This function returns a reference to member element_identifier.
Definition TypeIdentifierTypes.h:1309
RTPS_DllAPI TypeIdentifier * key_identifier()
This function returns a reference to member key_identifier.
Definition TypeIdentifierTypes.h:1362
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition TypeIdentifierTypes.h:1256
RTPS_DllAPI const TypeIdentifier * key_identifier() const
This function returns the value of member key_identifier.
Definition TypeIdentifierTypes.h:1353
RTPS_DllAPI CollectionElementFlag key_flags() const
This function returns the value of member key_flags.
Definition TypeIdentifierTypes.h:1328
RTPS_DllAPI SBound bound() const
This function returns the value of member bound.
Definition TypeIdentifierTypes.h:1275
RTPS_DllAPI CollectionElementFlag & key_flags()
This function returns a reference to member key_flags.
Definition TypeIdentifierTypes.h:1337
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:622
RTPS_DllAPI LBound bound() const
This function returns the value of member bound.
Definition TypeIdentifierTypes.h:715
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:667
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:677
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.
RTPS_DllAPI const TypeIdentifier * element_identifier() const
This function returns the value of member element_identifier.
Definition TypeIdentifierTypes.h:740
RTPS_DllAPI void bound(LBound _bound)
This function sets a value in member bound.
Definition TypeIdentifierTypes.h:705
RTPS_DllAPI const PlainCollectionHeader & header() const
This function returns a constant reference to member header.
Definition TypeIdentifierTypes.h:687
RTPS_DllAPI TypeIdentifier * element_identifier()
This function returns a reference to member element_identifier.
Definition TypeIdentifierTypes.h:749
RTPS_DllAPI PlainSequenceLElemDefn()
Default constructor.
RTPS_DllAPI LBound & bound()
This function returns a reference to member bound.
Definition TypeIdentifierTypes.h:724
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition TypeIdentifierTypes.h:696
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:442
RTPS_DllAPI SBound & bound()
This function returns a reference to member bound.
Definition TypeIdentifierTypes.h:544
RTPS_DllAPI void header(const PlainCollectionHeader &_header)
This function copies the value in member header.
Definition TypeIdentifierTypes.h:487
RTPS_DllAPI void header(PlainCollectionHeader &&_header)
This function moves the value in member header.
Definition TypeIdentifierTypes.h:497
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:560
RTPS_DllAPI bool consistent(const PlainSequenceSElemDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
RTPS_DllAPI ~PlainSequenceSElemDefn()
Default destructor.
RTPS_DllAPI void bound(SBound _bound)
This function sets a value in member bound.
Definition TypeIdentifierTypes.h:525
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:507
RTPS_DllAPI PlainSequenceSElemDefn(PlainSequenceSElemDefn &&x)
Move constructor.
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:569
RTPS_DllAPI PlainCollectionHeader & header()
This function returns a reference to member header.
Definition TypeIdentifierTypes.h:516
RTPS_DllAPI PlainSequenceSElemDefn()
Default constructor.
RTPS_DllAPI SBound bound() const
This function returns the value of member bound.
Definition TypeIdentifierTypes.h:535
This class represents the structure StringLTypeDefn defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:179
RTPS_DllAPI LBound bound() const
This function returns the value of member bound.
Definition TypeIdentifierTypes.h:234
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:224
RTPS_DllAPI bool consistent(const StringLTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
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:243
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:60
RTPS_DllAPI SBound & bound()
This function returns a reference to member bound.
Definition TypeIdentifierTypes.h:124
RTPS_DllAPI ~StringSTypeDefn()
Default destructor.
RTPS_DllAPI StringSTypeDefn & operator=(const StringSTypeDefn &x)
Copy assignment.
RTPS_DllAPI StringSTypeDefn(const StringSTypeDefn &x)
Copy constructor.
RTPS_DllAPI bool consistent(const StringLTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
RTPS_DllAPI void bound(SBound _bound)
This function sets a value in member bound.
Definition TypeIdentifierTypes.h:105
RTPS_DllAPI StringSTypeDefn()
Default constructor.
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:115
This class represents the structure StronglyConnectedComponentId defined by the user in the IDL file.
Definition TypeIdentifierTypes.h:1652
RTPS_DllAPI void sc_component_id(TypeObjectHashId &&_sc_component_id)
This function moves the value in member sc_component_id.
Definition TypeIdentifierTypes.h:1707
RTPS_DllAPI int32_t & scc_index()
This function returns a reference to member scc_index.
Definition TypeIdentifierTypes.h:1782
RTPS_DllAPI void scc_index(int32_t _scc_index)
This function sets a value in member scc_index.
Definition TypeIdentifierTypes.h:1763
RTPS_DllAPI void sc_component_id(const TypeObjectHashId &_sc_component_id)
This function copies the value in member sc_component_id.
Definition TypeIdentifierTypes.h:1697
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 ~StronglyConnectedComponentId()
Default destructor.
RTPS_DllAPI int32_t & scc_length()
This function returns a reference to member scc_length.
Definition TypeIdentifierTypes.h:1754
RTPS_DllAPI TypeObjectHashId & sc_component_id()
This function returns a reference to member sc_component_id.
Definition TypeIdentifierTypes.h:1726
RTPS_DllAPI int32_t scc_index() const
This function returns the value of member scc_index.
Definition TypeIdentifierTypes.h:1773
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:1745
RTPS_DllAPI const TypeObjectHashId & sc_component_id() const
This function returns a constant reference to member sc_component_id.
Definition TypeIdentifierTypes.h:1717
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:1735
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:114
octet SBound
Definition TypesBase.h:299
uint32_t LBound
Definition TypesBase.h:294
std::vector< SBound > SBoundSeq
Definition TypesBase.h:300
std::vector< LBound > LBoundSeq
Definition TypesBase.h:295
fastdds::dds::TypeConsistencyEnforcementQosPolicy TypeConsistencyEnforcementQosPolicy
Definition QosPolicies.h:95
eProsima namespace.
Definition LibrarySettingsAttributes.h:23