Skip to content

Commit

Permalink
Review - Apply suggestions
Browse files Browse the repository at this point in the history
Signed-off-by: tempate <danieldiaz@eprosima.com>
  • Loading branch information
Tempate committed Jul 5, 2024
1 parent a9e8d58 commit aeb371b
Show file tree
Hide file tree
Showing 46 changed files with 5,924 additions and 961 deletions.
20 changes: 10 additions & 10 deletions include/fastdds/dds/xtypes/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ enum class DynamicDataJsonFormat
EPROSIMA,
};

/**
* @brief Serializes a DynamicType into its IDL representation.
*
* @param [in] dynamic_type The DynamicType to serialize.
* @param [in,out] output The IDL representation.
*/
ReturnCode_t idl_serialize(
const DynamicType::_ref_type& dynamic_type,
std::ostream& output) noexcept;

/*!
* Serializes a @ref DynamicData into a JSON object, which is then dumped into an \c std::ostream.
* @param[in] data @ref DynamicData reference to be serialized.
Expand All @@ -48,16 +58,6 @@ ReturnCode_t json_serialize(
std::ostream& output,
DynamicDataJsonFormat format) noexcept;

/**
* @brief Serializes a DynamicType into an IDL schema.
*
* @param [in] dynamic_type The DynamicType to serialize.
* @param [out] output The IDL schema.
*/
ReturnCode_t idl_serialize(
const traits<DynamicType>::ref_type& dynamic_type,
std::string& output) noexcept;

} // dds
} // fastdds
} // eprosima
Expand Down
Loading

0 comments on commit aeb371b

Please sign in to comment.