@@ -133,6 +133,8 @@ class StructType
133
133
134
134
m_string_field = x.m_string_field ;
135
135
136
+ m_fixed_string_field = x.m_fixed_string_field ;
137
+
136
138
m_enum_field = x.m_enum_field ;
137
139
138
140
m_enum2_field = x.m_enum2_field ;
@@ -160,6 +162,7 @@ class StructType
160
162
m_double_field = x.m_double_field ;
161
163
m_bool_field = x.m_bool_field ;
162
164
m_string_field = std::move (x.m_string_field );
165
+ m_fixed_string_field = std::move (x.m_fixed_string_field );
163
166
m_enum_field = x.m_enum_field ;
164
167
m_enum2_field = x.m_enum2_field ;
165
168
m_included_module_struct = std::move (x.m_included_module_struct );
@@ -197,6 +200,8 @@ class StructType
197
200
198
201
m_string_field = x.m_string_field ;
199
202
203
+ m_fixed_string_field = x.m_fixed_string_field ;
204
+
200
205
m_enum_field = x.m_enum_field ;
201
206
202
207
m_enum2_field = x.m_enum2_field ;
@@ -226,6 +231,7 @@ class StructType
226
231
m_double_field = x.m_double_field ;
227
232
m_bool_field = x.m_bool_field ;
228
233
m_string_field = std::move (x.m_string_field );
234
+ m_fixed_string_field = std::move (x.m_fixed_string_field );
229
235
m_enum_field = x.m_enum_field ;
230
236
m_enum2_field = x.m_enum2_field ;
231
237
m_included_module_struct = std::move (x.m_included_module_struct );
@@ -251,6 +257,7 @@ class StructType
251
257
m_double_field == x.m_double_field &&
252
258
m_bool_field == x.m_bool_field &&
253
259
m_string_field == x.m_string_field &&
260
+ m_fixed_string_field == x.m_fixed_string_field &&
254
261
m_enum_field == x.m_enum_field &&
255
262
m_enum2_field == x.m_enum2_field &&
256
263
m_included_module_struct == x.m_included_module_struct );
@@ -624,6 +631,45 @@ class StructType
624
631
}
625
632
626
633
634
+ /* !
635
+ * @brief This function copies the value in member fixed_string_field
636
+ * @param _fixed_string_field New value to be copied in member fixed_string_field
637
+ */
638
+ eProsima_user_DllExport void fixed_string_field (
639
+ const eprosima::fastcdr::fixed_string<16 >& _fixed_string_field)
640
+ {
641
+ m_fixed_string_field = _fixed_string_field;
642
+ }
643
+
644
+ /* !
645
+ * @brief This function moves the value in member fixed_string_field
646
+ * @param _fixed_string_field New value to be moved in member fixed_string_field
647
+ */
648
+ eProsima_user_DllExport void fixed_string_field (
649
+ eprosima::fastcdr::fixed_string<16 >&& _fixed_string_field)
650
+ {
651
+ m_fixed_string_field = std::move (_fixed_string_field);
652
+ }
653
+
654
+ /* !
655
+ * @brief This function returns a constant reference to member fixed_string_field
656
+ * @return Constant reference to member fixed_string_field
657
+ */
658
+ eProsima_user_DllExport const eprosima::fastcdr::fixed_string<16 >& fixed_string_field () const
659
+ {
660
+ return m_fixed_string_field;
661
+ }
662
+
663
+ /* !
664
+ * @brief This function returns a reference to member fixed_string_field
665
+ * @return Reference to member fixed_string_field
666
+ */
667
+ eProsima_user_DllExport eprosima::fastcdr::fixed_string<16 >& fixed_string_field ()
668
+ {
669
+ return m_fixed_string_field;
670
+ }
671
+
672
+
627
673
/* !
628
674
* @brief This function sets a value in member enum_field
629
675
* @param _enum_field New value for member enum_field
@@ -736,6 +782,7 @@ class StructType
736
782
double m_double_field{0.0 };
737
783
bool m_bool_field{false };
738
784
std::string m_string_field;
785
+ eprosima::fastcdr::fixed_string<16 > m_fixed_string_field;
739
786
Color m_enum_field{Color::RED};
740
787
Material m_enum2_field{Material::WOOD};
741
788
eprosima::test2::StructType2 m_included_module_struct;
@@ -796,6 +843,8 @@ class CompleteTestType
796
843
797
844
m_string_field = x.m_string_field ;
798
845
846
+ m_fixed_string_field = x.m_fixed_string_field ;
847
+
799
848
m_enum_field = x.m_enum_field ;
800
849
801
850
m_enum2_field = x.m_enum2_field ;
@@ -937,6 +986,7 @@ class CompleteTestType
937
986
m_double_field = x.m_double_field ;
938
987
m_bool_field = x.m_bool_field ;
939
988
m_string_field = std::move (x.m_string_field );
989
+ m_fixed_string_field = std::move (x.m_fixed_string_field );
940
990
m_enum_field = x.m_enum_field ;
941
991
m_enum2_field = x.m_enum2_field ;
942
992
m_struct_field = std::move (x.m_struct_field );
@@ -1031,6 +1081,8 @@ class CompleteTestType
1031
1081
1032
1082
m_string_field = x.m_string_field ;
1033
1083
1084
+ m_fixed_string_field = x.m_fixed_string_field ;
1085
+
1034
1086
m_enum_field = x.m_enum_field ;
1035
1087
1036
1088
m_enum2_field = x.m_enum2_field ;
@@ -1174,6 +1226,7 @@ class CompleteTestType
1174
1226
m_double_field = x.m_double_field ;
1175
1227
m_bool_field = x.m_bool_field ;
1176
1228
m_string_field = std::move (x.m_string_field );
1229
+ m_fixed_string_field = std::move (x.m_fixed_string_field );
1177
1230
m_enum_field = x.m_enum_field ;
1178
1231
m_enum2_field = x.m_enum2_field ;
1179
1232
m_struct_field = std::move (x.m_struct_field );
@@ -1256,6 +1309,7 @@ class CompleteTestType
1256
1309
m_double_field == x.m_double_field &&
1257
1310
m_bool_field == x.m_bool_field &&
1258
1311
m_string_field == x.m_string_field &&
1312
+ m_fixed_string_field == x.m_fixed_string_field &&
1259
1313
m_enum_field == x.m_enum_field &&
1260
1314
m_enum2_field == x.m_enum2_field &&
1261
1315
m_struct_field == x.m_struct_field &&
@@ -1686,6 +1740,45 @@ class CompleteTestType
1686
1740
}
1687
1741
1688
1742
1743
+ /* !
1744
+ * @brief This function copies the value in member fixed_string_field
1745
+ * @param _fixed_string_field New value to be copied in member fixed_string_field
1746
+ */
1747
+ eProsima_user_DllExport void fixed_string_field (
1748
+ const eprosima::fastcdr::fixed_string<16 >& _fixed_string_field)
1749
+ {
1750
+ m_fixed_string_field = _fixed_string_field;
1751
+ }
1752
+
1753
+ /* !
1754
+ * @brief This function moves the value in member fixed_string_field
1755
+ * @param _fixed_string_field New value to be moved in member fixed_string_field
1756
+ */
1757
+ eProsima_user_DllExport void fixed_string_field (
1758
+ eprosima::fastcdr::fixed_string<16 >&& _fixed_string_field)
1759
+ {
1760
+ m_fixed_string_field = std::move (_fixed_string_field);
1761
+ }
1762
+
1763
+ /* !
1764
+ * @brief This function returns a constant reference to member fixed_string_field
1765
+ * @return Constant reference to member fixed_string_field
1766
+ */
1767
+ eProsima_user_DllExport const eprosima::fastcdr::fixed_string<16 >& fixed_string_field () const
1768
+ {
1769
+ return m_fixed_string_field;
1770
+ }
1771
+
1772
+ /* !
1773
+ * @brief This function returns a reference to member fixed_string_field
1774
+ * @return Reference to member fixed_string_field
1775
+ */
1776
+ eProsima_user_DllExport eprosima::fastcdr::fixed_string<16 >& fixed_string_field ()
1777
+ {
1778
+ return m_fixed_string_field;
1779
+ }
1780
+
1781
+
1689
1782
/* !
1690
1783
* @brief This function sets a value in member enum_field
1691
1784
* @param _enum_field New value for member enum_field
@@ -4021,6 +4114,7 @@ class CompleteTestType
4021
4114
double m_double_field{0.0 };
4022
4115
bool m_bool_field{false };
4023
4116
std::string m_string_field;
4117
+ eprosima::fastcdr::fixed_string<16 > m_fixed_string_field;
4024
4118
Color m_enum_field{Color::RED};
4025
4119
Material m_enum2_field{Material::WOOD};
4026
4120
StructType m_struct_field;
@@ -4138,6 +4232,8 @@ class KeyedCompleteTestType
4138
4232
4139
4233
m_string_field = x.m_string_field ;
4140
4234
4235
+ m_fixed_string_field = x.m_fixed_string_field ;
4236
+
4141
4237
m_enum_field = x.m_enum_field ;
4142
4238
4143
4239
m_enum2_field = x.m_enum2_field ;
@@ -4280,6 +4376,7 @@ class KeyedCompleteTestType
4280
4376
m_double_field = x.m_double_field ;
4281
4377
m_bool_field = x.m_bool_field ;
4282
4378
m_string_field = std::move (x.m_string_field );
4379
+ m_fixed_string_field = std::move (x.m_fixed_string_field );
4283
4380
m_enum_field = x.m_enum_field ;
4284
4381
m_enum2_field = x.m_enum2_field ;
4285
4382
m_struct_field = std::move (x.m_struct_field );
@@ -4376,6 +4473,8 @@ class KeyedCompleteTestType
4376
4473
4377
4474
m_string_field = x.m_string_field ;
4378
4475
4476
+ m_fixed_string_field = x.m_fixed_string_field ;
4477
+
4379
4478
m_enum_field = x.m_enum_field ;
4380
4479
4381
4480
m_enum2_field = x.m_enum2_field ;
@@ -4520,6 +4619,7 @@ class KeyedCompleteTestType
4520
4619
m_double_field = x.m_double_field ;
4521
4620
m_bool_field = x.m_bool_field ;
4522
4621
m_string_field = std::move (x.m_string_field );
4622
+ m_fixed_string_field = std::move (x.m_fixed_string_field );
4523
4623
m_enum_field = x.m_enum_field ;
4524
4624
m_enum2_field = x.m_enum2_field ;
4525
4625
m_struct_field = std::move (x.m_struct_field );
@@ -4603,6 +4703,7 @@ class KeyedCompleteTestType
4603
4703
m_double_field == x.m_double_field &&
4604
4704
m_bool_field == x.m_bool_field &&
4605
4705
m_string_field == x.m_string_field &&
4706
+ m_fixed_string_field == x.m_fixed_string_field &&
4606
4707
m_enum_field == x.m_enum_field &&
4607
4708
m_enum2_field == x.m_enum2_field &&
4608
4709
m_struct_field == x.m_struct_field &&
@@ -5062,6 +5163,45 @@ class KeyedCompleteTestType
5062
5163
}
5063
5164
5064
5165
5166
+ /* !
5167
+ * @brief This function copies the value in member fixed_string_field
5168
+ * @param _fixed_string_field New value to be copied in member fixed_string_field
5169
+ */
5170
+ eProsima_user_DllExport void fixed_string_field (
5171
+ const eprosima::fastcdr::fixed_string<16 >& _fixed_string_field)
5172
+ {
5173
+ m_fixed_string_field = _fixed_string_field;
5174
+ }
5175
+
5176
+ /* !
5177
+ * @brief This function moves the value in member fixed_string_field
5178
+ * @param _fixed_string_field New value to be moved in member fixed_string_field
5179
+ */
5180
+ eProsima_user_DllExport void fixed_string_field (
5181
+ eprosima::fastcdr::fixed_string<16 >&& _fixed_string_field)
5182
+ {
5183
+ m_fixed_string_field = std::move (_fixed_string_field);
5184
+ }
5185
+
5186
+ /* !
5187
+ * @brief This function returns a constant reference to member fixed_string_field
5188
+ * @return Constant reference to member fixed_string_field
5189
+ */
5190
+ eProsima_user_DllExport const eprosima::fastcdr::fixed_string<16 >& fixed_string_field () const
5191
+ {
5192
+ return m_fixed_string_field;
5193
+ }
5194
+
5195
+ /* !
5196
+ * @brief This function returns a reference to member fixed_string_field
5197
+ * @return Reference to member fixed_string_field
5198
+ */
5199
+ eProsima_user_DllExport eprosima::fastcdr::fixed_string<16 >& fixed_string_field ()
5200
+ {
5201
+ return m_fixed_string_field;
5202
+ }
5203
+
5204
+
5065
5205
/* !
5066
5206
* @brief This function sets a value in member enum_field
5067
5207
* @param _enum_field New value for member enum_field
@@ -7398,6 +7538,7 @@ class KeyedCompleteTestType
7398
7538
double m_double_field{0.0 };
7399
7539
bool m_bool_field{false };
7400
7540
std::string m_string_field;
7541
+ eprosima::fastcdr::fixed_string<16 > m_fixed_string_field;
7401
7542
Color m_enum_field{Color::RED};
7402
7543
Material m_enum2_field{Material::WOOD};
7403
7544
StructType m_struct_field;
0 commit comments