From 36048d685840b90daf0088acde111e2b089fbfaf Mon Sep 17 00:00:00 2001 From: Mario Dominguez Date: Thu, 20 Mar 2025 11:09:11 +0100 Subject: [PATCH] Refs #22858: Update types with Fast DDS Gen v4.0.4 Signed-off-by: Mario Dominguez --- test/dds-types-test/aliasesPubSubTypes.cxx | 25 ++ .../dds-types-test/annotationsPubSubTypes.cxx | 3 + test/dds-types-test/appendablePubSubTypes.cxx | 19 ++ test/dds-types-test/arraysPubSubTypes.cxx | 105 +++++++ test/dds-types-test/bitsetsPubSubTypes.cxx | 1 + test/dds-types-test/constantsPubSubTypes.cxx | 3 + .../declarationsPubSubTypes.cxx | 6 + .../enumerationsPubSubTypes.cxx | 4 + test/dds-types-test/externalPubSubTypes.cxx | 27 ++ test/dds-types-test/finalPubSubTypes.cxx | 19 ++ .../helpers/basic_inner_typesPubSubTypes.cxx | 2 + .../dds-types-test/inheritancePubSubTypes.cxx | 8 + test/dds-types-test/keyPubSubTypes.cxx | 20 ++ test/dds-types-test/mapsPubSubTypes.cxx | 262 ++++++++++++++++++ test/dds-types-test/member_idPubSubTypes.cxx | 12 + test/dds-types-test/mutablePubSubTypes.cxx | 19 ++ test/dds-types-test/optionalPubSubTypes.cxx | 81 ++++++ test/dds-types-test/primitivesPubSubTypes.cxx | 21 ++ test/dds-types-test/sequencesPubSubTypes.cxx | 29 ++ test/dds-types-test/stringsPubSubTypes.cxx | 6 + test/dds-types-test/structuresPubSubTypes.cxx | 34 +++ test/dds-types-test/unionsPubSubTypes.cxx | 43 +++ 22 files changed, 749 insertions(+) diff --git a/test/dds-types-test/aliasesPubSubTypes.cxx b/test/dds-types-test/aliasesPubSubTypes.cxx index 03f08a7e89d..6e750d1cb86 100644 --- a/test/dds-types-test/aliasesPubSubTypes.cxx +++ b/test/dds-types-test/aliasesPubSubTypes.cxx @@ -76,6 +76,7 @@ bool AliasInt16PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool AliasUint16PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool AliasInt32PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -619,6 +622,7 @@ bool AliasUInt32PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -800,6 +804,7 @@ bool AliasInt64PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -981,6 +986,7 @@ bool AliasUInt64PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1162,6 +1168,7 @@ bool AliasFloat32PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1343,6 +1350,7 @@ bool AliasFloat64PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1524,6 +1532,7 @@ bool AliasFloat128PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1705,6 +1714,7 @@ bool AliasBoolPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1886,6 +1896,7 @@ bool AliasOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2067,6 +2078,7 @@ bool AliasChar8PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2248,6 +2260,7 @@ bool AliasChar16PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2429,6 +2442,7 @@ bool AliasString8PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2610,6 +2624,7 @@ bool AliasString16PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2791,6 +2806,7 @@ bool AliasEnumPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2972,6 +2988,7 @@ bool AliasBitmaskPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3153,6 +3170,7 @@ bool AliasAliasPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3334,6 +3352,7 @@ bool AliasArrayPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3515,6 +3534,7 @@ bool AliasMultiArrayPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3696,6 +3716,7 @@ bool AliasSequencePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3877,6 +3898,7 @@ bool AliasMapPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4058,6 +4080,7 @@ bool AliasUnionPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4239,6 +4262,7 @@ bool AliasStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4420,6 +4444,7 @@ bool AliasBitsetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/annotationsPubSubTypes.cxx b/test/dds-types-test/annotationsPubSubTypes.cxx index 2767ea989ff..09cf6b0606e 100644 --- a/test/dds-types-test/annotationsPubSubTypes.cxx +++ b/test/dds-types-test/annotationsPubSubTypes.cxx @@ -76,6 +76,7 @@ bool AnnotatedStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool EmptyAnnotatedStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool BasicAnnotationsStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/appendablePubSubTypes.cxx b/test/dds-types-test/appendablePubSubTypes.cxx index f176c6f9ab5..6cc96994094 100644 --- a/test/dds-types-test/appendablePubSubTypes.cxx +++ b/test/dds-types-test/appendablePubSubTypes.cxx @@ -76,6 +76,7 @@ bool AppendableShortStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool AppendableUShortStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool AppendableLongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -619,6 +622,7 @@ bool AppendableULongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -800,6 +804,7 @@ bool AppendableLongLongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -981,6 +986,7 @@ bool AppendableULongLongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1162,6 +1168,7 @@ bool AppendableFloatStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1343,6 +1350,7 @@ bool AppendableDoubleStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1524,6 +1532,7 @@ bool AppendableLongDoubleStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1705,6 +1714,7 @@ bool AppendableBooleanStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1886,6 +1896,7 @@ bool AppendableOctetStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2067,6 +2078,7 @@ bool AppendableCharStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2248,6 +2260,7 @@ bool AppendableWCharStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2429,6 +2442,7 @@ bool AppendableUnionStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2610,6 +2624,7 @@ bool AppendableEmptyStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2791,6 +2806,7 @@ bool AppendableEmptyInheritanceStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2972,6 +2988,7 @@ bool AppendableInheritanceStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3153,6 +3170,7 @@ bool AppendableInheritanceEmptyStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3334,6 +3352,7 @@ bool AppendableExtensibilityInheritancePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/arraysPubSubTypes.cxx b/test/dds-types-test/arraysPubSubTypes.cxx index cfc7709fcb3..b6d0316edf5 100644 --- a/test/dds-types-test/arraysPubSubTypes.cxx +++ b/test/dds-types-test/arraysPubSubTypes.cxx @@ -76,6 +76,7 @@ bool ArrayShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool ArrayUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool ArrayLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -619,6 +622,7 @@ bool ArrayULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -800,6 +804,7 @@ bool ArrayLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -981,6 +986,7 @@ bool ArrayULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1162,6 +1168,7 @@ bool ArrayFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1343,6 +1350,7 @@ bool ArrayDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1524,6 +1532,7 @@ bool ArrayLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1705,6 +1714,7 @@ bool ArrayBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1886,6 +1896,7 @@ bool ArrayOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2067,6 +2078,7 @@ bool ArrayUInt8PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2248,6 +2260,7 @@ bool ArrayCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2429,6 +2442,7 @@ bool ArrayWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2610,6 +2624,7 @@ bool ArrayStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2791,6 +2806,7 @@ bool ArrayWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2972,6 +2988,7 @@ bool ArrayBoundedStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3153,6 +3170,7 @@ bool ArrayBoundedWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3334,6 +3352,7 @@ bool ArrayEnumPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3515,6 +3534,7 @@ bool ArrayBitMaskPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3696,6 +3716,7 @@ bool ArrayAliasPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3877,6 +3898,7 @@ bool ArrayShortArrayPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4058,6 +4080,7 @@ bool ArraySequencePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4239,6 +4262,7 @@ bool ArrayMapPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4420,6 +4444,7 @@ bool ArrayUnionPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4601,6 +4626,7 @@ bool ArrayStructurePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4782,6 +4808,7 @@ bool ArrayBitsetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4963,6 +4990,7 @@ bool ArrayMultiDimensionShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5144,6 +5172,7 @@ bool ArrayMultiDimensionUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5325,6 +5354,7 @@ bool ArrayMultiDimensionLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5506,6 +5536,7 @@ bool ArrayMultiDimensionULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5687,6 +5718,7 @@ bool ArrayMultiDimensionLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5868,6 +5900,7 @@ bool ArrayMultiDimensionULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6049,6 +6082,7 @@ bool ArrayMultiDimensionFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6230,6 +6264,7 @@ bool ArrayMultiDimensionDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6411,6 +6446,7 @@ bool ArrayMultiDimensionLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6592,6 +6628,7 @@ bool ArrayMultiDimensionBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6773,6 +6810,7 @@ bool ArrayMultiDimensionOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6954,6 +6992,7 @@ bool ArrayMultiDimensionCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7135,6 +7174,7 @@ bool ArrayMultiDimensionWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7316,6 +7356,7 @@ bool ArrayMultiDimensionStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7497,6 +7538,7 @@ bool ArrayMultiDimensionWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7678,6 +7720,7 @@ bool ArrayMultiDimensionBoundedStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7859,6 +7902,7 @@ bool ArrayMultiDimensionBoundedWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8040,6 +8084,7 @@ bool ArrayMultiDimensionEnumPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8221,6 +8266,7 @@ bool ArrayMultiDimensionBitMaskPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8402,6 +8448,7 @@ bool ArrayMultiDimensionAliasPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8583,6 +8630,7 @@ bool ArrayMultiDimensionSequencePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8764,6 +8812,7 @@ bool ArrayMultiDimensionMapPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8945,6 +8994,7 @@ bool ArrayMultiDimensionUnionPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -9126,6 +9176,7 @@ bool ArrayMultiDimensionStructurePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -9307,6 +9358,7 @@ bool ArrayMultiDimensionBitsetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -9488,6 +9540,7 @@ bool ArraySingleDimensionLiteralsShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -9669,6 +9722,7 @@ bool ArraySingleDimensionLiteralsUnsignedShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -9850,6 +9904,7 @@ bool ArraySingleDimensionLiteralsLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10031,6 +10086,7 @@ bool ArraySingleDimensionLiteralsUnsignedLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10212,6 +10268,7 @@ bool ArraySingleDimensionLiteralsLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10393,6 +10450,7 @@ bool ArraySingleDimensionLiteralsUnsignedLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10574,6 +10632,7 @@ bool ArraySingleDimensionLiteralsFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10755,6 +10814,7 @@ bool ArraySingleDimensionLiteralsDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10936,6 +10996,7 @@ bool ArraySingleDimensionLiteralsLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -11117,6 +11178,7 @@ bool ArraySingleDimensionLiteralsBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -11298,6 +11360,7 @@ bool ArraySingleDimensionLiteralsOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -11479,6 +11542,7 @@ bool ArraySingleDimensionLiteralsCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -11660,6 +11724,7 @@ bool ArraySingleDimensionLiteralsWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -11841,6 +11906,7 @@ bool ArraySingleDimensionLiteralsStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12022,6 +12088,7 @@ bool ArraySingleDimensionLiteralsWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12203,6 +12270,7 @@ bool ArraySingleDimensionLiteralsBoundedStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12384,6 +12452,7 @@ bool ArraySingleDimensionLiteralsBoundedWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12565,6 +12634,7 @@ bool ArraySingleDimensionLiteralsEnumPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12746,6 +12816,7 @@ bool ArraySingleDimensionLiteralsBitMaskPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12927,6 +12998,7 @@ bool ArraySingleDimensionLiteralsAliasPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -13108,6 +13180,7 @@ bool ArraySingleDimensionLiteralsShortArrayPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -13289,6 +13362,7 @@ bool ArraySingleDimensionLiteralsSequencePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -13470,6 +13544,7 @@ bool ArraySingleDimensionLiteralsMapPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -13651,6 +13726,7 @@ bool ArraySingleDimensionLiteralsUnionPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -13832,6 +13908,7 @@ bool ArraySingleDimensionLiteralsStructurePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14013,6 +14090,7 @@ bool ArraySingleDimensionLiteralsBitsetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14194,6 +14272,7 @@ bool ArrayMultiDimensionLiteralsShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14375,6 +14454,7 @@ bool ArrayMultiDimensionLiteralsUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14556,6 +14636,7 @@ bool ArrayMultiDimensionLiteralsLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14737,6 +14818,7 @@ bool ArrayMultiDimensionLiteralsULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14918,6 +15000,7 @@ bool ArrayMultiDimensionLiteralsLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -15099,6 +15182,7 @@ bool ArrayMultiDimensionLiteralsULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -15280,6 +15364,7 @@ bool ArrayMultiDimensionLiteralsFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -15461,6 +15546,7 @@ bool ArrayMultiDimensionLiteralsDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -15642,6 +15728,7 @@ bool ArrayMultiDimensionLiteralsLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -15823,6 +15910,7 @@ bool ArrayMultiDimensionLiteralsBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -16004,6 +16092,7 @@ bool ArrayMultiDimensionLiteralsOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -16185,6 +16274,7 @@ bool ArrayMultiDimensionLiteralsCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -16366,6 +16456,7 @@ bool ArrayMultiDimensionLiteralsWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -16547,6 +16638,7 @@ bool ArrayMultiDimensionLiteralsStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -16728,6 +16820,7 @@ bool ArrayMultiDimensionLiteralsWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -16909,6 +17002,7 @@ bool ArrayMultiDimensionLiteralsBoundedStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -17090,6 +17184,7 @@ bool ArrayMultiDimensionLiteralsBoundedWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -17271,6 +17366,7 @@ bool ArrayMultiDimensionLiteralsEnumPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -17452,6 +17548,7 @@ bool ArrayMultiDimensionLiteralsBitMaskPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -17633,6 +17730,7 @@ bool ArrayMultiDimensionLiteralsAliasPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -17814,6 +17912,7 @@ bool ArrayMultiDimensionLiteralsSequencePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -17995,6 +18094,7 @@ bool ArrayMultiDimensionLiteralsMapPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -18176,6 +18276,7 @@ bool ArrayMultiDimensionLiteralsUnionPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -18357,6 +18458,7 @@ bool ArrayMultiDimensionLiteralsStructurePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -18538,6 +18640,7 @@ bool ArrayMultiDimensionLiteralsBitSetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -18719,6 +18822,7 @@ bool BoundedSmallArraysPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -18900,6 +19004,7 @@ bool BoundedBigArraysPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/bitsetsPubSubTypes.cxx b/test/dds-types-test/bitsetsPubSubTypes.cxx index b21b0b77096..dc3f580fc50 100644 --- a/test/dds-types-test/bitsetsPubSubTypes.cxx +++ b/test/dds-types-test/bitsetsPubSubTypes.cxx @@ -76,6 +76,7 @@ bool BitsetStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/constantsPubSubTypes.cxx b/test/dds-types-test/constantsPubSubTypes.cxx index e7695d9ceb1..7d70022396c 100644 --- a/test/dds-types-test/constantsPubSubTypes.cxx +++ b/test/dds-types-test/constantsPubSubTypes.cxx @@ -77,6 +77,7 @@ namespace const_module1 { ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -261,6 +262,7 @@ namespace const_module2 { ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -444,6 +446,7 @@ bool ConstsLiteralsStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/declarationsPubSubTypes.cxx b/test/dds-types-test/declarationsPubSubTypes.cxx index 3fd9e94012a..629c35a3080 100644 --- a/test/dds-types-test/declarationsPubSubTypes.cxx +++ b/test/dds-types-test/declarationsPubSubTypes.cxx @@ -74,6 +74,7 @@ bool ForwardDeclarationsRecursiveStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -256,6 +257,7 @@ bool ForwardStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -439,6 +441,7 @@ namespace declarations_module { ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -623,6 +626,7 @@ bool ModuledForwardDeclarationsRecursiveStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -806,6 +810,7 @@ namespace declarations_module { ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -990,6 +995,7 @@ bool ModuledCommonNameStructurePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/enumerationsPubSubTypes.cxx b/test/dds-types-test/enumerationsPubSubTypes.cxx index 2cec743f9af..9b92d054f5a 100644 --- a/test/dds-types-test/enumerationsPubSubTypes.cxx +++ b/test/dds-types-test/enumerationsPubSubTypes.cxx @@ -79,6 +79,7 @@ bool EnumStructurePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -260,6 +261,7 @@ bool BitMaskStructurePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -441,6 +443,7 @@ bool BoundedBitMaskStructurePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -622,6 +625,7 @@ bool EnumWithValuesStructurePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/externalPubSubTypes.cxx b/test/dds-types-test/externalPubSubTypes.cxx index 8e173ff419f..1e5c72f3af3 100644 --- a/test/dds-types-test/externalPubSubTypes.cxx +++ b/test/dds-types-test/externalPubSubTypes.cxx @@ -74,6 +74,7 @@ bool short_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -256,6 +257,7 @@ bool ushort_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool long_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -620,6 +623,7 @@ bool ulong_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -802,6 +806,7 @@ bool longlong_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -984,6 +989,7 @@ bool ulonglong_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1166,6 +1172,7 @@ bool float_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1348,6 +1355,7 @@ bool double_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1530,6 +1538,7 @@ bool longdouble_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1712,6 +1721,7 @@ bool boolean_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1894,6 +1904,7 @@ bool octet_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2076,6 +2087,7 @@ bool char_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2258,6 +2270,7 @@ bool wchar_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2440,6 +2453,7 @@ bool sequence_short_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2622,6 +2636,7 @@ bool string_unbounded_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2804,6 +2819,7 @@ bool string_bounded_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2986,6 +3002,7 @@ bool map_short_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3168,6 +3185,7 @@ bool array_short_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3350,6 +3368,7 @@ bool struct_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3532,6 +3551,7 @@ bool InnerStructExternalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3714,6 +3734,7 @@ bool ext_struct_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3896,6 +3917,7 @@ bool ext_and_inner_struct_externalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4078,6 +4100,7 @@ bool struct_external_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4260,6 +4283,7 @@ bool recursive_union_containerPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4442,6 +4466,7 @@ bool recursive_test_1PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4624,6 +4649,7 @@ bool recursive_structurePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4806,6 +4832,7 @@ bool recursive_test_2PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/finalPubSubTypes.cxx b/test/dds-types-test/finalPubSubTypes.cxx index 3836a3d592b..b86837a5ef5 100644 --- a/test/dds-types-test/finalPubSubTypes.cxx +++ b/test/dds-types-test/finalPubSubTypes.cxx @@ -76,6 +76,7 @@ bool FinalShortStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool FinalUShortStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool FinalLongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -619,6 +622,7 @@ bool FinalULongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -800,6 +804,7 @@ bool FinalLongLongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -981,6 +986,7 @@ bool FinalULongLongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1162,6 +1168,7 @@ bool FinalFloatStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1343,6 +1350,7 @@ bool FinalDoubleStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1524,6 +1532,7 @@ bool FinalLongDoubleStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1705,6 +1714,7 @@ bool FinalBooleanStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1886,6 +1896,7 @@ bool FinalOctetStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2067,6 +2078,7 @@ bool FinalCharStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2248,6 +2260,7 @@ bool FinalWCharStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2429,6 +2442,7 @@ bool FinalUnionStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2610,6 +2624,7 @@ bool FinalEmptyStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2791,6 +2806,7 @@ bool FinalEmptyInheritanceStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2972,6 +2988,7 @@ bool FinalInheritanceStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3153,6 +3170,7 @@ bool InheritanceEmptyStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3334,6 +3352,7 @@ bool FinalExtensibilityInheritancePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/helpers/basic_inner_typesPubSubTypes.cxx b/test/dds-types-test/helpers/basic_inner_typesPubSubTypes.cxx index c2cebea5f2f..82287bf6ff1 100644 --- a/test/dds-types-test/helpers/basic_inner_typesPubSubTypes.cxx +++ b/test/dds-types-test/helpers/basic_inner_typesPubSubTypes.cxx @@ -76,6 +76,7 @@ bool InnerStructureHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool InnerEmptyStructureHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/inheritancePubSubTypes.cxx b/test/dds-types-test/inheritancePubSubTypes.cxx index 6b79ba11412..a3f1e596139 100644 --- a/test/dds-types-test/inheritancePubSubTypes.cxx +++ b/test/dds-types-test/inheritancePubSubTypes.cxx @@ -76,6 +76,7 @@ bool InnerStructureHelperChildPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool InnerStructureHelperChildChildPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool InnerStructureHelperEmptyChildPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -619,6 +622,7 @@ bool InnerStructureHelperEmptyChildChildPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -800,6 +804,7 @@ bool InnerEmptyStructureHelperChildPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -981,6 +986,7 @@ bool StructAliasInheritanceStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1162,6 +1168,7 @@ bool StructuresInheritanceStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1343,6 +1350,7 @@ bool BitsetsChildInheritanceStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/keyPubSubTypes.cxx b/test/dds-types-test/keyPubSubTypes.cxx index ca9538da768..9398ab02370 100644 --- a/test/dds-types-test/keyPubSubTypes.cxx +++ b/test/dds-types-test/keyPubSubTypes.cxx @@ -76,6 +76,7 @@ bool KeyedShortStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool KeyedUShortStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool KeyedLongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -619,6 +622,7 @@ bool KeyedULongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -800,6 +804,7 @@ bool KeyedLongLongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -981,6 +986,7 @@ bool KeyedULongLongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1162,6 +1168,7 @@ bool KeyedFloatStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1343,6 +1350,7 @@ bool KeyedDoubleStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1524,6 +1532,7 @@ bool KeyedLongDoubleStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1705,6 +1714,7 @@ bool KeyedBooleanStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1886,6 +1896,7 @@ bool KeyedOctetStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2067,6 +2078,7 @@ bool KeyedCharStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2248,6 +2260,7 @@ bool KeyedWCharStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2429,6 +2442,7 @@ bool KeyedEmptyStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2610,6 +2624,7 @@ bool KeyedEmptyInheritanceStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2791,6 +2806,7 @@ bool KeyedInheritanceStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2972,6 +2988,7 @@ bool InheritanceKeyedEmptyStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3153,6 +3170,7 @@ bool KeyedFinalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3334,6 +3352,7 @@ bool KeyedAppendablePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3515,6 +3534,7 @@ bool KeyedMutablePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/mapsPubSubTypes.cxx b/test/dds-types-test/mapsPubSubTypes.cxx index ed28de32df6..e32d966ca85 100644 --- a/test/dds-types-test/mapsPubSubTypes.cxx +++ b/test/dds-types-test/mapsPubSubTypes.cxx @@ -76,6 +76,7 @@ bool MapShortShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool MapShortUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool MapShortLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -619,6 +622,7 @@ bool MapShortULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -800,6 +804,7 @@ bool MapShortLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -981,6 +986,7 @@ bool MapShortULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1162,6 +1168,7 @@ bool MapShortFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1343,6 +1350,7 @@ bool MapShortDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1524,6 +1532,7 @@ bool MapShortLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1705,6 +1714,7 @@ bool MapShortBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1886,6 +1896,7 @@ bool MapShortOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2067,6 +2078,7 @@ bool MapShortCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2248,6 +2260,7 @@ bool MapShortWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2429,6 +2442,7 @@ bool MapShortStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2610,6 +2624,7 @@ bool MapShortWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2791,6 +2806,7 @@ bool MapShortInnerAliasBoundedStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2972,6 +2988,7 @@ bool MapShortInnerAliasBoundedWStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3153,6 +3170,7 @@ bool MapShortInnerEnumHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3334,6 +3352,7 @@ bool MapShortInnerBitMaskHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3515,6 +3534,7 @@ bool MapShortInnerAliasHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3696,6 +3716,7 @@ bool MapShortInnerAliasArrayHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3877,6 +3898,7 @@ bool MapShortInnerAliasSequenceHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4058,6 +4080,7 @@ bool MapShortInnerAliasMapHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4239,6 +4262,7 @@ bool MapShortInnerUnionHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4420,6 +4444,7 @@ bool MapShortInnerStructureHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4601,6 +4626,7 @@ bool MapShortInnerBitsetHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4782,6 +4808,7 @@ bool MapUShortShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4963,6 +4990,7 @@ bool MapUShortUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5144,6 +5172,7 @@ bool MapUShortLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5325,6 +5354,7 @@ bool MapUShortULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5506,6 +5536,7 @@ bool MapUShortLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5687,6 +5718,7 @@ bool MapUShortULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5868,6 +5900,7 @@ bool MapUShortFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6049,6 +6082,7 @@ bool MapUShortDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6230,6 +6264,7 @@ bool MapUShortLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6411,6 +6446,7 @@ bool MapUShortBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6592,6 +6628,7 @@ bool MapUShortOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6773,6 +6810,7 @@ bool MapUShortCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6954,6 +6992,7 @@ bool MapUShortWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7135,6 +7174,7 @@ bool MapUShortStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7316,6 +7356,7 @@ bool MapUShortWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7497,6 +7538,7 @@ bool MapUShortInnerAliasBoundedStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7678,6 +7720,7 @@ bool MapUShortInnerAliasBoundedWStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7859,6 +7902,7 @@ bool MapUShortInnerEnumHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8040,6 +8084,7 @@ bool MapUShortInnerBitMaskHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8221,6 +8266,7 @@ bool MapUShortInnerAliasHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8402,6 +8448,7 @@ bool MapUShortInnerAliasArrayHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8583,6 +8630,7 @@ bool MapUShortInnerAliasSequenceHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8764,6 +8812,7 @@ bool MapUShortInnerAliasMapHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8945,6 +8994,7 @@ bool MapUShortInnerUnionHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -9126,6 +9176,7 @@ bool MapUShortInnerStructureHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -9307,6 +9358,7 @@ bool MapUShortInnerBitsetHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -9488,6 +9540,7 @@ bool MapLongShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -9669,6 +9722,7 @@ bool MapLongUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -9850,6 +9904,7 @@ bool MapLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10031,6 +10086,7 @@ bool MapLongULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10212,6 +10268,7 @@ bool MapLongKeyLongLongValuePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10393,6 +10450,7 @@ bool MapLongULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10574,6 +10632,7 @@ bool MapLongFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10755,6 +10814,7 @@ bool MapLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10936,6 +10996,7 @@ bool MapLongKeyLongDoubleValuePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -11117,6 +11178,7 @@ bool MapLongBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -11298,6 +11360,7 @@ bool MapLongOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -11479,6 +11542,7 @@ bool MapLongCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -11660,6 +11724,7 @@ bool MapLongWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -11841,6 +11906,7 @@ bool MapLongStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12022,6 +12088,7 @@ bool MapLongWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12203,6 +12270,7 @@ bool MapLongInnerAliasBoundedStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12384,6 +12452,7 @@ bool MapLongInnerAliasBoundedWStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12565,6 +12634,7 @@ bool MapLongInnerEnumHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12746,6 +12816,7 @@ bool MapLongInnerBitMaskHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12927,6 +12998,7 @@ bool MapLongInnerAliasHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -13108,6 +13180,7 @@ bool MapLongInnerAliasArrayHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -13289,6 +13362,7 @@ bool MapLongInnerAliasSequenceHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -13470,6 +13544,7 @@ bool MapLongInnerAliasMapHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -13651,6 +13726,7 @@ bool MapLongInnerUnionHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -13832,6 +13908,7 @@ bool MapLongInnerStructureHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14013,6 +14090,7 @@ bool MapLongInnerBitsetHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14194,6 +14272,7 @@ bool MapULongShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14375,6 +14454,7 @@ bool MapULongUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14556,6 +14636,7 @@ bool MapULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14737,6 +14818,7 @@ bool MapULongULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14918,6 +15000,7 @@ bool MapKeyULongValueLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -15099,6 +15182,7 @@ bool MapULongULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -15280,6 +15364,7 @@ bool MapULongFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -15461,6 +15546,7 @@ bool MapULongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -15642,6 +15728,7 @@ bool MapKeyULongValueLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -15823,6 +15910,7 @@ bool MapULongBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -16004,6 +16092,7 @@ bool MapULongOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -16185,6 +16274,7 @@ bool MapULongCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -16366,6 +16456,7 @@ bool MapULongWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -16547,6 +16638,7 @@ bool MapULongStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -16728,6 +16820,7 @@ bool MapULongWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -16909,6 +17002,7 @@ bool MapULongInnerAliasBoundedStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -17090,6 +17184,7 @@ bool MapULongInnerAliasBoundedWStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -17271,6 +17366,7 @@ bool MapULongInnerEnumHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -17452,6 +17548,7 @@ bool MapULongInnerBitMaskHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -17633,6 +17730,7 @@ bool MapULongInnerAliasHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -17814,6 +17912,7 @@ bool MapULongInnerAliasArrayHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -17995,6 +18094,7 @@ bool MapULongInnerAliasSequenceHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -18176,6 +18276,7 @@ bool MapULongInnerAliasMapHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -18357,6 +18458,7 @@ bool MapULongInnerUnionHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -18538,6 +18640,7 @@ bool MapULongInnerStructureHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -18719,6 +18822,7 @@ bool MapULongInnerBitsetHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -18900,6 +19004,7 @@ bool MapLongLongShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -19081,6 +19186,7 @@ bool MapLongLongUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -19262,6 +19368,7 @@ bool MapLongLongKeyLongValuePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -19443,6 +19550,7 @@ bool MapLongLongULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -19624,6 +19732,7 @@ bool MapLongLongLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -19805,6 +19914,7 @@ bool MapLongLongULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -19986,6 +20096,7 @@ bool MapLongLongFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -20167,6 +20278,7 @@ bool MapLongLongKeyDoubleValuePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -20348,6 +20460,7 @@ bool MapLongLongLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -20529,6 +20642,7 @@ bool MapLongLongBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -20710,6 +20824,7 @@ bool MapLongLongOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -20891,6 +21006,7 @@ bool MapLongLongCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -21072,6 +21188,7 @@ bool MapLongLongWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -21253,6 +21370,7 @@ bool MapLongLongStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -21434,6 +21552,7 @@ bool MapLongLongWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -21615,6 +21734,7 @@ bool MapLongLongInnerAliasBoundedStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -21796,6 +21916,7 @@ bool MapLongLongInnerAliasBoundedWStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -21977,6 +22098,7 @@ bool MapLongLongInnerEnumHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -22158,6 +22280,7 @@ bool MapLongLongInnerBitMaskHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -22339,6 +22462,7 @@ bool MapLongLongInnerAliasHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -22520,6 +22644,7 @@ bool MapLongLongInnerAliasArrayHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -22701,6 +22826,7 @@ bool MapLongLongInnerAliasSequenceHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -22882,6 +23008,7 @@ bool MapLongLongInnerAliasMapHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -23063,6 +23190,7 @@ bool MapLongLongInnerUnionHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -23244,6 +23372,7 @@ bool MapLongLongInnerStructureHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -23425,6 +23554,7 @@ bool MapLongLongInnerBitsetHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -23606,6 +23736,7 @@ bool MapULongLongShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -23787,6 +23918,7 @@ bool MapULongLongUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -23968,6 +24100,7 @@ bool MapULongLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -24149,6 +24282,7 @@ bool MapULongLongULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -24330,6 +24464,7 @@ bool MapULongLongLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -24511,6 +24646,7 @@ bool MapULongLongULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -24692,6 +24828,7 @@ bool MapULongLongFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -24873,6 +25010,7 @@ bool MapKeyULongLongValueDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -25054,6 +25192,7 @@ bool MapULongLongLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -25235,6 +25374,7 @@ bool MapULongLongBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -25416,6 +25556,7 @@ bool MapULongLongOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -25597,6 +25738,7 @@ bool MapULongLongCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -25778,6 +25920,7 @@ bool MapULongLongWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -25959,6 +26102,7 @@ bool MapULongLongStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -26140,6 +26284,7 @@ bool MapULongLongWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -26321,6 +26466,7 @@ bool MapULongLongInnerAliasBoundedStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -26502,6 +26648,7 @@ bool MapULongLongInnerAliasBoundedWStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -26683,6 +26830,7 @@ bool MapULongLongInnerEnumHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -26864,6 +27012,7 @@ bool MapULongLongInnerBitMaskHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -27045,6 +27194,7 @@ bool MapULongLongInnerAliasHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -27226,6 +27376,7 @@ bool MapULongLongInnerAliasArrayHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -27407,6 +27558,7 @@ bool MapULongLongInnerAliasSequenceHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -27588,6 +27740,7 @@ bool MapULongLongInnerAliasMapHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -27769,6 +27922,7 @@ bool MapULongLongInnerUnionHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -27950,6 +28104,7 @@ bool MapULongLongInnerStructureHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -28131,6 +28286,7 @@ bool MapULongLongInnerBitsetHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -28312,6 +28468,7 @@ bool MapStringShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -28493,6 +28650,7 @@ bool MapStringUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -28674,6 +28832,7 @@ bool MapStringLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -28855,6 +29014,7 @@ bool MapStringULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -29036,6 +29196,7 @@ bool MapStringLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -29217,6 +29378,7 @@ bool MapStringULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -29398,6 +29560,7 @@ bool MapStringFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -29579,6 +29742,7 @@ bool MapStringDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -29760,6 +29924,7 @@ bool MapStringLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -29941,6 +30106,7 @@ bool MapStringBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -30122,6 +30288,7 @@ bool MapStringOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -30303,6 +30470,7 @@ bool MapStringCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -30484,6 +30652,7 @@ bool MapStringWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -30665,6 +30834,7 @@ bool MapStringStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -30846,6 +31016,7 @@ bool MapStringWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -31027,6 +31198,7 @@ bool MapStringInnerAliasBoundedStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -31208,6 +31380,7 @@ bool MapStringInnerAliasBoundedWStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -31389,6 +31562,7 @@ bool MapStringInnerEnumHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -31570,6 +31744,7 @@ bool MapStringInnerBitMaskHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -31751,6 +31926,7 @@ bool MapStringInnerAliasHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -31932,6 +32108,7 @@ bool MapStringInnerAliasArrayHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -32113,6 +32290,7 @@ bool MapStringInnerAliasSequenceHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -32294,6 +32472,7 @@ bool MapStringInnerAliasMapHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -32475,6 +32654,7 @@ bool MapStringInnerUnionHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -32656,6 +32836,7 @@ bool MapStringInnerStructureHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -32837,6 +33018,7 @@ bool MapStringInnerBitsetHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -33018,6 +33200,7 @@ bool MapWStringShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -33199,6 +33382,7 @@ bool MapWStringUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -33380,6 +33564,7 @@ bool MapWStringLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -33561,6 +33746,7 @@ bool MapWStringULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -33742,6 +33928,7 @@ bool MapWStringLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -33923,6 +34110,7 @@ bool MapWStringULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -34104,6 +34292,7 @@ bool MapWStringFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -34285,6 +34474,7 @@ bool MapWStringDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -34466,6 +34656,7 @@ bool MapWStringLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -34647,6 +34838,7 @@ bool MapWStringBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -34828,6 +35020,7 @@ bool MapWStringOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -35009,6 +35202,7 @@ bool MapWStringCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -35190,6 +35384,7 @@ bool MapWStringWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -35371,6 +35566,7 @@ bool MapWStringStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -35552,6 +35748,7 @@ bool MapWStringWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -35733,6 +35930,7 @@ bool MapWStringInnerAliasBoundedStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -35914,6 +36112,7 @@ bool MapWStringInnerAliasBoundedWStringHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -36095,6 +36294,7 @@ bool MapWStringInnerEnumHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -36276,6 +36476,7 @@ bool MapWStringInnerBitMaskHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -36457,6 +36658,7 @@ bool MapWStringInnerAliasHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -36638,6 +36840,7 @@ bool MapWStringInnerAliasArrayHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -36819,6 +37022,7 @@ bool MapWStringInnerAliasSequenceHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -37000,6 +37204,7 @@ bool MapWStringInnerAliasMapHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -37181,6 +37386,7 @@ bool MapWStringInnerUnionHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -37362,6 +37568,7 @@ bool MapWStringInnerStructureHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -37543,6 +37750,7 @@ bool MapWStringInnerBitsetHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -37724,6 +37932,7 @@ bool MapInnerAliasBoundedStringHelperShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -37905,6 +38114,7 @@ bool MapInnerAliasBoundedStringHelperUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -38086,6 +38296,7 @@ bool MapInnerAliasBoundedStringHelperLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -38267,6 +38478,7 @@ bool MapInnerAliasBoundedStringHelperULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -38448,6 +38660,7 @@ bool MapInnerAliasBoundedStringHelperLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -38629,6 +38842,7 @@ bool MapInnerAliasBoundedStringHelperULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -38810,6 +39024,7 @@ bool MapInnerAliasBoundedStringHelperFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -38991,6 +39206,7 @@ bool MapInnerAliasBoundedStringHelperDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -39172,6 +39388,7 @@ bool MapInnerAliasBoundedStringHelperLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -39353,6 +39570,7 @@ bool MapInnerAliasBoundedStringHelperBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -39534,6 +39752,7 @@ bool MapInnerAliasBoundedStringHelperOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -39715,6 +39934,7 @@ bool MapInnerAliasBoundedStringHelperCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -39896,6 +40116,7 @@ bool MapInnerAliasBoundedStringHelperWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -40077,6 +40298,7 @@ bool MapInnerAliasBoundedStringHelperStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -40258,6 +40480,7 @@ bool MapInnerAliasBoundedStringHelperWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -40439,6 +40662,7 @@ bool MapInnerAliasBoundedStringHelperInnerAliasBoundedStringHelperPubSubType::se ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -40620,6 +40844,7 @@ bool MapInnerAliasBoundedStringHelperInnerAliasBoundedWStringHelperPubSubType::s ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -40801,6 +41026,7 @@ bool MapInnerAliasBoundedStringHelperInnerEnumHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -40982,6 +41208,7 @@ bool MapInnerAliasBoundedStringHelperInnerBitMaskHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -41163,6 +41390,7 @@ bool MapInnerAliasBoundedStringHelperInnerAliasHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -41344,6 +41572,7 @@ bool MapInnerAliasBoundedStringHelperInnerAliasArrayHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -41525,6 +41754,7 @@ bool MapInnerAliasBoundedStringHelperInnerAliasSequenceHelperPubSubType::seriali ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -41706,6 +41936,7 @@ bool MapInnerAliasBoundedStringHelperInnerAliasMapHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -41887,6 +42118,7 @@ bool MapInnerAliasBoundedStringHelperInnerUnionHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -42068,6 +42300,7 @@ bool MapInnerAliasBoundedStringHelperInnerStructureHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -42249,6 +42482,7 @@ bool MapInnerAliasBoundedStringHelperInnerBitsetHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -42430,6 +42664,7 @@ bool MapInnerAliasBoundedWStringHelperShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -42611,6 +42846,7 @@ bool MapInnerAliasBoundedWStringHelperUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -42792,6 +43028,7 @@ bool MapInnerAliasBoundedWStringHelperLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -42973,6 +43210,7 @@ bool MapInnerAliasBoundedWStringHelperULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -43154,6 +43392,7 @@ bool MapInnerAliasBoundedWStringHelperLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -43335,6 +43574,7 @@ bool MapInnerAliasBoundedWStringHelperULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -43516,6 +43756,7 @@ bool MapInnerAliasBoundedWStringHelperFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -43697,6 +43938,7 @@ bool MapInnerAliasBoundedWStringHelperDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -43878,6 +44120,7 @@ bool MapInnerAliasBoundedWStringHelperLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -44059,6 +44302,7 @@ bool MapInnerAliasBoundedWStringHelperBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -44240,6 +44484,7 @@ bool MapInnerAliasBoundedWStringHelperOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -44421,6 +44666,7 @@ bool MapInnerAliasBoundedWStringHelperCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -44602,6 +44848,7 @@ bool MapInnerAliasBoundedWStringHelperWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -44783,6 +45030,7 @@ bool MapInnerAliasBoundedWStringHelperStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -44964,6 +45212,7 @@ bool MapInnerAliasBoundedWStringHelperWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -45145,6 +45394,7 @@ bool MapInnerAliasBoundedWStringHelperInnerAliasBoundedStringHelperPubSubType::s ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -45326,6 +45576,7 @@ bool MapInnerAliasBoundedWStringHelperInnerAliasBoundedWStringHelperPubSubType:: ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -45507,6 +45758,7 @@ bool MapInnerAliasBoundedWStringHelperInnerEnumHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -45688,6 +45940,7 @@ bool MapInnerAliasBoundedWStringHelperInnerBitMaskHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -45869,6 +46122,7 @@ bool MapInnerAliasBoundedWStringHelperInnerAliasHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -46050,6 +46304,7 @@ bool MapInnerAliasBoundedWStringHelperInnerAliasArrayHelperPubSubType::serialize ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -46231,6 +46486,7 @@ bool MapInnerAliasBoundedWStringHelperInnerAliasSequenceHelperPubSubType::serial ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -46412,6 +46668,7 @@ bool MapInnerAliasBoundedWStringHelperInnerAliasMapHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -46593,6 +46850,7 @@ bool MapInnerAliasBoundedWStringHelperInnerUnionHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -46774,6 +47032,7 @@ bool MapInnerAliasBoundedWStringHelperInnerStructureHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -46955,6 +47214,7 @@ bool MapInnerAliasBoundedWStringHelperInnerBitsetHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -47136,6 +47396,7 @@ bool BoundedSmallMapPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -47317,6 +47578,7 @@ bool BoundedLargeMapPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/member_idPubSubTypes.cxx b/test/dds-types-test/member_idPubSubTypes.cxx index 1a39b120ef7..3f895922df6 100644 --- a/test/dds-types-test/member_idPubSubTypes.cxx +++ b/test/dds-types-test/member_idPubSubTypes.cxx @@ -76,6 +76,7 @@ bool FixIdPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool FixHexIdPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool FixHashidDefaultPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -619,6 +622,7 @@ bool FixHashidPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -800,6 +804,7 @@ bool FixMixPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -981,6 +986,7 @@ bool AutoidDefaultPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1162,6 +1168,7 @@ bool AutoidSequentialPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1343,6 +1350,7 @@ bool AutoidHashPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1524,6 +1532,7 @@ bool DerivedAutoidDefaultPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1705,6 +1714,7 @@ bool DerivedEmptyAutoidSequentialPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1886,6 +1896,7 @@ bool DerivedAutoidSequentialPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2067,6 +2078,7 @@ bool DerivedAutoidHashPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/mutablePubSubTypes.cxx b/test/dds-types-test/mutablePubSubTypes.cxx index aedd76d79ac..e05bb226238 100644 --- a/test/dds-types-test/mutablePubSubTypes.cxx +++ b/test/dds-types-test/mutablePubSubTypes.cxx @@ -76,6 +76,7 @@ bool MutableShortStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool MutableUShortStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool MutableLongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -619,6 +622,7 @@ bool MutableULongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -800,6 +804,7 @@ bool MutableLongLongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -981,6 +986,7 @@ bool MutableULongLongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1162,6 +1168,7 @@ bool MutableFloatStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1343,6 +1350,7 @@ bool MutableDoubleStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1524,6 +1532,7 @@ bool MutableLongDoubleStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1705,6 +1714,7 @@ bool MutableBooleanStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1886,6 +1896,7 @@ bool MutableOctetStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2067,6 +2078,7 @@ bool MutableCharStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2248,6 +2260,7 @@ bool MutableWCharStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2429,6 +2442,7 @@ bool MutableUnionStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2610,6 +2624,7 @@ bool MutableEmptyStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2791,6 +2806,7 @@ bool MutableEmptyInheritanceStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2972,6 +2988,7 @@ bool MutableInheritanceStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3153,6 +3170,7 @@ bool MutableInheritanceEmptyStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3334,6 +3352,7 @@ bool MutableExtensibilityInheritancePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/optionalPubSubTypes.cxx b/test/dds-types-test/optionalPubSubTypes.cxx index f1d7837be4f..faa5e16afc9 100644 --- a/test/dds-types-test/optionalPubSubTypes.cxx +++ b/test/dds-types-test/optionalPubSubTypes.cxx @@ -76,6 +76,7 @@ bool short_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool ushort_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool long_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -619,6 +622,7 @@ bool ulong_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -800,6 +804,7 @@ bool longlong_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -981,6 +986,7 @@ bool ulonglong_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1162,6 +1168,7 @@ bool float_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1343,6 +1350,7 @@ bool double_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1524,6 +1532,7 @@ bool longdouble_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1705,6 +1714,7 @@ bool boolean_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1886,6 +1896,7 @@ bool octet_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2067,6 +2078,7 @@ bool char_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2248,6 +2260,7 @@ bool wchar_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2429,6 +2442,7 @@ bool short_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2610,6 +2624,7 @@ bool short_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2791,6 +2806,7 @@ bool short_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2972,6 +2988,7 @@ bool ushort_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3153,6 +3170,7 @@ bool ushort_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3334,6 +3352,7 @@ bool ushort_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3515,6 +3534,7 @@ bool long_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3696,6 +3716,7 @@ bool long_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3877,6 +3898,7 @@ bool long_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4058,6 +4080,7 @@ bool ulong_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4239,6 +4262,7 @@ bool ulong_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4420,6 +4444,7 @@ bool ulong_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4601,6 +4626,7 @@ bool longlong_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4782,6 +4808,7 @@ bool longlong_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4963,6 +4990,7 @@ bool longlong_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5144,6 +5172,7 @@ bool ulonglong_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5325,6 +5354,7 @@ bool ulonglong_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5506,6 +5536,7 @@ bool ulonglong_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5687,6 +5718,7 @@ bool float_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5868,6 +5900,7 @@ bool float_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6049,6 +6082,7 @@ bool float_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6230,6 +6264,7 @@ bool double_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6411,6 +6446,7 @@ bool double_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6592,6 +6628,7 @@ bool double_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6773,6 +6810,7 @@ bool longdouble_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6954,6 +6992,7 @@ bool longdouble_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7135,6 +7174,7 @@ bool longdouble_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7316,6 +7356,7 @@ bool boolean_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7497,6 +7538,7 @@ bool boolean_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7678,6 +7720,7 @@ bool boolean_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7859,6 +7902,7 @@ bool octet_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8040,6 +8084,7 @@ bool octet_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8221,6 +8266,7 @@ bool octet_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8402,6 +8448,7 @@ bool char_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8583,6 +8630,7 @@ bool char_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8764,6 +8812,7 @@ bool char_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -8945,6 +8994,7 @@ bool wchar_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -9126,6 +9176,7 @@ bool wchar_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -9307,6 +9358,7 @@ bool wchar_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -9488,6 +9540,7 @@ bool sequence_short_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -9669,6 +9722,7 @@ bool sequence_short_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -9850,6 +9904,7 @@ bool sequence_short_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10031,6 +10086,7 @@ bool sequence_short_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10212,6 +10268,7 @@ bool string_unbounded_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10393,6 +10450,7 @@ bool string_unbounded_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10574,6 +10632,7 @@ bool string_unbounded_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10755,6 +10814,7 @@ bool string_unbounded_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -10936,6 +10996,7 @@ bool string_bounded_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -11117,6 +11178,7 @@ bool string_bounded_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -11298,6 +11360,7 @@ bool string_bounded_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -11479,6 +11542,7 @@ bool string_bounded_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -11660,6 +11724,7 @@ bool map_short_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -11841,6 +11906,7 @@ bool map_short_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12022,6 +12088,7 @@ bool map_short_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12203,6 +12270,7 @@ bool map_short_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12384,6 +12452,7 @@ bool array_short_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12565,6 +12634,7 @@ bool array_short_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12746,6 +12816,7 @@ bool array_short_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -12927,6 +12998,7 @@ bool array_short_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -13108,6 +13180,7 @@ bool struct_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -13289,6 +13362,7 @@ bool struct_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -13470,6 +13544,7 @@ bool struct_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -13651,6 +13726,7 @@ bool struct_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -13832,6 +13908,7 @@ bool InnerStructOptionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14013,6 +14090,7 @@ bool opt_struct_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14194,6 +14272,7 @@ bool opt_struct_align_1_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14375,6 +14454,7 @@ bool opt_struct_align_2_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -14556,6 +14636,7 @@ bool opt_struct_align_4_optionalPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/primitivesPubSubTypes.cxx b/test/dds-types-test/primitivesPubSubTypes.cxx index 28e8e0f7162..bfa42372b95 100644 --- a/test/dds-types-test/primitivesPubSubTypes.cxx +++ b/test/dds-types-test/primitivesPubSubTypes.cxx @@ -76,6 +76,7 @@ bool ShortStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool UShortStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool LongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -619,6 +622,7 @@ bool ULongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -800,6 +804,7 @@ bool LongLongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -981,6 +986,7 @@ bool ULongLongStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1162,6 +1168,7 @@ bool FloatStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1343,6 +1350,7 @@ bool DoubleStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1524,6 +1532,7 @@ bool LongDoubleStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1705,6 +1714,7 @@ bool BooleanStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1886,6 +1896,7 @@ bool OctetStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2067,6 +2078,7 @@ bool CharStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2248,6 +2260,7 @@ bool WCharStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2429,6 +2442,7 @@ bool Int8StructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2610,6 +2624,7 @@ bool Uint8StructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2791,6 +2806,7 @@ bool Int16StructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2972,6 +2988,7 @@ bool Uint16StructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3153,6 +3170,7 @@ bool Int32StructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3334,6 +3352,7 @@ bool Uint32StructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3515,6 +3534,7 @@ bool Int64StructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3696,6 +3716,7 @@ bool Uint64StructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/sequencesPubSubTypes.cxx b/test/dds-types-test/sequencesPubSubTypes.cxx index 58a20771e14..0a226fe231d 100644 --- a/test/dds-types-test/sequencesPubSubTypes.cxx +++ b/test/dds-types-test/sequencesPubSubTypes.cxx @@ -76,6 +76,7 @@ bool SequenceShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool SequenceUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool SequenceLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -619,6 +622,7 @@ bool SequenceULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -800,6 +804,7 @@ bool SequenceLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -981,6 +986,7 @@ bool SequenceULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1162,6 +1168,7 @@ bool SequenceFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1343,6 +1350,7 @@ bool SequenceDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1524,6 +1532,7 @@ bool SequenceLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1705,6 +1714,7 @@ bool SequenceBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1886,6 +1896,7 @@ bool SequenceOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2067,6 +2078,7 @@ bool SequenceCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2248,6 +2260,7 @@ bool SequenceWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2429,6 +2442,7 @@ bool SequenceStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2610,6 +2624,7 @@ bool SequenceWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2791,6 +2806,7 @@ bool SequenceStringBoundedPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2972,6 +2988,7 @@ bool SequenceWStringBoundedPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3153,6 +3170,7 @@ bool SequenceEnumPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3334,6 +3352,7 @@ bool SequenceBitMaskPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3515,6 +3534,7 @@ bool SequenceAliasPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3696,6 +3716,7 @@ bool SequenceShortArrayPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3877,6 +3898,7 @@ bool SequenceSequencePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4058,6 +4080,7 @@ bool SequenceMapPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4239,6 +4262,7 @@ bool SequenceUnionPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4420,6 +4444,7 @@ bool SequenceStructurePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4601,6 +4626,7 @@ bool SequenceBitsetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4782,6 +4808,7 @@ bool BoundedSmallSequencesPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4963,6 +4990,7 @@ bool BoundedBigSequencesPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5148,6 +5176,7 @@ namespace NoCommon_Module { ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/stringsPubSubTypes.cxx b/test/dds-types-test/stringsPubSubTypes.cxx index 6f2153376ab..353a6339a43 100644 --- a/test/dds-types-test/stringsPubSubTypes.cxx +++ b/test/dds-types-test/stringsPubSubTypes.cxx @@ -76,6 +76,7 @@ bool StringStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool WStringStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool SmallStringStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -619,6 +622,7 @@ bool SmallWStringStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -800,6 +804,7 @@ bool LargeStringStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -981,6 +986,7 @@ bool LargeWStringStructPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/structuresPubSubTypes.cxx b/test/dds-types-test/structuresPubSubTypes.cxx index 774f0255a7d..558b9c49e4e 100644 --- a/test/dds-types-test/structuresPubSubTypes.cxx +++ b/test/dds-types-test/structuresPubSubTypes.cxx @@ -76,6 +76,7 @@ bool StructShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -257,6 +258,7 @@ bool StructUnsignedShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -438,6 +440,7 @@ bool StructLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -619,6 +622,7 @@ bool StructUnsignedLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -800,6 +804,7 @@ bool StructLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -981,6 +986,7 @@ bool StructUnsignedLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1162,6 +1168,7 @@ bool StructFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1343,6 +1350,7 @@ bool StructDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1524,6 +1532,7 @@ bool StructLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1705,6 +1714,7 @@ bool StructBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1886,6 +1896,7 @@ bool StructOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2067,6 +2078,7 @@ bool StructChar8PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2248,6 +2260,7 @@ bool StructChar16PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2429,6 +2442,7 @@ bool StructStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2610,6 +2624,7 @@ bool StructWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2791,6 +2806,7 @@ bool StructBoundedStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2972,6 +2988,7 @@ bool StructBoundedWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3153,6 +3170,7 @@ bool StructEnumPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3334,6 +3352,7 @@ bool StructBitMaskPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3515,6 +3534,7 @@ bool StructAliasPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3696,6 +3716,7 @@ bool StructShortArrayPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3877,6 +3898,7 @@ bool StructSequencePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4058,6 +4080,7 @@ bool StructMapPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4239,6 +4262,7 @@ bool StructUnionPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4420,6 +4444,7 @@ bool StructStructurePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4601,6 +4626,7 @@ bool StructBitsetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4782,6 +4808,7 @@ bool StructEmptyPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4963,6 +4990,7 @@ bool StructuresPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5145,6 +5173,7 @@ namespace testing_1 { ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5329,6 +5358,7 @@ namespace testing_2 { ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5512,6 +5542,7 @@ bool barPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5693,6 +5724,7 @@ bool root1PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5874,6 +5906,7 @@ bool root2PubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6055,6 +6088,7 @@ bool rootPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { diff --git a/test/dds-types-test/unionsPubSubTypes.cxx b/test/dds-types-test/unionsPubSubTypes.cxx index d31d8289eb2..324e8a50775 100644 --- a/test/dds-types-test/unionsPubSubTypes.cxx +++ b/test/dds-types-test/unionsPubSubTypes.cxx @@ -79,6 +79,7 @@ bool UnionShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -260,6 +261,7 @@ bool UnionUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -441,6 +443,7 @@ bool UnionLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -622,6 +625,7 @@ bool UnionULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -803,6 +807,7 @@ bool UnionLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -984,6 +989,7 @@ bool UnionULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1165,6 +1171,7 @@ bool UnionFloatPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1346,6 +1353,7 @@ bool UnionDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1527,6 +1535,7 @@ bool UnionLongDoublePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1708,6 +1717,7 @@ bool UnionBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -1889,6 +1899,7 @@ bool UnionOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2070,6 +2081,7 @@ bool UnionCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2251,6 +2263,7 @@ bool UnionWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2432,6 +2445,7 @@ bool UnionStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2613,6 +2627,7 @@ bool UnionWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2794,6 +2809,7 @@ bool UnionBoundedStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -2975,6 +2991,7 @@ bool UnionBoundedWStringPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3156,6 +3173,7 @@ bool UnionInnerEnumHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3337,6 +3355,7 @@ bool UnionInnerBitMaskHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3518,6 +3537,7 @@ bool UnionInnerAliasHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3699,6 +3719,7 @@ bool UnionArrayPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -3880,6 +3901,7 @@ bool UnionSequencePubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4061,6 +4083,7 @@ bool UnionMapPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4242,6 +4265,7 @@ bool UnionInnerUnionHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4423,6 +4447,7 @@ bool UnionInnerStructureHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4604,6 +4629,7 @@ bool UnionInnerBitsetHelperPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4785,6 +4811,7 @@ bool UnionDiscriminatorShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -4966,6 +4993,7 @@ bool UnionDiscriminatorUShortPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5147,6 +5175,7 @@ bool UnionDiscriminatorLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5328,6 +5357,7 @@ bool UnionDiscriminatorULongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5509,6 +5539,7 @@ bool UnionDiscriminatorLongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5690,6 +5721,7 @@ bool UnionDiscriminatorULongLongPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -5871,6 +5903,7 @@ bool UnionDiscriminatorBooleanPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6052,6 +6085,7 @@ bool UnionDiscriminatorOctetPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6233,6 +6267,7 @@ bool UnionDiscriminatorCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6414,6 +6449,7 @@ bool UnionDiscriminatorWCharPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6595,6 +6631,7 @@ bool UnionDiscriminatorEnumPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6776,6 +6813,7 @@ bool UnionDiscriminatorEnumLabelPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -6957,6 +6995,7 @@ bool UnionDiscriminatorAliasPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7138,6 +7177,7 @@ bool UnionSeveralFieldsPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7319,6 +7359,7 @@ bool UnionSeveralFieldsWithDefaultPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7500,6 +7541,7 @@ bool UnionShortExtraMemberPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) { @@ -7681,6 +7723,7 @@ bool UnionFixedStringAliasPubSubType::serialize( ser.serialize_encapsulation(); // Serialize the object. ser << *p_type; + ser.set_dds_cdr_options({0,0}); } catch (eprosima::fastcdr::exception::Exception& /*exception*/) {