Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DynamicType to IDL serializer (#4787)
* Add tree container Signed-off-by: Juan Lopez Fernandez <juanlopez@eprosima.com> * DynamicType to IDL serializer Signed-off-by: Juan Lopez Fernandez <juanlopez@eprosima.com> * Make methods return RETCODES and noexcept Signed-off-by: tempate <danieldiaz@eprosima.com> * Move TreeNodeType methods to a different file Signed-off-by: tempate <danieldiaz@eprosima.com> * Check ReturnCodes from the DynamicTypes API Signed-off-by: tempate <danieldiaz@eprosima.com> * Replace ostream with string Signed-off-by: tempate <danieldiaz@eprosima.com> * Cover unbounded sequence scenario Signed-off-by: tempate <danieldiaz@eprosima.com> * Support TK_INT8 & TK_UINT8 Signed-off-by: tempate <danieldiaz@eprosima.com> * Include safety checks Signed-off-by: tempate <danieldiaz@eprosima.com> * Add DOCSTRING descriptions Signed-off-by: tempate <danieldiaz@eprosima.com> * Tests - Dynamic Types to IDL Signed-off-by: tempate <danieldiaz@eprosima.com> * Tests fixes - unbounded sequence & array length Signed-off-by: tempate <danieldiaz@eprosima.com> * Tests fixes - TK_ENUM Signed-off-by: tempate <danieldiaz@eprosima.com> * Tests fixes - TK_UNION Signed-off-by: tempate <danieldiaz@eprosima.com> * Update versions.md Signed-off-by: tempate <danieldiaz@eprosima.com> * Move dyn_type_tree to type_conversion Signed-off-by: tempate <danieldiaz@eprosima.com> * Tests - Tree Signed-off-by: tempate <danieldiaz@eprosima.com> * Tests fixes - Tree depth Signed-off-by: tempate <danieldiaz@eprosima.com> * Rename Tree to TreeNode Signed-off-by: tempate <danieldiaz@eprosima.com> * Tests - Refactor Dynamic Types to IDL Signed-off-by: tempate <danieldiaz@eprosima.com> * Support TK_BITSET Signed-off-by: tempate <danieldiaz@eprosima.com> * Tests - TK_BITSET Signed-off-by: tempate <danieldiaz@eprosima.com> * Support TK_BITMASK Signed-off-by: tempate <danieldiaz@eprosima.com> * Tests - TK_BITMASK Signed-off-by: tempate <danieldiaz@eprosima.com> * Support TK_ALIAS Signed-off-by: tempate <danieldiaz@eprosima.com> * Tests - TK_ALIAS Signed-off-by: tempate <danieldiaz@eprosima.com> * Support Annotation @key Signed-off-by: tempate <danieldiaz@eprosima.com> * Tests - Annotation @key Signed-off-by: tempate <danieldiaz@eprosima.com> * Rearrange & sort methods Signed-off-by: tempate <danieldiaz@eprosima.com> * Support Annotation @extensibility Signed-off-by: tempate <danieldiaz@eprosima.com> * Tests - Annotation @extensibility Signed-off-by: tempate <danieldiaz@eprosima.com> * Tests - Nested Struct Signed-off-by: tempate <danieldiaz@eprosima.com> * Support inheritance in TK_STRUCT Signed-off-by: tempate <danieldiaz@eprosima.com> * Tests - Inheritance in TK_STRUCT Signed-off-by: tempate <danieldiaz@eprosima.com> * Rebase fix Signed-off-by: tempate <danieldiaz@eprosima.com> * Review - Restructure the code & regenerate types Signed-off-by: tempate <danieldiaz@eprosima.com> * Review - Apply suggestions Signed-off-by: tempate <danieldiaz@eprosima.com> * Review - Refactor Tests Signed-off-by: tempate <danieldiaz@eprosima.com> * Review - Primitives test Signed-off-by: tempate <danieldiaz@eprosima.com> * Apply suggestions Signed-off-by: tempate <danieldiaz@eprosima.com> * Review - Apply suggestions Signed-off-by: tempate <danieldiaz@eprosima.com> * Review - Sort dependencies Signed-off-by: tempate <danieldiaz@eprosima.com> * Fix - Declaration of `bits` hides previous local declaration Signed-off-by: tempate <danieldiaz@eprosima.com> * Fix - Linking issues Signed-off-by: tempate <danieldiaz@eprosima.com> * Fix - Declaration of `info` hides member Signed-off-by: tempate <danieldiaz@eprosima.com> * Fix - to_upper Signed-off-by: tempate <danieldiaz@eprosima.com> * Review - Apply suggestions Signed-off-by: tempate <danieldiaz@eprosima.com> * Review - Apply JSON suggestions Signed-off-by: tempate <danieldiaz@eprosima.com> * Uncrustify Signed-off-by: tempate <danieldiaz@eprosima.com> * Review - Apply suggestions Signed-off-by: tempate <danieldiaz@eprosima.com> * Fix - default_type_kind may be used uninitialized Signed-off-by: tempate <danieldiaz@eprosima.com> * Fix - signed/unsigned mismatch Signed-off-by: tempate <danieldiaz@eprosima.com> --------- Signed-off-by: Juan Lopez Fernandez <juanlopez@eprosima.com> Signed-off-by: tempate <danieldiaz@eprosima.com> Co-authored-by: tempate <danieldiaz@eprosima.com>
- Loading branch information