Fast-DDS icon indicating copy to clipboard operation
Fast-DDS copied to clipboard

[21051] DynamicType to IDL serializer

Open juanlofer-eprosima opened this issue 1 year ago • 2 comments

Description

This PR implements functionality to serialize a DynamicType to IDL.

Contributor Checklist

  • [x] Commit messages follow the project guidelines.
  • [x] The code follows the style guidelines of this project.
  • [x] Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
  • [x] Any new/modified methods have been properly documented using Doxygen.
  • N/A Any new configuration API has an equivalent XML API (with the corresponding XSD extension)
  • [x] Changes are backport compatible: they do NOT break ABI nor change library core behavior.
  • [x] Changes are API compatible.
  • [x] New feature has been added to the versions.md file (if applicable).
  • [x] New feature has been documented/Current behavior is correctly described in the documentation.
  • N/A Applicable backports have been included in the description.

Reviewer Checklist

  • [ ] The PR has a milestone assigned.
  • [ ] The title and description correctly express the PR's purpose.
  • [ ] Check contributor checklist is correct.
  • [ ] Check CI results: changes do not issue any warning.
  • [ ] Check CI results: failing tests are unrelated with the changes.

juanlofer-eprosima avatar May 14 '24 12:05 juanlofer-eprosima

Consider extending conversions to take annotations into account.

juanlofer-eprosima avatar May 21 '24 06:05 juanlofer-eprosima

@richiprosima please test_3 this

tempate avatar Jun 20 '24 13:06 tempate

Add the new IDL files to update_generated_code_from_idl.sh.

juanlofer-eprosima avatar Jul 09 '24 05:07 juanlofer-eprosima

Add the new IDL files to update_generated_code_from_idl.sh.

By appending the following to files_needing_output_dir

'./test/unittest/dds/xtypes/serializers/idl/types/alias_struct/alias_struct.idl|./gen' './test/unittest/dds/xtypes/serializers/idl/types/array_struct/array_struct.idl|./gen' './test/unittest/dds/xtypes/serializers/idl/types/bitmask_struct/bitmask_struct.idl|./gen' './test/unittest/dds/xtypes/serializers/idl/types/bitset_struct/bitset_struct.idl|./gen' './test/unittest/dds/xtypes/serializers/idl/types/enum_struct/enum_struct.idl|./gen' './test/unittest/dds/xtypes/serializers/idl/types/extensibility_struct/extensibility_struct.idl|./gen' './test/unittest/dds/xtypes/serializers/idl/types/key_struct/key_struct.idl|./gen' './test/unittest/dds/xtypes/serializers/idl/types/map_struct/map_struct.idl|./gen' './test/unittest/dds/xtypes/serializers/idl/types/primitives_struct/primitives_struct.idl|./gen' './test/unittest/dds/xtypes/serializers/idl/types/sequence_struct/sequence_struct.idl|./gen' './test/unittest/dds/xtypes/serializers/idl/types/string_struct/string_struct.idl|./gen' './test/unittest/dds/xtypes/serializers/idl/types/struct_struct/struct_struct.idl|./gen' './test/unittest/dds/xtypes/serializers/idl/types/union_struct/union_struct.idl|./gen'

juanlofer-eprosima avatar Jul 09 '24 08:07 juanlofer-eprosima