Commit bc67cf7
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>1 parent 77768eb commit bc67cf7
122 files changed
Lines changed: 26839 additions & 36 deletions
File tree
- include/fastdds/dds/xtypes
- src/cpp
- fastdds/xtypes
- serializers/idl
- utils
- collections
- impl
- test/unittest
- dds/xtypes/serializers
- idl
- types
- alias_struct
- gen
- array_struct
- gen
- bitmask_struct
- gen
- bitset_struct
- gen
- enum_struct
- gen
- extensibility_struct
- gen
- key_struct
- gen
- map_struct
- gen
- primitives_struct
- gen
- sequence_struct
- gen
- string_struct
- gen
- struct_struct
- gen
- union_struct
- gen
- json
- utils
- utils/scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
38 | 51 | | |
39 | 52 | | |
40 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
0 commit comments