From 5758897f02c6fa6cfc16db7ebd390f8d1f90dba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Wed, 25 Oct 2023 15:08:17 +0200 Subject: [PATCH 01/10] Refs #19760. Coexist fastcdr v1 and v2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno Signed-off-by: EduPonz --- fastdds_python/CMakeLists.txt | 2 +- fastdds_python/src/swig/fastdds.i | 3 + fastdds_python/test/types/CMakeLists.txt | 36 +- fastdds_python/test/types/generate.sh | 2 +- fastdds_python/test/types/test_complete.cxx | 248 +- fastdds_python/test/types/test_complete.h | 299 +- fastdds_python/test/types/test_complete.i | 179 +- .../test/types/test_completeCdrAux.hpp | 12 + .../test/types/test_completeCdrAux.ipp | 15 +- .../test/types/test_completePubSubTypes.cxx | 181 +- .../test/types/test_completePubSubTypes.h | 12 + fastdds_python/test/types/test_completev1.cxx | 10440 ++++++++++++++++ fastdds_python/test/types/test_completev1.h | 4481 +++++++ .../test/types/test_included_modules.cxx | 120 +- .../test/types/test_included_modules.h | 795 +- .../test/types/test_included_modules.i | 5 + .../types/test_included_modulesCdrAux.hpp | 2 + .../types/test_included_modulesCdrAux.ipp | 11 +- .../test_included_modulesPubSubTypes.cxx | 61 +- .../types/test_included_modulesPubSubTypes.h | 2 + .../test/types/test_included_modulesv1.cxx | 941 ++ .../test/types/test_included_modulesv1.h | 523 + fastdds_python/test/types/test_modules.cxx | 1384 +- fastdds_python/test/types/test_modules.h | 8801 ++++++------- fastdds_python/test/types/test_modules.i | 179 +- fastdds_python/test/types/test_modules.idl | 128 +- .../test/types/test_modulesCdrAux.hpp | 12 + .../test/types/test_modulesCdrAux.ipp | 39 +- .../test/types/test_modulesPubSubTypes.cxx | 181 +- .../test/types/test_modulesPubSubTypes.h | 12 + fastdds_python/test/types/test_modulesv1.cxx | 10383 +++++++++++++++ fastdds_python/test/types/test_modulesv1.h | 4456 +++++++ .../HelloWorldExample/CMakeLists.txt | 12 +- .../HelloWorldExample/HelloWorld.cxx | 10 +- .../HelloWorldExample/HelloWorld.h | 11 + .../HelloWorldExample/HelloWorld.i | 5 + .../HelloWorldExample/HelloWorldCdrAux.hpp | 2 + .../HelloWorldExample/HelloWorldCdrAux.ipp | 3 +- .../HelloWorldPubSubTypes.cxx | 61 +- .../HelloWorldExample/HelloWorldPubSubTypes.h | 2 + .../HelloWorldExample/HelloWorldv1.cxx | 286 + .../HelloWorldExample/HelloWorldv1.h | 243 + 42 files changed, 38440 insertions(+), 6140 deletions(-) create mode 100644 fastdds_python/test/types/test_completev1.cxx create mode 100644 fastdds_python/test/types/test_completev1.h create mode 100644 fastdds_python/test/types/test_included_modulesv1.cxx create mode 100644 fastdds_python/test/types/test_included_modulesv1.h create mode 100644 fastdds_python/test/types/test_modulesv1.cxx create mode 100644 fastdds_python/test/types/test_modulesv1.h create mode 100644 fastdds_python_examples/HelloWorldExample/HelloWorldv1.cxx create mode 100644 fastdds_python_examples/HelloWorldExample/HelloWorldv1.h diff --git a/fastdds_python/CMakeLists.txt b/fastdds_python/CMakeLists.txt index 6c396840..ab5e4af8 100644 --- a/fastdds_python/CMakeLists.txt +++ b/fastdds_python/CMakeLists.txt @@ -42,7 +42,7 @@ set(CMAKE_SWIG_FLAGS "") find_package(Python3 COMPONENTS Interpreter Development REQUIRED) -find_package(fastcdr 2 REQUIRED) +find_package(fastcdr REQUIRED) find_package(fastrtps 2.12 REQUIRED) ############################################################################### diff --git a/fastdds_python/src/swig/fastdds.i b/fastdds_python/src/swig/fastdds.i index 0d008f99..4cfccbe6 100644 --- a/fastdds_python/src/swig/fastdds.i +++ b/fastdds_python/src/swig/fastdds.i @@ -119,7 +119,10 @@ namespace builtin { // Failing to do so will issue a warning, but will not stop the compilation. // However, the resulting derived class will **not** be considered as inheriting from the base class +%include +#if FASTCDR_VERSION_MAJOR > 1 %include "fastcdr/xcdr/optional.i" +#endif %include "fastdds/rtps/common/VendorId_t.i" %include "fastdds/rtps/common/Types.i" diff --git a/fastdds_python/test/types/CMakeLists.txt b/fastdds_python/test/types/CMakeLists.txt index dbd644ce..50330045 100644 --- a/fastdds_python/test/types/CMakeLists.txt +++ b/fastdds_python/test/types/CMakeLists.txt @@ -25,16 +25,14 @@ project(test_included_modules) find_package(fastcdr REQUIRED) find_package(fastrtps REQUIRED) - -set(${PROJECT_NAME}_FILES - test_included_modules.cxx - test_included_modulesPubSubTypes.cxx - ) - set(CMAKE_POSITION_INDEPENDENT_CODE ON) #Create library for C++ types -add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_FILES}) +add_library(${PROJECT_NAME} SHARED + test_included_modules.cxx + test_included_modulesv1.cxx + test_included_modulesPubSubTypes.cxx + ) if(WIN32) target_compile_definitions(${PROJECT_NAME} PRIVATE EPROSIMA_USER_DLL_EXPORT) endif(WIN32) @@ -135,16 +133,14 @@ project(test_modules) find_package(fastcdr REQUIRED) find_package(fastrtps REQUIRED) - -set(${PROJECT_NAME}_FILES - test_modules.cxx - test_modulesPubSubTypes.cxx - ) - set(CMAKE_POSITION_INDEPENDENT_CODE ON) #Create library for C++ types -add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_FILES}) +add_library(${PROJECT_NAME} SHARED + test_modules.cxx + test_modulesv1.cxx + test_modulesPubSubTypes.cxx + ) if(WIN32) target_compile_definitions(${PROJECT_NAME} PRIVATE EPROSIMA_USER_DLL_EXPORT) endif(WIN32) @@ -245,16 +241,14 @@ project(test_complete) find_package(fastcdr REQUIRED) find_package(fastrtps REQUIRED) - -set(${PROJECT_NAME}_FILES - test_complete.cxx - test_completePubSubTypes.cxx - ) - set(CMAKE_POSITION_INDEPENDENT_CODE ON) #Create library for C++ types -add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_FILES}) +add_library(${PROJECT_NAME} SHARED + test_complete.cxx + test_completev1.cxx + test_completePubSubTypes.cxx + ) if(WIN32) target_compile_definitions(${PROJECT_NAME} PRIVATE EPROSIMA_USER_DLL_EXPORT) endif(WIN32) diff --git a/fastdds_python/test/types/generate.sh b/fastdds_python/test/types/generate.sh index 9fd42880..cb231455 100755 --- a/fastdds_python/test/types/generate.sh +++ b/fastdds_python/test/types/generate.sh @@ -4,4 +4,4 @@ if [[ -z "$(which fastddsgen)" ]]; then exit -1 fi -fastddsgen -python -replace test_complete.idl test_modules.idl +fastddsgen -cdr both -python -replace test_complete.idl test_modules.idl diff --git a/fastdds_python/test/types/test_complete.cxx b/fastdds_python/test/types/test_complete.cxx index 5085c12e..f930ea78 100644 --- a/fastdds_python/test/types/test_complete.cxx +++ b/fastdds_python/test/types/test_complete.cxx @@ -27,6 +27,9 @@ char dummy; #endif // _WIN32 #include "test_complete.h" + +#if FASTCDR_VERSION_MAJOR > 1 + #include @@ -36,9 +39,10 @@ using namespace eprosima::fastcdr::exception; #include + + StructType::StructType() { - } StructType::~StructType() @@ -104,7 +108,6 @@ StructType& StructType::operator =( m_enum_field = x.m_enum_field; m_enum2_field = x.m_enum2_field; m_included_module_struct = x.m_included_module_struct; - return *this; } @@ -127,7 +130,6 @@ StructType& StructType::operator =( m_enum_field = x.m_enum_field; m_enum2_field = x.m_enum2_field; m_included_module_struct = std::move(x.m_included_module_struct); - return *this; } @@ -614,9 +616,12 @@ eprosima::test2::StructType2& StructType::included_module_struct() + + + + CompleteTestType::CompleteTestType() { - } CompleteTestType::~CompleteTestType() @@ -853,7 +858,6 @@ CompleteTestType& CompleteTestType::operator =( m_unbounded_sequence_enum_field = x.m_unbounded_sequence_enum_field; m_unbounded_sequence_enum2_field = x.m_unbounded_sequence_enum2_field; m_unbounded_sequence_struct_field = x.m_unbounded_sequence_struct_field; - return *this; } @@ -933,7 +937,6 @@ CompleteTestType& CompleteTestType::operator =( m_unbounded_sequence_enum_field = std::move(x.m_unbounded_sequence_enum_field); m_unbounded_sequence_enum2_field = std::move(x.m_unbounded_sequence_enum2_field); m_unbounded_sequence_struct_field = std::move(x.m_unbounded_sequence_struct_field); - return *this; } @@ -2065,7 +2068,7 @@ eprosima::fastcdr::optional& CompleteTestType::struct_opt_field() * @param _array_char_field New value to be copied in member array_char_field */ void CompleteTestType::array_char_field( - const std::array& _array_char_field) + const std::array& _array_char_field) { m_array_char_field = _array_char_field; } @@ -2075,7 +2078,7 @@ void CompleteTestType::array_char_field( * @param _array_char_field New value to be moved in member array_char_field */ void CompleteTestType::array_char_field( - std::array&& _array_char_field) + std::array&& _array_char_field) { m_array_char_field = std::move(_array_char_field); } @@ -2084,7 +2087,7 @@ void CompleteTestType::array_char_field( * @brief This function returns a constant reference to member array_char_field * @return Constant reference to member array_char_field */ -const std::array& CompleteTestType::array_char_field() const +const std::array& CompleteTestType::array_char_field() const { return m_array_char_field; } @@ -2093,7 +2096,7 @@ const std::array& CompleteTestType::array_char_field() const * @brief This function returns a reference to member array_char_field * @return Reference to member array_char_field */ -std::array& CompleteTestType::array_char_field() +std::array& CompleteTestType::array_char_field() { return m_array_char_field; } @@ -2104,7 +2107,7 @@ std::array& CompleteTestType::array_char_field() * @param _array_uint8_field New value to be copied in member array_uint8_field */ void CompleteTestType::array_uint8_field( - const std::array& _array_uint8_field) + const std::array& _array_uint8_field) { m_array_uint8_field = _array_uint8_field; } @@ -2114,7 +2117,7 @@ void CompleteTestType::array_uint8_field( * @param _array_uint8_field New value to be moved in member array_uint8_field */ void CompleteTestType::array_uint8_field( - std::array&& _array_uint8_field) + std::array&& _array_uint8_field) { m_array_uint8_field = std::move(_array_uint8_field); } @@ -2123,7 +2126,7 @@ void CompleteTestType::array_uint8_field( * @brief This function returns a constant reference to member array_uint8_field * @return Constant reference to member array_uint8_field */ -const std::array& CompleteTestType::array_uint8_field() const +const std::array& CompleteTestType::array_uint8_field() const { return m_array_uint8_field; } @@ -2132,7 +2135,7 @@ const std::array& CompleteTestType::array_uint8_field() const * @brief This function returns a reference to member array_uint8_field * @return Reference to member array_uint8_field */ -std::array& CompleteTestType::array_uint8_field() +std::array& CompleteTestType::array_uint8_field() { return m_array_uint8_field; } @@ -2143,7 +2146,7 @@ std::array& CompleteTestType::array_uint8_field() * @param _array_int16_field New value to be copied in member array_int16_field */ void CompleteTestType::array_int16_field( - const std::array& _array_int16_field) + const std::array& _array_int16_field) { m_array_int16_field = _array_int16_field; } @@ -2153,7 +2156,7 @@ void CompleteTestType::array_int16_field( * @param _array_int16_field New value to be moved in member array_int16_field */ void CompleteTestType::array_int16_field( - std::array&& _array_int16_field) + std::array&& _array_int16_field) { m_array_int16_field = std::move(_array_int16_field); } @@ -2162,7 +2165,7 @@ void CompleteTestType::array_int16_field( * @brief This function returns a constant reference to member array_int16_field * @return Constant reference to member array_int16_field */ -const std::array& CompleteTestType::array_int16_field() const +const std::array& CompleteTestType::array_int16_field() const { return m_array_int16_field; } @@ -2171,7 +2174,7 @@ const std::array& CompleteTestType::array_int16_field() const * @brief This function returns a reference to member array_int16_field * @return Reference to member array_int16_field */ -std::array& CompleteTestType::array_int16_field() +std::array& CompleteTestType::array_int16_field() { return m_array_int16_field; } @@ -2182,7 +2185,7 @@ std::array& CompleteTestType::array_int16_field() * @param _array_uint16_field New value to be copied in member array_uint16_field */ void CompleteTestType::array_uint16_field( - const std::array& _array_uint16_field) + const std::array& _array_uint16_field) { m_array_uint16_field = _array_uint16_field; } @@ -2192,7 +2195,7 @@ void CompleteTestType::array_uint16_field( * @param _array_uint16_field New value to be moved in member array_uint16_field */ void CompleteTestType::array_uint16_field( - std::array&& _array_uint16_field) + std::array&& _array_uint16_field) { m_array_uint16_field = std::move(_array_uint16_field); } @@ -2201,7 +2204,7 @@ void CompleteTestType::array_uint16_field( * @brief This function returns a constant reference to member array_uint16_field * @return Constant reference to member array_uint16_field */ -const std::array& CompleteTestType::array_uint16_field() const +const std::array& CompleteTestType::array_uint16_field() const { return m_array_uint16_field; } @@ -2210,7 +2213,7 @@ const std::array& CompleteTestType::array_uint16_field() const * @brief This function returns a reference to member array_uint16_field * @return Reference to member array_uint16_field */ -std::array& CompleteTestType::array_uint16_field() +std::array& CompleteTestType::array_uint16_field() { return m_array_uint16_field; } @@ -2221,7 +2224,7 @@ std::array& CompleteTestType::array_uint16_field() * @param _array_int32_field New value to be copied in member array_int32_field */ void CompleteTestType::array_int32_field( - const std::array& _array_int32_field) + const std::array& _array_int32_field) { m_array_int32_field = _array_int32_field; } @@ -2231,7 +2234,7 @@ void CompleteTestType::array_int32_field( * @param _array_int32_field New value to be moved in member array_int32_field */ void CompleteTestType::array_int32_field( - std::array&& _array_int32_field) + std::array&& _array_int32_field) { m_array_int32_field = std::move(_array_int32_field); } @@ -2240,7 +2243,7 @@ void CompleteTestType::array_int32_field( * @brief This function returns a constant reference to member array_int32_field * @return Constant reference to member array_int32_field */ -const std::array& CompleteTestType::array_int32_field() const +const std::array& CompleteTestType::array_int32_field() const { return m_array_int32_field; } @@ -2249,7 +2252,7 @@ const std::array& CompleteTestType::array_int32_field() const * @brief This function returns a reference to member array_int32_field * @return Reference to member array_int32_field */ -std::array& CompleteTestType::array_int32_field() +std::array& CompleteTestType::array_int32_field() { return m_array_int32_field; } @@ -2260,7 +2263,7 @@ std::array& CompleteTestType::array_int32_field() * @param _array_uint32_field New value to be copied in member array_uint32_field */ void CompleteTestType::array_uint32_field( - const std::array& _array_uint32_field) + const std::array& _array_uint32_field) { m_array_uint32_field = _array_uint32_field; } @@ -2270,7 +2273,7 @@ void CompleteTestType::array_uint32_field( * @param _array_uint32_field New value to be moved in member array_uint32_field */ void CompleteTestType::array_uint32_field( - std::array&& _array_uint32_field) + std::array&& _array_uint32_field) { m_array_uint32_field = std::move(_array_uint32_field); } @@ -2279,7 +2282,7 @@ void CompleteTestType::array_uint32_field( * @brief This function returns a constant reference to member array_uint32_field * @return Constant reference to member array_uint32_field */ -const std::array& CompleteTestType::array_uint32_field() const +const std::array& CompleteTestType::array_uint32_field() const { return m_array_uint32_field; } @@ -2288,7 +2291,7 @@ const std::array& CompleteTestType::array_uint32_field() const * @brief This function returns a reference to member array_uint32_field * @return Reference to member array_uint32_field */ -std::array& CompleteTestType::array_uint32_field() +std::array& CompleteTestType::array_uint32_field() { return m_array_uint32_field; } @@ -2299,7 +2302,7 @@ std::array& CompleteTestType::array_uint32_field() * @param _array_int64_field New value to be copied in member array_int64_field */ void CompleteTestType::array_int64_field( - const std::array& _array_int64_field) + const std::array& _array_int64_field) { m_array_int64_field = _array_int64_field; } @@ -2309,7 +2312,7 @@ void CompleteTestType::array_int64_field( * @param _array_int64_field New value to be moved in member array_int64_field */ void CompleteTestType::array_int64_field( - std::array&& _array_int64_field) + std::array&& _array_int64_field) { m_array_int64_field = std::move(_array_int64_field); } @@ -2318,7 +2321,7 @@ void CompleteTestType::array_int64_field( * @brief This function returns a constant reference to member array_int64_field * @return Constant reference to member array_int64_field */ -const std::array& CompleteTestType::array_int64_field() const +const std::array& CompleteTestType::array_int64_field() const { return m_array_int64_field; } @@ -2327,7 +2330,7 @@ const std::array& CompleteTestType::array_int64_field() const * @brief This function returns a reference to member array_int64_field * @return Reference to member array_int64_field */ -std::array& CompleteTestType::array_int64_field() +std::array& CompleteTestType::array_int64_field() { return m_array_int64_field; } @@ -2338,7 +2341,7 @@ std::array& CompleteTestType::array_int64_field() * @param _array_uint64_field New value to be copied in member array_uint64_field */ void CompleteTestType::array_uint64_field( - const std::array& _array_uint64_field) + const std::array& _array_uint64_field) { m_array_uint64_field = _array_uint64_field; } @@ -2348,7 +2351,7 @@ void CompleteTestType::array_uint64_field( * @param _array_uint64_field New value to be moved in member array_uint64_field */ void CompleteTestType::array_uint64_field( - std::array&& _array_uint64_field) + std::array&& _array_uint64_field) { m_array_uint64_field = std::move(_array_uint64_field); } @@ -2357,7 +2360,7 @@ void CompleteTestType::array_uint64_field( * @brief This function returns a constant reference to member array_uint64_field * @return Constant reference to member array_uint64_field */ -const std::array& CompleteTestType::array_uint64_field() const +const std::array& CompleteTestType::array_uint64_field() const { return m_array_uint64_field; } @@ -2366,7 +2369,7 @@ const std::array& CompleteTestType::array_uint64_field() const * @brief This function returns a reference to member array_uint64_field * @return Reference to member array_uint64_field */ -std::array& CompleteTestType::array_uint64_field() +std::array& CompleteTestType::array_uint64_field() { return m_array_uint64_field; } @@ -2377,7 +2380,7 @@ std::array& CompleteTestType::array_uint64_field() * @param _array_float_field New value to be copied in member array_float_field */ void CompleteTestType::array_float_field( - const std::array& _array_float_field) + const std::array& _array_float_field) { m_array_float_field = _array_float_field; } @@ -2387,7 +2390,7 @@ void CompleteTestType::array_float_field( * @param _array_float_field New value to be moved in member array_float_field */ void CompleteTestType::array_float_field( - std::array&& _array_float_field) + std::array&& _array_float_field) { m_array_float_field = std::move(_array_float_field); } @@ -2396,7 +2399,7 @@ void CompleteTestType::array_float_field( * @brief This function returns a constant reference to member array_float_field * @return Constant reference to member array_float_field */ -const std::array& CompleteTestType::array_float_field() const +const std::array& CompleteTestType::array_float_field() const { return m_array_float_field; } @@ -2405,7 +2408,7 @@ const std::array& CompleteTestType::array_float_field() const * @brief This function returns a reference to member array_float_field * @return Reference to member array_float_field */ -std::array& CompleteTestType::array_float_field() +std::array& CompleteTestType::array_float_field() { return m_array_float_field; } @@ -2416,7 +2419,7 @@ std::array& CompleteTestType::array_float_field() * @param _array_double_field New value to be copied in member array_double_field */ void CompleteTestType::array_double_field( - const std::array& _array_double_field) + const std::array& _array_double_field) { m_array_double_field = _array_double_field; } @@ -2426,7 +2429,7 @@ void CompleteTestType::array_double_field( * @param _array_double_field New value to be moved in member array_double_field */ void CompleteTestType::array_double_field( - std::array&& _array_double_field) + std::array&& _array_double_field) { m_array_double_field = std::move(_array_double_field); } @@ -2435,7 +2438,7 @@ void CompleteTestType::array_double_field( * @brief This function returns a constant reference to member array_double_field * @return Constant reference to member array_double_field */ -const std::array& CompleteTestType::array_double_field() const +const std::array& CompleteTestType::array_double_field() const { return m_array_double_field; } @@ -2444,7 +2447,7 @@ const std::array& CompleteTestType::array_double_field() const * @brief This function returns a reference to member array_double_field * @return Reference to member array_double_field */ -std::array& CompleteTestType::array_double_field() +std::array& CompleteTestType::array_double_field() { return m_array_double_field; } @@ -2455,7 +2458,7 @@ std::array& CompleteTestType::array_double_field() * @param _array_bool_field New value to be copied in member array_bool_field */ void CompleteTestType::array_bool_field( - const std::array& _array_bool_field) + const std::array& _array_bool_field) { m_array_bool_field = _array_bool_field; } @@ -2465,7 +2468,7 @@ void CompleteTestType::array_bool_field( * @param _array_bool_field New value to be moved in member array_bool_field */ void CompleteTestType::array_bool_field( - std::array&& _array_bool_field) + std::array&& _array_bool_field) { m_array_bool_field = std::move(_array_bool_field); } @@ -2474,7 +2477,7 @@ void CompleteTestType::array_bool_field( * @brief This function returns a constant reference to member array_bool_field * @return Constant reference to member array_bool_field */ -const std::array& CompleteTestType::array_bool_field() const +const std::array& CompleteTestType::array_bool_field() const { return m_array_bool_field; } @@ -2483,7 +2486,7 @@ const std::array& CompleteTestType::array_bool_field() const * @brief This function returns a reference to member array_bool_field * @return Reference to member array_bool_field */ -std::array& CompleteTestType::array_bool_field() +std::array& CompleteTestType::array_bool_field() { return m_array_bool_field; } @@ -2494,7 +2497,7 @@ std::array& CompleteTestType::array_bool_field() * @param _array_enum_field New value to be copied in member array_enum_field */ void CompleteTestType::array_enum_field( - const std::array& _array_enum_field) + const std::array& _array_enum_field) { m_array_enum_field = _array_enum_field; } @@ -2504,7 +2507,7 @@ void CompleteTestType::array_enum_field( * @param _array_enum_field New value to be moved in member array_enum_field */ void CompleteTestType::array_enum_field( - std::array&& _array_enum_field) + std::array&& _array_enum_field) { m_array_enum_field = std::move(_array_enum_field); } @@ -2513,7 +2516,7 @@ void CompleteTestType::array_enum_field( * @brief This function returns a constant reference to member array_enum_field * @return Constant reference to member array_enum_field */ -const std::array& CompleteTestType::array_enum_field() const +const std::array& CompleteTestType::array_enum_field() const { return m_array_enum_field; } @@ -2522,7 +2525,7 @@ const std::array& CompleteTestType::array_enum_field() const * @brief This function returns a reference to member array_enum_field * @return Reference to member array_enum_field */ -std::array& CompleteTestType::array_enum_field() +std::array& CompleteTestType::array_enum_field() { return m_array_enum_field; } @@ -2533,7 +2536,7 @@ std::array& CompleteTestType::array_enum_field() * @param _array_enum2_field New value to be copied in member array_enum2_field */ void CompleteTestType::array_enum2_field( - const std::array& _array_enum2_field) + const std::array& _array_enum2_field) { m_array_enum2_field = _array_enum2_field; } @@ -2543,7 +2546,7 @@ void CompleteTestType::array_enum2_field( * @param _array_enum2_field New value to be moved in member array_enum2_field */ void CompleteTestType::array_enum2_field( - std::array&& _array_enum2_field) + std::array&& _array_enum2_field) { m_array_enum2_field = std::move(_array_enum2_field); } @@ -2552,7 +2555,7 @@ void CompleteTestType::array_enum2_field( * @brief This function returns a constant reference to member array_enum2_field * @return Constant reference to member array_enum2_field */ -const std::array& CompleteTestType::array_enum2_field() const +const std::array& CompleteTestType::array_enum2_field() const { return m_array_enum2_field; } @@ -2561,7 +2564,7 @@ const std::array& CompleteTestType::array_enum2_field() const * @brief This function returns a reference to member array_enum2_field * @return Reference to member array_enum2_field */ -std::array& CompleteTestType::array_enum2_field() +std::array& CompleteTestType::array_enum2_field() { return m_array_enum2_field; } @@ -2572,7 +2575,7 @@ std::array& CompleteTestType::array_enum2_field() * @param _array_struct_field New value to be copied in member array_struct_field */ void CompleteTestType::array_struct_field( - const std::array& _array_struct_field) + const std::array& _array_struct_field) { m_array_struct_field = _array_struct_field; } @@ -2582,7 +2585,7 @@ void CompleteTestType::array_struct_field( * @param _array_struct_field New value to be moved in member array_struct_field */ void CompleteTestType::array_struct_field( - std::array&& _array_struct_field) + std::array&& _array_struct_field) { m_array_struct_field = std::move(_array_struct_field); } @@ -2591,7 +2594,7 @@ void CompleteTestType::array_struct_field( * @brief This function returns a constant reference to member array_struct_field * @return Constant reference to member array_struct_field */ -const std::array& CompleteTestType::array_struct_field() const +const std::array& CompleteTestType::array_struct_field() const { return m_array_struct_field; } @@ -2600,7 +2603,7 @@ const std::array& CompleteTestType::array_struct_field() const * @brief This function returns a reference to member array_struct_field * @return Reference to member array_struct_field */ -std::array& CompleteTestType::array_struct_field() +std::array& CompleteTestType::array_struct_field() { return m_array_struct_field; } @@ -3698,9 +3701,12 @@ std::vector& CompleteTestType::unbounded_sequence_struct_field() } + + + + KeyedCompleteTestType::KeyedCompleteTestType() { - } KeyedCompleteTestType::~KeyedCompleteTestType() @@ -3940,7 +3946,6 @@ KeyedCompleteTestType& KeyedCompleteTestType::operator =( m_unbounded_sequence_enum_field = x.m_unbounded_sequence_enum_field; m_unbounded_sequence_enum2_field = x.m_unbounded_sequence_enum2_field; m_unbounded_sequence_struct_field = x.m_unbounded_sequence_struct_field; - return *this; } @@ -4021,7 +4026,6 @@ KeyedCompleteTestType& KeyedCompleteTestType::operator =( m_unbounded_sequence_enum_field = std::move(x.m_unbounded_sequence_enum_field); m_unbounded_sequence_enum2_field = std::move(x.m_unbounded_sequence_enum2_field); m_unbounded_sequence_struct_field = std::move(x.m_unbounded_sequence_struct_field); - return *this; } @@ -5183,7 +5187,7 @@ eprosima::fastcdr::optional& KeyedCompleteTestType::struct_opt_field * @param _array_char_field New value to be copied in member array_char_field */ void KeyedCompleteTestType::array_char_field( - const std::array& _array_char_field) + const std::array& _array_char_field) { m_array_char_field = _array_char_field; } @@ -5193,7 +5197,7 @@ void KeyedCompleteTestType::array_char_field( * @param _array_char_field New value to be moved in member array_char_field */ void KeyedCompleteTestType::array_char_field( - std::array&& _array_char_field) + std::array&& _array_char_field) { m_array_char_field = std::move(_array_char_field); } @@ -5202,7 +5206,7 @@ void KeyedCompleteTestType::array_char_field( * @brief This function returns a constant reference to member array_char_field * @return Constant reference to member array_char_field */ -const std::array& KeyedCompleteTestType::array_char_field() const +const std::array& KeyedCompleteTestType::array_char_field() const { return m_array_char_field; } @@ -5211,7 +5215,7 @@ const std::array& KeyedCompleteTestType::array_char_field() const * @brief This function returns a reference to member array_char_field * @return Reference to member array_char_field */ -std::array& KeyedCompleteTestType::array_char_field() +std::array& KeyedCompleteTestType::array_char_field() { return m_array_char_field; } @@ -5222,7 +5226,7 @@ std::array& KeyedCompleteTestType::array_char_field() * @param _array_uint8_field New value to be copied in member array_uint8_field */ void KeyedCompleteTestType::array_uint8_field( - const std::array& _array_uint8_field) + const std::array& _array_uint8_field) { m_array_uint8_field = _array_uint8_field; } @@ -5232,7 +5236,7 @@ void KeyedCompleteTestType::array_uint8_field( * @param _array_uint8_field New value to be moved in member array_uint8_field */ void KeyedCompleteTestType::array_uint8_field( - std::array&& _array_uint8_field) + std::array&& _array_uint8_field) { m_array_uint8_field = std::move(_array_uint8_field); } @@ -5241,7 +5245,7 @@ void KeyedCompleteTestType::array_uint8_field( * @brief This function returns a constant reference to member array_uint8_field * @return Constant reference to member array_uint8_field */ -const std::array& KeyedCompleteTestType::array_uint8_field() const +const std::array& KeyedCompleteTestType::array_uint8_field() const { return m_array_uint8_field; } @@ -5250,7 +5254,7 @@ const std::array& KeyedCompleteTestType::array_uint8_field() const * @brief This function returns a reference to member array_uint8_field * @return Reference to member array_uint8_field */ -std::array& KeyedCompleteTestType::array_uint8_field() +std::array& KeyedCompleteTestType::array_uint8_field() { return m_array_uint8_field; } @@ -5261,7 +5265,7 @@ std::array& KeyedCompleteTestType::array_uint8_field() * @param _array_int16_field New value to be copied in member array_int16_field */ void KeyedCompleteTestType::array_int16_field( - const std::array& _array_int16_field) + const std::array& _array_int16_field) { m_array_int16_field = _array_int16_field; } @@ -5271,7 +5275,7 @@ void KeyedCompleteTestType::array_int16_field( * @param _array_int16_field New value to be moved in member array_int16_field */ void KeyedCompleteTestType::array_int16_field( - std::array&& _array_int16_field) + std::array&& _array_int16_field) { m_array_int16_field = std::move(_array_int16_field); } @@ -5280,7 +5284,7 @@ void KeyedCompleteTestType::array_int16_field( * @brief This function returns a constant reference to member array_int16_field * @return Constant reference to member array_int16_field */ -const std::array& KeyedCompleteTestType::array_int16_field() const +const std::array& KeyedCompleteTestType::array_int16_field() const { return m_array_int16_field; } @@ -5289,7 +5293,7 @@ const std::array& KeyedCompleteTestType::array_int16_field() const * @brief This function returns a reference to member array_int16_field * @return Reference to member array_int16_field */ -std::array& KeyedCompleteTestType::array_int16_field() +std::array& KeyedCompleteTestType::array_int16_field() { return m_array_int16_field; } @@ -5300,7 +5304,7 @@ std::array& KeyedCompleteTestType::array_int16_field() * @param _array_uint16_field New value to be copied in member array_uint16_field */ void KeyedCompleteTestType::array_uint16_field( - const std::array& _array_uint16_field) + const std::array& _array_uint16_field) { m_array_uint16_field = _array_uint16_field; } @@ -5310,7 +5314,7 @@ void KeyedCompleteTestType::array_uint16_field( * @param _array_uint16_field New value to be moved in member array_uint16_field */ void KeyedCompleteTestType::array_uint16_field( - std::array&& _array_uint16_field) + std::array&& _array_uint16_field) { m_array_uint16_field = std::move(_array_uint16_field); } @@ -5319,7 +5323,7 @@ void KeyedCompleteTestType::array_uint16_field( * @brief This function returns a constant reference to member array_uint16_field * @return Constant reference to member array_uint16_field */ -const std::array& KeyedCompleteTestType::array_uint16_field() const +const std::array& KeyedCompleteTestType::array_uint16_field() const { return m_array_uint16_field; } @@ -5328,7 +5332,7 @@ const std::array& KeyedCompleteTestType::array_uint16_field() const * @brief This function returns a reference to member array_uint16_field * @return Reference to member array_uint16_field */ -std::array& KeyedCompleteTestType::array_uint16_field() +std::array& KeyedCompleteTestType::array_uint16_field() { return m_array_uint16_field; } @@ -5339,7 +5343,7 @@ std::array& KeyedCompleteTestType::array_uint16_field() * @param _array_int32_field New value to be copied in member array_int32_field */ void KeyedCompleteTestType::array_int32_field( - const std::array& _array_int32_field) + const std::array& _array_int32_field) { m_array_int32_field = _array_int32_field; } @@ -5349,7 +5353,7 @@ void KeyedCompleteTestType::array_int32_field( * @param _array_int32_field New value to be moved in member array_int32_field */ void KeyedCompleteTestType::array_int32_field( - std::array&& _array_int32_field) + std::array&& _array_int32_field) { m_array_int32_field = std::move(_array_int32_field); } @@ -5358,7 +5362,7 @@ void KeyedCompleteTestType::array_int32_field( * @brief This function returns a constant reference to member array_int32_field * @return Constant reference to member array_int32_field */ -const std::array& KeyedCompleteTestType::array_int32_field() const +const std::array& KeyedCompleteTestType::array_int32_field() const { return m_array_int32_field; } @@ -5367,7 +5371,7 @@ const std::array& KeyedCompleteTestType::array_int32_field() const * @brief This function returns a reference to member array_int32_field * @return Reference to member array_int32_field */ -std::array& KeyedCompleteTestType::array_int32_field() +std::array& KeyedCompleteTestType::array_int32_field() { return m_array_int32_field; } @@ -5378,7 +5382,7 @@ std::array& KeyedCompleteTestType::array_int32_field() * @param _array_uint32_field New value to be copied in member array_uint32_field */ void KeyedCompleteTestType::array_uint32_field( - const std::array& _array_uint32_field) + const std::array& _array_uint32_field) { m_array_uint32_field = _array_uint32_field; } @@ -5388,7 +5392,7 @@ void KeyedCompleteTestType::array_uint32_field( * @param _array_uint32_field New value to be moved in member array_uint32_field */ void KeyedCompleteTestType::array_uint32_field( - std::array&& _array_uint32_field) + std::array&& _array_uint32_field) { m_array_uint32_field = std::move(_array_uint32_field); } @@ -5397,7 +5401,7 @@ void KeyedCompleteTestType::array_uint32_field( * @brief This function returns a constant reference to member array_uint32_field * @return Constant reference to member array_uint32_field */ -const std::array& KeyedCompleteTestType::array_uint32_field() const +const std::array& KeyedCompleteTestType::array_uint32_field() const { return m_array_uint32_field; } @@ -5406,7 +5410,7 @@ const std::array& KeyedCompleteTestType::array_uint32_field() const * @brief This function returns a reference to member array_uint32_field * @return Reference to member array_uint32_field */ -std::array& KeyedCompleteTestType::array_uint32_field() +std::array& KeyedCompleteTestType::array_uint32_field() { return m_array_uint32_field; } @@ -5417,7 +5421,7 @@ std::array& KeyedCompleteTestType::array_uint32_field() * @param _array_int64_field New value to be copied in member array_int64_field */ void KeyedCompleteTestType::array_int64_field( - const std::array& _array_int64_field) + const std::array& _array_int64_field) { m_array_int64_field = _array_int64_field; } @@ -5427,7 +5431,7 @@ void KeyedCompleteTestType::array_int64_field( * @param _array_int64_field New value to be moved in member array_int64_field */ void KeyedCompleteTestType::array_int64_field( - std::array&& _array_int64_field) + std::array&& _array_int64_field) { m_array_int64_field = std::move(_array_int64_field); } @@ -5436,7 +5440,7 @@ void KeyedCompleteTestType::array_int64_field( * @brief This function returns a constant reference to member array_int64_field * @return Constant reference to member array_int64_field */ -const std::array& KeyedCompleteTestType::array_int64_field() const +const std::array& KeyedCompleteTestType::array_int64_field() const { return m_array_int64_field; } @@ -5445,7 +5449,7 @@ const std::array& KeyedCompleteTestType::array_int64_field() const * @brief This function returns a reference to member array_int64_field * @return Reference to member array_int64_field */ -std::array& KeyedCompleteTestType::array_int64_field() +std::array& KeyedCompleteTestType::array_int64_field() { return m_array_int64_field; } @@ -5456,7 +5460,7 @@ std::array& KeyedCompleteTestType::array_int64_field() * @param _array_uint64_field New value to be copied in member array_uint64_field */ void KeyedCompleteTestType::array_uint64_field( - const std::array& _array_uint64_field) + const std::array& _array_uint64_field) { m_array_uint64_field = _array_uint64_field; } @@ -5466,7 +5470,7 @@ void KeyedCompleteTestType::array_uint64_field( * @param _array_uint64_field New value to be moved in member array_uint64_field */ void KeyedCompleteTestType::array_uint64_field( - std::array&& _array_uint64_field) + std::array&& _array_uint64_field) { m_array_uint64_field = std::move(_array_uint64_field); } @@ -5475,7 +5479,7 @@ void KeyedCompleteTestType::array_uint64_field( * @brief This function returns a constant reference to member array_uint64_field * @return Constant reference to member array_uint64_field */ -const std::array& KeyedCompleteTestType::array_uint64_field() const +const std::array& KeyedCompleteTestType::array_uint64_field() const { return m_array_uint64_field; } @@ -5484,7 +5488,7 @@ const std::array& KeyedCompleteTestType::array_uint64_field() const * @brief This function returns a reference to member array_uint64_field * @return Reference to member array_uint64_field */ -std::array& KeyedCompleteTestType::array_uint64_field() +std::array& KeyedCompleteTestType::array_uint64_field() { return m_array_uint64_field; } @@ -5495,7 +5499,7 @@ std::array& KeyedCompleteTestType::array_uint64_field() * @param _array_float_field New value to be copied in member array_float_field */ void KeyedCompleteTestType::array_float_field( - const std::array& _array_float_field) + const std::array& _array_float_field) { m_array_float_field = _array_float_field; } @@ -5505,7 +5509,7 @@ void KeyedCompleteTestType::array_float_field( * @param _array_float_field New value to be moved in member array_float_field */ void KeyedCompleteTestType::array_float_field( - std::array&& _array_float_field) + std::array&& _array_float_field) { m_array_float_field = std::move(_array_float_field); } @@ -5514,7 +5518,7 @@ void KeyedCompleteTestType::array_float_field( * @brief This function returns a constant reference to member array_float_field * @return Constant reference to member array_float_field */ -const std::array& KeyedCompleteTestType::array_float_field() const +const std::array& KeyedCompleteTestType::array_float_field() const { return m_array_float_field; } @@ -5523,7 +5527,7 @@ const std::array& KeyedCompleteTestType::array_float_field() const * @brief This function returns a reference to member array_float_field * @return Reference to member array_float_field */ -std::array& KeyedCompleteTestType::array_float_field() +std::array& KeyedCompleteTestType::array_float_field() { return m_array_float_field; } @@ -5534,7 +5538,7 @@ std::array& KeyedCompleteTestType::array_float_field() * @param _array_double_field New value to be copied in member array_double_field */ void KeyedCompleteTestType::array_double_field( - const std::array& _array_double_field) + const std::array& _array_double_field) { m_array_double_field = _array_double_field; } @@ -5544,7 +5548,7 @@ void KeyedCompleteTestType::array_double_field( * @param _array_double_field New value to be moved in member array_double_field */ void KeyedCompleteTestType::array_double_field( - std::array&& _array_double_field) + std::array&& _array_double_field) { m_array_double_field = std::move(_array_double_field); } @@ -5553,7 +5557,7 @@ void KeyedCompleteTestType::array_double_field( * @brief This function returns a constant reference to member array_double_field * @return Constant reference to member array_double_field */ -const std::array& KeyedCompleteTestType::array_double_field() const +const std::array& KeyedCompleteTestType::array_double_field() const { return m_array_double_field; } @@ -5562,7 +5566,7 @@ const std::array& KeyedCompleteTestType::array_double_field() const * @brief This function returns a reference to member array_double_field * @return Reference to member array_double_field */ -std::array& KeyedCompleteTestType::array_double_field() +std::array& KeyedCompleteTestType::array_double_field() { return m_array_double_field; } @@ -5573,7 +5577,7 @@ std::array& KeyedCompleteTestType::array_double_field() * @param _array_bool_field New value to be copied in member array_bool_field */ void KeyedCompleteTestType::array_bool_field( - const std::array& _array_bool_field) + const std::array& _array_bool_field) { m_array_bool_field = _array_bool_field; } @@ -5583,7 +5587,7 @@ void KeyedCompleteTestType::array_bool_field( * @param _array_bool_field New value to be moved in member array_bool_field */ void KeyedCompleteTestType::array_bool_field( - std::array&& _array_bool_field) + std::array&& _array_bool_field) { m_array_bool_field = std::move(_array_bool_field); } @@ -5592,7 +5596,7 @@ void KeyedCompleteTestType::array_bool_field( * @brief This function returns a constant reference to member array_bool_field * @return Constant reference to member array_bool_field */ -const std::array& KeyedCompleteTestType::array_bool_field() const +const std::array& KeyedCompleteTestType::array_bool_field() const { return m_array_bool_field; } @@ -5601,7 +5605,7 @@ const std::array& KeyedCompleteTestType::array_bool_field() const * @brief This function returns a reference to member array_bool_field * @return Reference to member array_bool_field */ -std::array& KeyedCompleteTestType::array_bool_field() +std::array& KeyedCompleteTestType::array_bool_field() { return m_array_bool_field; } @@ -5612,7 +5616,7 @@ std::array& KeyedCompleteTestType::array_bool_field() * @param _array_enum_field New value to be copied in member array_enum_field */ void KeyedCompleteTestType::array_enum_field( - const std::array& _array_enum_field) + const std::array& _array_enum_field) { m_array_enum_field = _array_enum_field; } @@ -5622,7 +5626,7 @@ void KeyedCompleteTestType::array_enum_field( * @param _array_enum_field New value to be moved in member array_enum_field */ void KeyedCompleteTestType::array_enum_field( - std::array&& _array_enum_field) + std::array&& _array_enum_field) { m_array_enum_field = std::move(_array_enum_field); } @@ -5631,7 +5635,7 @@ void KeyedCompleteTestType::array_enum_field( * @brief This function returns a constant reference to member array_enum_field * @return Constant reference to member array_enum_field */ -const std::array& KeyedCompleteTestType::array_enum_field() const +const std::array& KeyedCompleteTestType::array_enum_field() const { return m_array_enum_field; } @@ -5640,7 +5644,7 @@ const std::array& KeyedCompleteTestType::array_enum_field() const * @brief This function returns a reference to member array_enum_field * @return Reference to member array_enum_field */ -std::array& KeyedCompleteTestType::array_enum_field() +std::array& KeyedCompleteTestType::array_enum_field() { return m_array_enum_field; } @@ -5651,7 +5655,7 @@ std::array& KeyedCompleteTestType::array_enum_field() * @param _array_enum2_field New value to be copied in member array_enum2_field */ void KeyedCompleteTestType::array_enum2_field( - const std::array& _array_enum2_field) + const std::array& _array_enum2_field) { m_array_enum2_field = _array_enum2_field; } @@ -5661,7 +5665,7 @@ void KeyedCompleteTestType::array_enum2_field( * @param _array_enum2_field New value to be moved in member array_enum2_field */ void KeyedCompleteTestType::array_enum2_field( - std::array&& _array_enum2_field) + std::array&& _array_enum2_field) { m_array_enum2_field = std::move(_array_enum2_field); } @@ -5670,7 +5674,7 @@ void KeyedCompleteTestType::array_enum2_field( * @brief This function returns a constant reference to member array_enum2_field * @return Constant reference to member array_enum2_field */ -const std::array& KeyedCompleteTestType::array_enum2_field() const +const std::array& KeyedCompleteTestType::array_enum2_field() const { return m_array_enum2_field; } @@ -5679,7 +5683,7 @@ const std::array& KeyedCompleteTestType::array_enum2_field() const * @brief This function returns a reference to member array_enum2_field * @return Reference to member array_enum2_field */ -std::array& KeyedCompleteTestType::array_enum2_field() +std::array& KeyedCompleteTestType::array_enum2_field() { return m_array_enum2_field; } @@ -5690,7 +5694,7 @@ std::array& KeyedCompleteTestType::array_enum2_field() * @param _array_struct_field New value to be copied in member array_struct_field */ void KeyedCompleteTestType::array_struct_field( - const std::array& _array_struct_field) + const std::array& _array_struct_field) { m_array_struct_field = _array_struct_field; } @@ -5700,7 +5704,7 @@ void KeyedCompleteTestType::array_struct_field( * @param _array_struct_field New value to be moved in member array_struct_field */ void KeyedCompleteTestType::array_struct_field( - std::array&& _array_struct_field) + std::array&& _array_struct_field) { m_array_struct_field = std::move(_array_struct_field); } @@ -5709,7 +5713,7 @@ void KeyedCompleteTestType::array_struct_field( * @brief This function returns a constant reference to member array_struct_field * @return Constant reference to member array_struct_field */ -const std::array& KeyedCompleteTestType::array_struct_field() const +const std::array& KeyedCompleteTestType::array_struct_field() const { return m_array_struct_field; } @@ -5718,7 +5722,7 @@ const std::array& KeyedCompleteTestType::array_struct_field() con * @brief This function returns a reference to member array_struct_field * @return Reference to member array_struct_field */ -std::array& KeyedCompleteTestType::array_struct_field() +std::array& KeyedCompleteTestType::array_struct_field() { return m_array_struct_field; } @@ -6818,3 +6822,5 @@ std::vector& KeyedCompleteTestType::unbounded_sequence_struct_field( // Include auxiliary functions like for serializing/deserializing. #include "test_completeCdrAux.ipp" + +#endif // FASTCDR_VERSION_MAJOR > 1 diff --git a/fastdds_python/test/types/test_complete.h b/fastdds_python/test/types/test_complete.h index cdb0c5ed..7a0b8a52 100644 --- a/fastdds_python/test/types/test_complete.h +++ b/fastdds_python/test/types/test_complete.h @@ -19,6 +19,11 @@ * This file was generated by the tool fastddsgen. */ +#include +#include "test_completev1.h" + +#if FASTCDR_VERSION_MAJOR > 1 + #ifndef _FAST_DDS_GENERATED_TEST_COMPLETE_H_ #define _FAST_DDS_GENERATED_TEST_COMPLETE_H_ @@ -30,6 +35,7 @@ #include #include +#include #include #include "test_included_modules.h" @@ -92,6 +98,8 @@ enum Material : uint32_t CONCRETE, STONE }; + + /*! * @brief This class represents the structure StructType defined by the user in the IDL file. * @ingroup test_complete @@ -486,6 +494,10 @@ class StructType }; const uint32_t max_array_size = 3; const uint32_t max_seq_size = 5; + + + + /*! * @brief This class represents the structure CompleteTestType defined by the user in the IDL file. * @ingroup test_complete @@ -1270,26 +1282,26 @@ class CompleteTestType * @param _array_char_field New value to be copied in member array_char_field */ eProsima_user_DllExport void array_char_field( - const std::array& _array_char_field); + const std::array& _array_char_field); /*! * @brief This function moves the value in member array_char_field * @param _array_char_field New value to be moved in member array_char_field */ eProsima_user_DllExport void array_char_field( - std::array&& _array_char_field); + std::array&& _array_char_field); /*! * @brief This function returns a constant reference to member array_char_field * @return Constant reference to member array_char_field */ - eProsima_user_DllExport const std::array& array_char_field() const; + eProsima_user_DllExport const std::array& array_char_field() const; /*! * @brief This function returns a reference to member array_char_field * @return Reference to member array_char_field */ - eProsima_user_DllExport std::array& array_char_field(); + eProsima_user_DllExport std::array& array_char_field(); /*! @@ -1297,26 +1309,26 @@ class CompleteTestType * @param _array_uint8_field New value to be copied in member array_uint8_field */ eProsima_user_DllExport void array_uint8_field( - const std::array& _array_uint8_field); + const std::array& _array_uint8_field); /*! * @brief This function moves the value in member array_uint8_field * @param _array_uint8_field New value to be moved in member array_uint8_field */ eProsima_user_DllExport void array_uint8_field( - std::array&& _array_uint8_field); + std::array&& _array_uint8_field); /*! * @brief This function returns a constant reference to member array_uint8_field * @return Constant reference to member array_uint8_field */ - eProsima_user_DllExport const std::array& array_uint8_field() const; + eProsima_user_DllExport const std::array& array_uint8_field() const; /*! * @brief This function returns a reference to member array_uint8_field * @return Reference to member array_uint8_field */ - eProsima_user_DllExport std::array& array_uint8_field(); + eProsima_user_DllExport std::array& array_uint8_field(); /*! @@ -1324,26 +1336,26 @@ class CompleteTestType * @param _array_int16_field New value to be copied in member array_int16_field */ eProsima_user_DllExport void array_int16_field( - const std::array& _array_int16_field); + const std::array& _array_int16_field); /*! * @brief This function moves the value in member array_int16_field * @param _array_int16_field New value to be moved in member array_int16_field */ eProsima_user_DllExport void array_int16_field( - std::array&& _array_int16_field); + std::array&& _array_int16_field); /*! * @brief This function returns a constant reference to member array_int16_field * @return Constant reference to member array_int16_field */ - eProsima_user_DllExport const std::array& array_int16_field() const; + eProsima_user_DllExport const std::array& array_int16_field() const; /*! * @brief This function returns a reference to member array_int16_field * @return Reference to member array_int16_field */ - eProsima_user_DllExport std::array& array_int16_field(); + eProsima_user_DllExport std::array& array_int16_field(); /*! @@ -1351,26 +1363,26 @@ class CompleteTestType * @param _array_uint16_field New value to be copied in member array_uint16_field */ eProsima_user_DllExport void array_uint16_field( - const std::array& _array_uint16_field); + const std::array& _array_uint16_field); /*! * @brief This function moves the value in member array_uint16_field * @param _array_uint16_field New value to be moved in member array_uint16_field */ eProsima_user_DllExport void array_uint16_field( - std::array&& _array_uint16_field); + std::array&& _array_uint16_field); /*! * @brief This function returns a constant reference to member array_uint16_field * @return Constant reference to member array_uint16_field */ - eProsima_user_DllExport const std::array& array_uint16_field() const; + eProsima_user_DllExport const std::array& array_uint16_field() const; /*! * @brief This function returns a reference to member array_uint16_field * @return Reference to member array_uint16_field */ - eProsima_user_DllExport std::array& array_uint16_field(); + eProsima_user_DllExport std::array& array_uint16_field(); /*! @@ -1378,26 +1390,26 @@ class CompleteTestType * @param _array_int32_field New value to be copied in member array_int32_field */ eProsima_user_DllExport void array_int32_field( - const std::array& _array_int32_field); + const std::array& _array_int32_field); /*! * @brief This function moves the value in member array_int32_field * @param _array_int32_field New value to be moved in member array_int32_field */ eProsima_user_DllExport void array_int32_field( - std::array&& _array_int32_field); + std::array&& _array_int32_field); /*! * @brief This function returns a constant reference to member array_int32_field * @return Constant reference to member array_int32_field */ - eProsima_user_DllExport const std::array& array_int32_field() const; + eProsima_user_DllExport const std::array& array_int32_field() const; /*! * @brief This function returns a reference to member array_int32_field * @return Reference to member array_int32_field */ - eProsima_user_DllExport std::array& array_int32_field(); + eProsima_user_DllExport std::array& array_int32_field(); /*! @@ -1405,26 +1417,26 @@ class CompleteTestType * @param _array_uint32_field New value to be copied in member array_uint32_field */ eProsima_user_DllExport void array_uint32_field( - const std::array& _array_uint32_field); + const std::array& _array_uint32_field); /*! * @brief This function moves the value in member array_uint32_field * @param _array_uint32_field New value to be moved in member array_uint32_field */ eProsima_user_DllExport void array_uint32_field( - std::array&& _array_uint32_field); + std::array&& _array_uint32_field); /*! * @brief This function returns a constant reference to member array_uint32_field * @return Constant reference to member array_uint32_field */ - eProsima_user_DllExport const std::array& array_uint32_field() const; + eProsima_user_DllExport const std::array& array_uint32_field() const; /*! * @brief This function returns a reference to member array_uint32_field * @return Reference to member array_uint32_field */ - eProsima_user_DllExport std::array& array_uint32_field(); + eProsima_user_DllExport std::array& array_uint32_field(); /*! @@ -1432,26 +1444,26 @@ class CompleteTestType * @param _array_int64_field New value to be copied in member array_int64_field */ eProsima_user_DllExport void array_int64_field( - const std::array& _array_int64_field); + const std::array& _array_int64_field); /*! * @brief This function moves the value in member array_int64_field * @param _array_int64_field New value to be moved in member array_int64_field */ eProsima_user_DllExport void array_int64_field( - std::array&& _array_int64_field); + std::array&& _array_int64_field); /*! * @brief This function returns a constant reference to member array_int64_field * @return Constant reference to member array_int64_field */ - eProsima_user_DllExport const std::array& array_int64_field() const; + eProsima_user_DllExport const std::array& array_int64_field() const; /*! * @brief This function returns a reference to member array_int64_field * @return Reference to member array_int64_field */ - eProsima_user_DllExport std::array& array_int64_field(); + eProsima_user_DllExport std::array& array_int64_field(); /*! @@ -1459,26 +1471,26 @@ class CompleteTestType * @param _array_uint64_field New value to be copied in member array_uint64_field */ eProsima_user_DllExport void array_uint64_field( - const std::array& _array_uint64_field); + const std::array& _array_uint64_field); /*! * @brief This function moves the value in member array_uint64_field * @param _array_uint64_field New value to be moved in member array_uint64_field */ eProsima_user_DllExport void array_uint64_field( - std::array&& _array_uint64_field); + std::array&& _array_uint64_field); /*! * @brief This function returns a constant reference to member array_uint64_field * @return Constant reference to member array_uint64_field */ - eProsima_user_DllExport const std::array& array_uint64_field() const; + eProsima_user_DllExport const std::array& array_uint64_field() const; /*! * @brief This function returns a reference to member array_uint64_field * @return Reference to member array_uint64_field */ - eProsima_user_DllExport std::array& array_uint64_field(); + eProsima_user_DllExport std::array& array_uint64_field(); /*! @@ -1486,26 +1498,26 @@ class CompleteTestType * @param _array_float_field New value to be copied in member array_float_field */ eProsima_user_DllExport void array_float_field( - const std::array& _array_float_field); + const std::array& _array_float_field); /*! * @brief This function moves the value in member array_float_field * @param _array_float_field New value to be moved in member array_float_field */ eProsima_user_DllExport void array_float_field( - std::array&& _array_float_field); + std::array&& _array_float_field); /*! * @brief This function returns a constant reference to member array_float_field * @return Constant reference to member array_float_field */ - eProsima_user_DllExport const std::array& array_float_field() const; + eProsima_user_DllExport const std::array& array_float_field() const; /*! * @brief This function returns a reference to member array_float_field * @return Reference to member array_float_field */ - eProsima_user_DllExport std::array& array_float_field(); + eProsima_user_DllExport std::array& array_float_field(); /*! @@ -1513,26 +1525,26 @@ class CompleteTestType * @param _array_double_field New value to be copied in member array_double_field */ eProsima_user_DllExport void array_double_field( - const std::array& _array_double_field); + const std::array& _array_double_field); /*! * @brief This function moves the value in member array_double_field * @param _array_double_field New value to be moved in member array_double_field */ eProsima_user_DllExport void array_double_field( - std::array&& _array_double_field); + std::array&& _array_double_field); /*! * @brief This function returns a constant reference to member array_double_field * @return Constant reference to member array_double_field */ - eProsima_user_DllExport const std::array& array_double_field() const; + eProsima_user_DllExport const std::array& array_double_field() const; /*! * @brief This function returns a reference to member array_double_field * @return Reference to member array_double_field */ - eProsima_user_DllExport std::array& array_double_field(); + eProsima_user_DllExport std::array& array_double_field(); /*! @@ -1540,26 +1552,26 @@ class CompleteTestType * @param _array_bool_field New value to be copied in member array_bool_field */ eProsima_user_DllExport void array_bool_field( - const std::array& _array_bool_field); + const std::array& _array_bool_field); /*! * @brief This function moves the value in member array_bool_field * @param _array_bool_field New value to be moved in member array_bool_field */ eProsima_user_DllExport void array_bool_field( - std::array&& _array_bool_field); + std::array&& _array_bool_field); /*! * @brief This function returns a constant reference to member array_bool_field * @return Constant reference to member array_bool_field */ - eProsima_user_DllExport const std::array& array_bool_field() const; + eProsima_user_DllExport const std::array& array_bool_field() const; /*! * @brief This function returns a reference to member array_bool_field * @return Reference to member array_bool_field */ - eProsima_user_DllExport std::array& array_bool_field(); + eProsima_user_DllExport std::array& array_bool_field(); /*! @@ -1567,26 +1579,26 @@ class CompleteTestType * @param _array_enum_field New value to be copied in member array_enum_field */ eProsima_user_DllExport void array_enum_field( - const std::array& _array_enum_field); + const std::array& _array_enum_field); /*! * @brief This function moves the value in member array_enum_field * @param _array_enum_field New value to be moved in member array_enum_field */ eProsima_user_DllExport void array_enum_field( - std::array&& _array_enum_field); + std::array&& _array_enum_field); /*! * @brief This function returns a constant reference to member array_enum_field * @return Constant reference to member array_enum_field */ - eProsima_user_DllExport const std::array& array_enum_field() const; + eProsima_user_DllExport const std::array& array_enum_field() const; /*! * @brief This function returns a reference to member array_enum_field * @return Reference to member array_enum_field */ - eProsima_user_DllExport std::array& array_enum_field(); + eProsima_user_DllExport std::array& array_enum_field(); /*! @@ -1594,26 +1606,26 @@ class CompleteTestType * @param _array_enum2_field New value to be copied in member array_enum2_field */ eProsima_user_DllExport void array_enum2_field( - const std::array& _array_enum2_field); + const std::array& _array_enum2_field); /*! * @brief This function moves the value in member array_enum2_field * @param _array_enum2_field New value to be moved in member array_enum2_field */ eProsima_user_DllExport void array_enum2_field( - std::array&& _array_enum2_field); + std::array&& _array_enum2_field); /*! * @brief This function returns a constant reference to member array_enum2_field * @return Constant reference to member array_enum2_field */ - eProsima_user_DllExport const std::array& array_enum2_field() const; + eProsima_user_DllExport const std::array& array_enum2_field() const; /*! * @brief This function returns a reference to member array_enum2_field * @return Reference to member array_enum2_field */ - eProsima_user_DllExport std::array& array_enum2_field(); + eProsima_user_DllExport std::array& array_enum2_field(); /*! @@ -1621,26 +1633,26 @@ class CompleteTestType * @param _array_struct_field New value to be copied in member array_struct_field */ eProsima_user_DllExport void array_struct_field( - const std::array& _array_struct_field); + const std::array& _array_struct_field); /*! * @brief This function moves the value in member array_struct_field * @param _array_struct_field New value to be moved in member array_struct_field */ eProsima_user_DllExport void array_struct_field( - std::array&& _array_struct_field); + std::array&& _array_struct_field); /*! * @brief This function returns a constant reference to member array_struct_field * @return Constant reference to member array_struct_field */ - eProsima_user_DllExport const std::array& array_struct_field() const; + eProsima_user_DllExport const std::array& array_struct_field() const; /*! * @brief This function returns a reference to member array_struct_field * @return Reference to member array_struct_field */ - eProsima_user_DllExport std::array& array_struct_field(); + eProsima_user_DllExport std::array& array_struct_field(); /*! @@ -2430,20 +2442,20 @@ class CompleteTestType eprosima::fastcdr::optional m_enum_opt_field; eprosima::fastcdr::optional m_enum2_opt_field; eprosima::fastcdr::optional m_struct_opt_field; - std::array m_array_char_field{0}; - std::array m_array_uint8_field{0}; - std::array m_array_int16_field{0}; - std::array m_array_uint16_field{0}; - std::array m_array_int32_field{0}; - std::array m_array_uint32_field{0}; - std::array m_array_int64_field{0}; - std::array m_array_uint64_field{0}; - std::array m_array_float_field{0.0}; - std::array m_array_double_field{0.0}; - std::array m_array_bool_field{false}; - std::array m_array_enum_field{::RED}; - std::array m_array_enum2_field{::WOOD}; - std::array m_array_struct_field; + std::array m_array_char_field{0}; + std::array m_array_uint8_field{0}; + std::array m_array_int16_field{0}; + std::array m_array_uint16_field{0}; + std::array m_array_int32_field{0}; + std::array m_array_uint32_field{0}; + std::array m_array_int64_field{0}; + std::array m_array_uint64_field{0}; + std::array m_array_float_field{0.0}; + std::array m_array_double_field{0.0}; + std::array m_array_bool_field{false}; + std::array m_array_enum_field{::RED}; + std::array m_array_enum2_field{::WOOD}; + std::array m_array_struct_field; std::vector m_bounded_sequence_char_field; std::vector m_bounded_sequence_uint8_field; std::vector m_bounded_sequence_int16_field; @@ -2474,6 +2486,10 @@ class CompleteTestType std::vector m_unbounded_sequence_struct_field; }; + + + + /*! * @brief This class represents the structure KeyedCompleteTestType defined by the user in the IDL file. * @ingroup test_complete @@ -3278,26 +3294,26 @@ class KeyedCompleteTestType * @param _array_char_field New value to be copied in member array_char_field */ eProsima_user_DllExport void array_char_field( - const std::array& _array_char_field); + const std::array& _array_char_field); /*! * @brief This function moves the value in member array_char_field * @param _array_char_field New value to be moved in member array_char_field */ eProsima_user_DllExport void array_char_field( - std::array&& _array_char_field); + std::array&& _array_char_field); /*! * @brief This function returns a constant reference to member array_char_field * @return Constant reference to member array_char_field */ - eProsima_user_DllExport const std::array& array_char_field() const; + eProsima_user_DllExport const std::array& array_char_field() const; /*! * @brief This function returns a reference to member array_char_field * @return Reference to member array_char_field */ - eProsima_user_DllExport std::array& array_char_field(); + eProsima_user_DllExport std::array& array_char_field(); /*! @@ -3305,26 +3321,26 @@ class KeyedCompleteTestType * @param _array_uint8_field New value to be copied in member array_uint8_field */ eProsima_user_DllExport void array_uint8_field( - const std::array& _array_uint8_field); + const std::array& _array_uint8_field); /*! * @brief This function moves the value in member array_uint8_field * @param _array_uint8_field New value to be moved in member array_uint8_field */ eProsima_user_DllExport void array_uint8_field( - std::array&& _array_uint8_field); + std::array&& _array_uint8_field); /*! * @brief This function returns a constant reference to member array_uint8_field * @return Constant reference to member array_uint8_field */ - eProsima_user_DllExport const std::array& array_uint8_field() const; + eProsima_user_DllExport const std::array& array_uint8_field() const; /*! * @brief This function returns a reference to member array_uint8_field * @return Reference to member array_uint8_field */ - eProsima_user_DllExport std::array& array_uint8_field(); + eProsima_user_DllExport std::array& array_uint8_field(); /*! @@ -3332,26 +3348,26 @@ class KeyedCompleteTestType * @param _array_int16_field New value to be copied in member array_int16_field */ eProsima_user_DllExport void array_int16_field( - const std::array& _array_int16_field); + const std::array& _array_int16_field); /*! * @brief This function moves the value in member array_int16_field * @param _array_int16_field New value to be moved in member array_int16_field */ eProsima_user_DllExport void array_int16_field( - std::array&& _array_int16_field); + std::array&& _array_int16_field); /*! * @brief This function returns a constant reference to member array_int16_field * @return Constant reference to member array_int16_field */ - eProsima_user_DllExport const std::array& array_int16_field() const; + eProsima_user_DllExport const std::array& array_int16_field() const; /*! * @brief This function returns a reference to member array_int16_field * @return Reference to member array_int16_field */ - eProsima_user_DllExport std::array& array_int16_field(); + eProsima_user_DllExport std::array& array_int16_field(); /*! @@ -3359,26 +3375,26 @@ class KeyedCompleteTestType * @param _array_uint16_field New value to be copied in member array_uint16_field */ eProsima_user_DllExport void array_uint16_field( - const std::array& _array_uint16_field); + const std::array& _array_uint16_field); /*! * @brief This function moves the value in member array_uint16_field * @param _array_uint16_field New value to be moved in member array_uint16_field */ eProsima_user_DllExport void array_uint16_field( - std::array&& _array_uint16_field); + std::array&& _array_uint16_field); /*! * @brief This function returns a constant reference to member array_uint16_field * @return Constant reference to member array_uint16_field */ - eProsima_user_DllExport const std::array& array_uint16_field() const; + eProsima_user_DllExport const std::array& array_uint16_field() const; /*! * @brief This function returns a reference to member array_uint16_field * @return Reference to member array_uint16_field */ - eProsima_user_DllExport std::array& array_uint16_field(); + eProsima_user_DllExport std::array& array_uint16_field(); /*! @@ -3386,26 +3402,26 @@ class KeyedCompleteTestType * @param _array_int32_field New value to be copied in member array_int32_field */ eProsima_user_DllExport void array_int32_field( - const std::array& _array_int32_field); + const std::array& _array_int32_field); /*! * @brief This function moves the value in member array_int32_field * @param _array_int32_field New value to be moved in member array_int32_field */ eProsima_user_DllExport void array_int32_field( - std::array&& _array_int32_field); + std::array&& _array_int32_field); /*! * @brief This function returns a constant reference to member array_int32_field * @return Constant reference to member array_int32_field */ - eProsima_user_DllExport const std::array& array_int32_field() const; + eProsima_user_DllExport const std::array& array_int32_field() const; /*! * @brief This function returns a reference to member array_int32_field * @return Reference to member array_int32_field */ - eProsima_user_DllExport std::array& array_int32_field(); + eProsima_user_DllExport std::array& array_int32_field(); /*! @@ -3413,26 +3429,26 @@ class KeyedCompleteTestType * @param _array_uint32_field New value to be copied in member array_uint32_field */ eProsima_user_DllExport void array_uint32_field( - const std::array& _array_uint32_field); + const std::array& _array_uint32_field); /*! * @brief This function moves the value in member array_uint32_field * @param _array_uint32_field New value to be moved in member array_uint32_field */ eProsima_user_DllExport void array_uint32_field( - std::array&& _array_uint32_field); + std::array&& _array_uint32_field); /*! * @brief This function returns a constant reference to member array_uint32_field * @return Constant reference to member array_uint32_field */ - eProsima_user_DllExport const std::array& array_uint32_field() const; + eProsima_user_DllExport const std::array& array_uint32_field() const; /*! * @brief This function returns a reference to member array_uint32_field * @return Reference to member array_uint32_field */ - eProsima_user_DllExport std::array& array_uint32_field(); + eProsima_user_DllExport std::array& array_uint32_field(); /*! @@ -3440,26 +3456,26 @@ class KeyedCompleteTestType * @param _array_int64_field New value to be copied in member array_int64_field */ eProsima_user_DllExport void array_int64_field( - const std::array& _array_int64_field); + const std::array& _array_int64_field); /*! * @brief This function moves the value in member array_int64_field * @param _array_int64_field New value to be moved in member array_int64_field */ eProsima_user_DllExport void array_int64_field( - std::array&& _array_int64_field); + std::array&& _array_int64_field); /*! * @brief This function returns a constant reference to member array_int64_field * @return Constant reference to member array_int64_field */ - eProsima_user_DllExport const std::array& array_int64_field() const; + eProsima_user_DllExport const std::array& array_int64_field() const; /*! * @brief This function returns a reference to member array_int64_field * @return Reference to member array_int64_field */ - eProsima_user_DllExport std::array& array_int64_field(); + eProsima_user_DllExport std::array& array_int64_field(); /*! @@ -3467,26 +3483,26 @@ class KeyedCompleteTestType * @param _array_uint64_field New value to be copied in member array_uint64_field */ eProsima_user_DllExport void array_uint64_field( - const std::array& _array_uint64_field); + const std::array& _array_uint64_field); /*! * @brief This function moves the value in member array_uint64_field * @param _array_uint64_field New value to be moved in member array_uint64_field */ eProsima_user_DllExport void array_uint64_field( - std::array&& _array_uint64_field); + std::array&& _array_uint64_field); /*! * @brief This function returns a constant reference to member array_uint64_field * @return Constant reference to member array_uint64_field */ - eProsima_user_DllExport const std::array& array_uint64_field() const; + eProsima_user_DllExport const std::array& array_uint64_field() const; /*! * @brief This function returns a reference to member array_uint64_field * @return Reference to member array_uint64_field */ - eProsima_user_DllExport std::array& array_uint64_field(); + eProsima_user_DllExport std::array& array_uint64_field(); /*! @@ -3494,26 +3510,26 @@ class KeyedCompleteTestType * @param _array_float_field New value to be copied in member array_float_field */ eProsima_user_DllExport void array_float_field( - const std::array& _array_float_field); + const std::array& _array_float_field); /*! * @brief This function moves the value in member array_float_field * @param _array_float_field New value to be moved in member array_float_field */ eProsima_user_DllExport void array_float_field( - std::array&& _array_float_field); + std::array&& _array_float_field); /*! * @brief This function returns a constant reference to member array_float_field * @return Constant reference to member array_float_field */ - eProsima_user_DllExport const std::array& array_float_field() const; + eProsima_user_DllExport const std::array& array_float_field() const; /*! * @brief This function returns a reference to member array_float_field * @return Reference to member array_float_field */ - eProsima_user_DllExport std::array& array_float_field(); + eProsima_user_DllExport std::array& array_float_field(); /*! @@ -3521,26 +3537,26 @@ class KeyedCompleteTestType * @param _array_double_field New value to be copied in member array_double_field */ eProsima_user_DllExport void array_double_field( - const std::array& _array_double_field); + const std::array& _array_double_field); /*! * @brief This function moves the value in member array_double_field * @param _array_double_field New value to be moved in member array_double_field */ eProsima_user_DllExport void array_double_field( - std::array&& _array_double_field); + std::array&& _array_double_field); /*! * @brief This function returns a constant reference to member array_double_field * @return Constant reference to member array_double_field */ - eProsima_user_DllExport const std::array& array_double_field() const; + eProsima_user_DllExport const std::array& array_double_field() const; /*! * @brief This function returns a reference to member array_double_field * @return Reference to member array_double_field */ - eProsima_user_DllExport std::array& array_double_field(); + eProsima_user_DllExport std::array& array_double_field(); /*! @@ -3548,26 +3564,26 @@ class KeyedCompleteTestType * @param _array_bool_field New value to be copied in member array_bool_field */ eProsima_user_DllExport void array_bool_field( - const std::array& _array_bool_field); + const std::array& _array_bool_field); /*! * @brief This function moves the value in member array_bool_field * @param _array_bool_field New value to be moved in member array_bool_field */ eProsima_user_DllExport void array_bool_field( - std::array&& _array_bool_field); + std::array&& _array_bool_field); /*! * @brief This function returns a constant reference to member array_bool_field * @return Constant reference to member array_bool_field */ - eProsima_user_DllExport const std::array& array_bool_field() const; + eProsima_user_DllExport const std::array& array_bool_field() const; /*! * @brief This function returns a reference to member array_bool_field * @return Reference to member array_bool_field */ - eProsima_user_DllExport std::array& array_bool_field(); + eProsima_user_DllExport std::array& array_bool_field(); /*! @@ -3575,26 +3591,26 @@ class KeyedCompleteTestType * @param _array_enum_field New value to be copied in member array_enum_field */ eProsima_user_DllExport void array_enum_field( - const std::array& _array_enum_field); + const std::array& _array_enum_field); /*! * @brief This function moves the value in member array_enum_field * @param _array_enum_field New value to be moved in member array_enum_field */ eProsima_user_DllExport void array_enum_field( - std::array&& _array_enum_field); + std::array&& _array_enum_field); /*! * @brief This function returns a constant reference to member array_enum_field * @return Constant reference to member array_enum_field */ - eProsima_user_DllExport const std::array& array_enum_field() const; + eProsima_user_DllExport const std::array& array_enum_field() const; /*! * @brief This function returns a reference to member array_enum_field * @return Reference to member array_enum_field */ - eProsima_user_DllExport std::array& array_enum_field(); + eProsima_user_DllExport std::array& array_enum_field(); /*! @@ -3602,26 +3618,26 @@ class KeyedCompleteTestType * @param _array_enum2_field New value to be copied in member array_enum2_field */ eProsima_user_DllExport void array_enum2_field( - const std::array& _array_enum2_field); + const std::array& _array_enum2_field); /*! * @brief This function moves the value in member array_enum2_field * @param _array_enum2_field New value to be moved in member array_enum2_field */ eProsima_user_DllExport void array_enum2_field( - std::array&& _array_enum2_field); + std::array&& _array_enum2_field); /*! * @brief This function returns a constant reference to member array_enum2_field * @return Constant reference to member array_enum2_field */ - eProsima_user_DllExport const std::array& array_enum2_field() const; + eProsima_user_DllExport const std::array& array_enum2_field() const; /*! * @brief This function returns a reference to member array_enum2_field * @return Reference to member array_enum2_field */ - eProsima_user_DllExport std::array& array_enum2_field(); + eProsima_user_DllExport std::array& array_enum2_field(); /*! @@ -3629,26 +3645,26 @@ class KeyedCompleteTestType * @param _array_struct_field New value to be copied in member array_struct_field */ eProsima_user_DllExport void array_struct_field( - const std::array& _array_struct_field); + const std::array& _array_struct_field); /*! * @brief This function moves the value in member array_struct_field * @param _array_struct_field New value to be moved in member array_struct_field */ eProsima_user_DllExport void array_struct_field( - std::array&& _array_struct_field); + std::array&& _array_struct_field); /*! * @brief This function returns a constant reference to member array_struct_field * @return Constant reference to member array_struct_field */ - eProsima_user_DllExport const std::array& array_struct_field() const; + eProsima_user_DllExport const std::array& array_struct_field() const; /*! * @brief This function returns a reference to member array_struct_field * @return Reference to member array_struct_field */ - eProsima_user_DllExport std::array& array_struct_field(); + eProsima_user_DllExport std::array& array_struct_field(); /*! @@ -4439,20 +4455,20 @@ class KeyedCompleteTestType eprosima::fastcdr::optional m_enum_opt_field; eprosima::fastcdr::optional m_enum2_opt_field; eprosima::fastcdr::optional m_struct_opt_field; - std::array m_array_char_field{0}; - std::array m_array_uint8_field{0}; - std::array m_array_int16_field{0}; - std::array m_array_uint16_field{0}; - std::array m_array_int32_field{0}; - std::array m_array_uint32_field{0}; - std::array m_array_int64_field{0}; - std::array m_array_uint64_field{0}; - std::array m_array_float_field{0.0}; - std::array m_array_double_field{0.0}; - std::array m_array_bool_field{false}; - std::array m_array_enum_field{::RED}; - std::array m_array_enum2_field{::WOOD}; - std::array m_array_struct_field; + std::array m_array_char_field{0}; + std::array m_array_uint8_field{0}; + std::array m_array_int16_field{0}; + std::array m_array_uint16_field{0}; + std::array m_array_int32_field{0}; + std::array m_array_uint32_field{0}; + std::array m_array_int64_field{0}; + std::array m_array_uint64_field{0}; + std::array m_array_float_field{0.0}; + std::array m_array_double_field{0.0}; + std::array m_array_bool_field{false}; + std::array m_array_enum_field{::RED}; + std::array m_array_enum2_field{::WOOD}; + std::array m_array_struct_field; std::vector m_bounded_sequence_char_field; std::vector m_bounded_sequence_uint8_field; std::vector m_bounded_sequence_int16_field; @@ -4486,3 +4502,6 @@ class KeyedCompleteTestType #endif // _FAST_DDS_GENERATED_TEST_COMPLETE_H_ + + +#endif // FASTCDR_VERSION_MAJOR > 1 diff --git a/fastdds_python/test/types/test_complete.i b/fastdds_python/test/types/test_complete.i index df969478..8b2dc09f 100644 --- a/fastdds_python/test/types/test_complete.i +++ b/fastdds_python/test/types/test_complete.i @@ -46,7 +46,10 @@ #include %} +%include +#if FASTCDR_VERSION_MAJOR > 1 %import(module="fastdds") "fastcdr/xcdr/optional.hpp" +#endif %import(module="fastdds") "fastdds/dds/core/LoanableCollection.hpp" %import(module="fastdds") "fastdds/dds/core/LoanableTypedCollection.hpp" %import(module="fastdds") "fastdds/dds/core/LoanableSequence.hpp" @@ -65,6 +68,8 @@ namespace swig { %traits_penumn(enum Color); %traits_penumn(enum Material); + + //////////////////////////////////////////////////////// // Binding for class StructType //////////////////////////////////////////////////////// @@ -242,6 +247,12 @@ namespace swig { + + + + + + //////////////////////////////////////////////////////// // Binding for class CompleteTestType //////////////////////////////////////////////////////// @@ -747,14 +758,14 @@ namespace swig { -%ignore CompleteTestType::array_char_field(std::array&&); +%ignore CompleteTestType::array_char_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_char_field() const; -%template(char_3_array) std::array; -%extend std::array +%template(char_3_array) std::array; +%extend std::array { const char* get_buffer() const { @@ -763,14 +774,14 @@ namespace swig { } -%ignore CompleteTestType::array_uint8_field(std::array&&); +%ignore CompleteTestType::array_uint8_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_uint8_field() const; -%template(uint8_t_3_array) std::array; -%extend std::array +%template(uint8_t_3_array) std::array; +%extend std::array { const uint8_t* get_buffer() const { @@ -779,14 +790,14 @@ namespace swig { } -%ignore CompleteTestType::array_int16_field(std::array&&); +%ignore CompleteTestType::array_int16_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_int16_field() const; -%template(int16_t_3_array) std::array; -%extend std::array +%template(int16_t_3_array) std::array; +%extend std::array { const int16_t* get_buffer() const { @@ -795,14 +806,14 @@ namespace swig { } -%ignore CompleteTestType::array_uint16_field(std::array&&); +%ignore CompleteTestType::array_uint16_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_uint16_field() const; -%template(uint16_t_3_array) std::array; -%extend std::array +%template(uint16_t_3_array) std::array; +%extend std::array { const uint16_t* get_buffer() const { @@ -811,14 +822,14 @@ namespace swig { } -%ignore CompleteTestType::array_int32_field(std::array&&); +%ignore CompleteTestType::array_int32_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_int32_field() const; -%template(int32_t_3_array) std::array; -%extend std::array +%template(int32_t_3_array) std::array; +%extend std::array { const int32_t* get_buffer() const { @@ -827,14 +838,14 @@ namespace swig { } -%ignore CompleteTestType::array_uint32_field(std::array&&); +%ignore CompleteTestType::array_uint32_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_uint32_field() const; -%template(uint32_t_3_array) std::array; -%extend std::array +%template(uint32_t_3_array) std::array; +%extend std::array { const uint32_t* get_buffer() const { @@ -843,14 +854,14 @@ namespace swig { } -%ignore CompleteTestType::array_int64_field(std::array&&); +%ignore CompleteTestType::array_int64_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_int64_field() const; -%template(int64_t_3_array) std::array; -%extend std::array +%template(int64_t_3_array) std::array; +%extend std::array { const int64_t* get_buffer() const { @@ -859,14 +870,14 @@ namespace swig { } -%ignore CompleteTestType::array_uint64_field(std::array&&); +%ignore CompleteTestType::array_uint64_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_uint64_field() const; -%template(uint64_t_3_array) std::array; -%extend std::array +%template(uint64_t_3_array) std::array; +%extend std::array { const uint64_t* get_buffer() const { @@ -875,14 +886,14 @@ namespace swig { } -%ignore CompleteTestType::array_float_field(std::array&&); +%ignore CompleteTestType::array_float_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_float_field() const; -%template(float_3_array) std::array; -%extend std::array +%template(float_3_array) std::array; +%extend std::array { const float* get_buffer() const { @@ -891,14 +902,14 @@ namespace swig { } -%ignore CompleteTestType::array_double_field(std::array&&); +%ignore CompleteTestType::array_double_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_double_field() const; -%template(double_3_array) std::array; -%extend std::array +%template(double_3_array) std::array; +%extend std::array { const double* get_buffer() const { @@ -907,14 +918,14 @@ namespace swig { } -%ignore CompleteTestType::array_bool_field(std::array&&); +%ignore CompleteTestType::array_bool_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_bool_field() const; -%template(bool_3_array) std::array; -%extend std::array +%template(bool_3_array) std::array; +%extend std::array { const bool* get_buffer() const { @@ -923,14 +934,14 @@ namespace swig { } -%ignore CompleteTestType::array_enum_field(std::array&&); +%ignore CompleteTestType::array_enum_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_enum_field() const; -%template(Color_3_array) std::array; -%extend std::array +%template(Color_3_array) std::array; +%extend std::array { const enum Color* get_buffer() const { @@ -939,14 +950,14 @@ namespace swig { } -%ignore CompleteTestType::array_enum2_field(std::array&&); +%ignore CompleteTestType::array_enum2_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_enum2_field() const; -%template(Material_3_array) std::array; -%extend std::array +%template(Material_3_array) std::array; +%extend std::array { const enum Material* get_buffer() const { @@ -955,13 +966,13 @@ namespace swig { } -%ignore CompleteTestType::array_struct_field(std::array&&); +%ignore CompleteTestType::array_struct_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_struct_field() const; -%template(StructType_3_array) std::array; +%template(StructType_3_array) std::array; %ignore CompleteTestType::bounded_sequence_char_field(std::vector&&); @@ -1423,6 +1434,10 @@ namespace swig { } } + + + + //////////////////////////////////////////////////////// // Binding for class KeyedCompleteTestType //////////////////////////////////////////////////////// @@ -1938,14 +1953,14 @@ namespace swig { -%ignore KeyedCompleteTestType::array_char_field(std::array&&); +%ignore KeyedCompleteTestType::array_char_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_char_field() const; -%template(char_3_array) std::array; -%extend std::array +%template(char_3_array) std::array; +%extend std::array { const char* get_buffer() const { @@ -1954,14 +1969,14 @@ namespace swig { } -%ignore KeyedCompleteTestType::array_uint8_field(std::array&&); +%ignore KeyedCompleteTestType::array_uint8_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_uint8_field() const; -%template(uint8_t_3_array) std::array; -%extend std::array +%template(uint8_t_3_array) std::array; +%extend std::array { const uint8_t* get_buffer() const { @@ -1970,14 +1985,14 @@ namespace swig { } -%ignore KeyedCompleteTestType::array_int16_field(std::array&&); +%ignore KeyedCompleteTestType::array_int16_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_int16_field() const; -%template(int16_t_3_array) std::array; -%extend std::array +%template(int16_t_3_array) std::array; +%extend std::array { const int16_t* get_buffer() const { @@ -1986,14 +2001,14 @@ namespace swig { } -%ignore KeyedCompleteTestType::array_uint16_field(std::array&&); +%ignore KeyedCompleteTestType::array_uint16_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_uint16_field() const; -%template(uint16_t_3_array) std::array; -%extend std::array +%template(uint16_t_3_array) std::array; +%extend std::array { const uint16_t* get_buffer() const { @@ -2002,14 +2017,14 @@ namespace swig { } -%ignore KeyedCompleteTestType::array_int32_field(std::array&&); +%ignore KeyedCompleteTestType::array_int32_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_int32_field() const; -%template(int32_t_3_array) std::array; -%extend std::array +%template(int32_t_3_array) std::array; +%extend std::array { const int32_t* get_buffer() const { @@ -2018,14 +2033,14 @@ namespace swig { } -%ignore KeyedCompleteTestType::array_uint32_field(std::array&&); +%ignore KeyedCompleteTestType::array_uint32_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_uint32_field() const; -%template(uint32_t_3_array) std::array; -%extend std::array +%template(uint32_t_3_array) std::array; +%extend std::array { const uint32_t* get_buffer() const { @@ -2034,14 +2049,14 @@ namespace swig { } -%ignore KeyedCompleteTestType::array_int64_field(std::array&&); +%ignore KeyedCompleteTestType::array_int64_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_int64_field() const; -%template(int64_t_3_array) std::array; -%extend std::array +%template(int64_t_3_array) std::array; +%extend std::array { const int64_t* get_buffer() const { @@ -2050,14 +2065,14 @@ namespace swig { } -%ignore KeyedCompleteTestType::array_uint64_field(std::array&&); +%ignore KeyedCompleteTestType::array_uint64_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_uint64_field() const; -%template(uint64_t_3_array) std::array; -%extend std::array +%template(uint64_t_3_array) std::array; +%extend std::array { const uint64_t* get_buffer() const { @@ -2066,14 +2081,14 @@ namespace swig { } -%ignore KeyedCompleteTestType::array_float_field(std::array&&); +%ignore KeyedCompleteTestType::array_float_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_float_field() const; -%template(float_3_array) std::array; -%extend std::array +%template(float_3_array) std::array; +%extend std::array { const float* get_buffer() const { @@ -2082,14 +2097,14 @@ namespace swig { } -%ignore KeyedCompleteTestType::array_double_field(std::array&&); +%ignore KeyedCompleteTestType::array_double_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_double_field() const; -%template(double_3_array) std::array; -%extend std::array +%template(double_3_array) std::array; +%extend std::array { const double* get_buffer() const { @@ -2098,14 +2113,14 @@ namespace swig { } -%ignore KeyedCompleteTestType::array_bool_field(std::array&&); +%ignore KeyedCompleteTestType::array_bool_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_bool_field() const; -%template(bool_3_array) std::array; -%extend std::array +%template(bool_3_array) std::array; +%extend std::array { const bool* get_buffer() const { @@ -2114,14 +2129,14 @@ namespace swig { } -%ignore KeyedCompleteTestType::array_enum_field(std::array&&); +%ignore KeyedCompleteTestType::array_enum_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_enum_field() const; -%template(Color_3_array) std::array; -%extend std::array +%template(Color_3_array) std::array; +%extend std::array { const enum Color* get_buffer() const { @@ -2130,14 +2145,14 @@ namespace swig { } -%ignore KeyedCompleteTestType::array_enum2_field(std::array&&); +%ignore KeyedCompleteTestType::array_enum2_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_enum2_field() const; -%template(Material_3_array) std::array; -%extend std::array +%template(Material_3_array) std::array; +%extend std::array { const enum Material* get_buffer() const { @@ -2146,13 +2161,13 @@ namespace swig { } -%ignore KeyedCompleteTestType::array_struct_field(std::array&&); +%ignore KeyedCompleteTestType::array_struct_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_struct_field() const; -%template(StructType_3_array) std::array; +%template(StructType_3_array) std::array; %ignore KeyedCompleteTestType::bounded_sequence_char_field(std::vector&&); diff --git a/fastdds_python/test/types/test_completeCdrAux.hpp b/fastdds_python/test/types/test_completeCdrAux.hpp index 43ac38ac..25dd9394 100644 --- a/fastdds_python/test/types/test_completeCdrAux.hpp +++ b/fastdds_python/test/types/test_completeCdrAux.hpp @@ -45,16 +45,28 @@ namespace fastcdr { class Cdr; class CdrSizeCalculator; + + eProsima_user_DllExport void serialize_key( eprosima::fastcdr::Cdr& scdr, const StructType& data); + + + + + + eProsima_user_DllExport void serialize_key( eprosima::fastcdr::Cdr& scdr, const CompleteTestType& data); + + + + eProsima_user_DllExport void serialize_key( eprosima::fastcdr::Cdr& scdr, const KeyedCompleteTestType& data); diff --git a/fastdds_python/test/types/test_completeCdrAux.ipp b/fastdds_python/test/types/test_completeCdrAux.ipp index ad4fd971..213ea1e8 100644 --- a/fastdds_python/test/types/test_completeCdrAux.ipp +++ b/fastdds_python/test/types/test_completeCdrAux.ipp @@ -34,6 +34,8 @@ using namespace eprosima::fastcdr::exception; namespace eprosima { namespace fastcdr { + + template<> eProsima_user_DllExport size_t calculate_serialized_size( eprosima::fastcdr::CdrSizeCalculator& calculator, @@ -129,7 +131,6 @@ eProsima_user_DllExport void serialize( << eprosima::fastcdr::MemberId(13) << data.enum2_field() << eprosima::fastcdr::MemberId(14) << data.included_module_struct() ; - scdr.end_serialize_type(current_state); } @@ -225,6 +226,12 @@ void serialize_key( + + + + + + template<> eProsima_user_DllExport size_t calculate_serialized_size( eprosima::fastcdr::CdrSizeCalculator& calculator, @@ -548,7 +555,6 @@ eProsima_user_DllExport void serialize( << eprosima::fastcdr::MemberId(70) << data.unbounded_sequence_enum2_field() << eprosima::fastcdr::MemberId(71) << data.unbounded_sequence_struct_field() ; - scdr.end_serialize_type(current_state); } @@ -870,6 +876,10 @@ void serialize_key( } + + + + template<> eProsima_user_DllExport size_t calculate_serialized_size( eprosima::fastcdr::CdrSizeCalculator& calculator, @@ -1197,7 +1207,6 @@ eProsima_user_DllExport void serialize( << eprosima::fastcdr::MemberId(71) << data.unbounded_sequence_enum2_field() << eprosima::fastcdr::MemberId(72) << data.unbounded_sequence_struct_field() ; - scdr.end_serialize_type(current_state); } diff --git a/fastdds_python/test/types/test_completePubSubTypes.cxx b/fastdds_python/test/types/test_completePubSubTypes.cxx index 00696b4d..012345d0 100644 --- a/fastdds_python/test/types/test_completePubSubTypes.cxx +++ b/fastdds_python/test/types/test_completePubSubTypes.cxx @@ -20,9 +20,7 @@ */ -#include -#include -#include +#include #include "test_completePubSubTypes.h" #include "test_completeCdrAux.hpp" @@ -31,10 +29,17 @@ using SerializedPayload_t = eprosima::fastrtps::rtps::SerializedPayload_t; using InstanceHandle_t = eprosima::fastrtps::rtps::InstanceHandle_t; using DataRepresentationId_t = eprosima::fastdds::dds::DataRepresentationId_t; + + StructTypePubSubType::StructTypePubSubType() { setName("StructType"); - uint32_t type_size = StructType_max_cdr_typesize; + uint32_t type_size = +#if FASTCDR_VERSION_MAJOR == 1 + StructType::getMaxCdrSerializedSize(); +#else + StructType_max_cdr_typesize; +#endif type_size += static_cast(eprosima::fastcdr::Cdr::alignment(type_size, 4)); /* possible submessage alignment */ m_typeSize = type_size + 4; /*encapsulation*/ m_isGetKeyDefined = false; @@ -65,10 +70,12 @@ bool StructTypePubSubType::serialize( data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::CdrVersion::XCDRv1 : eprosima::fastcdr::CdrVersion::XCDRv2); payload->encapsulation = ser.endianness() == eprosima::fastcdr::Cdr::BIG_ENDIANNESS ? CDR_BE : CDR_LE; +#if FASTCDR_VERSION_MAJOR > 1 ser.set_encoding_flag( data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::EncodingAlgorithmFlag::PLAIN_CDR : eprosima::fastcdr::EncodingAlgorithmFlag::DELIMIT_CDR2); +#endif // FASTCDR_VERSION_MAJOR > 1 try { @@ -83,7 +90,11 @@ bool StructTypePubSubType::serialize( } // Get the serialized length +#if FASTCDR_VERSION_MAJOR == 1 + payload->length = static_cast(ser.getSerializedDataLength()); +#else payload->length = static_cast(ser.get_serialized_data_length()); +#endif // FASTCDR_VERSION_MAJOR == 1 return true; } @@ -100,7 +111,11 @@ bool StructTypePubSubType::deserialize( eprosima::fastcdr::FastBuffer fastbuffer(reinterpret_cast(payload->data), payload->length); // Object that deserializes the data. - eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN); + eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN +#if FASTCDR_VERSION_MAJOR == 1 + , eprosima::fastcdr::Cdr::CdrType::DDS_CDR +#endif // FASTCDR_VERSION_MAJOR == 1 + ); // Deserialize encapsulation. deser.read_encapsulation(); @@ -123,13 +138,25 @@ std::function StructTypePubSubType::getSerializedSizeProvider( { return [data, data_representation]() -> uint32_t { - eprosima::fastcdr::CdrSizeCalculator calculator( - data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? - eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); - size_t current_alignment {0}; - return static_cast(calculator.calculate_serialized_size( - *static_cast(data), current_alignment)) + - 4u /*encapsulation*/; +#if FASTCDR_VERSION_MAJOR == 1 + return static_cast(type::getCdrSerializedSize(*static_cast(data))) + + 4u /*encapsulation*/; +#else + try + { + eprosima::fastcdr::CdrSizeCalculator calculator( + data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? + eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); + size_t current_alignment {0}; + return static_cast(calculator.calculate_serialized_size( + *static_cast(data), current_alignment)) + + 4u /*encapsulation*/; + } + catch (eprosima::fastcdr::exception::Exception& /*exception*/) + { + return 0; + } +#endif // FASTCDR_VERSION_MAJOR == 1 }; } @@ -161,12 +188,20 @@ bool StructTypePubSubType::getKey( StructType_max_key_cdr_typesize); // Object that serializes the data. - eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS); + eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS, eprosima::fastcdr::CdrVersion::XCDRv1); +#if FASTCDR_VERSION_MAJOR == 1 + p_type->serializeKey(ser); +#else eprosima::fastcdr::serialize_key(ser, *p_type); +#endif // FASTCDR_VERSION_MAJOR == 1 if (force_md5 || StructType_max_key_cdr_typesize > 16) { m_md5.init(); +#if FASTCDR_VERSION_MAJOR == 1 + m_md5.update(m_keyBuffer, static_cast(ser.getSerializedDataLength())); +#else m_md5.update(m_keyBuffer, static_cast(ser.get_serialized_data_length())); +#endif // FASTCDR_VERSION_MAJOR == 1 m_md5.finalize(); for (uint8_t i = 0; i < 16; ++i) { @@ -185,10 +220,21 @@ bool StructTypePubSubType::getKey( + + + + + + CompleteTestTypePubSubType::CompleteTestTypePubSubType() { setName("CompleteTestType"); - uint32_t type_size = CompleteTestType_max_cdr_typesize; + uint32_t type_size = +#if FASTCDR_VERSION_MAJOR == 1 + CompleteTestType::getMaxCdrSerializedSize(); +#else + CompleteTestType_max_cdr_typesize; +#endif type_size += static_cast(eprosima::fastcdr::Cdr::alignment(type_size, 4)); /* possible submessage alignment */ m_typeSize = type_size + 4; /*encapsulation*/ m_isGetKeyDefined = false; @@ -219,10 +265,12 @@ bool CompleteTestTypePubSubType::serialize( data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::CdrVersion::XCDRv1 : eprosima::fastcdr::CdrVersion::XCDRv2); payload->encapsulation = ser.endianness() == eprosima::fastcdr::Cdr::BIG_ENDIANNESS ? CDR_BE : CDR_LE; +#if FASTCDR_VERSION_MAJOR > 1 ser.set_encoding_flag( data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::EncodingAlgorithmFlag::PLAIN_CDR : eprosima::fastcdr::EncodingAlgorithmFlag::DELIMIT_CDR2); +#endif // FASTCDR_VERSION_MAJOR > 1 try { @@ -237,7 +285,11 @@ bool CompleteTestTypePubSubType::serialize( } // Get the serialized length +#if FASTCDR_VERSION_MAJOR == 1 + payload->length = static_cast(ser.getSerializedDataLength()); +#else payload->length = static_cast(ser.get_serialized_data_length()); +#endif // FASTCDR_VERSION_MAJOR == 1 return true; } @@ -254,7 +306,11 @@ bool CompleteTestTypePubSubType::deserialize( eprosima::fastcdr::FastBuffer fastbuffer(reinterpret_cast(payload->data), payload->length); // Object that deserializes the data. - eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN); + eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN +#if FASTCDR_VERSION_MAJOR == 1 + , eprosima::fastcdr::Cdr::CdrType::DDS_CDR +#endif // FASTCDR_VERSION_MAJOR == 1 + ); // Deserialize encapsulation. deser.read_encapsulation(); @@ -277,13 +333,25 @@ std::function CompleteTestTypePubSubType::getSerializedSizeProvider( { return [data, data_representation]() -> uint32_t { - eprosima::fastcdr::CdrSizeCalculator calculator( - data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? - eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); - size_t current_alignment {0}; - return static_cast(calculator.calculate_serialized_size( - *static_cast(data), current_alignment)) + - 4u /*encapsulation*/; +#if FASTCDR_VERSION_MAJOR == 1 + return static_cast(type::getCdrSerializedSize(*static_cast(data))) + + 4u /*encapsulation*/; +#else + try + { + eprosima::fastcdr::CdrSizeCalculator calculator( + data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? + eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); + size_t current_alignment {0}; + return static_cast(calculator.calculate_serialized_size( + *static_cast(data), current_alignment)) + + 4u /*encapsulation*/; + } + catch (eprosima::fastcdr::exception::Exception& /*exception*/) + { + return 0; + } +#endif // FASTCDR_VERSION_MAJOR == 1 }; } @@ -315,12 +383,20 @@ bool CompleteTestTypePubSubType::getKey( CompleteTestType_max_key_cdr_typesize); // Object that serializes the data. - eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS); + eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS, eprosima::fastcdr::CdrVersion::XCDRv1); +#if FASTCDR_VERSION_MAJOR == 1 + p_type->serializeKey(ser); +#else eprosima::fastcdr::serialize_key(ser, *p_type); +#endif // FASTCDR_VERSION_MAJOR == 1 if (force_md5 || CompleteTestType_max_key_cdr_typesize > 16) { m_md5.init(); +#if FASTCDR_VERSION_MAJOR == 1 + m_md5.update(m_keyBuffer, static_cast(ser.getSerializedDataLength())); +#else m_md5.update(m_keyBuffer, static_cast(ser.get_serialized_data_length())); +#endif // FASTCDR_VERSION_MAJOR == 1 m_md5.finalize(); for (uint8_t i = 0; i < 16; ++i) { @@ -337,10 +413,19 @@ bool CompleteTestTypePubSubType::getKey( return true; } + + + + KeyedCompleteTestTypePubSubType::KeyedCompleteTestTypePubSubType() { setName("KeyedCompleteTestType"); - uint32_t type_size = KeyedCompleteTestType_max_cdr_typesize; + uint32_t type_size = +#if FASTCDR_VERSION_MAJOR == 1 + KeyedCompleteTestType::getMaxCdrSerializedSize(); +#else + KeyedCompleteTestType_max_cdr_typesize; +#endif type_size += static_cast(eprosima::fastcdr::Cdr::alignment(type_size, 4)); /* possible submessage alignment */ m_typeSize = type_size + 4; /*encapsulation*/ m_isGetKeyDefined = true; @@ -371,10 +456,12 @@ bool KeyedCompleteTestTypePubSubType::serialize( data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::CdrVersion::XCDRv1 : eprosima::fastcdr::CdrVersion::XCDRv2); payload->encapsulation = ser.endianness() == eprosima::fastcdr::Cdr::BIG_ENDIANNESS ? CDR_BE : CDR_LE; +#if FASTCDR_VERSION_MAJOR > 1 ser.set_encoding_flag( data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::EncodingAlgorithmFlag::PLAIN_CDR : eprosima::fastcdr::EncodingAlgorithmFlag::DELIMIT_CDR2); +#endif // FASTCDR_VERSION_MAJOR > 1 try { @@ -389,7 +476,11 @@ bool KeyedCompleteTestTypePubSubType::serialize( } // Get the serialized length +#if FASTCDR_VERSION_MAJOR == 1 + payload->length = static_cast(ser.getSerializedDataLength()); +#else payload->length = static_cast(ser.get_serialized_data_length()); +#endif // FASTCDR_VERSION_MAJOR == 1 return true; } @@ -406,7 +497,11 @@ bool KeyedCompleteTestTypePubSubType::deserialize( eprosima::fastcdr::FastBuffer fastbuffer(reinterpret_cast(payload->data), payload->length); // Object that deserializes the data. - eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN); + eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN +#if FASTCDR_VERSION_MAJOR == 1 + , eprosima::fastcdr::Cdr::CdrType::DDS_CDR +#endif // FASTCDR_VERSION_MAJOR == 1 + ); // Deserialize encapsulation. deser.read_encapsulation(); @@ -429,13 +524,25 @@ std::function KeyedCompleteTestTypePubSubType::getSerializedSizeProv { return [data, data_representation]() -> uint32_t { - eprosima::fastcdr::CdrSizeCalculator calculator( - data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? - eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); - size_t current_alignment {0}; - return static_cast(calculator.calculate_serialized_size( - *static_cast(data), current_alignment)) + - 4u /*encapsulation*/; +#if FASTCDR_VERSION_MAJOR == 1 + return static_cast(type::getCdrSerializedSize(*static_cast(data))) + + 4u /*encapsulation*/; +#else + try + { + eprosima::fastcdr::CdrSizeCalculator calculator( + data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? + eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); + size_t current_alignment {0}; + return static_cast(calculator.calculate_serialized_size( + *static_cast(data), current_alignment)) + + 4u /*encapsulation*/; + } + catch (eprosima::fastcdr::exception::Exception& /*exception*/) + { + return 0; + } +#endif // FASTCDR_VERSION_MAJOR == 1 }; } @@ -467,12 +574,20 @@ bool KeyedCompleteTestTypePubSubType::getKey( KeyedCompleteTestType_max_key_cdr_typesize); // Object that serializes the data. - eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS); + eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS, eprosima::fastcdr::CdrVersion::XCDRv1); +#if FASTCDR_VERSION_MAJOR == 1 + p_type->serializeKey(ser); +#else eprosima::fastcdr::serialize_key(ser, *p_type); +#endif // FASTCDR_VERSION_MAJOR == 1 if (force_md5 || KeyedCompleteTestType_max_key_cdr_typesize > 16) { m_md5.init(); +#if FASTCDR_VERSION_MAJOR == 1 + m_md5.update(m_keyBuffer, static_cast(ser.getSerializedDataLength())); +#else m_md5.update(m_keyBuffer, static_cast(ser.get_serialized_data_length())); +#endif // FASTCDR_VERSION_MAJOR == 1 m_md5.finalize(); for (uint8_t i = 0; i < 16; ++i) { diff --git a/fastdds_python/test/types/test_completePubSubTypes.h b/fastdds_python/test/types/test_completePubSubTypes.h index ee25b792..d77cf3d3 100644 --- a/fastdds_python/test/types/test_completePubSubTypes.h +++ b/fastdds_python/test/types/test_completePubSubTypes.h @@ -39,6 +39,8 @@ #endif // GEN_API_VER + + /*! * @brief This class represents the TopicDataType of the type StructType defined by the user in the IDL file. * @ingroup test_complete @@ -129,6 +131,12 @@ class StructTypePubSubType : public eprosima::fastdds::dds::TopicDataType + + + + + + /*! * @brief This class represents the TopicDataType of the type CompleteTestType defined by the user in the IDL file. * @ingroup test_complete @@ -217,6 +225,10 @@ class CompleteTestTypePubSubType : public eprosima::fastdds::dds::TopicDataType }; + + + + /*! * @brief This class represents the TopicDataType of the type KeyedCompleteTestType defined by the user in the IDL file. * @ingroup test_complete diff --git a/fastdds_python/test/types/test_completev1.cxx b/fastdds_python/test/types/test_completev1.cxx new file mode 100644 index 00000000..2bd17df1 --- /dev/null +++ b/fastdds_python/test/types/test_completev1.cxx @@ -0,0 +1,10440 @@ +// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/*! + * @file test_complete.cpp + * This source file contains the implementation of the described types in the IDL file. + * + * This file was generated by the tool fastddsgen. + */ + +#ifdef _WIN32 +// Remove linker warning LNK4221 on Visual Studio +namespace { +char dummy; +} // namespace +#endif // _WIN32 + +#include "test_complete.h" + +#if FASTCDR_VERSION_MAJOR == 1 + +#include + + +#include +using namespace eprosima::fastcdr::exception; + +#include + +namespace helper { namespace internal { + +enum class Size { + UInt8, + UInt16, + UInt32, + UInt64, +}; + +constexpr Size get_size(int s) { + return (s <= 8 ) ? Size::UInt8: + (s <= 16) ? Size::UInt16: + (s <= 32) ? Size::UInt32: Size::UInt64; +} + +template +struct FindTypeH; + +template<> +struct FindTypeH { + using type = std::uint8_t; +}; + +template<> +struct FindTypeH { + using type = std::uint16_t; +}; + +template<> +struct FindTypeH { + using type = std::uint32_t; +}; + +template<> +struct FindTypeH { + using type = std::uint64_t; +}; +} + +template +struct FindType { + using type = typename internal::FindTypeH::type; +}; +} + +#define CompleteTestType_max_cdr_typesize 78608ULL; + +#define StructType_max_cdr_typesize 656ULL; +#define eprosima_test2_StructType2_max_cdr_typesize 328ULL; + + +#define KeyedCompleteTestType_max_cdr_typesize 78608ULL; + + + + + +StructType::StructType() +{ + // char m_char_field + m_char_field = 0; + // octet m_uint8_field + m_uint8_field = 0; + // short m_int16_field + m_int16_field = 0; + // unsigned short m_uint16_field + m_uint16_field = 0; + // long m_int32_field + m_int32_field = 0; + // unsigned long m_uint32_field + m_uint32_field = 0; + // long long m_int64_field + m_int64_field = 0; + // unsigned long long m_uint64_field + m_uint64_field = 0; + // float m_float_field + m_float_field = 0.0; + // double m_double_field + m_double_field = 0.0; + // boolean m_bool_field + m_bool_field = false; + // /type_d() m_string_field + + // Color m_enum_field + m_enum_field = ::RED; + // Material m_enum2_field + m_enum2_field = ::WOOD; + // eprosima::test2::StructType2 m_included_module_struct + + +} + +StructType::~StructType() +{ +} + +StructType::StructType( + const StructType& x) +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = x.m_string_field; + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_included_module_struct = x.m_included_module_struct; + +} + +StructType::StructType( + StructType&& x) noexcept +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = std::move(x.m_string_field); + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_included_module_struct = std::move(x.m_included_module_struct); + +} + +StructType& StructType::operator =( + const StructType& x) +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = x.m_string_field; + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_included_module_struct = x.m_included_module_struct; + + return *this; +} + +StructType& StructType::operator =( + StructType&& x) noexcept +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = std::move(x.m_string_field); + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_included_module_struct = std::move(x.m_included_module_struct); + + return *this; +} + +bool StructType::operator ==( + const StructType& x) const +{ + return (m_char_field == x.m_char_field && + m_uint8_field == x.m_uint8_field && + m_int16_field == x.m_int16_field && + m_uint16_field == x.m_uint16_field && + m_int32_field == x.m_int32_field && + m_uint32_field == x.m_uint32_field && + m_int64_field == x.m_int64_field && + m_uint64_field == x.m_uint64_field && + m_float_field == x.m_float_field && + m_double_field == x.m_double_field && + m_bool_field == x.m_bool_field && + m_string_field == x.m_string_field && + m_enum_field == x.m_enum_field && + m_enum2_field == x.m_enum2_field && + m_included_module_struct == x.m_included_module_struct); +} + +bool StructType::operator !=( + const StructType& x) const +{ + return !(*this == x); +} + +size_t StructType::getMaxCdrSerializedSize( + size_t current_alignment) +{ + static_cast(current_alignment); + return StructType_max_cdr_typesize; +} + +size_t StructType::getCdrSerializedSize( + const StructType& data, + size_t current_alignment) +{ + (void)data; + size_t initial_alignment = current_alignment; + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4) + data.string_field().size() + 1; + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += eprosima::test2::StructType2::getCdrSerializedSize(data.included_module_struct(), current_alignment); + + + return current_alignment - initial_alignment; +} + + +void StructType::serialize( + eprosima::fastcdr::Cdr& scdr) const +{ + scdr << m_char_field; + + scdr << m_uint8_field; + + scdr << m_int16_field; + + scdr << m_uint16_field; + + scdr << m_int32_field; + + scdr << m_uint32_field; + + scdr << m_int64_field; + + scdr << m_uint64_field; + + scdr << m_float_field; + + scdr << m_double_field; + + scdr << m_bool_field; + + scdr << m_string_field.c_str(); + + scdr << (uint32_t)m_enum_field; + + scdr << (uint32_t)m_enum2_field; + + scdr << m_included_module_struct; + +} + +void StructType::deserialize( + eprosima::fastcdr::Cdr& dcdr) +{ + dcdr >> m_char_field; + + + + dcdr >> m_uint8_field; + + + + dcdr >> m_int16_field; + + + + dcdr >> m_uint16_field; + + + + dcdr >> m_int32_field; + + + + dcdr >> m_uint32_field; + + + + dcdr >> m_int64_field; + + + + dcdr >> m_uint64_field; + + + + dcdr >> m_float_field; + + + + dcdr >> m_double_field; + + + + dcdr >> m_bool_field; + + + + dcdr >> m_string_field; + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum_field = (Color)enum_value; + } + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum2_field = (Material)enum_value; + } + + + + dcdr >> m_included_module_struct; + + +} + + +bool StructType::isKeyDefined() +{ + return false; +} + +void StructType::serializeKey( + eprosima::fastcdr::Cdr& scdr) const +{ + (void) scdr; +} + +/*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ +void StructType::char_field( + char _char_field) +{ + m_char_field = _char_field; +} + +/*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ +char StructType::char_field() const +{ + return m_char_field; +} + +/*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ +char& StructType::char_field() +{ + return m_char_field; +} + + +/*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ +void StructType::uint8_field( + uint8_t _uint8_field) +{ + m_uint8_field = _uint8_field; +} + +/*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ +uint8_t StructType::uint8_field() const +{ + return m_uint8_field; +} + +/*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ +uint8_t& StructType::uint8_field() +{ + return m_uint8_field; +} + + +/*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ +void StructType::int16_field( + int16_t _int16_field) +{ + m_int16_field = _int16_field; +} + +/*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ +int16_t StructType::int16_field() const +{ + return m_int16_field; +} + +/*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ +int16_t& StructType::int16_field() +{ + return m_int16_field; +} + + +/*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ +void StructType::uint16_field( + uint16_t _uint16_field) +{ + m_uint16_field = _uint16_field; +} + +/*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ +uint16_t StructType::uint16_field() const +{ + return m_uint16_field; +} + +/*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ +uint16_t& StructType::uint16_field() +{ + return m_uint16_field; +} + + +/*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ +void StructType::int32_field( + int32_t _int32_field) +{ + m_int32_field = _int32_field; +} + +/*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ +int32_t StructType::int32_field() const +{ + return m_int32_field; +} + +/*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ +int32_t& StructType::int32_field() +{ + return m_int32_field; +} + + +/*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ +void StructType::uint32_field( + uint32_t _uint32_field) +{ + m_uint32_field = _uint32_field; +} + +/*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ +uint32_t StructType::uint32_field() const +{ + return m_uint32_field; +} + +/*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ +uint32_t& StructType::uint32_field() +{ + return m_uint32_field; +} + + +/*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ +void StructType::int64_field( + int64_t _int64_field) +{ + m_int64_field = _int64_field; +} + +/*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ +int64_t StructType::int64_field() const +{ + return m_int64_field; +} + +/*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ +int64_t& StructType::int64_field() +{ + return m_int64_field; +} + + +/*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ +void StructType::uint64_field( + uint64_t _uint64_field) +{ + m_uint64_field = _uint64_field; +} + +/*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ +uint64_t StructType::uint64_field() const +{ + return m_uint64_field; +} + +/*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ +uint64_t& StructType::uint64_field() +{ + return m_uint64_field; +} + + +/*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ +void StructType::float_field( + float _float_field) +{ + m_float_field = _float_field; +} + +/*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ +float StructType::float_field() const +{ + return m_float_field; +} + +/*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ +float& StructType::float_field() +{ + return m_float_field; +} + + +/*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ +void StructType::double_field( + double _double_field) +{ + m_double_field = _double_field; +} + +/*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ +double StructType::double_field() const +{ + return m_double_field; +} + +/*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ +double& StructType::double_field() +{ + return m_double_field; +} + + +/*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ +void StructType::bool_field( + bool _bool_field) +{ + m_bool_field = _bool_field; +} + +/*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ +bool StructType::bool_field() const +{ + return m_bool_field; +} + +/*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ +bool& StructType::bool_field() +{ + return m_bool_field; +} + + +/*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ +void StructType::string_field( + const std::string& _string_field) +{ + m_string_field = _string_field; +} + +/*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ +void StructType::string_field( + std::string&& _string_field) +{ + m_string_field = std::move(_string_field); +} + +/*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ +const std::string& StructType::string_field() const +{ + return m_string_field; +} + +/*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ +std::string& StructType::string_field() +{ + return m_string_field; +} + + +/*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ +void StructType::enum_field( + Color _enum_field) +{ + m_enum_field = _enum_field; +} + +/*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ +Color StructType::enum_field() const +{ + return m_enum_field; +} + +/*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ +Color& StructType::enum_field() +{ + return m_enum_field; +} + + +/*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ +void StructType::enum2_field( + Material _enum2_field) +{ + m_enum2_field = _enum2_field; +} + +/*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ +Material StructType::enum2_field() const +{ + return m_enum2_field; +} + +/*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ +Material& StructType::enum2_field() +{ + return m_enum2_field; +} + + +/*! + * @brief This function copies the value in member included_module_struct + * @param _included_module_struct New value to be copied in member included_module_struct + */ +void StructType::included_module_struct( + const eprosima::test2::StructType2& _included_module_struct) +{ + m_included_module_struct = _included_module_struct; +} + +/*! + * @brief This function moves the value in member included_module_struct + * @param _included_module_struct New value to be moved in member included_module_struct + */ +void StructType::included_module_struct( + eprosima::test2::StructType2&& _included_module_struct) +{ + m_included_module_struct = std::move(_included_module_struct); +} + +/*! + * @brief This function returns a constant reference to member included_module_struct + * @return Constant reference to member included_module_struct + */ +const eprosima::test2::StructType2& StructType::included_module_struct() const +{ + return m_included_module_struct; +} + +/*! + * @brief This function returns a reference to member included_module_struct + * @return Reference to member included_module_struct + */ +eprosima::test2::StructType2& StructType::included_module_struct() +{ + return m_included_module_struct; +} + + + + + + + + + +CompleteTestType::CompleteTestType() +{ + // char m_char_field + m_char_field = 0; + // octet m_uint8_field + m_uint8_field = 0; + // short m_int16_field + m_int16_field = 0; + // unsigned short m_uint16_field + m_uint16_field = 0; + // long m_int32_field + m_int32_field = 0; + // unsigned long m_uint32_field + m_uint32_field = 0; + // long long m_int64_field + m_int64_field = 0; + // unsigned long long m_uint64_field + m_uint64_field = 0; + // float m_float_field + m_float_field = 0.0; + // double m_double_field + m_double_field = 0.0; + // boolean m_bool_field + m_bool_field = false; + // /type_d() m_string_field + + // Color m_enum_field + m_enum_field = ::RED; + // Material m_enum2_field + m_enum2_field = ::WOOD; + // StructType m_struct_field + + // char m_char_opt_field + m_char_opt_field = 0; + // octet m_uint8_opt_field + m_uint8_opt_field = 0; + // short m_int16_opt_field + m_int16_opt_field = 0; + // unsigned short m_uint16_opt_field + m_uint16_opt_field = 0; + // long m_int32_opt_field + m_int32_opt_field = 0; + // unsigned long m_uint32_opt_field + m_uint32_opt_field = 0; + // long long m_int64_opt_field + m_int64_opt_field = 0; + // unsigned long long m_uint64_opt_field + m_uint64_opt_field = 0; + // float m_float_opt_field + m_float_opt_field = 0.0; + // double m_double_opt_field + m_double_opt_field = 0.0; + // boolean m_bool_opt_field + m_bool_opt_field = false; + // /type_d() m_string_opt_field + + // Color m_enum_opt_field + m_enum_opt_field = ::RED; + // Material m_enum2_opt_field + m_enum2_opt_field = ::WOOD; + // StructType m_struct_opt_field + + // char m_array_char_field + memset(&m_array_char_field, 0, ((max_array_size)) * 1); + // octet m_array_uint8_field + memset(&m_array_uint8_field, 0, ((max_array_size)) * 1); + // short m_array_int16_field + memset(&m_array_int16_field, 0, ((max_array_size)) * 2); + // unsigned short m_array_uint16_field + memset(&m_array_uint16_field, 0, ((max_array_size)) * 2); + // long m_array_int32_field + memset(&m_array_int32_field, 0, ((max_array_size)) * 4); + // unsigned long m_array_uint32_field + memset(&m_array_uint32_field, 0, ((max_array_size)) * 4); + // long long m_array_int64_field + memset(&m_array_int64_field, 0, ((max_array_size)) * 8); + // unsigned long long m_array_uint64_field + memset(&m_array_uint64_field, 0, ((max_array_size)) * 8); + // float m_array_float_field + memset(&m_array_float_field, 0, ((max_array_size)) * 4); + // double m_array_double_field + memset(&m_array_double_field, 0, ((max_array_size)) * 8); + // boolean m_array_bool_field + memset(&m_array_bool_field, 0, ((max_array_size)) * 1); + // Color m_array_enum_field + memset(&m_array_enum_field, 0, ((max_array_size)) * 4); + // Material m_array_enum2_field + memset(&m_array_enum2_field, 0, ((max_array_size)) * 4); + // StructType m_array_struct_field + + // sequence m_bounded_sequence_char_field + + // sequence m_bounded_sequence_uint8_field + + // sequence m_bounded_sequence_int16_field + + // sequence m_bounded_sequence_uint16_field + + // sequence m_bounded_sequence_int32_field + + // sequence m_bounded_sequence_uint32_field + + // sequence m_bounded_sequence_int64_field + + // sequence m_bounded_sequence_uint64_field + + // sequence m_bounded_sequence_float_field + + // sequence m_bounded_sequence_double_field + + // sequence m_bounded_sequence_bool_field + + // sequence m_bounded_sequence_enum_field + + // sequence m_bounded_sequence_enum2_field + + // sequence m_bounded_sequence_struct_field + + // sequence m_unbounded_sequence_char_field + + // sequence m_unbounded_sequence_uint8_field + + // sequence m_unbounded_sequence_int16_field + + // sequence m_unbounded_sequence_uint16_field + + // sequence m_unbounded_sequence_int32_field + + // sequence m_unbounded_sequence_uint32_field + + // sequence m_unbounded_sequence_int64_field + + // sequence m_unbounded_sequence_uint64_field + + // sequence m_unbounded_sequence_float_field + + // sequence m_unbounded_sequence_double_field + + // sequence m_unbounded_sequence_bool_field + + // sequence m_unbounded_sequence_enum_field + + // sequence m_unbounded_sequence_enum2_field + + // sequence m_unbounded_sequence_struct_field + + +} + +CompleteTestType::~CompleteTestType() +{ +} + +CompleteTestType::CompleteTestType( + const CompleteTestType& x) +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = x.m_string_field; + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = x.m_struct_field; + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = x.m_string_opt_field; + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = x.m_struct_opt_field; + + + m_array_char_field = x.m_array_char_field; + + + m_array_uint8_field = x.m_array_uint8_field; + + + m_array_int16_field = x.m_array_int16_field; + + + m_array_uint16_field = x.m_array_uint16_field; + + + m_array_int32_field = x.m_array_int32_field; + + + m_array_uint32_field = x.m_array_uint32_field; + + + m_array_int64_field = x.m_array_int64_field; + + + m_array_uint64_field = x.m_array_uint64_field; + + + m_array_float_field = x.m_array_float_field; + + + m_array_double_field = x.m_array_double_field; + + + m_array_bool_field = x.m_array_bool_field; + + + m_array_enum_field = x.m_array_enum_field; + + + m_array_enum2_field = x.m_array_enum2_field; + + + m_array_struct_field = x.m_array_struct_field; + + + m_bounded_sequence_char_field = x.m_bounded_sequence_char_field; + + + m_bounded_sequence_uint8_field = x.m_bounded_sequence_uint8_field; + + + m_bounded_sequence_int16_field = x.m_bounded_sequence_int16_field; + + + m_bounded_sequence_uint16_field = x.m_bounded_sequence_uint16_field; + + + m_bounded_sequence_int32_field = x.m_bounded_sequence_int32_field; + + + m_bounded_sequence_uint32_field = x.m_bounded_sequence_uint32_field; + + + m_bounded_sequence_int64_field = x.m_bounded_sequence_int64_field; + + + m_bounded_sequence_uint64_field = x.m_bounded_sequence_uint64_field; + + + m_bounded_sequence_float_field = x.m_bounded_sequence_float_field; + + + m_bounded_sequence_double_field = x.m_bounded_sequence_double_field; + + + m_bounded_sequence_bool_field = x.m_bounded_sequence_bool_field; + + + m_bounded_sequence_enum_field = x.m_bounded_sequence_enum_field; + + + m_bounded_sequence_enum2_field = x.m_bounded_sequence_enum2_field; + + + m_bounded_sequence_struct_field = x.m_bounded_sequence_struct_field; + + + m_unbounded_sequence_char_field = x.m_unbounded_sequence_char_field; + + + m_unbounded_sequence_uint8_field = x.m_unbounded_sequence_uint8_field; + + + m_unbounded_sequence_int16_field = x.m_unbounded_sequence_int16_field; + + + m_unbounded_sequence_uint16_field = x.m_unbounded_sequence_uint16_field; + + + m_unbounded_sequence_int32_field = x.m_unbounded_sequence_int32_field; + + + m_unbounded_sequence_uint32_field = x.m_unbounded_sequence_uint32_field; + + + m_unbounded_sequence_int64_field = x.m_unbounded_sequence_int64_field; + + + m_unbounded_sequence_uint64_field = x.m_unbounded_sequence_uint64_field; + + + m_unbounded_sequence_float_field = x.m_unbounded_sequence_float_field; + + + m_unbounded_sequence_double_field = x.m_unbounded_sequence_double_field; + + + m_unbounded_sequence_bool_field = x.m_unbounded_sequence_bool_field; + + + m_unbounded_sequence_enum_field = x.m_unbounded_sequence_enum_field; + + + m_unbounded_sequence_enum2_field = x.m_unbounded_sequence_enum2_field; + + + m_unbounded_sequence_struct_field = x.m_unbounded_sequence_struct_field; + +} + +CompleteTestType::CompleteTestType( + CompleteTestType&& x) noexcept +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = std::move(x.m_string_field); + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = std::move(x.m_struct_field); + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = std::move(x.m_string_opt_field); + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = std::move(x.m_struct_opt_field); + + + m_array_char_field = std::move(x.m_array_char_field); + + + m_array_uint8_field = std::move(x.m_array_uint8_field); + + + m_array_int16_field = std::move(x.m_array_int16_field); + + + m_array_uint16_field = std::move(x.m_array_uint16_field); + + + m_array_int32_field = std::move(x.m_array_int32_field); + + + m_array_uint32_field = std::move(x.m_array_uint32_field); + + + m_array_int64_field = std::move(x.m_array_int64_field); + + + m_array_uint64_field = std::move(x.m_array_uint64_field); + + + m_array_float_field = std::move(x.m_array_float_field); + + + m_array_double_field = std::move(x.m_array_double_field); + + + m_array_bool_field = std::move(x.m_array_bool_field); + + + m_array_enum_field = std::move(x.m_array_enum_field); + + + m_array_enum2_field = std::move(x.m_array_enum2_field); + + + m_array_struct_field = std::move(x.m_array_struct_field); + + + m_bounded_sequence_char_field = std::move(x.m_bounded_sequence_char_field); + + + m_bounded_sequence_uint8_field = std::move(x.m_bounded_sequence_uint8_field); + + + m_bounded_sequence_int16_field = std::move(x.m_bounded_sequence_int16_field); + + + m_bounded_sequence_uint16_field = std::move(x.m_bounded_sequence_uint16_field); + + + m_bounded_sequence_int32_field = std::move(x.m_bounded_sequence_int32_field); + + + m_bounded_sequence_uint32_field = std::move(x.m_bounded_sequence_uint32_field); + + + m_bounded_sequence_int64_field = std::move(x.m_bounded_sequence_int64_field); + + + m_bounded_sequence_uint64_field = std::move(x.m_bounded_sequence_uint64_field); + + + m_bounded_sequence_float_field = std::move(x.m_bounded_sequence_float_field); + + + m_bounded_sequence_double_field = std::move(x.m_bounded_sequence_double_field); + + + m_bounded_sequence_bool_field = std::move(x.m_bounded_sequence_bool_field); + + + m_bounded_sequence_enum_field = std::move(x.m_bounded_sequence_enum_field); + + + m_bounded_sequence_enum2_field = std::move(x.m_bounded_sequence_enum2_field); + + + m_bounded_sequence_struct_field = std::move(x.m_bounded_sequence_struct_field); + + + m_unbounded_sequence_char_field = std::move(x.m_unbounded_sequence_char_field); + + + m_unbounded_sequence_uint8_field = std::move(x.m_unbounded_sequence_uint8_field); + + + m_unbounded_sequence_int16_field = std::move(x.m_unbounded_sequence_int16_field); + + + m_unbounded_sequence_uint16_field = std::move(x.m_unbounded_sequence_uint16_field); + + + m_unbounded_sequence_int32_field = std::move(x.m_unbounded_sequence_int32_field); + + + m_unbounded_sequence_uint32_field = std::move(x.m_unbounded_sequence_uint32_field); + + + m_unbounded_sequence_int64_field = std::move(x.m_unbounded_sequence_int64_field); + + + m_unbounded_sequence_uint64_field = std::move(x.m_unbounded_sequence_uint64_field); + + + m_unbounded_sequence_float_field = std::move(x.m_unbounded_sequence_float_field); + + + m_unbounded_sequence_double_field = std::move(x.m_unbounded_sequence_double_field); + + + m_unbounded_sequence_bool_field = std::move(x.m_unbounded_sequence_bool_field); + + + m_unbounded_sequence_enum_field = std::move(x.m_unbounded_sequence_enum_field); + + + m_unbounded_sequence_enum2_field = std::move(x.m_unbounded_sequence_enum2_field); + + + m_unbounded_sequence_struct_field = std::move(x.m_unbounded_sequence_struct_field); + +} + +CompleteTestType& CompleteTestType::operator =( + const CompleteTestType& x) +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = x.m_string_field; + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = x.m_struct_field; + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = x.m_string_opt_field; + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = x.m_struct_opt_field; + + + m_array_char_field = x.m_array_char_field; + + + m_array_uint8_field = x.m_array_uint8_field; + + + m_array_int16_field = x.m_array_int16_field; + + + m_array_uint16_field = x.m_array_uint16_field; + + + m_array_int32_field = x.m_array_int32_field; + + + m_array_uint32_field = x.m_array_uint32_field; + + + m_array_int64_field = x.m_array_int64_field; + + + m_array_uint64_field = x.m_array_uint64_field; + + + m_array_float_field = x.m_array_float_field; + + + m_array_double_field = x.m_array_double_field; + + + m_array_bool_field = x.m_array_bool_field; + + + m_array_enum_field = x.m_array_enum_field; + + + m_array_enum2_field = x.m_array_enum2_field; + + + m_array_struct_field = x.m_array_struct_field; + + + m_bounded_sequence_char_field = x.m_bounded_sequence_char_field; + + + m_bounded_sequence_uint8_field = x.m_bounded_sequence_uint8_field; + + + m_bounded_sequence_int16_field = x.m_bounded_sequence_int16_field; + + + m_bounded_sequence_uint16_field = x.m_bounded_sequence_uint16_field; + + + m_bounded_sequence_int32_field = x.m_bounded_sequence_int32_field; + + + m_bounded_sequence_uint32_field = x.m_bounded_sequence_uint32_field; + + + m_bounded_sequence_int64_field = x.m_bounded_sequence_int64_field; + + + m_bounded_sequence_uint64_field = x.m_bounded_sequence_uint64_field; + + + m_bounded_sequence_float_field = x.m_bounded_sequence_float_field; + + + m_bounded_sequence_double_field = x.m_bounded_sequence_double_field; + + + m_bounded_sequence_bool_field = x.m_bounded_sequence_bool_field; + + + m_bounded_sequence_enum_field = x.m_bounded_sequence_enum_field; + + + m_bounded_sequence_enum2_field = x.m_bounded_sequence_enum2_field; + + + m_bounded_sequence_struct_field = x.m_bounded_sequence_struct_field; + + + m_unbounded_sequence_char_field = x.m_unbounded_sequence_char_field; + + + m_unbounded_sequence_uint8_field = x.m_unbounded_sequence_uint8_field; + + + m_unbounded_sequence_int16_field = x.m_unbounded_sequence_int16_field; + + + m_unbounded_sequence_uint16_field = x.m_unbounded_sequence_uint16_field; + + + m_unbounded_sequence_int32_field = x.m_unbounded_sequence_int32_field; + + + m_unbounded_sequence_uint32_field = x.m_unbounded_sequence_uint32_field; + + + m_unbounded_sequence_int64_field = x.m_unbounded_sequence_int64_field; + + + m_unbounded_sequence_uint64_field = x.m_unbounded_sequence_uint64_field; + + + m_unbounded_sequence_float_field = x.m_unbounded_sequence_float_field; + + + m_unbounded_sequence_double_field = x.m_unbounded_sequence_double_field; + + + m_unbounded_sequence_bool_field = x.m_unbounded_sequence_bool_field; + + + m_unbounded_sequence_enum_field = x.m_unbounded_sequence_enum_field; + + + m_unbounded_sequence_enum2_field = x.m_unbounded_sequence_enum2_field; + + + m_unbounded_sequence_struct_field = x.m_unbounded_sequence_struct_field; + + return *this; +} + +CompleteTestType& CompleteTestType::operator =( + CompleteTestType&& x) noexcept +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = std::move(x.m_string_field); + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = std::move(x.m_struct_field); + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = std::move(x.m_string_opt_field); + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = std::move(x.m_struct_opt_field); + + + m_array_char_field = std::move(x.m_array_char_field); + + + m_array_uint8_field = std::move(x.m_array_uint8_field); + + + m_array_int16_field = std::move(x.m_array_int16_field); + + + m_array_uint16_field = std::move(x.m_array_uint16_field); + + + m_array_int32_field = std::move(x.m_array_int32_field); + + + m_array_uint32_field = std::move(x.m_array_uint32_field); + + + m_array_int64_field = std::move(x.m_array_int64_field); + + + m_array_uint64_field = std::move(x.m_array_uint64_field); + + + m_array_float_field = std::move(x.m_array_float_field); + + + m_array_double_field = std::move(x.m_array_double_field); + + + m_array_bool_field = std::move(x.m_array_bool_field); + + + m_array_enum_field = std::move(x.m_array_enum_field); + + + m_array_enum2_field = std::move(x.m_array_enum2_field); + + + m_array_struct_field = std::move(x.m_array_struct_field); + + + m_bounded_sequence_char_field = std::move(x.m_bounded_sequence_char_field); + + + m_bounded_sequence_uint8_field = std::move(x.m_bounded_sequence_uint8_field); + + + m_bounded_sequence_int16_field = std::move(x.m_bounded_sequence_int16_field); + + + m_bounded_sequence_uint16_field = std::move(x.m_bounded_sequence_uint16_field); + + + m_bounded_sequence_int32_field = std::move(x.m_bounded_sequence_int32_field); + + + m_bounded_sequence_uint32_field = std::move(x.m_bounded_sequence_uint32_field); + + + m_bounded_sequence_int64_field = std::move(x.m_bounded_sequence_int64_field); + + + m_bounded_sequence_uint64_field = std::move(x.m_bounded_sequence_uint64_field); + + + m_bounded_sequence_float_field = std::move(x.m_bounded_sequence_float_field); + + + m_bounded_sequence_double_field = std::move(x.m_bounded_sequence_double_field); + + + m_bounded_sequence_bool_field = std::move(x.m_bounded_sequence_bool_field); + + + m_bounded_sequence_enum_field = std::move(x.m_bounded_sequence_enum_field); + + + m_bounded_sequence_enum2_field = std::move(x.m_bounded_sequence_enum2_field); + + + m_bounded_sequence_struct_field = std::move(x.m_bounded_sequence_struct_field); + + + m_unbounded_sequence_char_field = std::move(x.m_unbounded_sequence_char_field); + + + m_unbounded_sequence_uint8_field = std::move(x.m_unbounded_sequence_uint8_field); + + + m_unbounded_sequence_int16_field = std::move(x.m_unbounded_sequence_int16_field); + + + m_unbounded_sequence_uint16_field = std::move(x.m_unbounded_sequence_uint16_field); + + + m_unbounded_sequence_int32_field = std::move(x.m_unbounded_sequence_int32_field); + + + m_unbounded_sequence_uint32_field = std::move(x.m_unbounded_sequence_uint32_field); + + + m_unbounded_sequence_int64_field = std::move(x.m_unbounded_sequence_int64_field); + + + m_unbounded_sequence_uint64_field = std::move(x.m_unbounded_sequence_uint64_field); + + + m_unbounded_sequence_float_field = std::move(x.m_unbounded_sequence_float_field); + + + m_unbounded_sequence_double_field = std::move(x.m_unbounded_sequence_double_field); + + + m_unbounded_sequence_bool_field = std::move(x.m_unbounded_sequence_bool_field); + + + m_unbounded_sequence_enum_field = std::move(x.m_unbounded_sequence_enum_field); + + + m_unbounded_sequence_enum2_field = std::move(x.m_unbounded_sequence_enum2_field); + + + m_unbounded_sequence_struct_field = std::move(x.m_unbounded_sequence_struct_field); + + return *this; +} + +bool CompleteTestType::operator ==( + const CompleteTestType& x) const +{ + return (m_char_field == x.m_char_field && + m_uint8_field == x.m_uint8_field && + m_int16_field == x.m_int16_field && + m_uint16_field == x.m_uint16_field && + m_int32_field == x.m_int32_field && + m_uint32_field == x.m_uint32_field && + m_int64_field == x.m_int64_field && + m_uint64_field == x.m_uint64_field && + m_float_field == x.m_float_field && + m_double_field == x.m_double_field && + m_bool_field == x.m_bool_field && + m_string_field == x.m_string_field && + m_enum_field == x.m_enum_field && + m_enum2_field == x.m_enum2_field && + m_struct_field == x.m_struct_field && + m_char_opt_field == x.m_char_opt_field && + m_uint8_opt_field == x.m_uint8_opt_field && + m_int16_opt_field == x.m_int16_opt_field && + m_uint16_opt_field == x.m_uint16_opt_field && + m_int32_opt_field == x.m_int32_opt_field && + m_uint32_opt_field == x.m_uint32_opt_field && + m_int64_opt_field == x.m_int64_opt_field && + m_uint64_opt_field == x.m_uint64_opt_field && + m_float_opt_field == x.m_float_opt_field && + m_double_opt_field == x.m_double_opt_field && + m_bool_opt_field == x.m_bool_opt_field && + m_string_opt_field == x.m_string_opt_field && + m_enum_opt_field == x.m_enum_opt_field && + m_enum2_opt_field == x.m_enum2_opt_field && + m_struct_opt_field == x.m_struct_opt_field && + m_array_char_field == x.m_array_char_field && + m_array_uint8_field == x.m_array_uint8_field && + m_array_int16_field == x.m_array_int16_field && + m_array_uint16_field == x.m_array_uint16_field && + m_array_int32_field == x.m_array_int32_field && + m_array_uint32_field == x.m_array_uint32_field && + m_array_int64_field == x.m_array_int64_field && + m_array_uint64_field == x.m_array_uint64_field && + m_array_float_field == x.m_array_float_field && + m_array_double_field == x.m_array_double_field && + m_array_bool_field == x.m_array_bool_field && + m_array_enum_field == x.m_array_enum_field && + m_array_enum2_field == x.m_array_enum2_field && + m_array_struct_field == x.m_array_struct_field && + m_bounded_sequence_char_field == x.m_bounded_sequence_char_field && + m_bounded_sequence_uint8_field == x.m_bounded_sequence_uint8_field && + m_bounded_sequence_int16_field == x.m_bounded_sequence_int16_field && + m_bounded_sequence_uint16_field == x.m_bounded_sequence_uint16_field && + m_bounded_sequence_int32_field == x.m_bounded_sequence_int32_field && + m_bounded_sequence_uint32_field == x.m_bounded_sequence_uint32_field && + m_bounded_sequence_int64_field == x.m_bounded_sequence_int64_field && + m_bounded_sequence_uint64_field == x.m_bounded_sequence_uint64_field && + m_bounded_sequence_float_field == x.m_bounded_sequence_float_field && + m_bounded_sequence_double_field == x.m_bounded_sequence_double_field && + m_bounded_sequence_bool_field == x.m_bounded_sequence_bool_field && + m_bounded_sequence_enum_field == x.m_bounded_sequence_enum_field && + m_bounded_sequence_enum2_field == x.m_bounded_sequence_enum2_field && + m_bounded_sequence_struct_field == x.m_bounded_sequence_struct_field && + m_unbounded_sequence_char_field == x.m_unbounded_sequence_char_field && + m_unbounded_sequence_uint8_field == x.m_unbounded_sequence_uint8_field && + m_unbounded_sequence_int16_field == x.m_unbounded_sequence_int16_field && + m_unbounded_sequence_uint16_field == x.m_unbounded_sequence_uint16_field && + m_unbounded_sequence_int32_field == x.m_unbounded_sequence_int32_field && + m_unbounded_sequence_uint32_field == x.m_unbounded_sequence_uint32_field && + m_unbounded_sequence_int64_field == x.m_unbounded_sequence_int64_field && + m_unbounded_sequence_uint64_field == x.m_unbounded_sequence_uint64_field && + m_unbounded_sequence_float_field == x.m_unbounded_sequence_float_field && + m_unbounded_sequence_double_field == x.m_unbounded_sequence_double_field && + m_unbounded_sequence_bool_field == x.m_unbounded_sequence_bool_field && + m_unbounded_sequence_enum_field == x.m_unbounded_sequence_enum_field && + m_unbounded_sequence_enum2_field == x.m_unbounded_sequence_enum2_field && + m_unbounded_sequence_struct_field == x.m_unbounded_sequence_struct_field); +} + +bool CompleteTestType::operator !=( + const CompleteTestType& x) const +{ + return !(*this == x); +} + +size_t CompleteTestType::getMaxCdrSerializedSize( + size_t current_alignment) +{ + static_cast(current_alignment); + return CompleteTestType_max_cdr_typesize; +} + +size_t CompleteTestType::getCdrSerializedSize( + const CompleteTestType& data, + size_t current_alignment) +{ + (void)data; + size_t initial_alignment = current_alignment; + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4) + data.string_field().size() + 1; + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += StructType::getCdrSerializedSize(data.struct_field(), current_alignment); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4) + data.string_opt_field().size() + 1; + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += StructType::getCdrSerializedSize(data.struct_opt_field(), current_alignment); + + + current_alignment += (((max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + + current_alignment += (((max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + + current_alignment += (((max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + + current_alignment += (((max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + + current_alignment += (((max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + + current_alignment += (((max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + + for(size_t a = 0; a < data.array_struct_field().size(); ++a) + { + current_alignment += StructType::getCdrSerializedSize(data.array_struct_field().at(a), current_alignment); + + } + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_char_field().size() > 0) + { + current_alignment += (data.bounded_sequence_char_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint8_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint8_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_int16_field().size() > 0) + { + current_alignment += (data.bounded_sequence_int16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint16_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_int32_field().size() > 0) + { + current_alignment += (data.bounded_sequence_int32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint32_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_int64_field().size() > 0) + { + current_alignment += (data.bounded_sequence_int64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint64_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_float_field().size() > 0) + { + current_alignment += (data.bounded_sequence_float_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_double_field().size() > 0) + { + current_alignment += (data.bounded_sequence_double_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_bool_field().size() > 0) + { + current_alignment += (data.bounded_sequence_bool_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_enum_field().size() > 0) + { + current_alignment += (data.bounded_sequence_enum_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_enum2_field().size() > 0) + { + current_alignment += (data.bounded_sequence_enum2_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + for(size_t a = 0; a < data.bounded_sequence_struct_field().size(); ++a) + { + current_alignment += StructType::getCdrSerializedSize(data.bounded_sequence_struct_field().at(a), current_alignment); + } + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_char_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_char_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint8_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint8_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_int16_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_int16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint16_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_int32_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_int32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint32_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_int64_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_int64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint64_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_float_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_float_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_double_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_double_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_bool_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_bool_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_enum_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_enum_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_enum2_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_enum2_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + for(size_t a = 0; a < data.unbounded_sequence_struct_field().size(); ++a) + { + current_alignment += StructType::getCdrSerializedSize(data.unbounded_sequence_struct_field().at(a), current_alignment); + } + + + + return current_alignment - initial_alignment; +} + + +void CompleteTestType::serialize( + eprosima::fastcdr::Cdr& scdr) const +{ + scdr << m_char_field; + + scdr << m_uint8_field; + + scdr << m_int16_field; + + scdr << m_uint16_field; + + scdr << m_int32_field; + + scdr << m_uint32_field; + + scdr << m_int64_field; + + scdr << m_uint64_field; + + scdr << m_float_field; + + scdr << m_double_field; + + scdr << m_bool_field; + + scdr << m_string_field.c_str(); + + scdr << (uint32_t)m_enum_field; + + scdr << (uint32_t)m_enum2_field; + + scdr << m_struct_field; + + scdr << m_char_opt_field; + + scdr << m_uint8_opt_field; + + scdr << m_int16_opt_field; + + scdr << m_uint16_opt_field; + + scdr << m_int32_opt_field; + + scdr << m_uint32_opt_field; + + scdr << m_int64_opt_field; + + scdr << m_uint64_opt_field; + + scdr << m_float_opt_field; + + scdr << m_double_opt_field; + + scdr << m_bool_opt_field; + + scdr << m_string_opt_field.c_str(); + + scdr << (uint32_t)m_enum_opt_field; + + scdr << (uint32_t)m_enum2_opt_field; + + scdr << m_struct_opt_field; + + scdr << m_array_char_field; + + + scdr << m_array_uint8_field; + + + scdr << m_array_int16_field; + + + scdr << m_array_uint16_field; + + + scdr << m_array_int32_field; + + + scdr << m_array_uint32_field; + + + scdr << m_array_int64_field; + + + scdr << m_array_uint64_field; + + + scdr << m_array_float_field; + + + scdr << m_array_double_field; + + + scdr << m_array_bool_field; + + + scdr.serializeArray(reinterpret_cast(m_array_enum_field.data()), m_array_enum_field.size()); + + + scdr.serializeArray(reinterpret_cast(m_array_enum2_field.data()), m_array_enum2_field.size()); + + + scdr << m_array_struct_field; + + + scdr << m_bounded_sequence_char_field; + + + scdr << m_bounded_sequence_uint8_field; + + + scdr << m_bounded_sequence_int16_field; + + + scdr << m_bounded_sequence_uint16_field; + + + scdr << m_bounded_sequence_int32_field; + + + scdr << m_bounded_sequence_uint32_field; + + + scdr << m_bounded_sequence_int64_field; + + + scdr << m_bounded_sequence_uint64_field; + + + scdr << m_bounded_sequence_float_field; + + + scdr << m_bounded_sequence_double_field; + + + scdr << m_bounded_sequence_bool_field; + + + scdr << static_cast(m_bounded_sequence_enum_field.size()); + scdr.serializeArray(reinterpret_cast(m_bounded_sequence_enum_field.data()), m_bounded_sequence_enum_field.size()); + + + scdr << static_cast(m_bounded_sequence_enum2_field.size()); + scdr.serializeArray(reinterpret_cast(m_bounded_sequence_enum2_field.data()), m_bounded_sequence_enum2_field.size()); + + + scdr << m_bounded_sequence_struct_field; + + + scdr << m_unbounded_sequence_char_field; + + + scdr << m_unbounded_sequence_uint8_field; + + + scdr << m_unbounded_sequence_int16_field; + + + scdr << m_unbounded_sequence_uint16_field; + + + scdr << m_unbounded_sequence_int32_field; + + + scdr << m_unbounded_sequence_uint32_field; + + + scdr << m_unbounded_sequence_int64_field; + + + scdr << m_unbounded_sequence_uint64_field; + + + scdr << m_unbounded_sequence_float_field; + + + scdr << m_unbounded_sequence_double_field; + + + scdr << m_unbounded_sequence_bool_field; + + + scdr << static_cast(m_unbounded_sequence_enum_field.size()); + scdr.serializeArray(reinterpret_cast(m_unbounded_sequence_enum_field.data()), m_unbounded_sequence_enum_field.size()); + + + scdr << static_cast(m_unbounded_sequence_enum2_field.size()); + scdr.serializeArray(reinterpret_cast(m_unbounded_sequence_enum2_field.data()), m_unbounded_sequence_enum2_field.size()); + + + scdr << m_unbounded_sequence_struct_field; + + +} + +void CompleteTestType::deserialize( + eprosima::fastcdr::Cdr& dcdr) +{ + dcdr >> m_char_field; + + + + dcdr >> m_uint8_field; + + + + dcdr >> m_int16_field; + + + + dcdr >> m_uint16_field; + + + + dcdr >> m_int32_field; + + + + dcdr >> m_uint32_field; + + + + dcdr >> m_int64_field; + + + + dcdr >> m_uint64_field; + + + + dcdr >> m_float_field; + + + + dcdr >> m_double_field; + + + + dcdr >> m_bool_field; + + + + dcdr >> m_string_field; + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum_field = (Color)enum_value; + } + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum2_field = (Material)enum_value; + } + + + + dcdr >> m_struct_field; + + + + dcdr >> m_char_opt_field; + + + + dcdr >> m_uint8_opt_field; + + + + dcdr >> m_int16_opt_field; + + + + dcdr >> m_uint16_opt_field; + + + + dcdr >> m_int32_opt_field; + + + + dcdr >> m_uint32_opt_field; + + + + dcdr >> m_int64_opt_field; + + + + dcdr >> m_uint64_opt_field; + + + + dcdr >> m_float_opt_field; + + + + dcdr >> m_double_opt_field; + + + + dcdr >> m_bool_opt_field; + + + + dcdr >> m_string_opt_field; + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum_opt_field = (Color)enum_value; + } + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum2_opt_field = (Material)enum_value; + } + + + + dcdr >> m_struct_opt_field; + + + + dcdr >> m_array_char_field; + + + + dcdr >> m_array_uint8_field; + + + + dcdr >> m_array_int16_field; + + + + dcdr >> m_array_uint16_field; + + + + dcdr >> m_array_int32_field; + + + + dcdr >> m_array_uint32_field; + + + + dcdr >> m_array_int64_field; + + + + dcdr >> m_array_uint64_field; + + + + dcdr >> m_array_float_field; + + + + dcdr >> m_array_double_field; + + + + dcdr >> m_array_bool_field; + + + + dcdr.deserializeArray(reinterpret_cast(m_array_enum_field.data()), m_array_enum_field.size()); + + + + dcdr.deserializeArray(reinterpret_cast(m_array_enum2_field.data()), m_array_enum2_field.size()); + + + + dcdr >> m_array_struct_field; + + + + dcdr >> m_bounded_sequence_char_field; + + + + dcdr >> m_bounded_sequence_uint8_field; + + + + dcdr >> m_bounded_sequence_int16_field; + + + + dcdr >> m_bounded_sequence_uint16_field; + + + + dcdr >> m_bounded_sequence_int32_field; + + + + dcdr >> m_bounded_sequence_uint32_field; + + + + dcdr >> m_bounded_sequence_int64_field; + + + + dcdr >> m_bounded_sequence_uint64_field; + + + + dcdr >> m_bounded_sequence_float_field; + + + + dcdr >> m_bounded_sequence_double_field; + + + + dcdr >> m_bounded_sequence_bool_field; + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_bounded_sequence_enum_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_bounded_sequence_enum_field.data()), seq_length); + } + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_bounded_sequence_enum2_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_bounded_sequence_enum2_field.data()), seq_length); + } + + + + dcdr >> m_bounded_sequence_struct_field; + + + + dcdr >> m_unbounded_sequence_char_field; + + + + dcdr >> m_unbounded_sequence_uint8_field; + + + + dcdr >> m_unbounded_sequence_int16_field; + + + + dcdr >> m_unbounded_sequence_uint16_field; + + + + dcdr >> m_unbounded_sequence_int32_field; + + + + dcdr >> m_unbounded_sequence_uint32_field; + + + + dcdr >> m_unbounded_sequence_int64_field; + + + + dcdr >> m_unbounded_sequence_uint64_field; + + + + dcdr >> m_unbounded_sequence_float_field; + + + + dcdr >> m_unbounded_sequence_double_field; + + + + dcdr >> m_unbounded_sequence_bool_field; + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_unbounded_sequence_enum_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_unbounded_sequence_enum_field.data()), seq_length); + } + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_unbounded_sequence_enum2_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_unbounded_sequence_enum2_field.data()), seq_length); + } + + + + dcdr >> m_unbounded_sequence_struct_field; + + +} + + +bool CompleteTestType::isKeyDefined() +{ + return false; +} + +void CompleteTestType::serializeKey( + eprosima::fastcdr::Cdr& scdr) const +{ + (void) scdr; +} + +/*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ +void CompleteTestType::char_field( + char _char_field) +{ + m_char_field = _char_field; +} + +/*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ +char CompleteTestType::char_field() const +{ + return m_char_field; +} + +/*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ +char& CompleteTestType::char_field() +{ + return m_char_field; +} + + +/*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ +void CompleteTestType::uint8_field( + uint8_t _uint8_field) +{ + m_uint8_field = _uint8_field; +} + +/*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ +uint8_t CompleteTestType::uint8_field() const +{ + return m_uint8_field; +} + +/*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ +uint8_t& CompleteTestType::uint8_field() +{ + return m_uint8_field; +} + + +/*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ +void CompleteTestType::int16_field( + int16_t _int16_field) +{ + m_int16_field = _int16_field; +} + +/*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ +int16_t CompleteTestType::int16_field() const +{ + return m_int16_field; +} + +/*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ +int16_t& CompleteTestType::int16_field() +{ + return m_int16_field; +} + + +/*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ +void CompleteTestType::uint16_field( + uint16_t _uint16_field) +{ + m_uint16_field = _uint16_field; +} + +/*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ +uint16_t CompleteTestType::uint16_field() const +{ + return m_uint16_field; +} + +/*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ +uint16_t& CompleteTestType::uint16_field() +{ + return m_uint16_field; +} + + +/*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ +void CompleteTestType::int32_field( + int32_t _int32_field) +{ + m_int32_field = _int32_field; +} + +/*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ +int32_t CompleteTestType::int32_field() const +{ + return m_int32_field; +} + +/*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ +int32_t& CompleteTestType::int32_field() +{ + return m_int32_field; +} + + +/*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ +void CompleteTestType::uint32_field( + uint32_t _uint32_field) +{ + m_uint32_field = _uint32_field; +} + +/*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ +uint32_t CompleteTestType::uint32_field() const +{ + return m_uint32_field; +} + +/*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ +uint32_t& CompleteTestType::uint32_field() +{ + return m_uint32_field; +} + + +/*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ +void CompleteTestType::int64_field( + int64_t _int64_field) +{ + m_int64_field = _int64_field; +} + +/*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ +int64_t CompleteTestType::int64_field() const +{ + return m_int64_field; +} + +/*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ +int64_t& CompleteTestType::int64_field() +{ + return m_int64_field; +} + + +/*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ +void CompleteTestType::uint64_field( + uint64_t _uint64_field) +{ + m_uint64_field = _uint64_field; +} + +/*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ +uint64_t CompleteTestType::uint64_field() const +{ + return m_uint64_field; +} + +/*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ +uint64_t& CompleteTestType::uint64_field() +{ + return m_uint64_field; +} + + +/*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ +void CompleteTestType::float_field( + float _float_field) +{ + m_float_field = _float_field; +} + +/*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ +float CompleteTestType::float_field() const +{ + return m_float_field; +} + +/*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ +float& CompleteTestType::float_field() +{ + return m_float_field; +} + + +/*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ +void CompleteTestType::double_field( + double _double_field) +{ + m_double_field = _double_field; +} + +/*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ +double CompleteTestType::double_field() const +{ + return m_double_field; +} + +/*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ +double& CompleteTestType::double_field() +{ + return m_double_field; +} + + +/*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ +void CompleteTestType::bool_field( + bool _bool_field) +{ + m_bool_field = _bool_field; +} + +/*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ +bool CompleteTestType::bool_field() const +{ + return m_bool_field; +} + +/*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ +bool& CompleteTestType::bool_field() +{ + return m_bool_field; +} + + +/*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ +void CompleteTestType::string_field( + const std::string& _string_field) +{ + m_string_field = _string_field; +} + +/*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ +void CompleteTestType::string_field( + std::string&& _string_field) +{ + m_string_field = std::move(_string_field); +} + +/*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ +const std::string& CompleteTestType::string_field() const +{ + return m_string_field; +} + +/*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ +std::string& CompleteTestType::string_field() +{ + return m_string_field; +} + + +/*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ +void CompleteTestType::enum_field( + Color _enum_field) +{ + m_enum_field = _enum_field; +} + +/*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ +Color CompleteTestType::enum_field() const +{ + return m_enum_field; +} + +/*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ +Color& CompleteTestType::enum_field() +{ + return m_enum_field; +} + + +/*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ +void CompleteTestType::enum2_field( + Material _enum2_field) +{ + m_enum2_field = _enum2_field; +} + +/*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ +Material CompleteTestType::enum2_field() const +{ + return m_enum2_field; +} + +/*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ +Material& CompleteTestType::enum2_field() +{ + return m_enum2_field; +} + + +/*! + * @brief This function copies the value in member struct_field + * @param _struct_field New value to be copied in member struct_field + */ +void CompleteTestType::struct_field( + const StructType& _struct_field) +{ + m_struct_field = _struct_field; +} + +/*! + * @brief This function moves the value in member struct_field + * @param _struct_field New value to be moved in member struct_field + */ +void CompleteTestType::struct_field( + StructType&& _struct_field) +{ + m_struct_field = std::move(_struct_field); +} + +/*! + * @brief This function returns a constant reference to member struct_field + * @return Constant reference to member struct_field + */ +const StructType& CompleteTestType::struct_field() const +{ + return m_struct_field; +} + +/*! + * @brief This function returns a reference to member struct_field + * @return Reference to member struct_field + */ +StructType& CompleteTestType::struct_field() +{ + return m_struct_field; +} + + +/*! + * @brief This function sets a value in member char_opt_field + * @param _char_opt_field New value for member char_opt_field + */ +void CompleteTestType::char_opt_field( + char _char_opt_field) +{ + m_char_opt_field = _char_opt_field; +} + +/*! + * @brief This function returns the value of member char_opt_field + * @return Value of member char_opt_field + */ +char CompleteTestType::char_opt_field() const +{ + return m_char_opt_field; +} + +/*! + * @brief This function returns a reference to member char_opt_field + * @return Reference to member char_opt_field + */ +char& CompleteTestType::char_opt_field() +{ + return m_char_opt_field; +} + + +/*! + * @brief This function sets a value in member uint8_opt_field + * @param _uint8_opt_field New value for member uint8_opt_field + */ +void CompleteTestType::uint8_opt_field( + uint8_t _uint8_opt_field) +{ + m_uint8_opt_field = _uint8_opt_field; +} + +/*! + * @brief This function returns the value of member uint8_opt_field + * @return Value of member uint8_opt_field + */ +uint8_t CompleteTestType::uint8_opt_field() const +{ + return m_uint8_opt_field; +} + +/*! + * @brief This function returns a reference to member uint8_opt_field + * @return Reference to member uint8_opt_field + */ +uint8_t& CompleteTestType::uint8_opt_field() +{ + return m_uint8_opt_field; +} + + +/*! + * @brief This function sets a value in member int16_opt_field + * @param _int16_opt_field New value for member int16_opt_field + */ +void CompleteTestType::int16_opt_field( + int16_t _int16_opt_field) +{ + m_int16_opt_field = _int16_opt_field; +} + +/*! + * @brief This function returns the value of member int16_opt_field + * @return Value of member int16_opt_field + */ +int16_t CompleteTestType::int16_opt_field() const +{ + return m_int16_opt_field; +} + +/*! + * @brief This function returns a reference to member int16_opt_field + * @return Reference to member int16_opt_field + */ +int16_t& CompleteTestType::int16_opt_field() +{ + return m_int16_opt_field; +} + + +/*! + * @brief This function sets a value in member uint16_opt_field + * @param _uint16_opt_field New value for member uint16_opt_field + */ +void CompleteTestType::uint16_opt_field( + uint16_t _uint16_opt_field) +{ + m_uint16_opt_field = _uint16_opt_field; +} + +/*! + * @brief This function returns the value of member uint16_opt_field + * @return Value of member uint16_opt_field + */ +uint16_t CompleteTestType::uint16_opt_field() const +{ + return m_uint16_opt_field; +} + +/*! + * @brief This function returns a reference to member uint16_opt_field + * @return Reference to member uint16_opt_field + */ +uint16_t& CompleteTestType::uint16_opt_field() +{ + return m_uint16_opt_field; +} + + +/*! + * @brief This function sets a value in member int32_opt_field + * @param _int32_opt_field New value for member int32_opt_field + */ +void CompleteTestType::int32_opt_field( + int32_t _int32_opt_field) +{ + m_int32_opt_field = _int32_opt_field; +} + +/*! + * @brief This function returns the value of member int32_opt_field + * @return Value of member int32_opt_field + */ +int32_t CompleteTestType::int32_opt_field() const +{ + return m_int32_opt_field; +} + +/*! + * @brief This function returns a reference to member int32_opt_field + * @return Reference to member int32_opt_field + */ +int32_t& CompleteTestType::int32_opt_field() +{ + return m_int32_opt_field; +} + + +/*! + * @brief This function sets a value in member uint32_opt_field + * @param _uint32_opt_field New value for member uint32_opt_field + */ +void CompleteTestType::uint32_opt_field( + uint32_t _uint32_opt_field) +{ + m_uint32_opt_field = _uint32_opt_field; +} + +/*! + * @brief This function returns the value of member uint32_opt_field + * @return Value of member uint32_opt_field + */ +uint32_t CompleteTestType::uint32_opt_field() const +{ + return m_uint32_opt_field; +} + +/*! + * @brief This function returns a reference to member uint32_opt_field + * @return Reference to member uint32_opt_field + */ +uint32_t& CompleteTestType::uint32_opt_field() +{ + return m_uint32_opt_field; +} + + +/*! + * @brief This function sets a value in member int64_opt_field + * @param _int64_opt_field New value for member int64_opt_field + */ +void CompleteTestType::int64_opt_field( + int64_t _int64_opt_field) +{ + m_int64_opt_field = _int64_opt_field; +} + +/*! + * @brief This function returns the value of member int64_opt_field + * @return Value of member int64_opt_field + */ +int64_t CompleteTestType::int64_opt_field() const +{ + return m_int64_opt_field; +} + +/*! + * @brief This function returns a reference to member int64_opt_field + * @return Reference to member int64_opt_field + */ +int64_t& CompleteTestType::int64_opt_field() +{ + return m_int64_opt_field; +} + + +/*! + * @brief This function sets a value in member uint64_opt_field + * @param _uint64_opt_field New value for member uint64_opt_field + */ +void CompleteTestType::uint64_opt_field( + uint64_t _uint64_opt_field) +{ + m_uint64_opt_field = _uint64_opt_field; +} + +/*! + * @brief This function returns the value of member uint64_opt_field + * @return Value of member uint64_opt_field + */ +uint64_t CompleteTestType::uint64_opt_field() const +{ + return m_uint64_opt_field; +} + +/*! + * @brief This function returns a reference to member uint64_opt_field + * @return Reference to member uint64_opt_field + */ +uint64_t& CompleteTestType::uint64_opt_field() +{ + return m_uint64_opt_field; +} + + +/*! + * @brief This function sets a value in member float_opt_field + * @param _float_opt_field New value for member float_opt_field + */ +void CompleteTestType::float_opt_field( + float _float_opt_field) +{ + m_float_opt_field = _float_opt_field; +} + +/*! + * @brief This function returns the value of member float_opt_field + * @return Value of member float_opt_field + */ +float CompleteTestType::float_opt_field() const +{ + return m_float_opt_field; +} + +/*! + * @brief This function returns a reference to member float_opt_field + * @return Reference to member float_opt_field + */ +float& CompleteTestType::float_opt_field() +{ + return m_float_opt_field; +} + + +/*! + * @brief This function sets a value in member double_opt_field + * @param _double_opt_field New value for member double_opt_field + */ +void CompleteTestType::double_opt_field( + double _double_opt_field) +{ + m_double_opt_field = _double_opt_field; +} + +/*! + * @brief This function returns the value of member double_opt_field + * @return Value of member double_opt_field + */ +double CompleteTestType::double_opt_field() const +{ + return m_double_opt_field; +} + +/*! + * @brief This function returns a reference to member double_opt_field + * @return Reference to member double_opt_field + */ +double& CompleteTestType::double_opt_field() +{ + return m_double_opt_field; +} + + +/*! + * @brief This function sets a value in member bool_opt_field + * @param _bool_opt_field New value for member bool_opt_field + */ +void CompleteTestType::bool_opt_field( + bool _bool_opt_field) +{ + m_bool_opt_field = _bool_opt_field; +} + +/*! + * @brief This function returns the value of member bool_opt_field + * @return Value of member bool_opt_field + */ +bool CompleteTestType::bool_opt_field() const +{ + return m_bool_opt_field; +} + +/*! + * @brief This function returns a reference to member bool_opt_field + * @return Reference to member bool_opt_field + */ +bool& CompleteTestType::bool_opt_field() +{ + return m_bool_opt_field; +} + + +/*! + * @brief This function copies the value in member string_opt_field + * @param _string_opt_field New value to be copied in member string_opt_field + */ +void CompleteTestType::string_opt_field( + const std::string& _string_opt_field) +{ + m_string_opt_field = _string_opt_field; +} + +/*! + * @brief This function moves the value in member string_opt_field + * @param _string_opt_field New value to be moved in member string_opt_field + */ +void CompleteTestType::string_opt_field( + std::string&& _string_opt_field) +{ + m_string_opt_field = std::move(_string_opt_field); +} + +/*! + * @brief This function returns a constant reference to member string_opt_field + * @return Constant reference to member string_opt_field + */ +const std::string& CompleteTestType::string_opt_field() const +{ + return m_string_opt_field; +} + +/*! + * @brief This function returns a reference to member string_opt_field + * @return Reference to member string_opt_field + */ +std::string& CompleteTestType::string_opt_field() +{ + return m_string_opt_field; +} + + +/*! + * @brief This function sets a value in member enum_opt_field + * @param _enum_opt_field New value for member enum_opt_field + */ +void CompleteTestType::enum_opt_field( + Color _enum_opt_field) +{ + m_enum_opt_field = _enum_opt_field; +} + +/*! + * @brief This function returns the value of member enum_opt_field + * @return Value of member enum_opt_field + */ +Color CompleteTestType::enum_opt_field() const +{ + return m_enum_opt_field; +} + +/*! + * @brief This function returns a reference to member enum_opt_field + * @return Reference to member enum_opt_field + */ +Color& CompleteTestType::enum_opt_field() +{ + return m_enum_opt_field; +} + + +/*! + * @brief This function sets a value in member enum2_opt_field + * @param _enum2_opt_field New value for member enum2_opt_field + */ +void CompleteTestType::enum2_opt_field( + Material _enum2_opt_field) +{ + m_enum2_opt_field = _enum2_opt_field; +} + +/*! + * @brief This function returns the value of member enum2_opt_field + * @return Value of member enum2_opt_field + */ +Material CompleteTestType::enum2_opt_field() const +{ + return m_enum2_opt_field; +} + +/*! + * @brief This function returns a reference to member enum2_opt_field + * @return Reference to member enum2_opt_field + */ +Material& CompleteTestType::enum2_opt_field() +{ + return m_enum2_opt_field; +} + + +/*! + * @brief This function copies the value in member struct_opt_field + * @param _struct_opt_field New value to be copied in member struct_opt_field + */ +void CompleteTestType::struct_opt_field( + const StructType& _struct_opt_field) +{ + m_struct_opt_field = _struct_opt_field; +} + +/*! + * @brief This function moves the value in member struct_opt_field + * @param _struct_opt_field New value to be moved in member struct_opt_field + */ +void CompleteTestType::struct_opt_field( + StructType&& _struct_opt_field) +{ + m_struct_opt_field = std::move(_struct_opt_field); +} + +/*! + * @brief This function returns a constant reference to member struct_opt_field + * @return Constant reference to member struct_opt_field + */ +const StructType& CompleteTestType::struct_opt_field() const +{ + return m_struct_opt_field; +} + +/*! + * @brief This function returns a reference to member struct_opt_field + * @return Reference to member struct_opt_field + */ +StructType& CompleteTestType::struct_opt_field() +{ + return m_struct_opt_field; +} + + +/*! + * @brief This function copies the value in member array_char_field + * @param _array_char_field New value to be copied in member array_char_field + */ +void CompleteTestType::array_char_field( + const std::array& _array_char_field) +{ + m_array_char_field = _array_char_field; +} + +/*! + * @brief This function moves the value in member array_char_field + * @param _array_char_field New value to be moved in member array_char_field + */ +void CompleteTestType::array_char_field( + std::array&& _array_char_field) +{ + m_array_char_field = std::move(_array_char_field); +} + +/*! + * @brief This function returns a constant reference to member array_char_field + * @return Constant reference to member array_char_field + */ +const std::array& CompleteTestType::array_char_field() const +{ + return m_array_char_field; +} + +/*! + * @brief This function returns a reference to member array_char_field + * @return Reference to member array_char_field + */ +std::array& CompleteTestType::array_char_field() +{ + return m_array_char_field; +} + + +/*! + * @brief This function copies the value in member array_uint8_field + * @param _array_uint8_field New value to be copied in member array_uint8_field + */ +void CompleteTestType::array_uint8_field( + const std::array& _array_uint8_field) +{ + m_array_uint8_field = _array_uint8_field; +} + +/*! + * @brief This function moves the value in member array_uint8_field + * @param _array_uint8_field New value to be moved in member array_uint8_field + */ +void CompleteTestType::array_uint8_field( + std::array&& _array_uint8_field) +{ + m_array_uint8_field = std::move(_array_uint8_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint8_field + * @return Constant reference to member array_uint8_field + */ +const std::array& CompleteTestType::array_uint8_field() const +{ + return m_array_uint8_field; +} + +/*! + * @brief This function returns a reference to member array_uint8_field + * @return Reference to member array_uint8_field + */ +std::array& CompleteTestType::array_uint8_field() +{ + return m_array_uint8_field; +} + + +/*! + * @brief This function copies the value in member array_int16_field + * @param _array_int16_field New value to be copied in member array_int16_field + */ +void CompleteTestType::array_int16_field( + const std::array& _array_int16_field) +{ + m_array_int16_field = _array_int16_field; +} + +/*! + * @brief This function moves the value in member array_int16_field + * @param _array_int16_field New value to be moved in member array_int16_field + */ +void CompleteTestType::array_int16_field( + std::array&& _array_int16_field) +{ + m_array_int16_field = std::move(_array_int16_field); +} + +/*! + * @brief This function returns a constant reference to member array_int16_field + * @return Constant reference to member array_int16_field + */ +const std::array& CompleteTestType::array_int16_field() const +{ + return m_array_int16_field; +} + +/*! + * @brief This function returns a reference to member array_int16_field + * @return Reference to member array_int16_field + */ +std::array& CompleteTestType::array_int16_field() +{ + return m_array_int16_field; +} + + +/*! + * @brief This function copies the value in member array_uint16_field + * @param _array_uint16_field New value to be copied in member array_uint16_field + */ +void CompleteTestType::array_uint16_field( + const std::array& _array_uint16_field) +{ + m_array_uint16_field = _array_uint16_field; +} + +/*! + * @brief This function moves the value in member array_uint16_field + * @param _array_uint16_field New value to be moved in member array_uint16_field + */ +void CompleteTestType::array_uint16_field( + std::array&& _array_uint16_field) +{ + m_array_uint16_field = std::move(_array_uint16_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint16_field + * @return Constant reference to member array_uint16_field + */ +const std::array& CompleteTestType::array_uint16_field() const +{ + return m_array_uint16_field; +} + +/*! + * @brief This function returns a reference to member array_uint16_field + * @return Reference to member array_uint16_field + */ +std::array& CompleteTestType::array_uint16_field() +{ + return m_array_uint16_field; +} + + +/*! + * @brief This function copies the value in member array_int32_field + * @param _array_int32_field New value to be copied in member array_int32_field + */ +void CompleteTestType::array_int32_field( + const std::array& _array_int32_field) +{ + m_array_int32_field = _array_int32_field; +} + +/*! + * @brief This function moves the value in member array_int32_field + * @param _array_int32_field New value to be moved in member array_int32_field + */ +void CompleteTestType::array_int32_field( + std::array&& _array_int32_field) +{ + m_array_int32_field = std::move(_array_int32_field); +} + +/*! + * @brief This function returns a constant reference to member array_int32_field + * @return Constant reference to member array_int32_field + */ +const std::array& CompleteTestType::array_int32_field() const +{ + return m_array_int32_field; +} + +/*! + * @brief This function returns a reference to member array_int32_field + * @return Reference to member array_int32_field + */ +std::array& CompleteTestType::array_int32_field() +{ + return m_array_int32_field; +} + + +/*! + * @brief This function copies the value in member array_uint32_field + * @param _array_uint32_field New value to be copied in member array_uint32_field + */ +void CompleteTestType::array_uint32_field( + const std::array& _array_uint32_field) +{ + m_array_uint32_field = _array_uint32_field; +} + +/*! + * @brief This function moves the value in member array_uint32_field + * @param _array_uint32_field New value to be moved in member array_uint32_field + */ +void CompleteTestType::array_uint32_field( + std::array&& _array_uint32_field) +{ + m_array_uint32_field = std::move(_array_uint32_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint32_field + * @return Constant reference to member array_uint32_field + */ +const std::array& CompleteTestType::array_uint32_field() const +{ + return m_array_uint32_field; +} + +/*! + * @brief This function returns a reference to member array_uint32_field + * @return Reference to member array_uint32_field + */ +std::array& CompleteTestType::array_uint32_field() +{ + return m_array_uint32_field; +} + + +/*! + * @brief This function copies the value in member array_int64_field + * @param _array_int64_field New value to be copied in member array_int64_field + */ +void CompleteTestType::array_int64_field( + const std::array& _array_int64_field) +{ + m_array_int64_field = _array_int64_field; +} + +/*! + * @brief This function moves the value in member array_int64_field + * @param _array_int64_field New value to be moved in member array_int64_field + */ +void CompleteTestType::array_int64_field( + std::array&& _array_int64_field) +{ + m_array_int64_field = std::move(_array_int64_field); +} + +/*! + * @brief This function returns a constant reference to member array_int64_field + * @return Constant reference to member array_int64_field + */ +const std::array& CompleteTestType::array_int64_field() const +{ + return m_array_int64_field; +} + +/*! + * @brief This function returns a reference to member array_int64_field + * @return Reference to member array_int64_field + */ +std::array& CompleteTestType::array_int64_field() +{ + return m_array_int64_field; +} + + +/*! + * @brief This function copies the value in member array_uint64_field + * @param _array_uint64_field New value to be copied in member array_uint64_field + */ +void CompleteTestType::array_uint64_field( + const std::array& _array_uint64_field) +{ + m_array_uint64_field = _array_uint64_field; +} + +/*! + * @brief This function moves the value in member array_uint64_field + * @param _array_uint64_field New value to be moved in member array_uint64_field + */ +void CompleteTestType::array_uint64_field( + std::array&& _array_uint64_field) +{ + m_array_uint64_field = std::move(_array_uint64_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint64_field + * @return Constant reference to member array_uint64_field + */ +const std::array& CompleteTestType::array_uint64_field() const +{ + return m_array_uint64_field; +} + +/*! + * @brief This function returns a reference to member array_uint64_field + * @return Reference to member array_uint64_field + */ +std::array& CompleteTestType::array_uint64_field() +{ + return m_array_uint64_field; +} + + +/*! + * @brief This function copies the value in member array_float_field + * @param _array_float_field New value to be copied in member array_float_field + */ +void CompleteTestType::array_float_field( + const std::array& _array_float_field) +{ + m_array_float_field = _array_float_field; +} + +/*! + * @brief This function moves the value in member array_float_field + * @param _array_float_field New value to be moved in member array_float_field + */ +void CompleteTestType::array_float_field( + std::array&& _array_float_field) +{ + m_array_float_field = std::move(_array_float_field); +} + +/*! + * @brief This function returns a constant reference to member array_float_field + * @return Constant reference to member array_float_field + */ +const std::array& CompleteTestType::array_float_field() const +{ + return m_array_float_field; +} + +/*! + * @brief This function returns a reference to member array_float_field + * @return Reference to member array_float_field + */ +std::array& CompleteTestType::array_float_field() +{ + return m_array_float_field; +} + + +/*! + * @brief This function copies the value in member array_double_field + * @param _array_double_field New value to be copied in member array_double_field + */ +void CompleteTestType::array_double_field( + const std::array& _array_double_field) +{ + m_array_double_field = _array_double_field; +} + +/*! + * @brief This function moves the value in member array_double_field + * @param _array_double_field New value to be moved in member array_double_field + */ +void CompleteTestType::array_double_field( + std::array&& _array_double_field) +{ + m_array_double_field = std::move(_array_double_field); +} + +/*! + * @brief This function returns a constant reference to member array_double_field + * @return Constant reference to member array_double_field + */ +const std::array& CompleteTestType::array_double_field() const +{ + return m_array_double_field; +} + +/*! + * @brief This function returns a reference to member array_double_field + * @return Reference to member array_double_field + */ +std::array& CompleteTestType::array_double_field() +{ + return m_array_double_field; +} + + +/*! + * @brief This function copies the value in member array_bool_field + * @param _array_bool_field New value to be copied in member array_bool_field + */ +void CompleteTestType::array_bool_field( + const std::array& _array_bool_field) +{ + m_array_bool_field = _array_bool_field; +} + +/*! + * @brief This function moves the value in member array_bool_field + * @param _array_bool_field New value to be moved in member array_bool_field + */ +void CompleteTestType::array_bool_field( + std::array&& _array_bool_field) +{ + m_array_bool_field = std::move(_array_bool_field); +} + +/*! + * @brief This function returns a constant reference to member array_bool_field + * @return Constant reference to member array_bool_field + */ +const std::array& CompleteTestType::array_bool_field() const +{ + return m_array_bool_field; +} + +/*! + * @brief This function returns a reference to member array_bool_field + * @return Reference to member array_bool_field + */ +std::array& CompleteTestType::array_bool_field() +{ + return m_array_bool_field; +} + + +/*! + * @brief This function copies the value in member array_enum_field + * @param _array_enum_field New value to be copied in member array_enum_field + */ +void CompleteTestType::array_enum_field( + const std::array& _array_enum_field) +{ + m_array_enum_field = _array_enum_field; +} + +/*! + * @brief This function moves the value in member array_enum_field + * @param _array_enum_field New value to be moved in member array_enum_field + */ +void CompleteTestType::array_enum_field( + std::array&& _array_enum_field) +{ + m_array_enum_field = std::move(_array_enum_field); +} + +/*! + * @brief This function returns a constant reference to member array_enum_field + * @return Constant reference to member array_enum_field + */ +const std::array& CompleteTestType::array_enum_field() const +{ + return m_array_enum_field; +} + +/*! + * @brief This function returns a reference to member array_enum_field + * @return Reference to member array_enum_field + */ +std::array& CompleteTestType::array_enum_field() +{ + return m_array_enum_field; +} + + +/*! + * @brief This function copies the value in member array_enum2_field + * @param _array_enum2_field New value to be copied in member array_enum2_field + */ +void CompleteTestType::array_enum2_field( + const std::array& _array_enum2_field) +{ + m_array_enum2_field = _array_enum2_field; +} + +/*! + * @brief This function moves the value in member array_enum2_field + * @param _array_enum2_field New value to be moved in member array_enum2_field + */ +void CompleteTestType::array_enum2_field( + std::array&& _array_enum2_field) +{ + m_array_enum2_field = std::move(_array_enum2_field); +} + +/*! + * @brief This function returns a constant reference to member array_enum2_field + * @return Constant reference to member array_enum2_field + */ +const std::array& CompleteTestType::array_enum2_field() const +{ + return m_array_enum2_field; +} + +/*! + * @brief This function returns a reference to member array_enum2_field + * @return Reference to member array_enum2_field + */ +std::array& CompleteTestType::array_enum2_field() +{ + return m_array_enum2_field; +} + + +/*! + * @brief This function copies the value in member array_struct_field + * @param _array_struct_field New value to be copied in member array_struct_field + */ +void CompleteTestType::array_struct_field( + const std::array& _array_struct_field) +{ + m_array_struct_field = _array_struct_field; +} + +/*! + * @brief This function moves the value in member array_struct_field + * @param _array_struct_field New value to be moved in member array_struct_field + */ +void CompleteTestType::array_struct_field( + std::array&& _array_struct_field) +{ + m_array_struct_field = std::move(_array_struct_field); +} + +/*! + * @brief This function returns a constant reference to member array_struct_field + * @return Constant reference to member array_struct_field + */ +const std::array& CompleteTestType::array_struct_field() const +{ + return m_array_struct_field; +} + +/*! + * @brief This function returns a reference to member array_struct_field + * @return Reference to member array_struct_field + */ +std::array& CompleteTestType::array_struct_field() +{ + return m_array_struct_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be copied in member bounded_sequence_char_field + */ +void CompleteTestType::bounded_sequence_char_field( + const std::vector& _bounded_sequence_char_field) +{ + m_bounded_sequence_char_field = _bounded_sequence_char_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be moved in member bounded_sequence_char_field + */ +void CompleteTestType::bounded_sequence_char_field( + std::vector&& _bounded_sequence_char_field) +{ + m_bounded_sequence_char_field = std::move(_bounded_sequence_char_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_char_field + * @return Constant reference to member bounded_sequence_char_field + */ +const std::vector& CompleteTestType::bounded_sequence_char_field() const +{ + return m_bounded_sequence_char_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_char_field + * @return Reference to member bounded_sequence_char_field + */ +std::vector& CompleteTestType::bounded_sequence_char_field() +{ + return m_bounded_sequence_char_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be copied in member bounded_sequence_uint8_field + */ +void CompleteTestType::bounded_sequence_uint8_field( + const std::vector& _bounded_sequence_uint8_field) +{ + m_bounded_sequence_uint8_field = _bounded_sequence_uint8_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be moved in member bounded_sequence_uint8_field + */ +void CompleteTestType::bounded_sequence_uint8_field( + std::vector&& _bounded_sequence_uint8_field) +{ + m_bounded_sequence_uint8_field = std::move(_bounded_sequence_uint8_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint8_field + * @return Constant reference to member bounded_sequence_uint8_field + */ +const std::vector& CompleteTestType::bounded_sequence_uint8_field() const +{ + return m_bounded_sequence_uint8_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint8_field + * @return Reference to member bounded_sequence_uint8_field + */ +std::vector& CompleteTestType::bounded_sequence_uint8_field() +{ + return m_bounded_sequence_uint8_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be copied in member bounded_sequence_int16_field + */ +void CompleteTestType::bounded_sequence_int16_field( + const std::vector& _bounded_sequence_int16_field) +{ + m_bounded_sequence_int16_field = _bounded_sequence_int16_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be moved in member bounded_sequence_int16_field + */ +void CompleteTestType::bounded_sequence_int16_field( + std::vector&& _bounded_sequence_int16_field) +{ + m_bounded_sequence_int16_field = std::move(_bounded_sequence_int16_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_int16_field + * @return Constant reference to member bounded_sequence_int16_field + */ +const std::vector& CompleteTestType::bounded_sequence_int16_field() const +{ + return m_bounded_sequence_int16_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_int16_field + * @return Reference to member bounded_sequence_int16_field + */ +std::vector& CompleteTestType::bounded_sequence_int16_field() +{ + return m_bounded_sequence_int16_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be copied in member bounded_sequence_uint16_field + */ +void CompleteTestType::bounded_sequence_uint16_field( + const std::vector& _bounded_sequence_uint16_field) +{ + m_bounded_sequence_uint16_field = _bounded_sequence_uint16_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be moved in member bounded_sequence_uint16_field + */ +void CompleteTestType::bounded_sequence_uint16_field( + std::vector&& _bounded_sequence_uint16_field) +{ + m_bounded_sequence_uint16_field = std::move(_bounded_sequence_uint16_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint16_field + * @return Constant reference to member bounded_sequence_uint16_field + */ +const std::vector& CompleteTestType::bounded_sequence_uint16_field() const +{ + return m_bounded_sequence_uint16_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint16_field + * @return Reference to member bounded_sequence_uint16_field + */ +std::vector& CompleteTestType::bounded_sequence_uint16_field() +{ + return m_bounded_sequence_uint16_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be copied in member bounded_sequence_int32_field + */ +void CompleteTestType::bounded_sequence_int32_field( + const std::vector& _bounded_sequence_int32_field) +{ + m_bounded_sequence_int32_field = _bounded_sequence_int32_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be moved in member bounded_sequence_int32_field + */ +void CompleteTestType::bounded_sequence_int32_field( + std::vector&& _bounded_sequence_int32_field) +{ + m_bounded_sequence_int32_field = std::move(_bounded_sequence_int32_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_int32_field + * @return Constant reference to member bounded_sequence_int32_field + */ +const std::vector& CompleteTestType::bounded_sequence_int32_field() const +{ + return m_bounded_sequence_int32_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_int32_field + * @return Reference to member bounded_sequence_int32_field + */ +std::vector& CompleteTestType::bounded_sequence_int32_field() +{ + return m_bounded_sequence_int32_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be copied in member bounded_sequence_uint32_field + */ +void CompleteTestType::bounded_sequence_uint32_field( + const std::vector& _bounded_sequence_uint32_field) +{ + m_bounded_sequence_uint32_field = _bounded_sequence_uint32_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be moved in member bounded_sequence_uint32_field + */ +void CompleteTestType::bounded_sequence_uint32_field( + std::vector&& _bounded_sequence_uint32_field) +{ + m_bounded_sequence_uint32_field = std::move(_bounded_sequence_uint32_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint32_field + * @return Constant reference to member bounded_sequence_uint32_field + */ +const std::vector& CompleteTestType::bounded_sequence_uint32_field() const +{ + return m_bounded_sequence_uint32_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint32_field + * @return Reference to member bounded_sequence_uint32_field + */ +std::vector& CompleteTestType::bounded_sequence_uint32_field() +{ + return m_bounded_sequence_uint32_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be copied in member bounded_sequence_int64_field + */ +void CompleteTestType::bounded_sequence_int64_field( + const std::vector& _bounded_sequence_int64_field) +{ + m_bounded_sequence_int64_field = _bounded_sequence_int64_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be moved in member bounded_sequence_int64_field + */ +void CompleteTestType::bounded_sequence_int64_field( + std::vector&& _bounded_sequence_int64_field) +{ + m_bounded_sequence_int64_field = std::move(_bounded_sequence_int64_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_int64_field + * @return Constant reference to member bounded_sequence_int64_field + */ +const std::vector& CompleteTestType::bounded_sequence_int64_field() const +{ + return m_bounded_sequence_int64_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_int64_field + * @return Reference to member bounded_sequence_int64_field + */ +std::vector& CompleteTestType::bounded_sequence_int64_field() +{ + return m_bounded_sequence_int64_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be copied in member bounded_sequence_uint64_field + */ +void CompleteTestType::bounded_sequence_uint64_field( + const std::vector& _bounded_sequence_uint64_field) +{ + m_bounded_sequence_uint64_field = _bounded_sequence_uint64_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be moved in member bounded_sequence_uint64_field + */ +void CompleteTestType::bounded_sequence_uint64_field( + std::vector&& _bounded_sequence_uint64_field) +{ + m_bounded_sequence_uint64_field = std::move(_bounded_sequence_uint64_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint64_field + * @return Constant reference to member bounded_sequence_uint64_field + */ +const std::vector& CompleteTestType::bounded_sequence_uint64_field() const +{ + return m_bounded_sequence_uint64_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint64_field + * @return Reference to member bounded_sequence_uint64_field + */ +std::vector& CompleteTestType::bounded_sequence_uint64_field() +{ + return m_bounded_sequence_uint64_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be copied in member bounded_sequence_float_field + */ +void CompleteTestType::bounded_sequence_float_field( + const std::vector& _bounded_sequence_float_field) +{ + m_bounded_sequence_float_field = _bounded_sequence_float_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be moved in member bounded_sequence_float_field + */ +void CompleteTestType::bounded_sequence_float_field( + std::vector&& _bounded_sequence_float_field) +{ + m_bounded_sequence_float_field = std::move(_bounded_sequence_float_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_float_field + * @return Constant reference to member bounded_sequence_float_field + */ +const std::vector& CompleteTestType::bounded_sequence_float_field() const +{ + return m_bounded_sequence_float_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_float_field + * @return Reference to member bounded_sequence_float_field + */ +std::vector& CompleteTestType::bounded_sequence_float_field() +{ + return m_bounded_sequence_float_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be copied in member bounded_sequence_double_field + */ +void CompleteTestType::bounded_sequence_double_field( + const std::vector& _bounded_sequence_double_field) +{ + m_bounded_sequence_double_field = _bounded_sequence_double_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be moved in member bounded_sequence_double_field + */ +void CompleteTestType::bounded_sequence_double_field( + std::vector&& _bounded_sequence_double_field) +{ + m_bounded_sequence_double_field = std::move(_bounded_sequence_double_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_double_field + * @return Constant reference to member bounded_sequence_double_field + */ +const std::vector& CompleteTestType::bounded_sequence_double_field() const +{ + return m_bounded_sequence_double_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_double_field + * @return Reference to member bounded_sequence_double_field + */ +std::vector& CompleteTestType::bounded_sequence_double_field() +{ + return m_bounded_sequence_double_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be copied in member bounded_sequence_bool_field + */ +void CompleteTestType::bounded_sequence_bool_field( + const std::vector& _bounded_sequence_bool_field) +{ + m_bounded_sequence_bool_field = _bounded_sequence_bool_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be moved in member bounded_sequence_bool_field + */ +void CompleteTestType::bounded_sequence_bool_field( + std::vector&& _bounded_sequence_bool_field) +{ + m_bounded_sequence_bool_field = std::move(_bounded_sequence_bool_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_bool_field + * @return Constant reference to member bounded_sequence_bool_field + */ +const std::vector& CompleteTestType::bounded_sequence_bool_field() const +{ + return m_bounded_sequence_bool_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_bool_field + * @return Reference to member bounded_sequence_bool_field + */ +std::vector& CompleteTestType::bounded_sequence_bool_field() +{ + return m_bounded_sequence_bool_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be copied in member bounded_sequence_enum_field + */ +void CompleteTestType::bounded_sequence_enum_field( + const std::vector& _bounded_sequence_enum_field) +{ + m_bounded_sequence_enum_field = _bounded_sequence_enum_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be moved in member bounded_sequence_enum_field + */ +void CompleteTestType::bounded_sequence_enum_field( + std::vector&& _bounded_sequence_enum_field) +{ + m_bounded_sequence_enum_field = std::move(_bounded_sequence_enum_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_enum_field + * @return Constant reference to member bounded_sequence_enum_field + */ +const std::vector& CompleteTestType::bounded_sequence_enum_field() const +{ + return m_bounded_sequence_enum_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_enum_field + * @return Reference to member bounded_sequence_enum_field + */ +std::vector& CompleteTestType::bounded_sequence_enum_field() +{ + return m_bounded_sequence_enum_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be copied in member bounded_sequence_enum2_field + */ +void CompleteTestType::bounded_sequence_enum2_field( + const std::vector& _bounded_sequence_enum2_field) +{ + m_bounded_sequence_enum2_field = _bounded_sequence_enum2_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be moved in member bounded_sequence_enum2_field + */ +void CompleteTestType::bounded_sequence_enum2_field( + std::vector&& _bounded_sequence_enum2_field) +{ + m_bounded_sequence_enum2_field = std::move(_bounded_sequence_enum2_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_enum2_field + * @return Constant reference to member bounded_sequence_enum2_field + */ +const std::vector& CompleteTestType::bounded_sequence_enum2_field() const +{ + return m_bounded_sequence_enum2_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_enum2_field + * @return Reference to member bounded_sequence_enum2_field + */ +std::vector& CompleteTestType::bounded_sequence_enum2_field() +{ + return m_bounded_sequence_enum2_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be copied in member bounded_sequence_struct_field + */ +void CompleteTestType::bounded_sequence_struct_field( + const std::vector& _bounded_sequence_struct_field) +{ + m_bounded_sequence_struct_field = _bounded_sequence_struct_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be moved in member bounded_sequence_struct_field + */ +void CompleteTestType::bounded_sequence_struct_field( + std::vector&& _bounded_sequence_struct_field) +{ + m_bounded_sequence_struct_field = std::move(_bounded_sequence_struct_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_struct_field + * @return Constant reference to member bounded_sequence_struct_field + */ +const std::vector& CompleteTestType::bounded_sequence_struct_field() const +{ + return m_bounded_sequence_struct_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_struct_field + * @return Reference to member bounded_sequence_struct_field + */ +std::vector& CompleteTestType::bounded_sequence_struct_field() +{ + return m_bounded_sequence_struct_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be copied in member unbounded_sequence_char_field + */ +void CompleteTestType::unbounded_sequence_char_field( + const std::vector& _unbounded_sequence_char_field) +{ + m_unbounded_sequence_char_field = _unbounded_sequence_char_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be moved in member unbounded_sequence_char_field + */ +void CompleteTestType::unbounded_sequence_char_field( + std::vector&& _unbounded_sequence_char_field) +{ + m_unbounded_sequence_char_field = std::move(_unbounded_sequence_char_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_char_field + * @return Constant reference to member unbounded_sequence_char_field + */ +const std::vector& CompleteTestType::unbounded_sequence_char_field() const +{ + return m_unbounded_sequence_char_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_char_field + * @return Reference to member unbounded_sequence_char_field + */ +std::vector& CompleteTestType::unbounded_sequence_char_field() +{ + return m_unbounded_sequence_char_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be copied in member unbounded_sequence_uint8_field + */ +void CompleteTestType::unbounded_sequence_uint8_field( + const std::vector& _unbounded_sequence_uint8_field) +{ + m_unbounded_sequence_uint8_field = _unbounded_sequence_uint8_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be moved in member unbounded_sequence_uint8_field + */ +void CompleteTestType::unbounded_sequence_uint8_field( + std::vector&& _unbounded_sequence_uint8_field) +{ + m_unbounded_sequence_uint8_field = std::move(_unbounded_sequence_uint8_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint8_field + * @return Constant reference to member unbounded_sequence_uint8_field + */ +const std::vector& CompleteTestType::unbounded_sequence_uint8_field() const +{ + return m_unbounded_sequence_uint8_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint8_field + * @return Reference to member unbounded_sequence_uint8_field + */ +std::vector& CompleteTestType::unbounded_sequence_uint8_field() +{ + return m_unbounded_sequence_uint8_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be copied in member unbounded_sequence_int16_field + */ +void CompleteTestType::unbounded_sequence_int16_field( + const std::vector& _unbounded_sequence_int16_field) +{ + m_unbounded_sequence_int16_field = _unbounded_sequence_int16_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be moved in member unbounded_sequence_int16_field + */ +void CompleteTestType::unbounded_sequence_int16_field( + std::vector&& _unbounded_sequence_int16_field) +{ + m_unbounded_sequence_int16_field = std::move(_unbounded_sequence_int16_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_int16_field + * @return Constant reference to member unbounded_sequence_int16_field + */ +const std::vector& CompleteTestType::unbounded_sequence_int16_field() const +{ + return m_unbounded_sequence_int16_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_int16_field + * @return Reference to member unbounded_sequence_int16_field + */ +std::vector& CompleteTestType::unbounded_sequence_int16_field() +{ + return m_unbounded_sequence_int16_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be copied in member unbounded_sequence_uint16_field + */ +void CompleteTestType::unbounded_sequence_uint16_field( + const std::vector& _unbounded_sequence_uint16_field) +{ + m_unbounded_sequence_uint16_field = _unbounded_sequence_uint16_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be moved in member unbounded_sequence_uint16_field + */ +void CompleteTestType::unbounded_sequence_uint16_field( + std::vector&& _unbounded_sequence_uint16_field) +{ + m_unbounded_sequence_uint16_field = std::move(_unbounded_sequence_uint16_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint16_field + * @return Constant reference to member unbounded_sequence_uint16_field + */ +const std::vector& CompleteTestType::unbounded_sequence_uint16_field() const +{ + return m_unbounded_sequence_uint16_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint16_field + * @return Reference to member unbounded_sequence_uint16_field + */ +std::vector& CompleteTestType::unbounded_sequence_uint16_field() +{ + return m_unbounded_sequence_uint16_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be copied in member unbounded_sequence_int32_field + */ +void CompleteTestType::unbounded_sequence_int32_field( + const std::vector& _unbounded_sequence_int32_field) +{ + m_unbounded_sequence_int32_field = _unbounded_sequence_int32_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be moved in member unbounded_sequence_int32_field + */ +void CompleteTestType::unbounded_sequence_int32_field( + std::vector&& _unbounded_sequence_int32_field) +{ + m_unbounded_sequence_int32_field = std::move(_unbounded_sequence_int32_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_int32_field + * @return Constant reference to member unbounded_sequence_int32_field + */ +const std::vector& CompleteTestType::unbounded_sequence_int32_field() const +{ + return m_unbounded_sequence_int32_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_int32_field + * @return Reference to member unbounded_sequence_int32_field + */ +std::vector& CompleteTestType::unbounded_sequence_int32_field() +{ + return m_unbounded_sequence_int32_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be copied in member unbounded_sequence_uint32_field + */ +void CompleteTestType::unbounded_sequence_uint32_field( + const std::vector& _unbounded_sequence_uint32_field) +{ + m_unbounded_sequence_uint32_field = _unbounded_sequence_uint32_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be moved in member unbounded_sequence_uint32_field + */ +void CompleteTestType::unbounded_sequence_uint32_field( + std::vector&& _unbounded_sequence_uint32_field) +{ + m_unbounded_sequence_uint32_field = std::move(_unbounded_sequence_uint32_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint32_field + * @return Constant reference to member unbounded_sequence_uint32_field + */ +const std::vector& CompleteTestType::unbounded_sequence_uint32_field() const +{ + return m_unbounded_sequence_uint32_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint32_field + * @return Reference to member unbounded_sequence_uint32_field + */ +std::vector& CompleteTestType::unbounded_sequence_uint32_field() +{ + return m_unbounded_sequence_uint32_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be copied in member unbounded_sequence_int64_field + */ +void CompleteTestType::unbounded_sequence_int64_field( + const std::vector& _unbounded_sequence_int64_field) +{ + m_unbounded_sequence_int64_field = _unbounded_sequence_int64_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be moved in member unbounded_sequence_int64_field + */ +void CompleteTestType::unbounded_sequence_int64_field( + std::vector&& _unbounded_sequence_int64_field) +{ + m_unbounded_sequence_int64_field = std::move(_unbounded_sequence_int64_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_int64_field + * @return Constant reference to member unbounded_sequence_int64_field + */ +const std::vector& CompleteTestType::unbounded_sequence_int64_field() const +{ + return m_unbounded_sequence_int64_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_int64_field + * @return Reference to member unbounded_sequence_int64_field + */ +std::vector& CompleteTestType::unbounded_sequence_int64_field() +{ + return m_unbounded_sequence_int64_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be copied in member unbounded_sequence_uint64_field + */ +void CompleteTestType::unbounded_sequence_uint64_field( + const std::vector& _unbounded_sequence_uint64_field) +{ + m_unbounded_sequence_uint64_field = _unbounded_sequence_uint64_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be moved in member unbounded_sequence_uint64_field + */ +void CompleteTestType::unbounded_sequence_uint64_field( + std::vector&& _unbounded_sequence_uint64_field) +{ + m_unbounded_sequence_uint64_field = std::move(_unbounded_sequence_uint64_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint64_field + * @return Constant reference to member unbounded_sequence_uint64_field + */ +const std::vector& CompleteTestType::unbounded_sequence_uint64_field() const +{ + return m_unbounded_sequence_uint64_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint64_field + * @return Reference to member unbounded_sequence_uint64_field + */ +std::vector& CompleteTestType::unbounded_sequence_uint64_field() +{ + return m_unbounded_sequence_uint64_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be copied in member unbounded_sequence_float_field + */ +void CompleteTestType::unbounded_sequence_float_field( + const std::vector& _unbounded_sequence_float_field) +{ + m_unbounded_sequence_float_field = _unbounded_sequence_float_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be moved in member unbounded_sequence_float_field + */ +void CompleteTestType::unbounded_sequence_float_field( + std::vector&& _unbounded_sequence_float_field) +{ + m_unbounded_sequence_float_field = std::move(_unbounded_sequence_float_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_float_field + * @return Constant reference to member unbounded_sequence_float_field + */ +const std::vector& CompleteTestType::unbounded_sequence_float_field() const +{ + return m_unbounded_sequence_float_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_float_field + * @return Reference to member unbounded_sequence_float_field + */ +std::vector& CompleteTestType::unbounded_sequence_float_field() +{ + return m_unbounded_sequence_float_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be copied in member unbounded_sequence_double_field + */ +void CompleteTestType::unbounded_sequence_double_field( + const std::vector& _unbounded_sequence_double_field) +{ + m_unbounded_sequence_double_field = _unbounded_sequence_double_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be moved in member unbounded_sequence_double_field + */ +void CompleteTestType::unbounded_sequence_double_field( + std::vector&& _unbounded_sequence_double_field) +{ + m_unbounded_sequence_double_field = std::move(_unbounded_sequence_double_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_double_field + * @return Constant reference to member unbounded_sequence_double_field + */ +const std::vector& CompleteTestType::unbounded_sequence_double_field() const +{ + return m_unbounded_sequence_double_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_double_field + * @return Reference to member unbounded_sequence_double_field + */ +std::vector& CompleteTestType::unbounded_sequence_double_field() +{ + return m_unbounded_sequence_double_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be copied in member unbounded_sequence_bool_field + */ +void CompleteTestType::unbounded_sequence_bool_field( + const std::vector& _unbounded_sequence_bool_field) +{ + m_unbounded_sequence_bool_field = _unbounded_sequence_bool_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be moved in member unbounded_sequence_bool_field + */ +void CompleteTestType::unbounded_sequence_bool_field( + std::vector&& _unbounded_sequence_bool_field) +{ + m_unbounded_sequence_bool_field = std::move(_unbounded_sequence_bool_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_bool_field + * @return Constant reference to member unbounded_sequence_bool_field + */ +const std::vector& CompleteTestType::unbounded_sequence_bool_field() const +{ + return m_unbounded_sequence_bool_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_bool_field + * @return Reference to member unbounded_sequence_bool_field + */ +std::vector& CompleteTestType::unbounded_sequence_bool_field() +{ + return m_unbounded_sequence_bool_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be copied in member unbounded_sequence_enum_field + */ +void CompleteTestType::unbounded_sequence_enum_field( + const std::vector& _unbounded_sequence_enum_field) +{ + m_unbounded_sequence_enum_field = _unbounded_sequence_enum_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be moved in member unbounded_sequence_enum_field + */ +void CompleteTestType::unbounded_sequence_enum_field( + std::vector&& _unbounded_sequence_enum_field) +{ + m_unbounded_sequence_enum_field = std::move(_unbounded_sequence_enum_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_enum_field + * @return Constant reference to member unbounded_sequence_enum_field + */ +const std::vector& CompleteTestType::unbounded_sequence_enum_field() const +{ + return m_unbounded_sequence_enum_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_enum_field + * @return Reference to member unbounded_sequence_enum_field + */ +std::vector& CompleteTestType::unbounded_sequence_enum_field() +{ + return m_unbounded_sequence_enum_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be copied in member unbounded_sequence_enum2_field + */ +void CompleteTestType::unbounded_sequence_enum2_field( + const std::vector& _unbounded_sequence_enum2_field) +{ + m_unbounded_sequence_enum2_field = _unbounded_sequence_enum2_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be moved in member unbounded_sequence_enum2_field + */ +void CompleteTestType::unbounded_sequence_enum2_field( + std::vector&& _unbounded_sequence_enum2_field) +{ + m_unbounded_sequence_enum2_field = std::move(_unbounded_sequence_enum2_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_enum2_field + * @return Constant reference to member unbounded_sequence_enum2_field + */ +const std::vector& CompleteTestType::unbounded_sequence_enum2_field() const +{ + return m_unbounded_sequence_enum2_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_enum2_field + * @return Reference to member unbounded_sequence_enum2_field + */ +std::vector& CompleteTestType::unbounded_sequence_enum2_field() +{ + return m_unbounded_sequence_enum2_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be copied in member unbounded_sequence_struct_field + */ +void CompleteTestType::unbounded_sequence_struct_field( + const std::vector& _unbounded_sequence_struct_field) +{ + m_unbounded_sequence_struct_field = _unbounded_sequence_struct_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be moved in member unbounded_sequence_struct_field + */ +void CompleteTestType::unbounded_sequence_struct_field( + std::vector&& _unbounded_sequence_struct_field) +{ + m_unbounded_sequence_struct_field = std::move(_unbounded_sequence_struct_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_struct_field + * @return Constant reference to member unbounded_sequence_struct_field + */ +const std::vector& CompleteTestType::unbounded_sequence_struct_field() const +{ + return m_unbounded_sequence_struct_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_struct_field + * @return Reference to member unbounded_sequence_struct_field + */ +std::vector& CompleteTestType::unbounded_sequence_struct_field() +{ + return m_unbounded_sequence_struct_field; +} + + + + + + + +KeyedCompleteTestType::KeyedCompleteTestType() +{ + // long m_id + m_id = 0; + // char m_char_field + m_char_field = 0; + // octet m_uint8_field + m_uint8_field = 0; + // short m_int16_field + m_int16_field = 0; + // unsigned short m_uint16_field + m_uint16_field = 0; + // long m_int32_field + m_int32_field = 0; + // unsigned long m_uint32_field + m_uint32_field = 0; + // long long m_int64_field + m_int64_field = 0; + // unsigned long long m_uint64_field + m_uint64_field = 0; + // float m_float_field + m_float_field = 0.0; + // double m_double_field + m_double_field = 0.0; + // boolean m_bool_field + m_bool_field = false; + // /type_d() m_string_field + + // Color m_enum_field + m_enum_field = ::RED; + // Material m_enum2_field + m_enum2_field = ::WOOD; + // StructType m_struct_field + + // char m_char_opt_field + m_char_opt_field = 0; + // octet m_uint8_opt_field + m_uint8_opt_field = 0; + // short m_int16_opt_field + m_int16_opt_field = 0; + // unsigned short m_uint16_opt_field + m_uint16_opt_field = 0; + // long m_int32_opt_field + m_int32_opt_field = 0; + // unsigned long m_uint32_opt_field + m_uint32_opt_field = 0; + // long long m_int64_opt_field + m_int64_opt_field = 0; + // unsigned long long m_uint64_opt_field + m_uint64_opt_field = 0; + // float m_float_opt_field + m_float_opt_field = 0.0; + // double m_double_opt_field + m_double_opt_field = 0.0; + // boolean m_bool_opt_field + m_bool_opt_field = false; + // /type_d() m_string_opt_field + + // Color m_enum_opt_field + m_enum_opt_field = ::RED; + // Material m_enum2_opt_field + m_enum2_opt_field = ::WOOD; + // StructType m_struct_opt_field + + // char m_array_char_field + memset(&m_array_char_field, 0, ((max_array_size)) * 1); + // octet m_array_uint8_field + memset(&m_array_uint8_field, 0, ((max_array_size)) * 1); + // short m_array_int16_field + memset(&m_array_int16_field, 0, ((max_array_size)) * 2); + // unsigned short m_array_uint16_field + memset(&m_array_uint16_field, 0, ((max_array_size)) * 2); + // long m_array_int32_field + memset(&m_array_int32_field, 0, ((max_array_size)) * 4); + // unsigned long m_array_uint32_field + memset(&m_array_uint32_field, 0, ((max_array_size)) * 4); + // long long m_array_int64_field + memset(&m_array_int64_field, 0, ((max_array_size)) * 8); + // unsigned long long m_array_uint64_field + memset(&m_array_uint64_field, 0, ((max_array_size)) * 8); + // float m_array_float_field + memset(&m_array_float_field, 0, ((max_array_size)) * 4); + // double m_array_double_field + memset(&m_array_double_field, 0, ((max_array_size)) * 8); + // boolean m_array_bool_field + memset(&m_array_bool_field, 0, ((max_array_size)) * 1); + // Color m_array_enum_field + memset(&m_array_enum_field, 0, ((max_array_size)) * 4); + // Material m_array_enum2_field + memset(&m_array_enum2_field, 0, ((max_array_size)) * 4); + // StructType m_array_struct_field + + // sequence m_bounded_sequence_char_field + + // sequence m_bounded_sequence_uint8_field + + // sequence m_bounded_sequence_int16_field + + // sequence m_bounded_sequence_uint16_field + + // sequence m_bounded_sequence_int32_field + + // sequence m_bounded_sequence_uint32_field + + // sequence m_bounded_sequence_int64_field + + // sequence m_bounded_sequence_uint64_field + + // sequence m_bounded_sequence_float_field + + // sequence m_bounded_sequence_double_field + + // sequence m_bounded_sequence_bool_field + + // sequence m_bounded_sequence_enum_field + + // sequence m_bounded_sequence_enum2_field + + // sequence m_bounded_sequence_struct_field + + // sequence m_unbounded_sequence_char_field + + // sequence m_unbounded_sequence_uint8_field + + // sequence m_unbounded_sequence_int16_field + + // sequence m_unbounded_sequence_uint16_field + + // sequence m_unbounded_sequence_int32_field + + // sequence m_unbounded_sequence_uint32_field + + // sequence m_unbounded_sequence_int64_field + + // sequence m_unbounded_sequence_uint64_field + + // sequence m_unbounded_sequence_float_field + + // sequence m_unbounded_sequence_double_field + + // sequence m_unbounded_sequence_bool_field + + // sequence m_unbounded_sequence_enum_field + + // sequence m_unbounded_sequence_enum2_field + + // sequence m_unbounded_sequence_struct_field + + +} + +KeyedCompleteTestType::~KeyedCompleteTestType() +{ +} + +KeyedCompleteTestType::KeyedCompleteTestType( + const KeyedCompleteTestType& x) +{ + m_id = x.m_id; + + + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = x.m_string_field; + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = x.m_struct_field; + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = x.m_string_opt_field; + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = x.m_struct_opt_field; + + + m_array_char_field = x.m_array_char_field; + + + m_array_uint8_field = x.m_array_uint8_field; + + + m_array_int16_field = x.m_array_int16_field; + + + m_array_uint16_field = x.m_array_uint16_field; + + + m_array_int32_field = x.m_array_int32_field; + + + m_array_uint32_field = x.m_array_uint32_field; + + + m_array_int64_field = x.m_array_int64_field; + + + m_array_uint64_field = x.m_array_uint64_field; + + + m_array_float_field = x.m_array_float_field; + + + m_array_double_field = x.m_array_double_field; + + + m_array_bool_field = x.m_array_bool_field; + + + m_array_enum_field = x.m_array_enum_field; + + + m_array_enum2_field = x.m_array_enum2_field; + + + m_array_struct_field = x.m_array_struct_field; + + + m_bounded_sequence_char_field = x.m_bounded_sequence_char_field; + + + m_bounded_sequence_uint8_field = x.m_bounded_sequence_uint8_field; + + + m_bounded_sequence_int16_field = x.m_bounded_sequence_int16_field; + + + m_bounded_sequence_uint16_field = x.m_bounded_sequence_uint16_field; + + + m_bounded_sequence_int32_field = x.m_bounded_sequence_int32_field; + + + m_bounded_sequence_uint32_field = x.m_bounded_sequence_uint32_field; + + + m_bounded_sequence_int64_field = x.m_bounded_sequence_int64_field; + + + m_bounded_sequence_uint64_field = x.m_bounded_sequence_uint64_field; + + + m_bounded_sequence_float_field = x.m_bounded_sequence_float_field; + + + m_bounded_sequence_double_field = x.m_bounded_sequence_double_field; + + + m_bounded_sequence_bool_field = x.m_bounded_sequence_bool_field; + + + m_bounded_sequence_enum_field = x.m_bounded_sequence_enum_field; + + + m_bounded_sequence_enum2_field = x.m_bounded_sequence_enum2_field; + + + m_bounded_sequence_struct_field = x.m_bounded_sequence_struct_field; + + + m_unbounded_sequence_char_field = x.m_unbounded_sequence_char_field; + + + m_unbounded_sequence_uint8_field = x.m_unbounded_sequence_uint8_field; + + + m_unbounded_sequence_int16_field = x.m_unbounded_sequence_int16_field; + + + m_unbounded_sequence_uint16_field = x.m_unbounded_sequence_uint16_field; + + + m_unbounded_sequence_int32_field = x.m_unbounded_sequence_int32_field; + + + m_unbounded_sequence_uint32_field = x.m_unbounded_sequence_uint32_field; + + + m_unbounded_sequence_int64_field = x.m_unbounded_sequence_int64_field; + + + m_unbounded_sequence_uint64_field = x.m_unbounded_sequence_uint64_field; + + + m_unbounded_sequence_float_field = x.m_unbounded_sequence_float_field; + + + m_unbounded_sequence_double_field = x.m_unbounded_sequence_double_field; + + + m_unbounded_sequence_bool_field = x.m_unbounded_sequence_bool_field; + + + m_unbounded_sequence_enum_field = x.m_unbounded_sequence_enum_field; + + + m_unbounded_sequence_enum2_field = x.m_unbounded_sequence_enum2_field; + + + m_unbounded_sequence_struct_field = x.m_unbounded_sequence_struct_field; + +} + +KeyedCompleteTestType::KeyedCompleteTestType( + KeyedCompleteTestType&& x) noexcept +{ + m_id = x.m_id; + + + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = std::move(x.m_string_field); + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = std::move(x.m_struct_field); + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = std::move(x.m_string_opt_field); + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = std::move(x.m_struct_opt_field); + + + m_array_char_field = std::move(x.m_array_char_field); + + + m_array_uint8_field = std::move(x.m_array_uint8_field); + + + m_array_int16_field = std::move(x.m_array_int16_field); + + + m_array_uint16_field = std::move(x.m_array_uint16_field); + + + m_array_int32_field = std::move(x.m_array_int32_field); + + + m_array_uint32_field = std::move(x.m_array_uint32_field); + + + m_array_int64_field = std::move(x.m_array_int64_field); + + + m_array_uint64_field = std::move(x.m_array_uint64_field); + + + m_array_float_field = std::move(x.m_array_float_field); + + + m_array_double_field = std::move(x.m_array_double_field); + + + m_array_bool_field = std::move(x.m_array_bool_field); + + + m_array_enum_field = std::move(x.m_array_enum_field); + + + m_array_enum2_field = std::move(x.m_array_enum2_field); + + + m_array_struct_field = std::move(x.m_array_struct_field); + + + m_bounded_sequence_char_field = std::move(x.m_bounded_sequence_char_field); + + + m_bounded_sequence_uint8_field = std::move(x.m_bounded_sequence_uint8_field); + + + m_bounded_sequence_int16_field = std::move(x.m_bounded_sequence_int16_field); + + + m_bounded_sequence_uint16_field = std::move(x.m_bounded_sequence_uint16_field); + + + m_bounded_sequence_int32_field = std::move(x.m_bounded_sequence_int32_field); + + + m_bounded_sequence_uint32_field = std::move(x.m_bounded_sequence_uint32_field); + + + m_bounded_sequence_int64_field = std::move(x.m_bounded_sequence_int64_field); + + + m_bounded_sequence_uint64_field = std::move(x.m_bounded_sequence_uint64_field); + + + m_bounded_sequence_float_field = std::move(x.m_bounded_sequence_float_field); + + + m_bounded_sequence_double_field = std::move(x.m_bounded_sequence_double_field); + + + m_bounded_sequence_bool_field = std::move(x.m_bounded_sequence_bool_field); + + + m_bounded_sequence_enum_field = std::move(x.m_bounded_sequence_enum_field); + + + m_bounded_sequence_enum2_field = std::move(x.m_bounded_sequence_enum2_field); + + + m_bounded_sequence_struct_field = std::move(x.m_bounded_sequence_struct_field); + + + m_unbounded_sequence_char_field = std::move(x.m_unbounded_sequence_char_field); + + + m_unbounded_sequence_uint8_field = std::move(x.m_unbounded_sequence_uint8_field); + + + m_unbounded_sequence_int16_field = std::move(x.m_unbounded_sequence_int16_field); + + + m_unbounded_sequence_uint16_field = std::move(x.m_unbounded_sequence_uint16_field); + + + m_unbounded_sequence_int32_field = std::move(x.m_unbounded_sequence_int32_field); + + + m_unbounded_sequence_uint32_field = std::move(x.m_unbounded_sequence_uint32_field); + + + m_unbounded_sequence_int64_field = std::move(x.m_unbounded_sequence_int64_field); + + + m_unbounded_sequence_uint64_field = std::move(x.m_unbounded_sequence_uint64_field); + + + m_unbounded_sequence_float_field = std::move(x.m_unbounded_sequence_float_field); + + + m_unbounded_sequence_double_field = std::move(x.m_unbounded_sequence_double_field); + + + m_unbounded_sequence_bool_field = std::move(x.m_unbounded_sequence_bool_field); + + + m_unbounded_sequence_enum_field = std::move(x.m_unbounded_sequence_enum_field); + + + m_unbounded_sequence_enum2_field = std::move(x.m_unbounded_sequence_enum2_field); + + + m_unbounded_sequence_struct_field = std::move(x.m_unbounded_sequence_struct_field); + +} + +KeyedCompleteTestType& KeyedCompleteTestType::operator =( + const KeyedCompleteTestType& x) +{ + m_id = x.m_id; + + + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = x.m_string_field; + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = x.m_struct_field; + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = x.m_string_opt_field; + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = x.m_struct_opt_field; + + + m_array_char_field = x.m_array_char_field; + + + m_array_uint8_field = x.m_array_uint8_field; + + + m_array_int16_field = x.m_array_int16_field; + + + m_array_uint16_field = x.m_array_uint16_field; + + + m_array_int32_field = x.m_array_int32_field; + + + m_array_uint32_field = x.m_array_uint32_field; + + + m_array_int64_field = x.m_array_int64_field; + + + m_array_uint64_field = x.m_array_uint64_field; + + + m_array_float_field = x.m_array_float_field; + + + m_array_double_field = x.m_array_double_field; + + + m_array_bool_field = x.m_array_bool_field; + + + m_array_enum_field = x.m_array_enum_field; + + + m_array_enum2_field = x.m_array_enum2_field; + + + m_array_struct_field = x.m_array_struct_field; + + + m_bounded_sequence_char_field = x.m_bounded_sequence_char_field; + + + m_bounded_sequence_uint8_field = x.m_bounded_sequence_uint8_field; + + + m_bounded_sequence_int16_field = x.m_bounded_sequence_int16_field; + + + m_bounded_sequence_uint16_field = x.m_bounded_sequence_uint16_field; + + + m_bounded_sequence_int32_field = x.m_bounded_sequence_int32_field; + + + m_bounded_sequence_uint32_field = x.m_bounded_sequence_uint32_field; + + + m_bounded_sequence_int64_field = x.m_bounded_sequence_int64_field; + + + m_bounded_sequence_uint64_field = x.m_bounded_sequence_uint64_field; + + + m_bounded_sequence_float_field = x.m_bounded_sequence_float_field; + + + m_bounded_sequence_double_field = x.m_bounded_sequence_double_field; + + + m_bounded_sequence_bool_field = x.m_bounded_sequence_bool_field; + + + m_bounded_sequence_enum_field = x.m_bounded_sequence_enum_field; + + + m_bounded_sequence_enum2_field = x.m_bounded_sequence_enum2_field; + + + m_bounded_sequence_struct_field = x.m_bounded_sequence_struct_field; + + + m_unbounded_sequence_char_field = x.m_unbounded_sequence_char_field; + + + m_unbounded_sequence_uint8_field = x.m_unbounded_sequence_uint8_field; + + + m_unbounded_sequence_int16_field = x.m_unbounded_sequence_int16_field; + + + m_unbounded_sequence_uint16_field = x.m_unbounded_sequence_uint16_field; + + + m_unbounded_sequence_int32_field = x.m_unbounded_sequence_int32_field; + + + m_unbounded_sequence_uint32_field = x.m_unbounded_sequence_uint32_field; + + + m_unbounded_sequence_int64_field = x.m_unbounded_sequence_int64_field; + + + m_unbounded_sequence_uint64_field = x.m_unbounded_sequence_uint64_field; + + + m_unbounded_sequence_float_field = x.m_unbounded_sequence_float_field; + + + m_unbounded_sequence_double_field = x.m_unbounded_sequence_double_field; + + + m_unbounded_sequence_bool_field = x.m_unbounded_sequence_bool_field; + + + m_unbounded_sequence_enum_field = x.m_unbounded_sequence_enum_field; + + + m_unbounded_sequence_enum2_field = x.m_unbounded_sequence_enum2_field; + + + m_unbounded_sequence_struct_field = x.m_unbounded_sequence_struct_field; + + return *this; +} + +KeyedCompleteTestType& KeyedCompleteTestType::operator =( + KeyedCompleteTestType&& x) noexcept +{ + m_id = x.m_id; + + + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = std::move(x.m_string_field); + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = std::move(x.m_struct_field); + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = std::move(x.m_string_opt_field); + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = std::move(x.m_struct_opt_field); + + + m_array_char_field = std::move(x.m_array_char_field); + + + m_array_uint8_field = std::move(x.m_array_uint8_field); + + + m_array_int16_field = std::move(x.m_array_int16_field); + + + m_array_uint16_field = std::move(x.m_array_uint16_field); + + + m_array_int32_field = std::move(x.m_array_int32_field); + + + m_array_uint32_field = std::move(x.m_array_uint32_field); + + + m_array_int64_field = std::move(x.m_array_int64_field); + + + m_array_uint64_field = std::move(x.m_array_uint64_field); + + + m_array_float_field = std::move(x.m_array_float_field); + + + m_array_double_field = std::move(x.m_array_double_field); + + + m_array_bool_field = std::move(x.m_array_bool_field); + + + m_array_enum_field = std::move(x.m_array_enum_field); + + + m_array_enum2_field = std::move(x.m_array_enum2_field); + + + m_array_struct_field = std::move(x.m_array_struct_field); + + + m_bounded_sequence_char_field = std::move(x.m_bounded_sequence_char_field); + + + m_bounded_sequence_uint8_field = std::move(x.m_bounded_sequence_uint8_field); + + + m_bounded_sequence_int16_field = std::move(x.m_bounded_sequence_int16_field); + + + m_bounded_sequence_uint16_field = std::move(x.m_bounded_sequence_uint16_field); + + + m_bounded_sequence_int32_field = std::move(x.m_bounded_sequence_int32_field); + + + m_bounded_sequence_uint32_field = std::move(x.m_bounded_sequence_uint32_field); + + + m_bounded_sequence_int64_field = std::move(x.m_bounded_sequence_int64_field); + + + m_bounded_sequence_uint64_field = std::move(x.m_bounded_sequence_uint64_field); + + + m_bounded_sequence_float_field = std::move(x.m_bounded_sequence_float_field); + + + m_bounded_sequence_double_field = std::move(x.m_bounded_sequence_double_field); + + + m_bounded_sequence_bool_field = std::move(x.m_bounded_sequence_bool_field); + + + m_bounded_sequence_enum_field = std::move(x.m_bounded_sequence_enum_field); + + + m_bounded_sequence_enum2_field = std::move(x.m_bounded_sequence_enum2_field); + + + m_bounded_sequence_struct_field = std::move(x.m_bounded_sequence_struct_field); + + + m_unbounded_sequence_char_field = std::move(x.m_unbounded_sequence_char_field); + + + m_unbounded_sequence_uint8_field = std::move(x.m_unbounded_sequence_uint8_field); + + + m_unbounded_sequence_int16_field = std::move(x.m_unbounded_sequence_int16_field); + + + m_unbounded_sequence_uint16_field = std::move(x.m_unbounded_sequence_uint16_field); + + + m_unbounded_sequence_int32_field = std::move(x.m_unbounded_sequence_int32_field); + + + m_unbounded_sequence_uint32_field = std::move(x.m_unbounded_sequence_uint32_field); + + + m_unbounded_sequence_int64_field = std::move(x.m_unbounded_sequence_int64_field); + + + m_unbounded_sequence_uint64_field = std::move(x.m_unbounded_sequence_uint64_field); + + + m_unbounded_sequence_float_field = std::move(x.m_unbounded_sequence_float_field); + + + m_unbounded_sequence_double_field = std::move(x.m_unbounded_sequence_double_field); + + + m_unbounded_sequence_bool_field = std::move(x.m_unbounded_sequence_bool_field); + + + m_unbounded_sequence_enum_field = std::move(x.m_unbounded_sequence_enum_field); + + + m_unbounded_sequence_enum2_field = std::move(x.m_unbounded_sequence_enum2_field); + + + m_unbounded_sequence_struct_field = std::move(x.m_unbounded_sequence_struct_field); + + return *this; +} + +bool KeyedCompleteTestType::operator ==( + const KeyedCompleteTestType& x) const +{ + return (m_id == x.m_id && + m_char_field == x.m_char_field && + m_uint8_field == x.m_uint8_field && + m_int16_field == x.m_int16_field && + m_uint16_field == x.m_uint16_field && + m_int32_field == x.m_int32_field && + m_uint32_field == x.m_uint32_field && + m_int64_field == x.m_int64_field && + m_uint64_field == x.m_uint64_field && + m_float_field == x.m_float_field && + m_double_field == x.m_double_field && + m_bool_field == x.m_bool_field && + m_string_field == x.m_string_field && + m_enum_field == x.m_enum_field && + m_enum2_field == x.m_enum2_field && + m_struct_field == x.m_struct_field && + m_char_opt_field == x.m_char_opt_field && + m_uint8_opt_field == x.m_uint8_opt_field && + m_int16_opt_field == x.m_int16_opt_field && + m_uint16_opt_field == x.m_uint16_opt_field && + m_int32_opt_field == x.m_int32_opt_field && + m_uint32_opt_field == x.m_uint32_opt_field && + m_int64_opt_field == x.m_int64_opt_field && + m_uint64_opt_field == x.m_uint64_opt_field && + m_float_opt_field == x.m_float_opt_field && + m_double_opt_field == x.m_double_opt_field && + m_bool_opt_field == x.m_bool_opt_field && + m_string_opt_field == x.m_string_opt_field && + m_enum_opt_field == x.m_enum_opt_field && + m_enum2_opt_field == x.m_enum2_opt_field && + m_struct_opt_field == x.m_struct_opt_field && + m_array_char_field == x.m_array_char_field && + m_array_uint8_field == x.m_array_uint8_field && + m_array_int16_field == x.m_array_int16_field && + m_array_uint16_field == x.m_array_uint16_field && + m_array_int32_field == x.m_array_int32_field && + m_array_uint32_field == x.m_array_uint32_field && + m_array_int64_field == x.m_array_int64_field && + m_array_uint64_field == x.m_array_uint64_field && + m_array_float_field == x.m_array_float_field && + m_array_double_field == x.m_array_double_field && + m_array_bool_field == x.m_array_bool_field && + m_array_enum_field == x.m_array_enum_field && + m_array_enum2_field == x.m_array_enum2_field && + m_array_struct_field == x.m_array_struct_field && + m_bounded_sequence_char_field == x.m_bounded_sequence_char_field && + m_bounded_sequence_uint8_field == x.m_bounded_sequence_uint8_field && + m_bounded_sequence_int16_field == x.m_bounded_sequence_int16_field && + m_bounded_sequence_uint16_field == x.m_bounded_sequence_uint16_field && + m_bounded_sequence_int32_field == x.m_bounded_sequence_int32_field && + m_bounded_sequence_uint32_field == x.m_bounded_sequence_uint32_field && + m_bounded_sequence_int64_field == x.m_bounded_sequence_int64_field && + m_bounded_sequence_uint64_field == x.m_bounded_sequence_uint64_field && + m_bounded_sequence_float_field == x.m_bounded_sequence_float_field && + m_bounded_sequence_double_field == x.m_bounded_sequence_double_field && + m_bounded_sequence_bool_field == x.m_bounded_sequence_bool_field && + m_bounded_sequence_enum_field == x.m_bounded_sequence_enum_field && + m_bounded_sequence_enum2_field == x.m_bounded_sequence_enum2_field && + m_bounded_sequence_struct_field == x.m_bounded_sequence_struct_field && + m_unbounded_sequence_char_field == x.m_unbounded_sequence_char_field && + m_unbounded_sequence_uint8_field == x.m_unbounded_sequence_uint8_field && + m_unbounded_sequence_int16_field == x.m_unbounded_sequence_int16_field && + m_unbounded_sequence_uint16_field == x.m_unbounded_sequence_uint16_field && + m_unbounded_sequence_int32_field == x.m_unbounded_sequence_int32_field && + m_unbounded_sequence_uint32_field == x.m_unbounded_sequence_uint32_field && + m_unbounded_sequence_int64_field == x.m_unbounded_sequence_int64_field && + m_unbounded_sequence_uint64_field == x.m_unbounded_sequence_uint64_field && + m_unbounded_sequence_float_field == x.m_unbounded_sequence_float_field && + m_unbounded_sequence_double_field == x.m_unbounded_sequence_double_field && + m_unbounded_sequence_bool_field == x.m_unbounded_sequence_bool_field && + m_unbounded_sequence_enum_field == x.m_unbounded_sequence_enum_field && + m_unbounded_sequence_enum2_field == x.m_unbounded_sequence_enum2_field && + m_unbounded_sequence_struct_field == x.m_unbounded_sequence_struct_field); +} + +bool KeyedCompleteTestType::operator !=( + const KeyedCompleteTestType& x) const +{ + return !(*this == x); +} + +size_t KeyedCompleteTestType::getMaxCdrSerializedSize( + size_t current_alignment) +{ + static_cast(current_alignment); + return KeyedCompleteTestType_max_cdr_typesize; +} + +size_t KeyedCompleteTestType::getCdrSerializedSize( + const KeyedCompleteTestType& data, + size_t current_alignment) +{ + (void)data; + size_t initial_alignment = current_alignment; + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4) + data.string_field().size() + 1; + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += StructType::getCdrSerializedSize(data.struct_field(), current_alignment); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4) + data.string_opt_field().size() + 1; + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += StructType::getCdrSerializedSize(data.struct_opt_field(), current_alignment); + + + current_alignment += (((max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + + current_alignment += (((max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + + current_alignment += (((max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + + current_alignment += (((max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + + current_alignment += (((max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + + current_alignment += (((max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + + for(size_t a = 0; a < data.array_struct_field().size(); ++a) + { + current_alignment += StructType::getCdrSerializedSize(data.array_struct_field().at(a), current_alignment); + + } + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_char_field().size() > 0) + { + current_alignment += (data.bounded_sequence_char_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint8_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint8_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_int16_field().size() > 0) + { + current_alignment += (data.bounded_sequence_int16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint16_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_int32_field().size() > 0) + { + current_alignment += (data.bounded_sequence_int32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint32_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_int64_field().size() > 0) + { + current_alignment += (data.bounded_sequence_int64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint64_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_float_field().size() > 0) + { + current_alignment += (data.bounded_sequence_float_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_double_field().size() > 0) + { + current_alignment += (data.bounded_sequence_double_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_bool_field().size() > 0) + { + current_alignment += (data.bounded_sequence_bool_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_enum_field().size() > 0) + { + current_alignment += (data.bounded_sequence_enum_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_enum2_field().size() > 0) + { + current_alignment += (data.bounded_sequence_enum2_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + for(size_t a = 0; a < data.bounded_sequence_struct_field().size(); ++a) + { + current_alignment += StructType::getCdrSerializedSize(data.bounded_sequence_struct_field().at(a), current_alignment); + } + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_char_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_char_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint8_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint8_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_int16_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_int16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint16_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_int32_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_int32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint32_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_int64_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_int64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint64_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_float_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_float_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_double_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_double_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_bool_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_bool_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_enum_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_enum_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_enum2_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_enum2_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + for(size_t a = 0; a < data.unbounded_sequence_struct_field().size(); ++a) + { + current_alignment += StructType::getCdrSerializedSize(data.unbounded_sequence_struct_field().at(a), current_alignment); + } + + + + return current_alignment - initial_alignment; +} + + +void KeyedCompleteTestType::serialize( + eprosima::fastcdr::Cdr& scdr) const +{ + scdr << m_id; + + scdr << m_char_field; + + scdr << m_uint8_field; + + scdr << m_int16_field; + + scdr << m_uint16_field; + + scdr << m_int32_field; + + scdr << m_uint32_field; + + scdr << m_int64_field; + + scdr << m_uint64_field; + + scdr << m_float_field; + + scdr << m_double_field; + + scdr << m_bool_field; + + scdr << m_string_field.c_str(); + + scdr << (uint32_t)m_enum_field; + + scdr << (uint32_t)m_enum2_field; + + scdr << m_struct_field; + + scdr << m_char_opt_field; + + scdr << m_uint8_opt_field; + + scdr << m_int16_opt_field; + + scdr << m_uint16_opt_field; + + scdr << m_int32_opt_field; + + scdr << m_uint32_opt_field; + + scdr << m_int64_opt_field; + + scdr << m_uint64_opt_field; + + scdr << m_float_opt_field; + + scdr << m_double_opt_field; + + scdr << m_bool_opt_field; + + scdr << m_string_opt_field.c_str(); + + scdr << (uint32_t)m_enum_opt_field; + + scdr << (uint32_t)m_enum2_opt_field; + + scdr << m_struct_opt_field; + + scdr << m_array_char_field; + + + scdr << m_array_uint8_field; + + + scdr << m_array_int16_field; + + + scdr << m_array_uint16_field; + + + scdr << m_array_int32_field; + + + scdr << m_array_uint32_field; + + + scdr << m_array_int64_field; + + + scdr << m_array_uint64_field; + + + scdr << m_array_float_field; + + + scdr << m_array_double_field; + + + scdr << m_array_bool_field; + + + scdr.serializeArray(reinterpret_cast(m_array_enum_field.data()), m_array_enum_field.size()); + + + scdr.serializeArray(reinterpret_cast(m_array_enum2_field.data()), m_array_enum2_field.size()); + + + scdr << m_array_struct_field; + + + scdr << m_bounded_sequence_char_field; + + + scdr << m_bounded_sequence_uint8_field; + + + scdr << m_bounded_sequence_int16_field; + + + scdr << m_bounded_sequence_uint16_field; + + + scdr << m_bounded_sequence_int32_field; + + + scdr << m_bounded_sequence_uint32_field; + + + scdr << m_bounded_sequence_int64_field; + + + scdr << m_bounded_sequence_uint64_field; + + + scdr << m_bounded_sequence_float_field; + + + scdr << m_bounded_sequence_double_field; + + + scdr << m_bounded_sequence_bool_field; + + + scdr << static_cast(m_bounded_sequence_enum_field.size()); + scdr.serializeArray(reinterpret_cast(m_bounded_sequence_enum_field.data()), m_bounded_sequence_enum_field.size()); + + + scdr << static_cast(m_bounded_sequence_enum2_field.size()); + scdr.serializeArray(reinterpret_cast(m_bounded_sequence_enum2_field.data()), m_bounded_sequence_enum2_field.size()); + + + scdr << m_bounded_sequence_struct_field; + + + scdr << m_unbounded_sequence_char_field; + + + scdr << m_unbounded_sequence_uint8_field; + + + scdr << m_unbounded_sequence_int16_field; + + + scdr << m_unbounded_sequence_uint16_field; + + + scdr << m_unbounded_sequence_int32_field; + + + scdr << m_unbounded_sequence_uint32_field; + + + scdr << m_unbounded_sequence_int64_field; + + + scdr << m_unbounded_sequence_uint64_field; + + + scdr << m_unbounded_sequence_float_field; + + + scdr << m_unbounded_sequence_double_field; + + + scdr << m_unbounded_sequence_bool_field; + + + scdr << static_cast(m_unbounded_sequence_enum_field.size()); + scdr.serializeArray(reinterpret_cast(m_unbounded_sequence_enum_field.data()), m_unbounded_sequence_enum_field.size()); + + + scdr << static_cast(m_unbounded_sequence_enum2_field.size()); + scdr.serializeArray(reinterpret_cast(m_unbounded_sequence_enum2_field.data()), m_unbounded_sequence_enum2_field.size()); + + + scdr << m_unbounded_sequence_struct_field; + + +} + +void KeyedCompleteTestType::deserialize( + eprosima::fastcdr::Cdr& dcdr) +{ + dcdr >> m_id; + + + + dcdr >> m_char_field; + + + + dcdr >> m_uint8_field; + + + + dcdr >> m_int16_field; + + + + dcdr >> m_uint16_field; + + + + dcdr >> m_int32_field; + + + + dcdr >> m_uint32_field; + + + + dcdr >> m_int64_field; + + + + dcdr >> m_uint64_field; + + + + dcdr >> m_float_field; + + + + dcdr >> m_double_field; + + + + dcdr >> m_bool_field; + + + + dcdr >> m_string_field; + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum_field = (Color)enum_value; + } + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum2_field = (Material)enum_value; + } + + + + dcdr >> m_struct_field; + + + + dcdr >> m_char_opt_field; + + + + dcdr >> m_uint8_opt_field; + + + + dcdr >> m_int16_opt_field; + + + + dcdr >> m_uint16_opt_field; + + + + dcdr >> m_int32_opt_field; + + + + dcdr >> m_uint32_opt_field; + + + + dcdr >> m_int64_opt_field; + + + + dcdr >> m_uint64_opt_field; + + + + dcdr >> m_float_opt_field; + + + + dcdr >> m_double_opt_field; + + + + dcdr >> m_bool_opt_field; + + + + dcdr >> m_string_opt_field; + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum_opt_field = (Color)enum_value; + } + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum2_opt_field = (Material)enum_value; + } + + + + dcdr >> m_struct_opt_field; + + + + dcdr >> m_array_char_field; + + + + dcdr >> m_array_uint8_field; + + + + dcdr >> m_array_int16_field; + + + + dcdr >> m_array_uint16_field; + + + + dcdr >> m_array_int32_field; + + + + dcdr >> m_array_uint32_field; + + + + dcdr >> m_array_int64_field; + + + + dcdr >> m_array_uint64_field; + + + + dcdr >> m_array_float_field; + + + + dcdr >> m_array_double_field; + + + + dcdr >> m_array_bool_field; + + + + dcdr.deserializeArray(reinterpret_cast(m_array_enum_field.data()), m_array_enum_field.size()); + + + + dcdr.deserializeArray(reinterpret_cast(m_array_enum2_field.data()), m_array_enum2_field.size()); + + + + dcdr >> m_array_struct_field; + + + + dcdr >> m_bounded_sequence_char_field; + + + + dcdr >> m_bounded_sequence_uint8_field; + + + + dcdr >> m_bounded_sequence_int16_field; + + + + dcdr >> m_bounded_sequence_uint16_field; + + + + dcdr >> m_bounded_sequence_int32_field; + + + + dcdr >> m_bounded_sequence_uint32_field; + + + + dcdr >> m_bounded_sequence_int64_field; + + + + dcdr >> m_bounded_sequence_uint64_field; + + + + dcdr >> m_bounded_sequence_float_field; + + + + dcdr >> m_bounded_sequence_double_field; + + + + dcdr >> m_bounded_sequence_bool_field; + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_bounded_sequence_enum_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_bounded_sequence_enum_field.data()), seq_length); + } + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_bounded_sequence_enum2_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_bounded_sequence_enum2_field.data()), seq_length); + } + + + + dcdr >> m_bounded_sequence_struct_field; + + + + dcdr >> m_unbounded_sequence_char_field; + + + + dcdr >> m_unbounded_sequence_uint8_field; + + + + dcdr >> m_unbounded_sequence_int16_field; + + + + dcdr >> m_unbounded_sequence_uint16_field; + + + + dcdr >> m_unbounded_sequence_int32_field; + + + + dcdr >> m_unbounded_sequence_uint32_field; + + + + dcdr >> m_unbounded_sequence_int64_field; + + + + dcdr >> m_unbounded_sequence_uint64_field; + + + + dcdr >> m_unbounded_sequence_float_field; + + + + dcdr >> m_unbounded_sequence_double_field; + + + + dcdr >> m_unbounded_sequence_bool_field; + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_unbounded_sequence_enum_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_unbounded_sequence_enum_field.data()), seq_length); + } + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_unbounded_sequence_enum2_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_unbounded_sequence_enum2_field.data()), seq_length); + } + + + + dcdr >> m_unbounded_sequence_struct_field; + + +} + + +bool KeyedCompleteTestType::isKeyDefined() +{ + return true; +} + +void KeyedCompleteTestType::serializeKey( + eprosima::fastcdr::Cdr& scdr) const +{ + (void) scdr; + + scdr << m_id; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +} + +/*! + * @brief This function sets a value in member id + * @param _id New value for member id + */ +void KeyedCompleteTestType::id( + int32_t _id) +{ + m_id = _id; +} + +/*! + * @brief This function returns the value of member id + * @return Value of member id + */ +int32_t KeyedCompleteTestType::id() const +{ + return m_id; +} + +/*! + * @brief This function returns a reference to member id + * @return Reference to member id + */ +int32_t& KeyedCompleteTestType::id() +{ + return m_id; +} + + +/*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ +void KeyedCompleteTestType::char_field( + char _char_field) +{ + m_char_field = _char_field; +} + +/*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ +char KeyedCompleteTestType::char_field() const +{ + return m_char_field; +} + +/*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ +char& KeyedCompleteTestType::char_field() +{ + return m_char_field; +} + + +/*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ +void KeyedCompleteTestType::uint8_field( + uint8_t _uint8_field) +{ + m_uint8_field = _uint8_field; +} + +/*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ +uint8_t KeyedCompleteTestType::uint8_field() const +{ + return m_uint8_field; +} + +/*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ +uint8_t& KeyedCompleteTestType::uint8_field() +{ + return m_uint8_field; +} + + +/*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ +void KeyedCompleteTestType::int16_field( + int16_t _int16_field) +{ + m_int16_field = _int16_field; +} + +/*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ +int16_t KeyedCompleteTestType::int16_field() const +{ + return m_int16_field; +} + +/*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ +int16_t& KeyedCompleteTestType::int16_field() +{ + return m_int16_field; +} + + +/*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ +void KeyedCompleteTestType::uint16_field( + uint16_t _uint16_field) +{ + m_uint16_field = _uint16_field; +} + +/*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ +uint16_t KeyedCompleteTestType::uint16_field() const +{ + return m_uint16_field; +} + +/*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ +uint16_t& KeyedCompleteTestType::uint16_field() +{ + return m_uint16_field; +} + + +/*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ +void KeyedCompleteTestType::int32_field( + int32_t _int32_field) +{ + m_int32_field = _int32_field; +} + +/*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ +int32_t KeyedCompleteTestType::int32_field() const +{ + return m_int32_field; +} + +/*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ +int32_t& KeyedCompleteTestType::int32_field() +{ + return m_int32_field; +} + + +/*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ +void KeyedCompleteTestType::uint32_field( + uint32_t _uint32_field) +{ + m_uint32_field = _uint32_field; +} + +/*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ +uint32_t KeyedCompleteTestType::uint32_field() const +{ + return m_uint32_field; +} + +/*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ +uint32_t& KeyedCompleteTestType::uint32_field() +{ + return m_uint32_field; +} + + +/*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ +void KeyedCompleteTestType::int64_field( + int64_t _int64_field) +{ + m_int64_field = _int64_field; +} + +/*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ +int64_t KeyedCompleteTestType::int64_field() const +{ + return m_int64_field; +} + +/*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ +int64_t& KeyedCompleteTestType::int64_field() +{ + return m_int64_field; +} + + +/*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ +void KeyedCompleteTestType::uint64_field( + uint64_t _uint64_field) +{ + m_uint64_field = _uint64_field; +} + +/*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ +uint64_t KeyedCompleteTestType::uint64_field() const +{ + return m_uint64_field; +} + +/*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ +uint64_t& KeyedCompleteTestType::uint64_field() +{ + return m_uint64_field; +} + + +/*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ +void KeyedCompleteTestType::float_field( + float _float_field) +{ + m_float_field = _float_field; +} + +/*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ +float KeyedCompleteTestType::float_field() const +{ + return m_float_field; +} + +/*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ +float& KeyedCompleteTestType::float_field() +{ + return m_float_field; +} + + +/*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ +void KeyedCompleteTestType::double_field( + double _double_field) +{ + m_double_field = _double_field; +} + +/*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ +double KeyedCompleteTestType::double_field() const +{ + return m_double_field; +} + +/*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ +double& KeyedCompleteTestType::double_field() +{ + return m_double_field; +} + + +/*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ +void KeyedCompleteTestType::bool_field( + bool _bool_field) +{ + m_bool_field = _bool_field; +} + +/*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ +bool KeyedCompleteTestType::bool_field() const +{ + return m_bool_field; +} + +/*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ +bool& KeyedCompleteTestType::bool_field() +{ + return m_bool_field; +} + + +/*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ +void KeyedCompleteTestType::string_field( + const std::string& _string_field) +{ + m_string_field = _string_field; +} + +/*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ +void KeyedCompleteTestType::string_field( + std::string&& _string_field) +{ + m_string_field = std::move(_string_field); +} + +/*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ +const std::string& KeyedCompleteTestType::string_field() const +{ + return m_string_field; +} + +/*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ +std::string& KeyedCompleteTestType::string_field() +{ + return m_string_field; +} + + +/*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ +void KeyedCompleteTestType::enum_field( + Color _enum_field) +{ + m_enum_field = _enum_field; +} + +/*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ +Color KeyedCompleteTestType::enum_field() const +{ + return m_enum_field; +} + +/*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ +Color& KeyedCompleteTestType::enum_field() +{ + return m_enum_field; +} + + +/*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ +void KeyedCompleteTestType::enum2_field( + Material _enum2_field) +{ + m_enum2_field = _enum2_field; +} + +/*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ +Material KeyedCompleteTestType::enum2_field() const +{ + return m_enum2_field; +} + +/*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ +Material& KeyedCompleteTestType::enum2_field() +{ + return m_enum2_field; +} + + +/*! + * @brief This function copies the value in member struct_field + * @param _struct_field New value to be copied in member struct_field + */ +void KeyedCompleteTestType::struct_field( + const StructType& _struct_field) +{ + m_struct_field = _struct_field; +} + +/*! + * @brief This function moves the value in member struct_field + * @param _struct_field New value to be moved in member struct_field + */ +void KeyedCompleteTestType::struct_field( + StructType&& _struct_field) +{ + m_struct_field = std::move(_struct_field); +} + +/*! + * @brief This function returns a constant reference to member struct_field + * @return Constant reference to member struct_field + */ +const StructType& KeyedCompleteTestType::struct_field() const +{ + return m_struct_field; +} + +/*! + * @brief This function returns a reference to member struct_field + * @return Reference to member struct_field + */ +StructType& KeyedCompleteTestType::struct_field() +{ + return m_struct_field; +} + + +/*! + * @brief This function sets a value in member char_opt_field + * @param _char_opt_field New value for member char_opt_field + */ +void KeyedCompleteTestType::char_opt_field( + char _char_opt_field) +{ + m_char_opt_field = _char_opt_field; +} + +/*! + * @brief This function returns the value of member char_opt_field + * @return Value of member char_opt_field + */ +char KeyedCompleteTestType::char_opt_field() const +{ + return m_char_opt_field; +} + +/*! + * @brief This function returns a reference to member char_opt_field + * @return Reference to member char_opt_field + */ +char& KeyedCompleteTestType::char_opt_field() +{ + return m_char_opt_field; +} + + +/*! + * @brief This function sets a value in member uint8_opt_field + * @param _uint8_opt_field New value for member uint8_opt_field + */ +void KeyedCompleteTestType::uint8_opt_field( + uint8_t _uint8_opt_field) +{ + m_uint8_opt_field = _uint8_opt_field; +} + +/*! + * @brief This function returns the value of member uint8_opt_field + * @return Value of member uint8_opt_field + */ +uint8_t KeyedCompleteTestType::uint8_opt_field() const +{ + return m_uint8_opt_field; +} + +/*! + * @brief This function returns a reference to member uint8_opt_field + * @return Reference to member uint8_opt_field + */ +uint8_t& KeyedCompleteTestType::uint8_opt_field() +{ + return m_uint8_opt_field; +} + + +/*! + * @brief This function sets a value in member int16_opt_field + * @param _int16_opt_field New value for member int16_opt_field + */ +void KeyedCompleteTestType::int16_opt_field( + int16_t _int16_opt_field) +{ + m_int16_opt_field = _int16_opt_field; +} + +/*! + * @brief This function returns the value of member int16_opt_field + * @return Value of member int16_opt_field + */ +int16_t KeyedCompleteTestType::int16_opt_field() const +{ + return m_int16_opt_field; +} + +/*! + * @brief This function returns a reference to member int16_opt_field + * @return Reference to member int16_opt_field + */ +int16_t& KeyedCompleteTestType::int16_opt_field() +{ + return m_int16_opt_field; +} + + +/*! + * @brief This function sets a value in member uint16_opt_field + * @param _uint16_opt_field New value for member uint16_opt_field + */ +void KeyedCompleteTestType::uint16_opt_field( + uint16_t _uint16_opt_field) +{ + m_uint16_opt_field = _uint16_opt_field; +} + +/*! + * @brief This function returns the value of member uint16_opt_field + * @return Value of member uint16_opt_field + */ +uint16_t KeyedCompleteTestType::uint16_opt_field() const +{ + return m_uint16_opt_field; +} + +/*! + * @brief This function returns a reference to member uint16_opt_field + * @return Reference to member uint16_opt_field + */ +uint16_t& KeyedCompleteTestType::uint16_opt_field() +{ + return m_uint16_opt_field; +} + + +/*! + * @brief This function sets a value in member int32_opt_field + * @param _int32_opt_field New value for member int32_opt_field + */ +void KeyedCompleteTestType::int32_opt_field( + int32_t _int32_opt_field) +{ + m_int32_opt_field = _int32_opt_field; +} + +/*! + * @brief This function returns the value of member int32_opt_field + * @return Value of member int32_opt_field + */ +int32_t KeyedCompleteTestType::int32_opt_field() const +{ + return m_int32_opt_field; +} + +/*! + * @brief This function returns a reference to member int32_opt_field + * @return Reference to member int32_opt_field + */ +int32_t& KeyedCompleteTestType::int32_opt_field() +{ + return m_int32_opt_field; +} + + +/*! + * @brief This function sets a value in member uint32_opt_field + * @param _uint32_opt_field New value for member uint32_opt_field + */ +void KeyedCompleteTestType::uint32_opt_field( + uint32_t _uint32_opt_field) +{ + m_uint32_opt_field = _uint32_opt_field; +} + +/*! + * @brief This function returns the value of member uint32_opt_field + * @return Value of member uint32_opt_field + */ +uint32_t KeyedCompleteTestType::uint32_opt_field() const +{ + return m_uint32_opt_field; +} + +/*! + * @brief This function returns a reference to member uint32_opt_field + * @return Reference to member uint32_opt_field + */ +uint32_t& KeyedCompleteTestType::uint32_opt_field() +{ + return m_uint32_opt_field; +} + + +/*! + * @brief This function sets a value in member int64_opt_field + * @param _int64_opt_field New value for member int64_opt_field + */ +void KeyedCompleteTestType::int64_opt_field( + int64_t _int64_opt_field) +{ + m_int64_opt_field = _int64_opt_field; +} + +/*! + * @brief This function returns the value of member int64_opt_field + * @return Value of member int64_opt_field + */ +int64_t KeyedCompleteTestType::int64_opt_field() const +{ + return m_int64_opt_field; +} + +/*! + * @brief This function returns a reference to member int64_opt_field + * @return Reference to member int64_opt_field + */ +int64_t& KeyedCompleteTestType::int64_opt_field() +{ + return m_int64_opt_field; +} + + +/*! + * @brief This function sets a value in member uint64_opt_field + * @param _uint64_opt_field New value for member uint64_opt_field + */ +void KeyedCompleteTestType::uint64_opt_field( + uint64_t _uint64_opt_field) +{ + m_uint64_opt_field = _uint64_opt_field; +} + +/*! + * @brief This function returns the value of member uint64_opt_field + * @return Value of member uint64_opt_field + */ +uint64_t KeyedCompleteTestType::uint64_opt_field() const +{ + return m_uint64_opt_field; +} + +/*! + * @brief This function returns a reference to member uint64_opt_field + * @return Reference to member uint64_opt_field + */ +uint64_t& KeyedCompleteTestType::uint64_opt_field() +{ + return m_uint64_opt_field; +} + + +/*! + * @brief This function sets a value in member float_opt_field + * @param _float_opt_field New value for member float_opt_field + */ +void KeyedCompleteTestType::float_opt_field( + float _float_opt_field) +{ + m_float_opt_field = _float_opt_field; +} + +/*! + * @brief This function returns the value of member float_opt_field + * @return Value of member float_opt_field + */ +float KeyedCompleteTestType::float_opt_field() const +{ + return m_float_opt_field; +} + +/*! + * @brief This function returns a reference to member float_opt_field + * @return Reference to member float_opt_field + */ +float& KeyedCompleteTestType::float_opt_field() +{ + return m_float_opt_field; +} + + +/*! + * @brief This function sets a value in member double_opt_field + * @param _double_opt_field New value for member double_opt_field + */ +void KeyedCompleteTestType::double_opt_field( + double _double_opt_field) +{ + m_double_opt_field = _double_opt_field; +} + +/*! + * @brief This function returns the value of member double_opt_field + * @return Value of member double_opt_field + */ +double KeyedCompleteTestType::double_opt_field() const +{ + return m_double_opt_field; +} + +/*! + * @brief This function returns a reference to member double_opt_field + * @return Reference to member double_opt_field + */ +double& KeyedCompleteTestType::double_opt_field() +{ + return m_double_opt_field; +} + + +/*! + * @brief This function sets a value in member bool_opt_field + * @param _bool_opt_field New value for member bool_opt_field + */ +void KeyedCompleteTestType::bool_opt_field( + bool _bool_opt_field) +{ + m_bool_opt_field = _bool_opt_field; +} + +/*! + * @brief This function returns the value of member bool_opt_field + * @return Value of member bool_opt_field + */ +bool KeyedCompleteTestType::bool_opt_field() const +{ + return m_bool_opt_field; +} + +/*! + * @brief This function returns a reference to member bool_opt_field + * @return Reference to member bool_opt_field + */ +bool& KeyedCompleteTestType::bool_opt_field() +{ + return m_bool_opt_field; +} + + +/*! + * @brief This function copies the value in member string_opt_field + * @param _string_opt_field New value to be copied in member string_opt_field + */ +void KeyedCompleteTestType::string_opt_field( + const std::string& _string_opt_field) +{ + m_string_opt_field = _string_opt_field; +} + +/*! + * @brief This function moves the value in member string_opt_field + * @param _string_opt_field New value to be moved in member string_opt_field + */ +void KeyedCompleteTestType::string_opt_field( + std::string&& _string_opt_field) +{ + m_string_opt_field = std::move(_string_opt_field); +} + +/*! + * @brief This function returns a constant reference to member string_opt_field + * @return Constant reference to member string_opt_field + */ +const std::string& KeyedCompleteTestType::string_opt_field() const +{ + return m_string_opt_field; +} + +/*! + * @brief This function returns a reference to member string_opt_field + * @return Reference to member string_opt_field + */ +std::string& KeyedCompleteTestType::string_opt_field() +{ + return m_string_opt_field; +} + + +/*! + * @brief This function sets a value in member enum_opt_field + * @param _enum_opt_field New value for member enum_opt_field + */ +void KeyedCompleteTestType::enum_opt_field( + Color _enum_opt_field) +{ + m_enum_opt_field = _enum_opt_field; +} + +/*! + * @brief This function returns the value of member enum_opt_field + * @return Value of member enum_opt_field + */ +Color KeyedCompleteTestType::enum_opt_field() const +{ + return m_enum_opt_field; +} + +/*! + * @brief This function returns a reference to member enum_opt_field + * @return Reference to member enum_opt_field + */ +Color& KeyedCompleteTestType::enum_opt_field() +{ + return m_enum_opt_field; +} + + +/*! + * @brief This function sets a value in member enum2_opt_field + * @param _enum2_opt_field New value for member enum2_opt_field + */ +void KeyedCompleteTestType::enum2_opt_field( + Material _enum2_opt_field) +{ + m_enum2_opt_field = _enum2_opt_field; +} + +/*! + * @brief This function returns the value of member enum2_opt_field + * @return Value of member enum2_opt_field + */ +Material KeyedCompleteTestType::enum2_opt_field() const +{ + return m_enum2_opt_field; +} + +/*! + * @brief This function returns a reference to member enum2_opt_field + * @return Reference to member enum2_opt_field + */ +Material& KeyedCompleteTestType::enum2_opt_field() +{ + return m_enum2_opt_field; +} + + +/*! + * @brief This function copies the value in member struct_opt_field + * @param _struct_opt_field New value to be copied in member struct_opt_field + */ +void KeyedCompleteTestType::struct_opt_field( + const StructType& _struct_opt_field) +{ + m_struct_opt_field = _struct_opt_field; +} + +/*! + * @brief This function moves the value in member struct_opt_field + * @param _struct_opt_field New value to be moved in member struct_opt_field + */ +void KeyedCompleteTestType::struct_opt_field( + StructType&& _struct_opt_field) +{ + m_struct_opt_field = std::move(_struct_opt_field); +} + +/*! + * @brief This function returns a constant reference to member struct_opt_field + * @return Constant reference to member struct_opt_field + */ +const StructType& KeyedCompleteTestType::struct_opt_field() const +{ + return m_struct_opt_field; +} + +/*! + * @brief This function returns a reference to member struct_opt_field + * @return Reference to member struct_opt_field + */ +StructType& KeyedCompleteTestType::struct_opt_field() +{ + return m_struct_opt_field; +} + + +/*! + * @brief This function copies the value in member array_char_field + * @param _array_char_field New value to be copied in member array_char_field + */ +void KeyedCompleteTestType::array_char_field( + const std::array& _array_char_field) +{ + m_array_char_field = _array_char_field; +} + +/*! + * @brief This function moves the value in member array_char_field + * @param _array_char_field New value to be moved in member array_char_field + */ +void KeyedCompleteTestType::array_char_field( + std::array&& _array_char_field) +{ + m_array_char_field = std::move(_array_char_field); +} + +/*! + * @brief This function returns a constant reference to member array_char_field + * @return Constant reference to member array_char_field + */ +const std::array& KeyedCompleteTestType::array_char_field() const +{ + return m_array_char_field; +} + +/*! + * @brief This function returns a reference to member array_char_field + * @return Reference to member array_char_field + */ +std::array& KeyedCompleteTestType::array_char_field() +{ + return m_array_char_field; +} + + +/*! + * @brief This function copies the value in member array_uint8_field + * @param _array_uint8_field New value to be copied in member array_uint8_field + */ +void KeyedCompleteTestType::array_uint8_field( + const std::array& _array_uint8_field) +{ + m_array_uint8_field = _array_uint8_field; +} + +/*! + * @brief This function moves the value in member array_uint8_field + * @param _array_uint8_field New value to be moved in member array_uint8_field + */ +void KeyedCompleteTestType::array_uint8_field( + std::array&& _array_uint8_field) +{ + m_array_uint8_field = std::move(_array_uint8_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint8_field + * @return Constant reference to member array_uint8_field + */ +const std::array& KeyedCompleteTestType::array_uint8_field() const +{ + return m_array_uint8_field; +} + +/*! + * @brief This function returns a reference to member array_uint8_field + * @return Reference to member array_uint8_field + */ +std::array& KeyedCompleteTestType::array_uint8_field() +{ + return m_array_uint8_field; +} + + +/*! + * @brief This function copies the value in member array_int16_field + * @param _array_int16_field New value to be copied in member array_int16_field + */ +void KeyedCompleteTestType::array_int16_field( + const std::array& _array_int16_field) +{ + m_array_int16_field = _array_int16_field; +} + +/*! + * @brief This function moves the value in member array_int16_field + * @param _array_int16_field New value to be moved in member array_int16_field + */ +void KeyedCompleteTestType::array_int16_field( + std::array&& _array_int16_field) +{ + m_array_int16_field = std::move(_array_int16_field); +} + +/*! + * @brief This function returns a constant reference to member array_int16_field + * @return Constant reference to member array_int16_field + */ +const std::array& KeyedCompleteTestType::array_int16_field() const +{ + return m_array_int16_field; +} + +/*! + * @brief This function returns a reference to member array_int16_field + * @return Reference to member array_int16_field + */ +std::array& KeyedCompleteTestType::array_int16_field() +{ + return m_array_int16_field; +} + + +/*! + * @brief This function copies the value in member array_uint16_field + * @param _array_uint16_field New value to be copied in member array_uint16_field + */ +void KeyedCompleteTestType::array_uint16_field( + const std::array& _array_uint16_field) +{ + m_array_uint16_field = _array_uint16_field; +} + +/*! + * @brief This function moves the value in member array_uint16_field + * @param _array_uint16_field New value to be moved in member array_uint16_field + */ +void KeyedCompleteTestType::array_uint16_field( + std::array&& _array_uint16_field) +{ + m_array_uint16_field = std::move(_array_uint16_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint16_field + * @return Constant reference to member array_uint16_field + */ +const std::array& KeyedCompleteTestType::array_uint16_field() const +{ + return m_array_uint16_field; +} + +/*! + * @brief This function returns a reference to member array_uint16_field + * @return Reference to member array_uint16_field + */ +std::array& KeyedCompleteTestType::array_uint16_field() +{ + return m_array_uint16_field; +} + + +/*! + * @brief This function copies the value in member array_int32_field + * @param _array_int32_field New value to be copied in member array_int32_field + */ +void KeyedCompleteTestType::array_int32_field( + const std::array& _array_int32_field) +{ + m_array_int32_field = _array_int32_field; +} + +/*! + * @brief This function moves the value in member array_int32_field + * @param _array_int32_field New value to be moved in member array_int32_field + */ +void KeyedCompleteTestType::array_int32_field( + std::array&& _array_int32_field) +{ + m_array_int32_field = std::move(_array_int32_field); +} + +/*! + * @brief This function returns a constant reference to member array_int32_field + * @return Constant reference to member array_int32_field + */ +const std::array& KeyedCompleteTestType::array_int32_field() const +{ + return m_array_int32_field; +} + +/*! + * @brief This function returns a reference to member array_int32_field + * @return Reference to member array_int32_field + */ +std::array& KeyedCompleteTestType::array_int32_field() +{ + return m_array_int32_field; +} + + +/*! + * @brief This function copies the value in member array_uint32_field + * @param _array_uint32_field New value to be copied in member array_uint32_field + */ +void KeyedCompleteTestType::array_uint32_field( + const std::array& _array_uint32_field) +{ + m_array_uint32_field = _array_uint32_field; +} + +/*! + * @brief This function moves the value in member array_uint32_field + * @param _array_uint32_field New value to be moved in member array_uint32_field + */ +void KeyedCompleteTestType::array_uint32_field( + std::array&& _array_uint32_field) +{ + m_array_uint32_field = std::move(_array_uint32_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint32_field + * @return Constant reference to member array_uint32_field + */ +const std::array& KeyedCompleteTestType::array_uint32_field() const +{ + return m_array_uint32_field; +} + +/*! + * @brief This function returns a reference to member array_uint32_field + * @return Reference to member array_uint32_field + */ +std::array& KeyedCompleteTestType::array_uint32_field() +{ + return m_array_uint32_field; +} + + +/*! + * @brief This function copies the value in member array_int64_field + * @param _array_int64_field New value to be copied in member array_int64_field + */ +void KeyedCompleteTestType::array_int64_field( + const std::array& _array_int64_field) +{ + m_array_int64_field = _array_int64_field; +} + +/*! + * @brief This function moves the value in member array_int64_field + * @param _array_int64_field New value to be moved in member array_int64_field + */ +void KeyedCompleteTestType::array_int64_field( + std::array&& _array_int64_field) +{ + m_array_int64_field = std::move(_array_int64_field); +} + +/*! + * @brief This function returns a constant reference to member array_int64_field + * @return Constant reference to member array_int64_field + */ +const std::array& KeyedCompleteTestType::array_int64_field() const +{ + return m_array_int64_field; +} + +/*! + * @brief This function returns a reference to member array_int64_field + * @return Reference to member array_int64_field + */ +std::array& KeyedCompleteTestType::array_int64_field() +{ + return m_array_int64_field; +} + + +/*! + * @brief This function copies the value in member array_uint64_field + * @param _array_uint64_field New value to be copied in member array_uint64_field + */ +void KeyedCompleteTestType::array_uint64_field( + const std::array& _array_uint64_field) +{ + m_array_uint64_field = _array_uint64_field; +} + +/*! + * @brief This function moves the value in member array_uint64_field + * @param _array_uint64_field New value to be moved in member array_uint64_field + */ +void KeyedCompleteTestType::array_uint64_field( + std::array&& _array_uint64_field) +{ + m_array_uint64_field = std::move(_array_uint64_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint64_field + * @return Constant reference to member array_uint64_field + */ +const std::array& KeyedCompleteTestType::array_uint64_field() const +{ + return m_array_uint64_field; +} + +/*! + * @brief This function returns a reference to member array_uint64_field + * @return Reference to member array_uint64_field + */ +std::array& KeyedCompleteTestType::array_uint64_field() +{ + return m_array_uint64_field; +} + + +/*! + * @brief This function copies the value in member array_float_field + * @param _array_float_field New value to be copied in member array_float_field + */ +void KeyedCompleteTestType::array_float_field( + const std::array& _array_float_field) +{ + m_array_float_field = _array_float_field; +} + +/*! + * @brief This function moves the value in member array_float_field + * @param _array_float_field New value to be moved in member array_float_field + */ +void KeyedCompleteTestType::array_float_field( + std::array&& _array_float_field) +{ + m_array_float_field = std::move(_array_float_field); +} + +/*! + * @brief This function returns a constant reference to member array_float_field + * @return Constant reference to member array_float_field + */ +const std::array& KeyedCompleteTestType::array_float_field() const +{ + return m_array_float_field; +} + +/*! + * @brief This function returns a reference to member array_float_field + * @return Reference to member array_float_field + */ +std::array& KeyedCompleteTestType::array_float_field() +{ + return m_array_float_field; +} + + +/*! + * @brief This function copies the value in member array_double_field + * @param _array_double_field New value to be copied in member array_double_field + */ +void KeyedCompleteTestType::array_double_field( + const std::array& _array_double_field) +{ + m_array_double_field = _array_double_field; +} + +/*! + * @brief This function moves the value in member array_double_field + * @param _array_double_field New value to be moved in member array_double_field + */ +void KeyedCompleteTestType::array_double_field( + std::array&& _array_double_field) +{ + m_array_double_field = std::move(_array_double_field); +} + +/*! + * @brief This function returns a constant reference to member array_double_field + * @return Constant reference to member array_double_field + */ +const std::array& KeyedCompleteTestType::array_double_field() const +{ + return m_array_double_field; +} + +/*! + * @brief This function returns a reference to member array_double_field + * @return Reference to member array_double_field + */ +std::array& KeyedCompleteTestType::array_double_field() +{ + return m_array_double_field; +} + + +/*! + * @brief This function copies the value in member array_bool_field + * @param _array_bool_field New value to be copied in member array_bool_field + */ +void KeyedCompleteTestType::array_bool_field( + const std::array& _array_bool_field) +{ + m_array_bool_field = _array_bool_field; +} + +/*! + * @brief This function moves the value in member array_bool_field + * @param _array_bool_field New value to be moved in member array_bool_field + */ +void KeyedCompleteTestType::array_bool_field( + std::array&& _array_bool_field) +{ + m_array_bool_field = std::move(_array_bool_field); +} + +/*! + * @brief This function returns a constant reference to member array_bool_field + * @return Constant reference to member array_bool_field + */ +const std::array& KeyedCompleteTestType::array_bool_field() const +{ + return m_array_bool_field; +} + +/*! + * @brief This function returns a reference to member array_bool_field + * @return Reference to member array_bool_field + */ +std::array& KeyedCompleteTestType::array_bool_field() +{ + return m_array_bool_field; +} + + +/*! + * @brief This function copies the value in member array_enum_field + * @param _array_enum_field New value to be copied in member array_enum_field + */ +void KeyedCompleteTestType::array_enum_field( + const std::array& _array_enum_field) +{ + m_array_enum_field = _array_enum_field; +} + +/*! + * @brief This function moves the value in member array_enum_field + * @param _array_enum_field New value to be moved in member array_enum_field + */ +void KeyedCompleteTestType::array_enum_field( + std::array&& _array_enum_field) +{ + m_array_enum_field = std::move(_array_enum_field); +} + +/*! + * @brief This function returns a constant reference to member array_enum_field + * @return Constant reference to member array_enum_field + */ +const std::array& KeyedCompleteTestType::array_enum_field() const +{ + return m_array_enum_field; +} + +/*! + * @brief This function returns a reference to member array_enum_field + * @return Reference to member array_enum_field + */ +std::array& KeyedCompleteTestType::array_enum_field() +{ + return m_array_enum_field; +} + + +/*! + * @brief This function copies the value in member array_enum2_field + * @param _array_enum2_field New value to be copied in member array_enum2_field + */ +void KeyedCompleteTestType::array_enum2_field( + const std::array& _array_enum2_field) +{ + m_array_enum2_field = _array_enum2_field; +} + +/*! + * @brief This function moves the value in member array_enum2_field + * @param _array_enum2_field New value to be moved in member array_enum2_field + */ +void KeyedCompleteTestType::array_enum2_field( + std::array&& _array_enum2_field) +{ + m_array_enum2_field = std::move(_array_enum2_field); +} + +/*! + * @brief This function returns a constant reference to member array_enum2_field + * @return Constant reference to member array_enum2_field + */ +const std::array& KeyedCompleteTestType::array_enum2_field() const +{ + return m_array_enum2_field; +} + +/*! + * @brief This function returns a reference to member array_enum2_field + * @return Reference to member array_enum2_field + */ +std::array& KeyedCompleteTestType::array_enum2_field() +{ + return m_array_enum2_field; +} + + +/*! + * @brief This function copies the value in member array_struct_field + * @param _array_struct_field New value to be copied in member array_struct_field + */ +void KeyedCompleteTestType::array_struct_field( + const std::array& _array_struct_field) +{ + m_array_struct_field = _array_struct_field; +} + +/*! + * @brief This function moves the value in member array_struct_field + * @param _array_struct_field New value to be moved in member array_struct_field + */ +void KeyedCompleteTestType::array_struct_field( + std::array&& _array_struct_field) +{ + m_array_struct_field = std::move(_array_struct_field); +} + +/*! + * @brief This function returns a constant reference to member array_struct_field + * @return Constant reference to member array_struct_field + */ +const std::array& KeyedCompleteTestType::array_struct_field() const +{ + return m_array_struct_field; +} + +/*! + * @brief This function returns a reference to member array_struct_field + * @return Reference to member array_struct_field + */ +std::array& KeyedCompleteTestType::array_struct_field() +{ + return m_array_struct_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be copied in member bounded_sequence_char_field + */ +void KeyedCompleteTestType::bounded_sequence_char_field( + const std::vector& _bounded_sequence_char_field) +{ + m_bounded_sequence_char_field = _bounded_sequence_char_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be moved in member bounded_sequence_char_field + */ +void KeyedCompleteTestType::bounded_sequence_char_field( + std::vector&& _bounded_sequence_char_field) +{ + m_bounded_sequence_char_field = std::move(_bounded_sequence_char_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_char_field + * @return Constant reference to member bounded_sequence_char_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_char_field() const +{ + return m_bounded_sequence_char_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_char_field + * @return Reference to member bounded_sequence_char_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_char_field() +{ + return m_bounded_sequence_char_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be copied in member bounded_sequence_uint8_field + */ +void KeyedCompleteTestType::bounded_sequence_uint8_field( + const std::vector& _bounded_sequence_uint8_field) +{ + m_bounded_sequence_uint8_field = _bounded_sequence_uint8_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be moved in member bounded_sequence_uint8_field + */ +void KeyedCompleteTestType::bounded_sequence_uint8_field( + std::vector&& _bounded_sequence_uint8_field) +{ + m_bounded_sequence_uint8_field = std::move(_bounded_sequence_uint8_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint8_field + * @return Constant reference to member bounded_sequence_uint8_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_uint8_field() const +{ + return m_bounded_sequence_uint8_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint8_field + * @return Reference to member bounded_sequence_uint8_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_uint8_field() +{ + return m_bounded_sequence_uint8_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be copied in member bounded_sequence_int16_field + */ +void KeyedCompleteTestType::bounded_sequence_int16_field( + const std::vector& _bounded_sequence_int16_field) +{ + m_bounded_sequence_int16_field = _bounded_sequence_int16_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be moved in member bounded_sequence_int16_field + */ +void KeyedCompleteTestType::bounded_sequence_int16_field( + std::vector&& _bounded_sequence_int16_field) +{ + m_bounded_sequence_int16_field = std::move(_bounded_sequence_int16_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_int16_field + * @return Constant reference to member bounded_sequence_int16_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_int16_field() const +{ + return m_bounded_sequence_int16_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_int16_field + * @return Reference to member bounded_sequence_int16_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_int16_field() +{ + return m_bounded_sequence_int16_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be copied in member bounded_sequence_uint16_field + */ +void KeyedCompleteTestType::bounded_sequence_uint16_field( + const std::vector& _bounded_sequence_uint16_field) +{ + m_bounded_sequence_uint16_field = _bounded_sequence_uint16_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be moved in member bounded_sequence_uint16_field + */ +void KeyedCompleteTestType::bounded_sequence_uint16_field( + std::vector&& _bounded_sequence_uint16_field) +{ + m_bounded_sequence_uint16_field = std::move(_bounded_sequence_uint16_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint16_field + * @return Constant reference to member bounded_sequence_uint16_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_uint16_field() const +{ + return m_bounded_sequence_uint16_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint16_field + * @return Reference to member bounded_sequence_uint16_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_uint16_field() +{ + return m_bounded_sequence_uint16_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be copied in member bounded_sequence_int32_field + */ +void KeyedCompleteTestType::bounded_sequence_int32_field( + const std::vector& _bounded_sequence_int32_field) +{ + m_bounded_sequence_int32_field = _bounded_sequence_int32_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be moved in member bounded_sequence_int32_field + */ +void KeyedCompleteTestType::bounded_sequence_int32_field( + std::vector&& _bounded_sequence_int32_field) +{ + m_bounded_sequence_int32_field = std::move(_bounded_sequence_int32_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_int32_field + * @return Constant reference to member bounded_sequence_int32_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_int32_field() const +{ + return m_bounded_sequence_int32_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_int32_field + * @return Reference to member bounded_sequence_int32_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_int32_field() +{ + return m_bounded_sequence_int32_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be copied in member bounded_sequence_uint32_field + */ +void KeyedCompleteTestType::bounded_sequence_uint32_field( + const std::vector& _bounded_sequence_uint32_field) +{ + m_bounded_sequence_uint32_field = _bounded_sequence_uint32_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be moved in member bounded_sequence_uint32_field + */ +void KeyedCompleteTestType::bounded_sequence_uint32_field( + std::vector&& _bounded_sequence_uint32_field) +{ + m_bounded_sequence_uint32_field = std::move(_bounded_sequence_uint32_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint32_field + * @return Constant reference to member bounded_sequence_uint32_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_uint32_field() const +{ + return m_bounded_sequence_uint32_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint32_field + * @return Reference to member bounded_sequence_uint32_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_uint32_field() +{ + return m_bounded_sequence_uint32_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be copied in member bounded_sequence_int64_field + */ +void KeyedCompleteTestType::bounded_sequence_int64_field( + const std::vector& _bounded_sequence_int64_field) +{ + m_bounded_sequence_int64_field = _bounded_sequence_int64_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be moved in member bounded_sequence_int64_field + */ +void KeyedCompleteTestType::bounded_sequence_int64_field( + std::vector&& _bounded_sequence_int64_field) +{ + m_bounded_sequence_int64_field = std::move(_bounded_sequence_int64_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_int64_field + * @return Constant reference to member bounded_sequence_int64_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_int64_field() const +{ + return m_bounded_sequence_int64_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_int64_field + * @return Reference to member bounded_sequence_int64_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_int64_field() +{ + return m_bounded_sequence_int64_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be copied in member bounded_sequence_uint64_field + */ +void KeyedCompleteTestType::bounded_sequence_uint64_field( + const std::vector& _bounded_sequence_uint64_field) +{ + m_bounded_sequence_uint64_field = _bounded_sequence_uint64_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be moved in member bounded_sequence_uint64_field + */ +void KeyedCompleteTestType::bounded_sequence_uint64_field( + std::vector&& _bounded_sequence_uint64_field) +{ + m_bounded_sequence_uint64_field = std::move(_bounded_sequence_uint64_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint64_field + * @return Constant reference to member bounded_sequence_uint64_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_uint64_field() const +{ + return m_bounded_sequence_uint64_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint64_field + * @return Reference to member bounded_sequence_uint64_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_uint64_field() +{ + return m_bounded_sequence_uint64_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be copied in member bounded_sequence_float_field + */ +void KeyedCompleteTestType::bounded_sequence_float_field( + const std::vector& _bounded_sequence_float_field) +{ + m_bounded_sequence_float_field = _bounded_sequence_float_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be moved in member bounded_sequence_float_field + */ +void KeyedCompleteTestType::bounded_sequence_float_field( + std::vector&& _bounded_sequence_float_field) +{ + m_bounded_sequence_float_field = std::move(_bounded_sequence_float_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_float_field + * @return Constant reference to member bounded_sequence_float_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_float_field() const +{ + return m_bounded_sequence_float_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_float_field + * @return Reference to member bounded_sequence_float_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_float_field() +{ + return m_bounded_sequence_float_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be copied in member bounded_sequence_double_field + */ +void KeyedCompleteTestType::bounded_sequence_double_field( + const std::vector& _bounded_sequence_double_field) +{ + m_bounded_sequence_double_field = _bounded_sequence_double_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be moved in member bounded_sequence_double_field + */ +void KeyedCompleteTestType::bounded_sequence_double_field( + std::vector&& _bounded_sequence_double_field) +{ + m_bounded_sequence_double_field = std::move(_bounded_sequence_double_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_double_field + * @return Constant reference to member bounded_sequence_double_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_double_field() const +{ + return m_bounded_sequence_double_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_double_field + * @return Reference to member bounded_sequence_double_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_double_field() +{ + return m_bounded_sequence_double_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be copied in member bounded_sequence_bool_field + */ +void KeyedCompleteTestType::bounded_sequence_bool_field( + const std::vector& _bounded_sequence_bool_field) +{ + m_bounded_sequence_bool_field = _bounded_sequence_bool_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be moved in member bounded_sequence_bool_field + */ +void KeyedCompleteTestType::bounded_sequence_bool_field( + std::vector&& _bounded_sequence_bool_field) +{ + m_bounded_sequence_bool_field = std::move(_bounded_sequence_bool_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_bool_field + * @return Constant reference to member bounded_sequence_bool_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_bool_field() const +{ + return m_bounded_sequence_bool_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_bool_field + * @return Reference to member bounded_sequence_bool_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_bool_field() +{ + return m_bounded_sequence_bool_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be copied in member bounded_sequence_enum_field + */ +void KeyedCompleteTestType::bounded_sequence_enum_field( + const std::vector& _bounded_sequence_enum_field) +{ + m_bounded_sequence_enum_field = _bounded_sequence_enum_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be moved in member bounded_sequence_enum_field + */ +void KeyedCompleteTestType::bounded_sequence_enum_field( + std::vector&& _bounded_sequence_enum_field) +{ + m_bounded_sequence_enum_field = std::move(_bounded_sequence_enum_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_enum_field + * @return Constant reference to member bounded_sequence_enum_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_enum_field() const +{ + return m_bounded_sequence_enum_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_enum_field + * @return Reference to member bounded_sequence_enum_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_enum_field() +{ + return m_bounded_sequence_enum_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be copied in member bounded_sequence_enum2_field + */ +void KeyedCompleteTestType::bounded_sequence_enum2_field( + const std::vector& _bounded_sequence_enum2_field) +{ + m_bounded_sequence_enum2_field = _bounded_sequence_enum2_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be moved in member bounded_sequence_enum2_field + */ +void KeyedCompleteTestType::bounded_sequence_enum2_field( + std::vector&& _bounded_sequence_enum2_field) +{ + m_bounded_sequence_enum2_field = std::move(_bounded_sequence_enum2_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_enum2_field + * @return Constant reference to member bounded_sequence_enum2_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_enum2_field() const +{ + return m_bounded_sequence_enum2_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_enum2_field + * @return Reference to member bounded_sequence_enum2_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_enum2_field() +{ + return m_bounded_sequence_enum2_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be copied in member bounded_sequence_struct_field + */ +void KeyedCompleteTestType::bounded_sequence_struct_field( + const std::vector& _bounded_sequence_struct_field) +{ + m_bounded_sequence_struct_field = _bounded_sequence_struct_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be moved in member bounded_sequence_struct_field + */ +void KeyedCompleteTestType::bounded_sequence_struct_field( + std::vector&& _bounded_sequence_struct_field) +{ + m_bounded_sequence_struct_field = std::move(_bounded_sequence_struct_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_struct_field + * @return Constant reference to member bounded_sequence_struct_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_struct_field() const +{ + return m_bounded_sequence_struct_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_struct_field + * @return Reference to member bounded_sequence_struct_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_struct_field() +{ + return m_bounded_sequence_struct_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be copied in member unbounded_sequence_char_field + */ +void KeyedCompleteTestType::unbounded_sequence_char_field( + const std::vector& _unbounded_sequence_char_field) +{ + m_unbounded_sequence_char_field = _unbounded_sequence_char_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be moved in member unbounded_sequence_char_field + */ +void KeyedCompleteTestType::unbounded_sequence_char_field( + std::vector&& _unbounded_sequence_char_field) +{ + m_unbounded_sequence_char_field = std::move(_unbounded_sequence_char_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_char_field + * @return Constant reference to member unbounded_sequence_char_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_char_field() const +{ + return m_unbounded_sequence_char_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_char_field + * @return Reference to member unbounded_sequence_char_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_char_field() +{ + return m_unbounded_sequence_char_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be copied in member unbounded_sequence_uint8_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint8_field( + const std::vector& _unbounded_sequence_uint8_field) +{ + m_unbounded_sequence_uint8_field = _unbounded_sequence_uint8_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be moved in member unbounded_sequence_uint8_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint8_field( + std::vector&& _unbounded_sequence_uint8_field) +{ + m_unbounded_sequence_uint8_field = std::move(_unbounded_sequence_uint8_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint8_field + * @return Constant reference to member unbounded_sequence_uint8_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_uint8_field() const +{ + return m_unbounded_sequence_uint8_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint8_field + * @return Reference to member unbounded_sequence_uint8_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_uint8_field() +{ + return m_unbounded_sequence_uint8_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be copied in member unbounded_sequence_int16_field + */ +void KeyedCompleteTestType::unbounded_sequence_int16_field( + const std::vector& _unbounded_sequence_int16_field) +{ + m_unbounded_sequence_int16_field = _unbounded_sequence_int16_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be moved in member unbounded_sequence_int16_field + */ +void KeyedCompleteTestType::unbounded_sequence_int16_field( + std::vector&& _unbounded_sequence_int16_field) +{ + m_unbounded_sequence_int16_field = std::move(_unbounded_sequence_int16_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_int16_field + * @return Constant reference to member unbounded_sequence_int16_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_int16_field() const +{ + return m_unbounded_sequence_int16_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_int16_field + * @return Reference to member unbounded_sequence_int16_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_int16_field() +{ + return m_unbounded_sequence_int16_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be copied in member unbounded_sequence_uint16_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint16_field( + const std::vector& _unbounded_sequence_uint16_field) +{ + m_unbounded_sequence_uint16_field = _unbounded_sequence_uint16_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be moved in member unbounded_sequence_uint16_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint16_field( + std::vector&& _unbounded_sequence_uint16_field) +{ + m_unbounded_sequence_uint16_field = std::move(_unbounded_sequence_uint16_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint16_field + * @return Constant reference to member unbounded_sequence_uint16_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_uint16_field() const +{ + return m_unbounded_sequence_uint16_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint16_field + * @return Reference to member unbounded_sequence_uint16_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_uint16_field() +{ + return m_unbounded_sequence_uint16_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be copied in member unbounded_sequence_int32_field + */ +void KeyedCompleteTestType::unbounded_sequence_int32_field( + const std::vector& _unbounded_sequence_int32_field) +{ + m_unbounded_sequence_int32_field = _unbounded_sequence_int32_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be moved in member unbounded_sequence_int32_field + */ +void KeyedCompleteTestType::unbounded_sequence_int32_field( + std::vector&& _unbounded_sequence_int32_field) +{ + m_unbounded_sequence_int32_field = std::move(_unbounded_sequence_int32_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_int32_field + * @return Constant reference to member unbounded_sequence_int32_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_int32_field() const +{ + return m_unbounded_sequence_int32_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_int32_field + * @return Reference to member unbounded_sequence_int32_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_int32_field() +{ + return m_unbounded_sequence_int32_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be copied in member unbounded_sequence_uint32_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint32_field( + const std::vector& _unbounded_sequence_uint32_field) +{ + m_unbounded_sequence_uint32_field = _unbounded_sequence_uint32_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be moved in member unbounded_sequence_uint32_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint32_field( + std::vector&& _unbounded_sequence_uint32_field) +{ + m_unbounded_sequence_uint32_field = std::move(_unbounded_sequence_uint32_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint32_field + * @return Constant reference to member unbounded_sequence_uint32_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_uint32_field() const +{ + return m_unbounded_sequence_uint32_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint32_field + * @return Reference to member unbounded_sequence_uint32_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_uint32_field() +{ + return m_unbounded_sequence_uint32_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be copied in member unbounded_sequence_int64_field + */ +void KeyedCompleteTestType::unbounded_sequence_int64_field( + const std::vector& _unbounded_sequence_int64_field) +{ + m_unbounded_sequence_int64_field = _unbounded_sequence_int64_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be moved in member unbounded_sequence_int64_field + */ +void KeyedCompleteTestType::unbounded_sequence_int64_field( + std::vector&& _unbounded_sequence_int64_field) +{ + m_unbounded_sequence_int64_field = std::move(_unbounded_sequence_int64_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_int64_field + * @return Constant reference to member unbounded_sequence_int64_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_int64_field() const +{ + return m_unbounded_sequence_int64_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_int64_field + * @return Reference to member unbounded_sequence_int64_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_int64_field() +{ + return m_unbounded_sequence_int64_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be copied in member unbounded_sequence_uint64_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint64_field( + const std::vector& _unbounded_sequence_uint64_field) +{ + m_unbounded_sequence_uint64_field = _unbounded_sequence_uint64_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be moved in member unbounded_sequence_uint64_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint64_field( + std::vector&& _unbounded_sequence_uint64_field) +{ + m_unbounded_sequence_uint64_field = std::move(_unbounded_sequence_uint64_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint64_field + * @return Constant reference to member unbounded_sequence_uint64_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_uint64_field() const +{ + return m_unbounded_sequence_uint64_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint64_field + * @return Reference to member unbounded_sequence_uint64_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_uint64_field() +{ + return m_unbounded_sequence_uint64_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be copied in member unbounded_sequence_float_field + */ +void KeyedCompleteTestType::unbounded_sequence_float_field( + const std::vector& _unbounded_sequence_float_field) +{ + m_unbounded_sequence_float_field = _unbounded_sequence_float_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be moved in member unbounded_sequence_float_field + */ +void KeyedCompleteTestType::unbounded_sequence_float_field( + std::vector&& _unbounded_sequence_float_field) +{ + m_unbounded_sequence_float_field = std::move(_unbounded_sequence_float_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_float_field + * @return Constant reference to member unbounded_sequence_float_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_float_field() const +{ + return m_unbounded_sequence_float_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_float_field + * @return Reference to member unbounded_sequence_float_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_float_field() +{ + return m_unbounded_sequence_float_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be copied in member unbounded_sequence_double_field + */ +void KeyedCompleteTestType::unbounded_sequence_double_field( + const std::vector& _unbounded_sequence_double_field) +{ + m_unbounded_sequence_double_field = _unbounded_sequence_double_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be moved in member unbounded_sequence_double_field + */ +void KeyedCompleteTestType::unbounded_sequence_double_field( + std::vector&& _unbounded_sequence_double_field) +{ + m_unbounded_sequence_double_field = std::move(_unbounded_sequence_double_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_double_field + * @return Constant reference to member unbounded_sequence_double_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_double_field() const +{ + return m_unbounded_sequence_double_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_double_field + * @return Reference to member unbounded_sequence_double_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_double_field() +{ + return m_unbounded_sequence_double_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be copied in member unbounded_sequence_bool_field + */ +void KeyedCompleteTestType::unbounded_sequence_bool_field( + const std::vector& _unbounded_sequence_bool_field) +{ + m_unbounded_sequence_bool_field = _unbounded_sequence_bool_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be moved in member unbounded_sequence_bool_field + */ +void KeyedCompleteTestType::unbounded_sequence_bool_field( + std::vector&& _unbounded_sequence_bool_field) +{ + m_unbounded_sequence_bool_field = std::move(_unbounded_sequence_bool_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_bool_field + * @return Constant reference to member unbounded_sequence_bool_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_bool_field() const +{ + return m_unbounded_sequence_bool_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_bool_field + * @return Reference to member unbounded_sequence_bool_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_bool_field() +{ + return m_unbounded_sequence_bool_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be copied in member unbounded_sequence_enum_field + */ +void KeyedCompleteTestType::unbounded_sequence_enum_field( + const std::vector& _unbounded_sequence_enum_field) +{ + m_unbounded_sequence_enum_field = _unbounded_sequence_enum_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be moved in member unbounded_sequence_enum_field + */ +void KeyedCompleteTestType::unbounded_sequence_enum_field( + std::vector&& _unbounded_sequence_enum_field) +{ + m_unbounded_sequence_enum_field = std::move(_unbounded_sequence_enum_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_enum_field + * @return Constant reference to member unbounded_sequence_enum_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_enum_field() const +{ + return m_unbounded_sequence_enum_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_enum_field + * @return Reference to member unbounded_sequence_enum_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_enum_field() +{ + return m_unbounded_sequence_enum_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be copied in member unbounded_sequence_enum2_field + */ +void KeyedCompleteTestType::unbounded_sequence_enum2_field( + const std::vector& _unbounded_sequence_enum2_field) +{ + m_unbounded_sequence_enum2_field = _unbounded_sequence_enum2_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be moved in member unbounded_sequence_enum2_field + */ +void KeyedCompleteTestType::unbounded_sequence_enum2_field( + std::vector&& _unbounded_sequence_enum2_field) +{ + m_unbounded_sequence_enum2_field = std::move(_unbounded_sequence_enum2_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_enum2_field + * @return Constant reference to member unbounded_sequence_enum2_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_enum2_field() const +{ + return m_unbounded_sequence_enum2_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_enum2_field + * @return Reference to member unbounded_sequence_enum2_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_enum2_field() +{ + return m_unbounded_sequence_enum2_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be copied in member unbounded_sequence_struct_field + */ +void KeyedCompleteTestType::unbounded_sequence_struct_field( + const std::vector& _unbounded_sequence_struct_field) +{ + m_unbounded_sequence_struct_field = _unbounded_sequence_struct_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be moved in member unbounded_sequence_struct_field + */ +void KeyedCompleteTestType::unbounded_sequence_struct_field( + std::vector&& _unbounded_sequence_struct_field) +{ + m_unbounded_sequence_struct_field = std::move(_unbounded_sequence_struct_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_struct_field + * @return Constant reference to member unbounded_sequence_struct_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_struct_field() const +{ + return m_unbounded_sequence_struct_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_struct_field + * @return Reference to member unbounded_sequence_struct_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_struct_field() +{ + return m_unbounded_sequence_struct_field; +} + + + + +#endif // FASTCDR_VERSION_MAJOR == 1 diff --git a/fastdds_python/test/types/test_completev1.h b/fastdds_python/test/types/test_completev1.h new file mode 100644 index 00000000..a53a7c1c --- /dev/null +++ b/fastdds_python/test/types/test_completev1.h @@ -0,0 +1,4481 @@ +// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/*! + * @file test_complete.h + * This header file contains the declaration of the described types in the IDL file. + * + * This file was generated by the tool fastddsgen. + */ + +#include + +#if FASTCDR_VERSION_MAJOR == 1 + +#ifndef _FAST_DDS_GENERATED_TEST_COMPLETE_H_ +#define _FAST_DDS_GENERATED_TEST_COMPLETE_H_ + +#include "test_included_modules.h" + +#include + +#include +#include +#include +#include +#include +#include + +#if defined(_WIN32) +#if defined(EPROSIMA_USER_DLL_EXPORT) +#define eProsima_user_DllExport __declspec( dllexport ) +#else +#define eProsima_user_DllExport +#endif // EPROSIMA_USER_DLL_EXPORT +#else +#define eProsima_user_DllExport +#endif // _WIN32 + +#if defined(_WIN32) +#if defined(EPROSIMA_USER_DLL_EXPORT) +#if defined(TEST_COMPLETE_SOURCE) +#define TEST_COMPLETE_DllAPI __declspec( dllexport ) +#else +#define TEST_COMPLETE_DllAPI __declspec( dllimport ) +#endif // TEST_COMPLETE_SOURCE +#else +#define TEST_COMPLETE_DllAPI +#endif // EPROSIMA_USER_DLL_EXPORT +#else +#define TEST_COMPLETE_DllAPI +#endif // _WIN32 + +namespace eprosima { +namespace fastcdr { +class Cdr; +} // namespace fastcdr +} // namespace eprosima + + + +/*! + * @brief This class represents the enumeration Color defined by the user in the IDL file. + * @ingroup test_complete + */ +enum Color : uint32_t +{ + RED, + GREEN, + BLUE, + YELLOW, + MAGENTA +}; +/*! + * @brief This class represents the enumeration Material defined by the user in the IDL file. + * @ingroup test_complete + */ +enum Material : uint32_t +{ + WOOD, + PLASTIC, + METAL, + CONCRETE, + STONE +}; + + +/*! + * @brief This class represents the structure StructType defined by the user in the IDL file. + * @ingroup test_complete + */ +class StructType +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport StructType(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~StructType(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object StructType that will be copied. + */ + eProsima_user_DllExport StructType( + const StructType& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object StructType that will be copied. + */ + eProsima_user_DllExport StructType( + StructType&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object StructType that will be copied. + */ + eProsima_user_DllExport StructType& operator =( + const StructType& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object StructType that will be copied. + */ + eProsima_user_DllExport StructType& operator =( + StructType&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x StructType object to compare. + */ + eProsima_user_DllExport bool operator ==( + const StructType& x) const; + + /*! + * @brief Comparison operator. + * @param x StructType object to compare. + */ + eProsima_user_DllExport bool operator !=( + const StructType& x) const; + + /*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ + eProsima_user_DllExport void char_field( + char _char_field); + + /*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ + eProsima_user_DllExport char char_field() const; + + /*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ + eProsima_user_DllExport char& char_field(); + + + /*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ + eProsima_user_DllExport void uint8_field( + uint8_t _uint8_field); + + /*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ + eProsima_user_DllExport uint8_t uint8_field() const; + + /*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ + eProsima_user_DllExport uint8_t& uint8_field(); + + + /*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ + eProsima_user_DllExport void int16_field( + int16_t _int16_field); + + /*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ + eProsima_user_DllExport int16_t int16_field() const; + + /*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ + eProsima_user_DllExport int16_t& int16_field(); + + + /*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ + eProsima_user_DllExport void uint16_field( + uint16_t _uint16_field); + + /*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ + eProsima_user_DllExport uint16_t uint16_field() const; + + /*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ + eProsima_user_DllExport uint16_t& uint16_field(); + + + /*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ + eProsima_user_DllExport void int32_field( + int32_t _int32_field); + + /*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ + eProsima_user_DllExport int32_t int32_field() const; + + /*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ + eProsima_user_DllExport int32_t& int32_field(); + + + /*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ + eProsima_user_DllExport void uint32_field( + uint32_t _uint32_field); + + /*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ + eProsima_user_DllExport uint32_t uint32_field() const; + + /*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ + eProsima_user_DllExport uint32_t& uint32_field(); + + + /*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ + eProsima_user_DllExport void int64_field( + int64_t _int64_field); + + /*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ + eProsima_user_DllExport int64_t int64_field() const; + + /*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ + eProsima_user_DllExport int64_t& int64_field(); + + + /*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ + eProsima_user_DllExport void uint64_field( + uint64_t _uint64_field); + + /*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ + eProsima_user_DllExport uint64_t uint64_field() const; + + /*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ + eProsima_user_DllExport uint64_t& uint64_field(); + + + /*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ + eProsima_user_DllExport void float_field( + float _float_field); + + /*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ + eProsima_user_DllExport float float_field() const; + + /*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ + eProsima_user_DllExport float& float_field(); + + + /*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ + eProsima_user_DllExport void double_field( + double _double_field); + + /*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ + eProsima_user_DllExport double double_field() const; + + /*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ + eProsima_user_DllExport double& double_field(); + + + /*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ + eProsima_user_DllExport void bool_field( + bool _bool_field); + + /*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ + eProsima_user_DllExport bool bool_field() const; + + /*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ + eProsima_user_DllExport bool& bool_field(); + + + /*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ + eProsima_user_DllExport void string_field( + const std::string& _string_field); + + /*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ + eProsima_user_DllExport void string_field( + std::string&& _string_field); + + /*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ + eProsima_user_DllExport const std::string& string_field() const; + + /*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ + eProsima_user_DllExport std::string& string_field(); + + + /*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ + eProsima_user_DllExport void enum_field( + Color _enum_field); + + /*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ + eProsima_user_DllExport Color enum_field() const; + + /*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ + eProsima_user_DllExport Color& enum_field(); + + + /*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ + eProsima_user_DllExport void enum2_field( + Material _enum2_field); + + /*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ + eProsima_user_DllExport Material enum2_field() const; + + /*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ + eProsima_user_DllExport Material& enum2_field(); + + + /*! + * @brief This function copies the value in member included_module_struct + * @param _included_module_struct New value to be copied in member included_module_struct + */ + eProsima_user_DllExport void included_module_struct( + const eprosima::test2::StructType2& _included_module_struct); + + /*! + * @brief This function moves the value in member included_module_struct + * @param _included_module_struct New value to be moved in member included_module_struct + */ + eProsima_user_DllExport void included_module_struct( + eprosima::test2::StructType2&& _included_module_struct); + + /*! + * @brief This function returns a constant reference to member included_module_struct + * @return Constant reference to member included_module_struct + */ + eProsima_user_DllExport const eprosima::test2::StructType2& included_module_struct() const; + + /*! + * @brief This function returns a reference to member included_module_struct + * @return Reference to member included_module_struct + */ + eProsima_user_DllExport eprosima::test2::StructType2& included_module_struct(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const StructType& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + + +private: + + char m_char_field; + uint8_t m_uint8_field; + int16_t m_int16_field; + uint16_t m_uint16_field; + int32_t m_int32_field; + uint32_t m_uint32_field; + int64_t m_int64_field; + uint64_t m_uint64_field; + float m_float_field; + double m_double_field; + bool m_bool_field; + std::string m_string_field; + Color m_enum_field; + Material m_enum2_field; + eprosima::test2::StructType2 m_included_module_struct; + +}; + +const uint32_t max_array_size = 3; + +const uint32_t max_seq_size = 5; + + + + + +/*! + * @brief This class represents the structure CompleteTestType defined by the user in the IDL file. + * @ingroup test_complete + */ +class CompleteTestType +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport CompleteTestType(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~CompleteTestType(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object CompleteTestType that will be copied. + */ + eProsima_user_DllExport CompleteTestType( + const CompleteTestType& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object CompleteTestType that will be copied. + */ + eProsima_user_DllExport CompleteTestType( + CompleteTestType&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object CompleteTestType that will be copied. + */ + eProsima_user_DllExport CompleteTestType& operator =( + const CompleteTestType& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object CompleteTestType that will be copied. + */ + eProsima_user_DllExport CompleteTestType& operator =( + CompleteTestType&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x CompleteTestType object to compare. + */ + eProsima_user_DllExport bool operator ==( + const CompleteTestType& x) const; + + /*! + * @brief Comparison operator. + * @param x CompleteTestType object to compare. + */ + eProsima_user_DllExport bool operator !=( + const CompleteTestType& x) const; + + /*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ + eProsima_user_DllExport void char_field( + char _char_field); + + /*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ + eProsima_user_DllExport char char_field() const; + + /*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ + eProsima_user_DllExport char& char_field(); + + + /*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ + eProsima_user_DllExport void uint8_field( + uint8_t _uint8_field); + + /*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ + eProsima_user_DllExport uint8_t uint8_field() const; + + /*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ + eProsima_user_DllExport uint8_t& uint8_field(); + + + /*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ + eProsima_user_DllExport void int16_field( + int16_t _int16_field); + + /*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ + eProsima_user_DllExport int16_t int16_field() const; + + /*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ + eProsima_user_DllExport int16_t& int16_field(); + + + /*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ + eProsima_user_DllExport void uint16_field( + uint16_t _uint16_field); + + /*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ + eProsima_user_DllExport uint16_t uint16_field() const; + + /*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ + eProsima_user_DllExport uint16_t& uint16_field(); + + + /*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ + eProsima_user_DllExport void int32_field( + int32_t _int32_field); + + /*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ + eProsima_user_DllExport int32_t int32_field() const; + + /*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ + eProsima_user_DllExport int32_t& int32_field(); + + + /*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ + eProsima_user_DllExport void uint32_field( + uint32_t _uint32_field); + + /*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ + eProsima_user_DllExport uint32_t uint32_field() const; + + /*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ + eProsima_user_DllExport uint32_t& uint32_field(); + + + /*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ + eProsima_user_DllExport void int64_field( + int64_t _int64_field); + + /*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ + eProsima_user_DllExport int64_t int64_field() const; + + /*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ + eProsima_user_DllExport int64_t& int64_field(); + + + /*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ + eProsima_user_DllExport void uint64_field( + uint64_t _uint64_field); + + /*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ + eProsima_user_DllExport uint64_t uint64_field() const; + + /*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ + eProsima_user_DllExport uint64_t& uint64_field(); + + + /*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ + eProsima_user_DllExport void float_field( + float _float_field); + + /*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ + eProsima_user_DllExport float float_field() const; + + /*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ + eProsima_user_DllExport float& float_field(); + + + /*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ + eProsima_user_DllExport void double_field( + double _double_field); + + /*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ + eProsima_user_DllExport double double_field() const; + + /*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ + eProsima_user_DllExport double& double_field(); + + + /*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ + eProsima_user_DllExport void bool_field( + bool _bool_field); + + /*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ + eProsima_user_DllExport bool bool_field() const; + + /*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ + eProsima_user_DllExport bool& bool_field(); + + + /*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ + eProsima_user_DllExport void string_field( + const std::string& _string_field); + + /*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ + eProsima_user_DllExport void string_field( + std::string&& _string_field); + + /*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ + eProsima_user_DllExport const std::string& string_field() const; + + /*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ + eProsima_user_DllExport std::string& string_field(); + + + /*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ + eProsima_user_DllExport void enum_field( + Color _enum_field); + + /*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ + eProsima_user_DllExport Color enum_field() const; + + /*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ + eProsima_user_DllExport Color& enum_field(); + + + /*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ + eProsima_user_DllExport void enum2_field( + Material _enum2_field); + + /*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ + eProsima_user_DllExport Material enum2_field() const; + + /*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ + eProsima_user_DllExport Material& enum2_field(); + + + /*! + * @brief This function copies the value in member struct_field + * @param _struct_field New value to be copied in member struct_field + */ + eProsima_user_DllExport void struct_field( + const StructType& _struct_field); + + /*! + * @brief This function moves the value in member struct_field + * @param _struct_field New value to be moved in member struct_field + */ + eProsima_user_DllExport void struct_field( + StructType&& _struct_field); + + /*! + * @brief This function returns a constant reference to member struct_field + * @return Constant reference to member struct_field + */ + eProsima_user_DllExport const StructType& struct_field() const; + + /*! + * @brief This function returns a reference to member struct_field + * @return Reference to member struct_field + */ + eProsima_user_DllExport StructType& struct_field(); + + + /*! + * @brief This function sets a value in member char_opt_field + * @param _char_opt_field New value for member char_opt_field + */ + eProsima_user_DllExport void char_opt_field( + char _char_opt_field); + + /*! + * @brief This function returns the value of member char_opt_field + * @return Value of member char_opt_field + */ + eProsima_user_DllExport char char_opt_field() const; + + /*! + * @brief This function returns a reference to member char_opt_field + * @return Reference to member char_opt_field + */ + eProsima_user_DllExport char& char_opt_field(); + + + /*! + * @brief This function sets a value in member uint8_opt_field + * @param _uint8_opt_field New value for member uint8_opt_field + */ + eProsima_user_DllExport void uint8_opt_field( + uint8_t _uint8_opt_field); + + /*! + * @brief This function returns the value of member uint8_opt_field + * @return Value of member uint8_opt_field + */ + eProsima_user_DllExport uint8_t uint8_opt_field() const; + + /*! + * @brief This function returns a reference to member uint8_opt_field + * @return Reference to member uint8_opt_field + */ + eProsima_user_DllExport uint8_t& uint8_opt_field(); + + + /*! + * @brief This function sets a value in member int16_opt_field + * @param _int16_opt_field New value for member int16_opt_field + */ + eProsima_user_DllExport void int16_opt_field( + int16_t _int16_opt_field); + + /*! + * @brief This function returns the value of member int16_opt_field + * @return Value of member int16_opt_field + */ + eProsima_user_DllExport int16_t int16_opt_field() const; + + /*! + * @brief This function returns a reference to member int16_opt_field + * @return Reference to member int16_opt_field + */ + eProsima_user_DllExport int16_t& int16_opt_field(); + + + /*! + * @brief This function sets a value in member uint16_opt_field + * @param _uint16_opt_field New value for member uint16_opt_field + */ + eProsima_user_DllExport void uint16_opt_field( + uint16_t _uint16_opt_field); + + /*! + * @brief This function returns the value of member uint16_opt_field + * @return Value of member uint16_opt_field + */ + eProsima_user_DllExport uint16_t uint16_opt_field() const; + + /*! + * @brief This function returns a reference to member uint16_opt_field + * @return Reference to member uint16_opt_field + */ + eProsima_user_DllExport uint16_t& uint16_opt_field(); + + + /*! + * @brief This function sets a value in member int32_opt_field + * @param _int32_opt_field New value for member int32_opt_field + */ + eProsima_user_DllExport void int32_opt_field( + int32_t _int32_opt_field); + + /*! + * @brief This function returns the value of member int32_opt_field + * @return Value of member int32_opt_field + */ + eProsima_user_DllExport int32_t int32_opt_field() const; + + /*! + * @brief This function returns a reference to member int32_opt_field + * @return Reference to member int32_opt_field + */ + eProsima_user_DllExport int32_t& int32_opt_field(); + + + /*! + * @brief This function sets a value in member uint32_opt_field + * @param _uint32_opt_field New value for member uint32_opt_field + */ + eProsima_user_DllExport void uint32_opt_field( + uint32_t _uint32_opt_field); + + /*! + * @brief This function returns the value of member uint32_opt_field + * @return Value of member uint32_opt_field + */ + eProsima_user_DllExport uint32_t uint32_opt_field() const; + + /*! + * @brief This function returns a reference to member uint32_opt_field + * @return Reference to member uint32_opt_field + */ + eProsima_user_DllExport uint32_t& uint32_opt_field(); + + + /*! + * @brief This function sets a value in member int64_opt_field + * @param _int64_opt_field New value for member int64_opt_field + */ + eProsima_user_DllExport void int64_opt_field( + int64_t _int64_opt_field); + + /*! + * @brief This function returns the value of member int64_opt_field + * @return Value of member int64_opt_field + */ + eProsima_user_DllExport int64_t int64_opt_field() const; + + /*! + * @brief This function returns a reference to member int64_opt_field + * @return Reference to member int64_opt_field + */ + eProsima_user_DllExport int64_t& int64_opt_field(); + + + /*! + * @brief This function sets a value in member uint64_opt_field + * @param _uint64_opt_field New value for member uint64_opt_field + */ + eProsima_user_DllExport void uint64_opt_field( + uint64_t _uint64_opt_field); + + /*! + * @brief This function returns the value of member uint64_opt_field + * @return Value of member uint64_opt_field + */ + eProsima_user_DllExport uint64_t uint64_opt_field() const; + + /*! + * @brief This function returns a reference to member uint64_opt_field + * @return Reference to member uint64_opt_field + */ + eProsima_user_DllExport uint64_t& uint64_opt_field(); + + + /*! + * @brief This function sets a value in member float_opt_field + * @param _float_opt_field New value for member float_opt_field + */ + eProsima_user_DllExport void float_opt_field( + float _float_opt_field); + + /*! + * @brief This function returns the value of member float_opt_field + * @return Value of member float_opt_field + */ + eProsima_user_DllExport float float_opt_field() const; + + /*! + * @brief This function returns a reference to member float_opt_field + * @return Reference to member float_opt_field + */ + eProsima_user_DllExport float& float_opt_field(); + + + /*! + * @brief This function sets a value in member double_opt_field + * @param _double_opt_field New value for member double_opt_field + */ + eProsima_user_DllExport void double_opt_field( + double _double_opt_field); + + /*! + * @brief This function returns the value of member double_opt_field + * @return Value of member double_opt_field + */ + eProsima_user_DllExport double double_opt_field() const; + + /*! + * @brief This function returns a reference to member double_opt_field + * @return Reference to member double_opt_field + */ + eProsima_user_DllExport double& double_opt_field(); + + + /*! + * @brief This function sets a value in member bool_opt_field + * @param _bool_opt_field New value for member bool_opt_field + */ + eProsima_user_DllExport void bool_opt_field( + bool _bool_opt_field); + + /*! + * @brief This function returns the value of member bool_opt_field + * @return Value of member bool_opt_field + */ + eProsima_user_DllExport bool bool_opt_field() const; + + /*! + * @brief This function returns a reference to member bool_opt_field + * @return Reference to member bool_opt_field + */ + eProsima_user_DllExport bool& bool_opt_field(); + + + /*! + * @brief This function copies the value in member string_opt_field + * @param _string_opt_field New value to be copied in member string_opt_field + */ + eProsima_user_DllExport void string_opt_field( + const std::string& _string_opt_field); + + /*! + * @brief This function moves the value in member string_opt_field + * @param _string_opt_field New value to be moved in member string_opt_field + */ + eProsima_user_DllExport void string_opt_field( + std::string&& _string_opt_field); + + /*! + * @brief This function returns a constant reference to member string_opt_field + * @return Constant reference to member string_opt_field + */ + eProsima_user_DllExport const std::string& string_opt_field() const; + + /*! + * @brief This function returns a reference to member string_opt_field + * @return Reference to member string_opt_field + */ + eProsima_user_DllExport std::string& string_opt_field(); + + + /*! + * @brief This function sets a value in member enum_opt_field + * @param _enum_opt_field New value for member enum_opt_field + */ + eProsima_user_DllExport void enum_opt_field( + Color _enum_opt_field); + + /*! + * @brief This function returns the value of member enum_opt_field + * @return Value of member enum_opt_field + */ + eProsima_user_DllExport Color enum_opt_field() const; + + /*! + * @brief This function returns a reference to member enum_opt_field + * @return Reference to member enum_opt_field + */ + eProsima_user_DllExport Color& enum_opt_field(); + + + /*! + * @brief This function sets a value in member enum2_opt_field + * @param _enum2_opt_field New value for member enum2_opt_field + */ + eProsima_user_DllExport void enum2_opt_field( + Material _enum2_opt_field); + + /*! + * @brief This function returns the value of member enum2_opt_field + * @return Value of member enum2_opt_field + */ + eProsima_user_DllExport Material enum2_opt_field() const; + + /*! + * @brief This function returns a reference to member enum2_opt_field + * @return Reference to member enum2_opt_field + */ + eProsima_user_DllExport Material& enum2_opt_field(); + + + /*! + * @brief This function copies the value in member struct_opt_field + * @param _struct_opt_field New value to be copied in member struct_opt_field + */ + eProsima_user_DllExport void struct_opt_field( + const StructType& _struct_opt_field); + + /*! + * @brief This function moves the value in member struct_opt_field + * @param _struct_opt_field New value to be moved in member struct_opt_field + */ + eProsima_user_DllExport void struct_opt_field( + StructType&& _struct_opt_field); + + /*! + * @brief This function returns a constant reference to member struct_opt_field + * @return Constant reference to member struct_opt_field + */ + eProsima_user_DllExport const StructType& struct_opt_field() const; + + /*! + * @brief This function returns a reference to member struct_opt_field + * @return Reference to member struct_opt_field + */ + eProsima_user_DllExport StructType& struct_opt_field(); + + + /*! + * @brief This function copies the value in member array_char_field + * @param _array_char_field New value to be copied in member array_char_field + */ + eProsima_user_DllExport void array_char_field( + const std::array& _array_char_field); + + /*! + * @brief This function moves the value in member array_char_field + * @param _array_char_field New value to be moved in member array_char_field + */ + eProsima_user_DllExport void array_char_field( + std::array&& _array_char_field); + + /*! + * @brief This function returns a constant reference to member array_char_field + * @return Constant reference to member array_char_field + */ + eProsima_user_DllExport const std::array& array_char_field() const; + + /*! + * @brief This function returns a reference to member array_char_field + * @return Reference to member array_char_field + */ + eProsima_user_DllExport std::array& array_char_field(); + + + /*! + * @brief This function copies the value in member array_uint8_field + * @param _array_uint8_field New value to be copied in member array_uint8_field + */ + eProsima_user_DllExport void array_uint8_field( + const std::array& _array_uint8_field); + + /*! + * @brief This function moves the value in member array_uint8_field + * @param _array_uint8_field New value to be moved in member array_uint8_field + */ + eProsima_user_DllExport void array_uint8_field( + std::array&& _array_uint8_field); + + /*! + * @brief This function returns a constant reference to member array_uint8_field + * @return Constant reference to member array_uint8_field + */ + eProsima_user_DllExport const std::array& array_uint8_field() const; + + /*! + * @brief This function returns a reference to member array_uint8_field + * @return Reference to member array_uint8_field + */ + eProsima_user_DllExport std::array& array_uint8_field(); + + + /*! + * @brief This function copies the value in member array_int16_field + * @param _array_int16_field New value to be copied in member array_int16_field + */ + eProsima_user_DllExport void array_int16_field( + const std::array& _array_int16_field); + + /*! + * @brief This function moves the value in member array_int16_field + * @param _array_int16_field New value to be moved in member array_int16_field + */ + eProsima_user_DllExport void array_int16_field( + std::array&& _array_int16_field); + + /*! + * @brief This function returns a constant reference to member array_int16_field + * @return Constant reference to member array_int16_field + */ + eProsima_user_DllExport const std::array& array_int16_field() const; + + /*! + * @brief This function returns a reference to member array_int16_field + * @return Reference to member array_int16_field + */ + eProsima_user_DllExport std::array& array_int16_field(); + + + /*! + * @brief This function copies the value in member array_uint16_field + * @param _array_uint16_field New value to be copied in member array_uint16_field + */ + eProsima_user_DllExport void array_uint16_field( + const std::array& _array_uint16_field); + + /*! + * @brief This function moves the value in member array_uint16_field + * @param _array_uint16_field New value to be moved in member array_uint16_field + */ + eProsima_user_DllExport void array_uint16_field( + std::array&& _array_uint16_field); + + /*! + * @brief This function returns a constant reference to member array_uint16_field + * @return Constant reference to member array_uint16_field + */ + eProsima_user_DllExport const std::array& array_uint16_field() const; + + /*! + * @brief This function returns a reference to member array_uint16_field + * @return Reference to member array_uint16_field + */ + eProsima_user_DllExport std::array& array_uint16_field(); + + + /*! + * @brief This function copies the value in member array_int32_field + * @param _array_int32_field New value to be copied in member array_int32_field + */ + eProsima_user_DllExport void array_int32_field( + const std::array& _array_int32_field); + + /*! + * @brief This function moves the value in member array_int32_field + * @param _array_int32_field New value to be moved in member array_int32_field + */ + eProsima_user_DllExport void array_int32_field( + std::array&& _array_int32_field); + + /*! + * @brief This function returns a constant reference to member array_int32_field + * @return Constant reference to member array_int32_field + */ + eProsima_user_DllExport const std::array& array_int32_field() const; + + /*! + * @brief This function returns a reference to member array_int32_field + * @return Reference to member array_int32_field + */ + eProsima_user_DllExport std::array& array_int32_field(); + + + /*! + * @brief This function copies the value in member array_uint32_field + * @param _array_uint32_field New value to be copied in member array_uint32_field + */ + eProsima_user_DllExport void array_uint32_field( + const std::array& _array_uint32_field); + + /*! + * @brief This function moves the value in member array_uint32_field + * @param _array_uint32_field New value to be moved in member array_uint32_field + */ + eProsima_user_DllExport void array_uint32_field( + std::array&& _array_uint32_field); + + /*! + * @brief This function returns a constant reference to member array_uint32_field + * @return Constant reference to member array_uint32_field + */ + eProsima_user_DllExport const std::array& array_uint32_field() const; + + /*! + * @brief This function returns a reference to member array_uint32_field + * @return Reference to member array_uint32_field + */ + eProsima_user_DllExport std::array& array_uint32_field(); + + + /*! + * @brief This function copies the value in member array_int64_field + * @param _array_int64_field New value to be copied in member array_int64_field + */ + eProsima_user_DllExport void array_int64_field( + const std::array& _array_int64_field); + + /*! + * @brief This function moves the value in member array_int64_field + * @param _array_int64_field New value to be moved in member array_int64_field + */ + eProsima_user_DllExport void array_int64_field( + std::array&& _array_int64_field); + + /*! + * @brief This function returns a constant reference to member array_int64_field + * @return Constant reference to member array_int64_field + */ + eProsima_user_DllExport const std::array& array_int64_field() const; + + /*! + * @brief This function returns a reference to member array_int64_field + * @return Reference to member array_int64_field + */ + eProsima_user_DllExport std::array& array_int64_field(); + + + /*! + * @brief This function copies the value in member array_uint64_field + * @param _array_uint64_field New value to be copied in member array_uint64_field + */ + eProsima_user_DllExport void array_uint64_field( + const std::array& _array_uint64_field); + + /*! + * @brief This function moves the value in member array_uint64_field + * @param _array_uint64_field New value to be moved in member array_uint64_field + */ + eProsima_user_DllExport void array_uint64_field( + std::array&& _array_uint64_field); + + /*! + * @brief This function returns a constant reference to member array_uint64_field + * @return Constant reference to member array_uint64_field + */ + eProsima_user_DllExport const std::array& array_uint64_field() const; + + /*! + * @brief This function returns a reference to member array_uint64_field + * @return Reference to member array_uint64_field + */ + eProsima_user_DllExport std::array& array_uint64_field(); + + + /*! + * @brief This function copies the value in member array_float_field + * @param _array_float_field New value to be copied in member array_float_field + */ + eProsima_user_DllExport void array_float_field( + const std::array& _array_float_field); + + /*! + * @brief This function moves the value in member array_float_field + * @param _array_float_field New value to be moved in member array_float_field + */ + eProsima_user_DllExport void array_float_field( + std::array&& _array_float_field); + + /*! + * @brief This function returns a constant reference to member array_float_field + * @return Constant reference to member array_float_field + */ + eProsima_user_DllExport const std::array& array_float_field() const; + + /*! + * @brief This function returns a reference to member array_float_field + * @return Reference to member array_float_field + */ + eProsima_user_DllExport std::array& array_float_field(); + + + /*! + * @brief This function copies the value in member array_double_field + * @param _array_double_field New value to be copied in member array_double_field + */ + eProsima_user_DllExport void array_double_field( + const std::array& _array_double_field); + + /*! + * @brief This function moves the value in member array_double_field + * @param _array_double_field New value to be moved in member array_double_field + */ + eProsima_user_DllExport void array_double_field( + std::array&& _array_double_field); + + /*! + * @brief This function returns a constant reference to member array_double_field + * @return Constant reference to member array_double_field + */ + eProsima_user_DllExport const std::array& array_double_field() const; + + /*! + * @brief This function returns a reference to member array_double_field + * @return Reference to member array_double_field + */ + eProsima_user_DllExport std::array& array_double_field(); + + + /*! + * @brief This function copies the value in member array_bool_field + * @param _array_bool_field New value to be copied in member array_bool_field + */ + eProsima_user_DllExport void array_bool_field( + const std::array& _array_bool_field); + + /*! + * @brief This function moves the value in member array_bool_field + * @param _array_bool_field New value to be moved in member array_bool_field + */ + eProsima_user_DllExport void array_bool_field( + std::array&& _array_bool_field); + + /*! + * @brief This function returns a constant reference to member array_bool_field + * @return Constant reference to member array_bool_field + */ + eProsima_user_DllExport const std::array& array_bool_field() const; + + /*! + * @brief This function returns a reference to member array_bool_field + * @return Reference to member array_bool_field + */ + eProsima_user_DllExport std::array& array_bool_field(); + + + /*! + * @brief This function copies the value in member array_enum_field + * @param _array_enum_field New value to be copied in member array_enum_field + */ + eProsima_user_DllExport void array_enum_field( + const std::array& _array_enum_field); + + /*! + * @brief This function moves the value in member array_enum_field + * @param _array_enum_field New value to be moved in member array_enum_field + */ + eProsima_user_DllExport void array_enum_field( + std::array&& _array_enum_field); + + /*! + * @brief This function returns a constant reference to member array_enum_field + * @return Constant reference to member array_enum_field + */ + eProsima_user_DllExport const std::array& array_enum_field() const; + + /*! + * @brief This function returns a reference to member array_enum_field + * @return Reference to member array_enum_field + */ + eProsima_user_DllExport std::array& array_enum_field(); + + + /*! + * @brief This function copies the value in member array_enum2_field + * @param _array_enum2_field New value to be copied in member array_enum2_field + */ + eProsima_user_DllExport void array_enum2_field( + const std::array& _array_enum2_field); + + /*! + * @brief This function moves the value in member array_enum2_field + * @param _array_enum2_field New value to be moved in member array_enum2_field + */ + eProsima_user_DllExport void array_enum2_field( + std::array&& _array_enum2_field); + + /*! + * @brief This function returns a constant reference to member array_enum2_field + * @return Constant reference to member array_enum2_field + */ + eProsima_user_DllExport const std::array& array_enum2_field() const; + + /*! + * @brief This function returns a reference to member array_enum2_field + * @return Reference to member array_enum2_field + */ + eProsima_user_DllExport std::array& array_enum2_field(); + + + /*! + * @brief This function copies the value in member array_struct_field + * @param _array_struct_field New value to be copied in member array_struct_field + */ + eProsima_user_DllExport void array_struct_field( + const std::array& _array_struct_field); + + /*! + * @brief This function moves the value in member array_struct_field + * @param _array_struct_field New value to be moved in member array_struct_field + */ + eProsima_user_DllExport void array_struct_field( + std::array&& _array_struct_field); + + /*! + * @brief This function returns a constant reference to member array_struct_field + * @return Constant reference to member array_struct_field + */ + eProsima_user_DllExport const std::array& array_struct_field() const; + + /*! + * @brief This function returns a reference to member array_struct_field + * @return Reference to member array_struct_field + */ + eProsima_user_DllExport std::array& array_struct_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be copied in member bounded_sequence_char_field + */ + eProsima_user_DllExport void bounded_sequence_char_field( + const std::vector& _bounded_sequence_char_field); + + /*! + * @brief This function moves the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be moved in member bounded_sequence_char_field + */ + eProsima_user_DllExport void bounded_sequence_char_field( + std::vector&& _bounded_sequence_char_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_char_field + * @return Constant reference to member bounded_sequence_char_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_char_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_char_field + * @return Reference to member bounded_sequence_char_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_char_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be copied in member bounded_sequence_uint8_field + */ + eProsima_user_DllExport void bounded_sequence_uint8_field( + const std::vector& _bounded_sequence_uint8_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be moved in member bounded_sequence_uint8_field + */ + eProsima_user_DllExport void bounded_sequence_uint8_field( + std::vector&& _bounded_sequence_uint8_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint8_field + * @return Constant reference to member bounded_sequence_uint8_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint8_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint8_field + * @return Reference to member bounded_sequence_uint8_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint8_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be copied in member bounded_sequence_int16_field + */ + eProsima_user_DllExport void bounded_sequence_int16_field( + const std::vector& _bounded_sequence_int16_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be moved in member bounded_sequence_int16_field + */ + eProsima_user_DllExport void bounded_sequence_int16_field( + std::vector&& _bounded_sequence_int16_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int16_field + * @return Constant reference to member bounded_sequence_int16_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int16_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int16_field + * @return Reference to member bounded_sequence_int16_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int16_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be copied in member bounded_sequence_uint16_field + */ + eProsima_user_DllExport void bounded_sequence_uint16_field( + const std::vector& _bounded_sequence_uint16_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be moved in member bounded_sequence_uint16_field + */ + eProsima_user_DllExport void bounded_sequence_uint16_field( + std::vector&& _bounded_sequence_uint16_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint16_field + * @return Constant reference to member bounded_sequence_uint16_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint16_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint16_field + * @return Reference to member bounded_sequence_uint16_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint16_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be copied in member bounded_sequence_int32_field + */ + eProsima_user_DllExport void bounded_sequence_int32_field( + const std::vector& _bounded_sequence_int32_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be moved in member bounded_sequence_int32_field + */ + eProsima_user_DllExport void bounded_sequence_int32_field( + std::vector&& _bounded_sequence_int32_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int32_field + * @return Constant reference to member bounded_sequence_int32_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int32_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int32_field + * @return Reference to member bounded_sequence_int32_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int32_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be copied in member bounded_sequence_uint32_field + */ + eProsima_user_DllExport void bounded_sequence_uint32_field( + const std::vector& _bounded_sequence_uint32_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be moved in member bounded_sequence_uint32_field + */ + eProsima_user_DllExport void bounded_sequence_uint32_field( + std::vector&& _bounded_sequence_uint32_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint32_field + * @return Constant reference to member bounded_sequence_uint32_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint32_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint32_field + * @return Reference to member bounded_sequence_uint32_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint32_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be copied in member bounded_sequence_int64_field + */ + eProsima_user_DllExport void bounded_sequence_int64_field( + const std::vector& _bounded_sequence_int64_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be moved in member bounded_sequence_int64_field + */ + eProsima_user_DllExport void bounded_sequence_int64_field( + std::vector&& _bounded_sequence_int64_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int64_field + * @return Constant reference to member bounded_sequence_int64_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int64_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int64_field + * @return Reference to member bounded_sequence_int64_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int64_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be copied in member bounded_sequence_uint64_field + */ + eProsima_user_DllExport void bounded_sequence_uint64_field( + const std::vector& _bounded_sequence_uint64_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be moved in member bounded_sequence_uint64_field + */ + eProsima_user_DllExport void bounded_sequence_uint64_field( + std::vector&& _bounded_sequence_uint64_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint64_field + * @return Constant reference to member bounded_sequence_uint64_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint64_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint64_field + * @return Reference to member bounded_sequence_uint64_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint64_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be copied in member bounded_sequence_float_field + */ + eProsima_user_DllExport void bounded_sequence_float_field( + const std::vector& _bounded_sequence_float_field); + + /*! + * @brief This function moves the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be moved in member bounded_sequence_float_field + */ + eProsima_user_DllExport void bounded_sequence_float_field( + std::vector&& _bounded_sequence_float_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_float_field + * @return Constant reference to member bounded_sequence_float_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_float_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_float_field + * @return Reference to member bounded_sequence_float_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_float_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be copied in member bounded_sequence_double_field + */ + eProsima_user_DllExport void bounded_sequence_double_field( + const std::vector& _bounded_sequence_double_field); + + /*! + * @brief This function moves the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be moved in member bounded_sequence_double_field + */ + eProsima_user_DllExport void bounded_sequence_double_field( + std::vector&& _bounded_sequence_double_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_double_field + * @return Constant reference to member bounded_sequence_double_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_double_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_double_field + * @return Reference to member bounded_sequence_double_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_double_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be copied in member bounded_sequence_bool_field + */ + eProsima_user_DllExport void bounded_sequence_bool_field( + const std::vector& _bounded_sequence_bool_field); + + /*! + * @brief This function moves the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be moved in member bounded_sequence_bool_field + */ + eProsima_user_DllExport void bounded_sequence_bool_field( + std::vector&& _bounded_sequence_bool_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_bool_field + * @return Constant reference to member bounded_sequence_bool_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_bool_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_bool_field + * @return Reference to member bounded_sequence_bool_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_bool_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be copied in member bounded_sequence_enum_field + */ + eProsima_user_DllExport void bounded_sequence_enum_field( + const std::vector& _bounded_sequence_enum_field); + + /*! + * @brief This function moves the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be moved in member bounded_sequence_enum_field + */ + eProsima_user_DllExport void bounded_sequence_enum_field( + std::vector&& _bounded_sequence_enum_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_enum_field + * @return Constant reference to member bounded_sequence_enum_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_enum_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_enum_field + * @return Reference to member bounded_sequence_enum_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_enum_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be copied in member bounded_sequence_enum2_field + */ + eProsima_user_DllExport void bounded_sequence_enum2_field( + const std::vector& _bounded_sequence_enum2_field); + + /*! + * @brief This function moves the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be moved in member bounded_sequence_enum2_field + */ + eProsima_user_DllExport void bounded_sequence_enum2_field( + std::vector&& _bounded_sequence_enum2_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_enum2_field + * @return Constant reference to member bounded_sequence_enum2_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_enum2_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_enum2_field + * @return Reference to member bounded_sequence_enum2_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_enum2_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be copied in member bounded_sequence_struct_field + */ + eProsima_user_DllExport void bounded_sequence_struct_field( + const std::vector& _bounded_sequence_struct_field); + + /*! + * @brief This function moves the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be moved in member bounded_sequence_struct_field + */ + eProsima_user_DllExport void bounded_sequence_struct_field( + std::vector&& _bounded_sequence_struct_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_struct_field + * @return Constant reference to member bounded_sequence_struct_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_struct_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_struct_field + * @return Reference to member bounded_sequence_struct_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_struct_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be copied in member unbounded_sequence_char_field + */ + eProsima_user_DllExport void unbounded_sequence_char_field( + const std::vector& _unbounded_sequence_char_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be moved in member unbounded_sequence_char_field + */ + eProsima_user_DllExport void unbounded_sequence_char_field( + std::vector&& _unbounded_sequence_char_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_char_field + * @return Constant reference to member unbounded_sequence_char_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_char_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_char_field + * @return Reference to member unbounded_sequence_char_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_char_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be copied in member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport void unbounded_sequence_uint8_field( + const std::vector& _unbounded_sequence_uint8_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be moved in member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport void unbounded_sequence_uint8_field( + std::vector&& _unbounded_sequence_uint8_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint8_field + * @return Constant reference to member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint8_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint8_field + * @return Reference to member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint8_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be copied in member unbounded_sequence_int16_field + */ + eProsima_user_DllExport void unbounded_sequence_int16_field( + const std::vector& _unbounded_sequence_int16_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be moved in member unbounded_sequence_int16_field + */ + eProsima_user_DllExport void unbounded_sequence_int16_field( + std::vector&& _unbounded_sequence_int16_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int16_field + * @return Constant reference to member unbounded_sequence_int16_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int16_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int16_field + * @return Reference to member unbounded_sequence_int16_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int16_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be copied in member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport void unbounded_sequence_uint16_field( + const std::vector& _unbounded_sequence_uint16_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be moved in member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport void unbounded_sequence_uint16_field( + std::vector&& _unbounded_sequence_uint16_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint16_field + * @return Constant reference to member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint16_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint16_field + * @return Reference to member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint16_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be copied in member unbounded_sequence_int32_field + */ + eProsima_user_DllExport void unbounded_sequence_int32_field( + const std::vector& _unbounded_sequence_int32_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be moved in member unbounded_sequence_int32_field + */ + eProsima_user_DllExport void unbounded_sequence_int32_field( + std::vector&& _unbounded_sequence_int32_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int32_field + * @return Constant reference to member unbounded_sequence_int32_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int32_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int32_field + * @return Reference to member unbounded_sequence_int32_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int32_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be copied in member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport void unbounded_sequence_uint32_field( + const std::vector& _unbounded_sequence_uint32_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be moved in member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport void unbounded_sequence_uint32_field( + std::vector&& _unbounded_sequence_uint32_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint32_field + * @return Constant reference to member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint32_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint32_field + * @return Reference to member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint32_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be copied in member unbounded_sequence_int64_field + */ + eProsima_user_DllExport void unbounded_sequence_int64_field( + const std::vector& _unbounded_sequence_int64_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be moved in member unbounded_sequence_int64_field + */ + eProsima_user_DllExport void unbounded_sequence_int64_field( + std::vector&& _unbounded_sequence_int64_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int64_field + * @return Constant reference to member unbounded_sequence_int64_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int64_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int64_field + * @return Reference to member unbounded_sequence_int64_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int64_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be copied in member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport void unbounded_sequence_uint64_field( + const std::vector& _unbounded_sequence_uint64_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be moved in member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport void unbounded_sequence_uint64_field( + std::vector&& _unbounded_sequence_uint64_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint64_field + * @return Constant reference to member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint64_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint64_field + * @return Reference to member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint64_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be copied in member unbounded_sequence_float_field + */ + eProsima_user_DllExport void unbounded_sequence_float_field( + const std::vector& _unbounded_sequence_float_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be moved in member unbounded_sequence_float_field + */ + eProsima_user_DllExport void unbounded_sequence_float_field( + std::vector&& _unbounded_sequence_float_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_float_field + * @return Constant reference to member unbounded_sequence_float_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_float_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_float_field + * @return Reference to member unbounded_sequence_float_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_float_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be copied in member unbounded_sequence_double_field + */ + eProsima_user_DllExport void unbounded_sequence_double_field( + const std::vector& _unbounded_sequence_double_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be moved in member unbounded_sequence_double_field + */ + eProsima_user_DllExport void unbounded_sequence_double_field( + std::vector&& _unbounded_sequence_double_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_double_field + * @return Constant reference to member unbounded_sequence_double_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_double_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_double_field + * @return Reference to member unbounded_sequence_double_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_double_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be copied in member unbounded_sequence_bool_field + */ + eProsima_user_DllExport void unbounded_sequence_bool_field( + const std::vector& _unbounded_sequence_bool_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be moved in member unbounded_sequence_bool_field + */ + eProsima_user_DllExport void unbounded_sequence_bool_field( + std::vector&& _unbounded_sequence_bool_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_bool_field + * @return Constant reference to member unbounded_sequence_bool_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_bool_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_bool_field + * @return Reference to member unbounded_sequence_bool_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_bool_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be copied in member unbounded_sequence_enum_field + */ + eProsima_user_DllExport void unbounded_sequence_enum_field( + const std::vector& _unbounded_sequence_enum_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be moved in member unbounded_sequence_enum_field + */ + eProsima_user_DllExport void unbounded_sequence_enum_field( + std::vector&& _unbounded_sequence_enum_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_enum_field + * @return Constant reference to member unbounded_sequence_enum_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_enum_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_enum_field + * @return Reference to member unbounded_sequence_enum_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_enum_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be copied in member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport void unbounded_sequence_enum2_field( + const std::vector& _unbounded_sequence_enum2_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be moved in member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport void unbounded_sequence_enum2_field( + std::vector&& _unbounded_sequence_enum2_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_enum2_field + * @return Constant reference to member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_enum2_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_enum2_field + * @return Reference to member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_enum2_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be copied in member unbounded_sequence_struct_field + */ + eProsima_user_DllExport void unbounded_sequence_struct_field( + const std::vector& _unbounded_sequence_struct_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be moved in member unbounded_sequence_struct_field + */ + eProsima_user_DllExport void unbounded_sequence_struct_field( + std::vector&& _unbounded_sequence_struct_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_struct_field + * @return Constant reference to member unbounded_sequence_struct_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_struct_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_struct_field + * @return Reference to member unbounded_sequence_struct_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_struct_field(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const CompleteTestType& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + + +private: + + char m_char_field; + uint8_t m_uint8_field; + int16_t m_int16_field; + uint16_t m_uint16_field; + int32_t m_int32_field; + uint32_t m_uint32_field; + int64_t m_int64_field; + uint64_t m_uint64_field; + float m_float_field; + double m_double_field; + bool m_bool_field; + std::string m_string_field; + Color m_enum_field; + Material m_enum2_field; + StructType m_struct_field; + char m_char_opt_field; + uint8_t m_uint8_opt_field; + int16_t m_int16_opt_field; + uint16_t m_uint16_opt_field; + int32_t m_int32_opt_field; + uint32_t m_uint32_opt_field; + int64_t m_int64_opt_field; + uint64_t m_uint64_opt_field; + float m_float_opt_field; + double m_double_opt_field; + bool m_bool_opt_field; + std::string m_string_opt_field; + Color m_enum_opt_field; + Material m_enum2_opt_field; + StructType m_struct_opt_field; + std::array m_array_char_field; + std::array m_array_uint8_field; + std::array m_array_int16_field; + std::array m_array_uint16_field; + std::array m_array_int32_field; + std::array m_array_uint32_field; + std::array m_array_int64_field; + std::array m_array_uint64_field; + std::array m_array_float_field; + std::array m_array_double_field; + std::array m_array_bool_field; + std::array m_array_enum_field; + std::array m_array_enum2_field; + std::array m_array_struct_field; + std::vector m_bounded_sequence_char_field; + std::vector m_bounded_sequence_uint8_field; + std::vector m_bounded_sequence_int16_field; + std::vector m_bounded_sequence_uint16_field; + std::vector m_bounded_sequence_int32_field; + std::vector m_bounded_sequence_uint32_field; + std::vector m_bounded_sequence_int64_field; + std::vector m_bounded_sequence_uint64_field; + std::vector m_bounded_sequence_float_field; + std::vector m_bounded_sequence_double_field; + std::vector m_bounded_sequence_bool_field; + std::vector m_bounded_sequence_enum_field; + std::vector m_bounded_sequence_enum2_field; + std::vector m_bounded_sequence_struct_field; + std::vector m_unbounded_sequence_char_field; + std::vector m_unbounded_sequence_uint8_field; + std::vector m_unbounded_sequence_int16_field; + std::vector m_unbounded_sequence_uint16_field; + std::vector m_unbounded_sequence_int32_field; + std::vector m_unbounded_sequence_uint32_field; + std::vector m_unbounded_sequence_int64_field; + std::vector m_unbounded_sequence_uint64_field; + std::vector m_unbounded_sequence_float_field; + std::vector m_unbounded_sequence_double_field; + std::vector m_unbounded_sequence_bool_field; + std::vector m_unbounded_sequence_enum_field; + std::vector m_unbounded_sequence_enum2_field; + std::vector m_unbounded_sequence_struct_field; + +}; + + + + + +/*! + * @brief This class represents the structure KeyedCompleteTestType defined by the user in the IDL file. + * @ingroup test_complete + */ +class KeyedCompleteTestType +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport KeyedCompleteTestType(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~KeyedCompleteTestType(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object KeyedCompleteTestType that will be copied. + */ + eProsima_user_DllExport KeyedCompleteTestType( + const KeyedCompleteTestType& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object KeyedCompleteTestType that will be copied. + */ + eProsima_user_DllExport KeyedCompleteTestType( + KeyedCompleteTestType&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object KeyedCompleteTestType that will be copied. + */ + eProsima_user_DllExport KeyedCompleteTestType& operator =( + const KeyedCompleteTestType& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object KeyedCompleteTestType that will be copied. + */ + eProsima_user_DllExport KeyedCompleteTestType& operator =( + KeyedCompleteTestType&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x KeyedCompleteTestType object to compare. + */ + eProsima_user_DllExport bool operator ==( + const KeyedCompleteTestType& x) const; + + /*! + * @brief Comparison operator. + * @param x KeyedCompleteTestType object to compare. + */ + eProsima_user_DllExport bool operator !=( + const KeyedCompleteTestType& x) const; + + /*! + * @brief This function sets a value in member id + * @param _id New value for member id + */ + eProsima_user_DllExport void id( + int32_t _id); + + /*! + * @brief This function returns the value of member id + * @return Value of member id + */ + eProsima_user_DllExport int32_t id() const; + + /*! + * @brief This function returns a reference to member id + * @return Reference to member id + */ + eProsima_user_DllExport int32_t& id(); + + + /*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ + eProsima_user_DllExport void char_field( + char _char_field); + + /*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ + eProsima_user_DllExport char char_field() const; + + /*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ + eProsima_user_DllExport char& char_field(); + + + /*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ + eProsima_user_DllExport void uint8_field( + uint8_t _uint8_field); + + /*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ + eProsima_user_DllExport uint8_t uint8_field() const; + + /*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ + eProsima_user_DllExport uint8_t& uint8_field(); + + + /*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ + eProsima_user_DllExport void int16_field( + int16_t _int16_field); + + /*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ + eProsima_user_DllExport int16_t int16_field() const; + + /*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ + eProsima_user_DllExport int16_t& int16_field(); + + + /*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ + eProsima_user_DllExport void uint16_field( + uint16_t _uint16_field); + + /*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ + eProsima_user_DllExport uint16_t uint16_field() const; + + /*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ + eProsima_user_DllExport uint16_t& uint16_field(); + + + /*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ + eProsima_user_DllExport void int32_field( + int32_t _int32_field); + + /*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ + eProsima_user_DllExport int32_t int32_field() const; + + /*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ + eProsima_user_DllExport int32_t& int32_field(); + + + /*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ + eProsima_user_DllExport void uint32_field( + uint32_t _uint32_field); + + /*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ + eProsima_user_DllExport uint32_t uint32_field() const; + + /*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ + eProsima_user_DllExport uint32_t& uint32_field(); + + + /*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ + eProsima_user_DllExport void int64_field( + int64_t _int64_field); + + /*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ + eProsima_user_DllExport int64_t int64_field() const; + + /*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ + eProsima_user_DllExport int64_t& int64_field(); + + + /*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ + eProsima_user_DllExport void uint64_field( + uint64_t _uint64_field); + + /*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ + eProsima_user_DllExport uint64_t uint64_field() const; + + /*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ + eProsima_user_DllExport uint64_t& uint64_field(); + + + /*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ + eProsima_user_DllExport void float_field( + float _float_field); + + /*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ + eProsima_user_DllExport float float_field() const; + + /*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ + eProsima_user_DllExport float& float_field(); + + + /*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ + eProsima_user_DllExport void double_field( + double _double_field); + + /*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ + eProsima_user_DllExport double double_field() const; + + /*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ + eProsima_user_DllExport double& double_field(); + + + /*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ + eProsima_user_DllExport void bool_field( + bool _bool_field); + + /*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ + eProsima_user_DllExport bool bool_field() const; + + /*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ + eProsima_user_DllExport bool& bool_field(); + + + /*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ + eProsima_user_DllExport void string_field( + const std::string& _string_field); + + /*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ + eProsima_user_DllExport void string_field( + std::string&& _string_field); + + /*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ + eProsima_user_DllExport const std::string& string_field() const; + + /*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ + eProsima_user_DllExport std::string& string_field(); + + + /*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ + eProsima_user_DllExport void enum_field( + Color _enum_field); + + /*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ + eProsima_user_DllExport Color enum_field() const; + + /*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ + eProsima_user_DllExport Color& enum_field(); + + + /*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ + eProsima_user_DllExport void enum2_field( + Material _enum2_field); + + /*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ + eProsima_user_DllExport Material enum2_field() const; + + /*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ + eProsima_user_DllExport Material& enum2_field(); + + + /*! + * @brief This function copies the value in member struct_field + * @param _struct_field New value to be copied in member struct_field + */ + eProsima_user_DllExport void struct_field( + const StructType& _struct_field); + + /*! + * @brief This function moves the value in member struct_field + * @param _struct_field New value to be moved in member struct_field + */ + eProsima_user_DllExport void struct_field( + StructType&& _struct_field); + + /*! + * @brief This function returns a constant reference to member struct_field + * @return Constant reference to member struct_field + */ + eProsima_user_DllExport const StructType& struct_field() const; + + /*! + * @brief This function returns a reference to member struct_field + * @return Reference to member struct_field + */ + eProsima_user_DllExport StructType& struct_field(); + + + /*! + * @brief This function sets a value in member char_opt_field + * @param _char_opt_field New value for member char_opt_field + */ + eProsima_user_DllExport void char_opt_field( + char _char_opt_field); + + /*! + * @brief This function returns the value of member char_opt_field + * @return Value of member char_opt_field + */ + eProsima_user_DllExport char char_opt_field() const; + + /*! + * @brief This function returns a reference to member char_opt_field + * @return Reference to member char_opt_field + */ + eProsima_user_DllExport char& char_opt_field(); + + + /*! + * @brief This function sets a value in member uint8_opt_field + * @param _uint8_opt_field New value for member uint8_opt_field + */ + eProsima_user_DllExport void uint8_opt_field( + uint8_t _uint8_opt_field); + + /*! + * @brief This function returns the value of member uint8_opt_field + * @return Value of member uint8_opt_field + */ + eProsima_user_DllExport uint8_t uint8_opt_field() const; + + /*! + * @brief This function returns a reference to member uint8_opt_field + * @return Reference to member uint8_opt_field + */ + eProsima_user_DllExport uint8_t& uint8_opt_field(); + + + /*! + * @brief This function sets a value in member int16_opt_field + * @param _int16_opt_field New value for member int16_opt_field + */ + eProsima_user_DllExport void int16_opt_field( + int16_t _int16_opt_field); + + /*! + * @brief This function returns the value of member int16_opt_field + * @return Value of member int16_opt_field + */ + eProsima_user_DllExport int16_t int16_opt_field() const; + + /*! + * @brief This function returns a reference to member int16_opt_field + * @return Reference to member int16_opt_field + */ + eProsima_user_DllExport int16_t& int16_opt_field(); + + + /*! + * @brief This function sets a value in member uint16_opt_field + * @param _uint16_opt_field New value for member uint16_opt_field + */ + eProsima_user_DllExport void uint16_opt_field( + uint16_t _uint16_opt_field); + + /*! + * @brief This function returns the value of member uint16_opt_field + * @return Value of member uint16_opt_field + */ + eProsima_user_DllExport uint16_t uint16_opt_field() const; + + /*! + * @brief This function returns a reference to member uint16_opt_field + * @return Reference to member uint16_opt_field + */ + eProsima_user_DllExport uint16_t& uint16_opt_field(); + + + /*! + * @brief This function sets a value in member int32_opt_field + * @param _int32_opt_field New value for member int32_opt_field + */ + eProsima_user_DllExport void int32_opt_field( + int32_t _int32_opt_field); + + /*! + * @brief This function returns the value of member int32_opt_field + * @return Value of member int32_opt_field + */ + eProsima_user_DllExport int32_t int32_opt_field() const; + + /*! + * @brief This function returns a reference to member int32_opt_field + * @return Reference to member int32_opt_field + */ + eProsima_user_DllExport int32_t& int32_opt_field(); + + + /*! + * @brief This function sets a value in member uint32_opt_field + * @param _uint32_opt_field New value for member uint32_opt_field + */ + eProsima_user_DllExport void uint32_opt_field( + uint32_t _uint32_opt_field); + + /*! + * @brief This function returns the value of member uint32_opt_field + * @return Value of member uint32_opt_field + */ + eProsima_user_DllExport uint32_t uint32_opt_field() const; + + /*! + * @brief This function returns a reference to member uint32_opt_field + * @return Reference to member uint32_opt_field + */ + eProsima_user_DllExport uint32_t& uint32_opt_field(); + + + /*! + * @brief This function sets a value in member int64_opt_field + * @param _int64_opt_field New value for member int64_opt_field + */ + eProsima_user_DllExport void int64_opt_field( + int64_t _int64_opt_field); + + /*! + * @brief This function returns the value of member int64_opt_field + * @return Value of member int64_opt_field + */ + eProsima_user_DllExport int64_t int64_opt_field() const; + + /*! + * @brief This function returns a reference to member int64_opt_field + * @return Reference to member int64_opt_field + */ + eProsima_user_DllExport int64_t& int64_opt_field(); + + + /*! + * @brief This function sets a value in member uint64_opt_field + * @param _uint64_opt_field New value for member uint64_opt_field + */ + eProsima_user_DllExport void uint64_opt_field( + uint64_t _uint64_opt_field); + + /*! + * @brief This function returns the value of member uint64_opt_field + * @return Value of member uint64_opt_field + */ + eProsima_user_DllExport uint64_t uint64_opt_field() const; + + /*! + * @brief This function returns a reference to member uint64_opt_field + * @return Reference to member uint64_opt_field + */ + eProsima_user_DllExport uint64_t& uint64_opt_field(); + + + /*! + * @brief This function sets a value in member float_opt_field + * @param _float_opt_field New value for member float_opt_field + */ + eProsima_user_DllExport void float_opt_field( + float _float_opt_field); + + /*! + * @brief This function returns the value of member float_opt_field + * @return Value of member float_opt_field + */ + eProsima_user_DllExport float float_opt_field() const; + + /*! + * @brief This function returns a reference to member float_opt_field + * @return Reference to member float_opt_field + */ + eProsima_user_DllExport float& float_opt_field(); + + + /*! + * @brief This function sets a value in member double_opt_field + * @param _double_opt_field New value for member double_opt_field + */ + eProsima_user_DllExport void double_opt_field( + double _double_opt_field); + + /*! + * @brief This function returns the value of member double_opt_field + * @return Value of member double_opt_field + */ + eProsima_user_DllExport double double_opt_field() const; + + /*! + * @brief This function returns a reference to member double_opt_field + * @return Reference to member double_opt_field + */ + eProsima_user_DllExport double& double_opt_field(); + + + /*! + * @brief This function sets a value in member bool_opt_field + * @param _bool_opt_field New value for member bool_opt_field + */ + eProsima_user_DllExport void bool_opt_field( + bool _bool_opt_field); + + /*! + * @brief This function returns the value of member bool_opt_field + * @return Value of member bool_opt_field + */ + eProsima_user_DllExport bool bool_opt_field() const; + + /*! + * @brief This function returns a reference to member bool_opt_field + * @return Reference to member bool_opt_field + */ + eProsima_user_DllExport bool& bool_opt_field(); + + + /*! + * @brief This function copies the value in member string_opt_field + * @param _string_opt_field New value to be copied in member string_opt_field + */ + eProsima_user_DllExport void string_opt_field( + const std::string& _string_opt_field); + + /*! + * @brief This function moves the value in member string_opt_field + * @param _string_opt_field New value to be moved in member string_opt_field + */ + eProsima_user_DllExport void string_opt_field( + std::string&& _string_opt_field); + + /*! + * @brief This function returns a constant reference to member string_opt_field + * @return Constant reference to member string_opt_field + */ + eProsima_user_DllExport const std::string& string_opt_field() const; + + /*! + * @brief This function returns a reference to member string_opt_field + * @return Reference to member string_opt_field + */ + eProsima_user_DllExport std::string& string_opt_field(); + + + /*! + * @brief This function sets a value in member enum_opt_field + * @param _enum_opt_field New value for member enum_opt_field + */ + eProsima_user_DllExport void enum_opt_field( + Color _enum_opt_field); + + /*! + * @brief This function returns the value of member enum_opt_field + * @return Value of member enum_opt_field + */ + eProsima_user_DllExport Color enum_opt_field() const; + + /*! + * @brief This function returns a reference to member enum_opt_field + * @return Reference to member enum_opt_field + */ + eProsima_user_DllExport Color& enum_opt_field(); + + + /*! + * @brief This function sets a value in member enum2_opt_field + * @param _enum2_opt_field New value for member enum2_opt_field + */ + eProsima_user_DllExport void enum2_opt_field( + Material _enum2_opt_field); + + /*! + * @brief This function returns the value of member enum2_opt_field + * @return Value of member enum2_opt_field + */ + eProsima_user_DllExport Material enum2_opt_field() const; + + /*! + * @brief This function returns a reference to member enum2_opt_field + * @return Reference to member enum2_opt_field + */ + eProsima_user_DllExport Material& enum2_opt_field(); + + + /*! + * @brief This function copies the value in member struct_opt_field + * @param _struct_opt_field New value to be copied in member struct_opt_field + */ + eProsima_user_DllExport void struct_opt_field( + const StructType& _struct_opt_field); + + /*! + * @brief This function moves the value in member struct_opt_field + * @param _struct_opt_field New value to be moved in member struct_opt_field + */ + eProsima_user_DllExport void struct_opt_field( + StructType&& _struct_opt_field); + + /*! + * @brief This function returns a constant reference to member struct_opt_field + * @return Constant reference to member struct_opt_field + */ + eProsima_user_DllExport const StructType& struct_opt_field() const; + + /*! + * @brief This function returns a reference to member struct_opt_field + * @return Reference to member struct_opt_field + */ + eProsima_user_DllExport StructType& struct_opt_field(); + + + /*! + * @brief This function copies the value in member array_char_field + * @param _array_char_field New value to be copied in member array_char_field + */ + eProsima_user_DllExport void array_char_field( + const std::array& _array_char_field); + + /*! + * @brief This function moves the value in member array_char_field + * @param _array_char_field New value to be moved in member array_char_field + */ + eProsima_user_DllExport void array_char_field( + std::array&& _array_char_field); + + /*! + * @brief This function returns a constant reference to member array_char_field + * @return Constant reference to member array_char_field + */ + eProsima_user_DllExport const std::array& array_char_field() const; + + /*! + * @brief This function returns a reference to member array_char_field + * @return Reference to member array_char_field + */ + eProsima_user_DllExport std::array& array_char_field(); + + + /*! + * @brief This function copies the value in member array_uint8_field + * @param _array_uint8_field New value to be copied in member array_uint8_field + */ + eProsima_user_DllExport void array_uint8_field( + const std::array& _array_uint8_field); + + /*! + * @brief This function moves the value in member array_uint8_field + * @param _array_uint8_field New value to be moved in member array_uint8_field + */ + eProsima_user_DllExport void array_uint8_field( + std::array&& _array_uint8_field); + + /*! + * @brief This function returns a constant reference to member array_uint8_field + * @return Constant reference to member array_uint8_field + */ + eProsima_user_DllExport const std::array& array_uint8_field() const; + + /*! + * @brief This function returns a reference to member array_uint8_field + * @return Reference to member array_uint8_field + */ + eProsima_user_DllExport std::array& array_uint8_field(); + + + /*! + * @brief This function copies the value in member array_int16_field + * @param _array_int16_field New value to be copied in member array_int16_field + */ + eProsima_user_DllExport void array_int16_field( + const std::array& _array_int16_field); + + /*! + * @brief This function moves the value in member array_int16_field + * @param _array_int16_field New value to be moved in member array_int16_field + */ + eProsima_user_DllExport void array_int16_field( + std::array&& _array_int16_field); + + /*! + * @brief This function returns a constant reference to member array_int16_field + * @return Constant reference to member array_int16_field + */ + eProsima_user_DllExport const std::array& array_int16_field() const; + + /*! + * @brief This function returns a reference to member array_int16_field + * @return Reference to member array_int16_field + */ + eProsima_user_DllExport std::array& array_int16_field(); + + + /*! + * @brief This function copies the value in member array_uint16_field + * @param _array_uint16_field New value to be copied in member array_uint16_field + */ + eProsima_user_DllExport void array_uint16_field( + const std::array& _array_uint16_field); + + /*! + * @brief This function moves the value in member array_uint16_field + * @param _array_uint16_field New value to be moved in member array_uint16_field + */ + eProsima_user_DllExport void array_uint16_field( + std::array&& _array_uint16_field); + + /*! + * @brief This function returns a constant reference to member array_uint16_field + * @return Constant reference to member array_uint16_field + */ + eProsima_user_DllExport const std::array& array_uint16_field() const; + + /*! + * @brief This function returns a reference to member array_uint16_field + * @return Reference to member array_uint16_field + */ + eProsima_user_DllExport std::array& array_uint16_field(); + + + /*! + * @brief This function copies the value in member array_int32_field + * @param _array_int32_field New value to be copied in member array_int32_field + */ + eProsima_user_DllExport void array_int32_field( + const std::array& _array_int32_field); + + /*! + * @brief This function moves the value in member array_int32_field + * @param _array_int32_field New value to be moved in member array_int32_field + */ + eProsima_user_DllExport void array_int32_field( + std::array&& _array_int32_field); + + /*! + * @brief This function returns a constant reference to member array_int32_field + * @return Constant reference to member array_int32_field + */ + eProsima_user_DllExport const std::array& array_int32_field() const; + + /*! + * @brief This function returns a reference to member array_int32_field + * @return Reference to member array_int32_field + */ + eProsima_user_DllExport std::array& array_int32_field(); + + + /*! + * @brief This function copies the value in member array_uint32_field + * @param _array_uint32_field New value to be copied in member array_uint32_field + */ + eProsima_user_DllExport void array_uint32_field( + const std::array& _array_uint32_field); + + /*! + * @brief This function moves the value in member array_uint32_field + * @param _array_uint32_field New value to be moved in member array_uint32_field + */ + eProsima_user_DllExport void array_uint32_field( + std::array&& _array_uint32_field); + + /*! + * @brief This function returns a constant reference to member array_uint32_field + * @return Constant reference to member array_uint32_field + */ + eProsima_user_DllExport const std::array& array_uint32_field() const; + + /*! + * @brief This function returns a reference to member array_uint32_field + * @return Reference to member array_uint32_field + */ + eProsima_user_DllExport std::array& array_uint32_field(); + + + /*! + * @brief This function copies the value in member array_int64_field + * @param _array_int64_field New value to be copied in member array_int64_field + */ + eProsima_user_DllExport void array_int64_field( + const std::array& _array_int64_field); + + /*! + * @brief This function moves the value in member array_int64_field + * @param _array_int64_field New value to be moved in member array_int64_field + */ + eProsima_user_DllExport void array_int64_field( + std::array&& _array_int64_field); + + /*! + * @brief This function returns a constant reference to member array_int64_field + * @return Constant reference to member array_int64_field + */ + eProsima_user_DllExport const std::array& array_int64_field() const; + + /*! + * @brief This function returns a reference to member array_int64_field + * @return Reference to member array_int64_field + */ + eProsima_user_DllExport std::array& array_int64_field(); + + + /*! + * @brief This function copies the value in member array_uint64_field + * @param _array_uint64_field New value to be copied in member array_uint64_field + */ + eProsima_user_DllExport void array_uint64_field( + const std::array& _array_uint64_field); + + /*! + * @brief This function moves the value in member array_uint64_field + * @param _array_uint64_field New value to be moved in member array_uint64_field + */ + eProsima_user_DllExport void array_uint64_field( + std::array&& _array_uint64_field); + + /*! + * @brief This function returns a constant reference to member array_uint64_field + * @return Constant reference to member array_uint64_field + */ + eProsima_user_DllExport const std::array& array_uint64_field() const; + + /*! + * @brief This function returns a reference to member array_uint64_field + * @return Reference to member array_uint64_field + */ + eProsima_user_DllExport std::array& array_uint64_field(); + + + /*! + * @brief This function copies the value in member array_float_field + * @param _array_float_field New value to be copied in member array_float_field + */ + eProsima_user_DllExport void array_float_field( + const std::array& _array_float_field); + + /*! + * @brief This function moves the value in member array_float_field + * @param _array_float_field New value to be moved in member array_float_field + */ + eProsima_user_DllExport void array_float_field( + std::array&& _array_float_field); + + /*! + * @brief This function returns a constant reference to member array_float_field + * @return Constant reference to member array_float_field + */ + eProsima_user_DllExport const std::array& array_float_field() const; + + /*! + * @brief This function returns a reference to member array_float_field + * @return Reference to member array_float_field + */ + eProsima_user_DllExport std::array& array_float_field(); + + + /*! + * @brief This function copies the value in member array_double_field + * @param _array_double_field New value to be copied in member array_double_field + */ + eProsima_user_DllExport void array_double_field( + const std::array& _array_double_field); + + /*! + * @brief This function moves the value in member array_double_field + * @param _array_double_field New value to be moved in member array_double_field + */ + eProsima_user_DllExport void array_double_field( + std::array&& _array_double_field); + + /*! + * @brief This function returns a constant reference to member array_double_field + * @return Constant reference to member array_double_field + */ + eProsima_user_DllExport const std::array& array_double_field() const; + + /*! + * @brief This function returns a reference to member array_double_field + * @return Reference to member array_double_field + */ + eProsima_user_DllExport std::array& array_double_field(); + + + /*! + * @brief This function copies the value in member array_bool_field + * @param _array_bool_field New value to be copied in member array_bool_field + */ + eProsima_user_DllExport void array_bool_field( + const std::array& _array_bool_field); + + /*! + * @brief This function moves the value in member array_bool_field + * @param _array_bool_field New value to be moved in member array_bool_field + */ + eProsima_user_DllExport void array_bool_field( + std::array&& _array_bool_field); + + /*! + * @brief This function returns a constant reference to member array_bool_field + * @return Constant reference to member array_bool_field + */ + eProsima_user_DllExport const std::array& array_bool_field() const; + + /*! + * @brief This function returns a reference to member array_bool_field + * @return Reference to member array_bool_field + */ + eProsima_user_DllExport std::array& array_bool_field(); + + + /*! + * @brief This function copies the value in member array_enum_field + * @param _array_enum_field New value to be copied in member array_enum_field + */ + eProsima_user_DllExport void array_enum_field( + const std::array& _array_enum_field); + + /*! + * @brief This function moves the value in member array_enum_field + * @param _array_enum_field New value to be moved in member array_enum_field + */ + eProsima_user_DllExport void array_enum_field( + std::array&& _array_enum_field); + + /*! + * @brief This function returns a constant reference to member array_enum_field + * @return Constant reference to member array_enum_field + */ + eProsima_user_DllExport const std::array& array_enum_field() const; + + /*! + * @brief This function returns a reference to member array_enum_field + * @return Reference to member array_enum_field + */ + eProsima_user_DllExport std::array& array_enum_field(); + + + /*! + * @brief This function copies the value in member array_enum2_field + * @param _array_enum2_field New value to be copied in member array_enum2_field + */ + eProsima_user_DllExport void array_enum2_field( + const std::array& _array_enum2_field); + + /*! + * @brief This function moves the value in member array_enum2_field + * @param _array_enum2_field New value to be moved in member array_enum2_field + */ + eProsima_user_DllExport void array_enum2_field( + std::array&& _array_enum2_field); + + /*! + * @brief This function returns a constant reference to member array_enum2_field + * @return Constant reference to member array_enum2_field + */ + eProsima_user_DllExport const std::array& array_enum2_field() const; + + /*! + * @brief This function returns a reference to member array_enum2_field + * @return Reference to member array_enum2_field + */ + eProsima_user_DllExport std::array& array_enum2_field(); + + + /*! + * @brief This function copies the value in member array_struct_field + * @param _array_struct_field New value to be copied in member array_struct_field + */ + eProsima_user_DllExport void array_struct_field( + const std::array& _array_struct_field); + + /*! + * @brief This function moves the value in member array_struct_field + * @param _array_struct_field New value to be moved in member array_struct_field + */ + eProsima_user_DllExport void array_struct_field( + std::array&& _array_struct_field); + + /*! + * @brief This function returns a constant reference to member array_struct_field + * @return Constant reference to member array_struct_field + */ + eProsima_user_DllExport const std::array& array_struct_field() const; + + /*! + * @brief This function returns a reference to member array_struct_field + * @return Reference to member array_struct_field + */ + eProsima_user_DllExport std::array& array_struct_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be copied in member bounded_sequence_char_field + */ + eProsima_user_DllExport void bounded_sequence_char_field( + const std::vector& _bounded_sequence_char_field); + + /*! + * @brief This function moves the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be moved in member bounded_sequence_char_field + */ + eProsima_user_DllExport void bounded_sequence_char_field( + std::vector&& _bounded_sequence_char_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_char_field + * @return Constant reference to member bounded_sequence_char_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_char_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_char_field + * @return Reference to member bounded_sequence_char_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_char_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be copied in member bounded_sequence_uint8_field + */ + eProsima_user_DllExport void bounded_sequence_uint8_field( + const std::vector& _bounded_sequence_uint8_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be moved in member bounded_sequence_uint8_field + */ + eProsima_user_DllExport void bounded_sequence_uint8_field( + std::vector&& _bounded_sequence_uint8_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint8_field + * @return Constant reference to member bounded_sequence_uint8_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint8_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint8_field + * @return Reference to member bounded_sequence_uint8_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint8_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be copied in member bounded_sequence_int16_field + */ + eProsima_user_DllExport void bounded_sequence_int16_field( + const std::vector& _bounded_sequence_int16_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be moved in member bounded_sequence_int16_field + */ + eProsima_user_DllExport void bounded_sequence_int16_field( + std::vector&& _bounded_sequence_int16_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int16_field + * @return Constant reference to member bounded_sequence_int16_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int16_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int16_field + * @return Reference to member bounded_sequence_int16_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int16_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be copied in member bounded_sequence_uint16_field + */ + eProsima_user_DllExport void bounded_sequence_uint16_field( + const std::vector& _bounded_sequence_uint16_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be moved in member bounded_sequence_uint16_field + */ + eProsima_user_DllExport void bounded_sequence_uint16_field( + std::vector&& _bounded_sequence_uint16_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint16_field + * @return Constant reference to member bounded_sequence_uint16_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint16_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint16_field + * @return Reference to member bounded_sequence_uint16_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint16_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be copied in member bounded_sequence_int32_field + */ + eProsima_user_DllExport void bounded_sequence_int32_field( + const std::vector& _bounded_sequence_int32_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be moved in member bounded_sequence_int32_field + */ + eProsima_user_DllExport void bounded_sequence_int32_field( + std::vector&& _bounded_sequence_int32_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int32_field + * @return Constant reference to member bounded_sequence_int32_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int32_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int32_field + * @return Reference to member bounded_sequence_int32_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int32_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be copied in member bounded_sequence_uint32_field + */ + eProsima_user_DllExport void bounded_sequence_uint32_field( + const std::vector& _bounded_sequence_uint32_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be moved in member bounded_sequence_uint32_field + */ + eProsima_user_DllExport void bounded_sequence_uint32_field( + std::vector&& _bounded_sequence_uint32_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint32_field + * @return Constant reference to member bounded_sequence_uint32_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint32_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint32_field + * @return Reference to member bounded_sequence_uint32_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint32_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be copied in member bounded_sequence_int64_field + */ + eProsima_user_DllExport void bounded_sequence_int64_field( + const std::vector& _bounded_sequence_int64_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be moved in member bounded_sequence_int64_field + */ + eProsima_user_DllExport void bounded_sequence_int64_field( + std::vector&& _bounded_sequence_int64_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int64_field + * @return Constant reference to member bounded_sequence_int64_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int64_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int64_field + * @return Reference to member bounded_sequence_int64_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int64_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be copied in member bounded_sequence_uint64_field + */ + eProsima_user_DllExport void bounded_sequence_uint64_field( + const std::vector& _bounded_sequence_uint64_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be moved in member bounded_sequence_uint64_field + */ + eProsima_user_DllExport void bounded_sequence_uint64_field( + std::vector&& _bounded_sequence_uint64_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint64_field + * @return Constant reference to member bounded_sequence_uint64_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint64_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint64_field + * @return Reference to member bounded_sequence_uint64_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint64_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be copied in member bounded_sequence_float_field + */ + eProsima_user_DllExport void bounded_sequence_float_field( + const std::vector& _bounded_sequence_float_field); + + /*! + * @brief This function moves the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be moved in member bounded_sequence_float_field + */ + eProsima_user_DllExport void bounded_sequence_float_field( + std::vector&& _bounded_sequence_float_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_float_field + * @return Constant reference to member bounded_sequence_float_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_float_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_float_field + * @return Reference to member bounded_sequence_float_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_float_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be copied in member bounded_sequence_double_field + */ + eProsima_user_DllExport void bounded_sequence_double_field( + const std::vector& _bounded_sequence_double_field); + + /*! + * @brief This function moves the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be moved in member bounded_sequence_double_field + */ + eProsima_user_DllExport void bounded_sequence_double_field( + std::vector&& _bounded_sequence_double_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_double_field + * @return Constant reference to member bounded_sequence_double_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_double_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_double_field + * @return Reference to member bounded_sequence_double_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_double_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be copied in member bounded_sequence_bool_field + */ + eProsima_user_DllExport void bounded_sequence_bool_field( + const std::vector& _bounded_sequence_bool_field); + + /*! + * @brief This function moves the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be moved in member bounded_sequence_bool_field + */ + eProsima_user_DllExport void bounded_sequence_bool_field( + std::vector&& _bounded_sequence_bool_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_bool_field + * @return Constant reference to member bounded_sequence_bool_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_bool_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_bool_field + * @return Reference to member bounded_sequence_bool_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_bool_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be copied in member bounded_sequence_enum_field + */ + eProsima_user_DllExport void bounded_sequence_enum_field( + const std::vector& _bounded_sequence_enum_field); + + /*! + * @brief This function moves the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be moved in member bounded_sequence_enum_field + */ + eProsima_user_DllExport void bounded_sequence_enum_field( + std::vector&& _bounded_sequence_enum_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_enum_field + * @return Constant reference to member bounded_sequence_enum_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_enum_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_enum_field + * @return Reference to member bounded_sequence_enum_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_enum_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be copied in member bounded_sequence_enum2_field + */ + eProsima_user_DllExport void bounded_sequence_enum2_field( + const std::vector& _bounded_sequence_enum2_field); + + /*! + * @brief This function moves the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be moved in member bounded_sequence_enum2_field + */ + eProsima_user_DllExport void bounded_sequence_enum2_field( + std::vector&& _bounded_sequence_enum2_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_enum2_field + * @return Constant reference to member bounded_sequence_enum2_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_enum2_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_enum2_field + * @return Reference to member bounded_sequence_enum2_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_enum2_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be copied in member bounded_sequence_struct_field + */ + eProsima_user_DllExport void bounded_sequence_struct_field( + const std::vector& _bounded_sequence_struct_field); + + /*! + * @brief This function moves the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be moved in member bounded_sequence_struct_field + */ + eProsima_user_DllExport void bounded_sequence_struct_field( + std::vector&& _bounded_sequence_struct_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_struct_field + * @return Constant reference to member bounded_sequence_struct_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_struct_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_struct_field + * @return Reference to member bounded_sequence_struct_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_struct_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be copied in member unbounded_sequence_char_field + */ + eProsima_user_DllExport void unbounded_sequence_char_field( + const std::vector& _unbounded_sequence_char_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be moved in member unbounded_sequence_char_field + */ + eProsima_user_DllExport void unbounded_sequence_char_field( + std::vector&& _unbounded_sequence_char_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_char_field + * @return Constant reference to member unbounded_sequence_char_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_char_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_char_field + * @return Reference to member unbounded_sequence_char_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_char_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be copied in member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport void unbounded_sequence_uint8_field( + const std::vector& _unbounded_sequence_uint8_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be moved in member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport void unbounded_sequence_uint8_field( + std::vector&& _unbounded_sequence_uint8_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint8_field + * @return Constant reference to member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint8_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint8_field + * @return Reference to member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint8_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be copied in member unbounded_sequence_int16_field + */ + eProsima_user_DllExport void unbounded_sequence_int16_field( + const std::vector& _unbounded_sequence_int16_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be moved in member unbounded_sequence_int16_field + */ + eProsima_user_DllExport void unbounded_sequence_int16_field( + std::vector&& _unbounded_sequence_int16_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int16_field + * @return Constant reference to member unbounded_sequence_int16_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int16_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int16_field + * @return Reference to member unbounded_sequence_int16_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int16_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be copied in member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport void unbounded_sequence_uint16_field( + const std::vector& _unbounded_sequence_uint16_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be moved in member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport void unbounded_sequence_uint16_field( + std::vector&& _unbounded_sequence_uint16_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint16_field + * @return Constant reference to member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint16_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint16_field + * @return Reference to member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint16_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be copied in member unbounded_sequence_int32_field + */ + eProsima_user_DllExport void unbounded_sequence_int32_field( + const std::vector& _unbounded_sequence_int32_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be moved in member unbounded_sequence_int32_field + */ + eProsima_user_DllExport void unbounded_sequence_int32_field( + std::vector&& _unbounded_sequence_int32_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int32_field + * @return Constant reference to member unbounded_sequence_int32_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int32_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int32_field + * @return Reference to member unbounded_sequence_int32_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int32_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be copied in member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport void unbounded_sequence_uint32_field( + const std::vector& _unbounded_sequence_uint32_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be moved in member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport void unbounded_sequence_uint32_field( + std::vector&& _unbounded_sequence_uint32_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint32_field + * @return Constant reference to member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint32_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint32_field + * @return Reference to member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint32_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be copied in member unbounded_sequence_int64_field + */ + eProsima_user_DllExport void unbounded_sequence_int64_field( + const std::vector& _unbounded_sequence_int64_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be moved in member unbounded_sequence_int64_field + */ + eProsima_user_DllExport void unbounded_sequence_int64_field( + std::vector&& _unbounded_sequence_int64_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int64_field + * @return Constant reference to member unbounded_sequence_int64_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int64_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int64_field + * @return Reference to member unbounded_sequence_int64_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int64_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be copied in member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport void unbounded_sequence_uint64_field( + const std::vector& _unbounded_sequence_uint64_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be moved in member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport void unbounded_sequence_uint64_field( + std::vector&& _unbounded_sequence_uint64_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint64_field + * @return Constant reference to member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint64_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint64_field + * @return Reference to member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint64_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be copied in member unbounded_sequence_float_field + */ + eProsima_user_DllExport void unbounded_sequence_float_field( + const std::vector& _unbounded_sequence_float_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be moved in member unbounded_sequence_float_field + */ + eProsima_user_DllExport void unbounded_sequence_float_field( + std::vector&& _unbounded_sequence_float_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_float_field + * @return Constant reference to member unbounded_sequence_float_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_float_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_float_field + * @return Reference to member unbounded_sequence_float_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_float_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be copied in member unbounded_sequence_double_field + */ + eProsima_user_DllExport void unbounded_sequence_double_field( + const std::vector& _unbounded_sequence_double_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be moved in member unbounded_sequence_double_field + */ + eProsima_user_DllExport void unbounded_sequence_double_field( + std::vector&& _unbounded_sequence_double_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_double_field + * @return Constant reference to member unbounded_sequence_double_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_double_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_double_field + * @return Reference to member unbounded_sequence_double_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_double_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be copied in member unbounded_sequence_bool_field + */ + eProsima_user_DllExport void unbounded_sequence_bool_field( + const std::vector& _unbounded_sequence_bool_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be moved in member unbounded_sequence_bool_field + */ + eProsima_user_DllExport void unbounded_sequence_bool_field( + std::vector&& _unbounded_sequence_bool_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_bool_field + * @return Constant reference to member unbounded_sequence_bool_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_bool_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_bool_field + * @return Reference to member unbounded_sequence_bool_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_bool_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be copied in member unbounded_sequence_enum_field + */ + eProsima_user_DllExport void unbounded_sequence_enum_field( + const std::vector& _unbounded_sequence_enum_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be moved in member unbounded_sequence_enum_field + */ + eProsima_user_DllExport void unbounded_sequence_enum_field( + std::vector&& _unbounded_sequence_enum_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_enum_field + * @return Constant reference to member unbounded_sequence_enum_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_enum_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_enum_field + * @return Reference to member unbounded_sequence_enum_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_enum_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be copied in member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport void unbounded_sequence_enum2_field( + const std::vector& _unbounded_sequence_enum2_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be moved in member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport void unbounded_sequence_enum2_field( + std::vector&& _unbounded_sequence_enum2_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_enum2_field + * @return Constant reference to member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_enum2_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_enum2_field + * @return Reference to member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_enum2_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be copied in member unbounded_sequence_struct_field + */ + eProsima_user_DllExport void unbounded_sequence_struct_field( + const std::vector& _unbounded_sequence_struct_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be moved in member unbounded_sequence_struct_field + */ + eProsima_user_DllExport void unbounded_sequence_struct_field( + std::vector&& _unbounded_sequence_struct_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_struct_field + * @return Constant reference to member unbounded_sequence_struct_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_struct_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_struct_field + * @return Reference to member unbounded_sequence_struct_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_struct_field(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const KeyedCompleteTestType& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + + +private: + + int32_t m_id; + char m_char_field; + uint8_t m_uint8_field; + int16_t m_int16_field; + uint16_t m_uint16_field; + int32_t m_int32_field; + uint32_t m_uint32_field; + int64_t m_int64_field; + uint64_t m_uint64_field; + float m_float_field; + double m_double_field; + bool m_bool_field; + std::string m_string_field; + Color m_enum_field; + Material m_enum2_field; + StructType m_struct_field; + char m_char_opt_field; + uint8_t m_uint8_opt_field; + int16_t m_int16_opt_field; + uint16_t m_uint16_opt_field; + int32_t m_int32_opt_field; + uint32_t m_uint32_opt_field; + int64_t m_int64_opt_field; + uint64_t m_uint64_opt_field; + float m_float_opt_field; + double m_double_opt_field; + bool m_bool_opt_field; + std::string m_string_opt_field; + Color m_enum_opt_field; + Material m_enum2_opt_field; + StructType m_struct_opt_field; + std::array m_array_char_field; + std::array m_array_uint8_field; + std::array m_array_int16_field; + std::array m_array_uint16_field; + std::array m_array_int32_field; + std::array m_array_uint32_field; + std::array m_array_int64_field; + std::array m_array_uint64_field; + std::array m_array_float_field; + std::array m_array_double_field; + std::array m_array_bool_field; + std::array m_array_enum_field; + std::array m_array_enum2_field; + std::array m_array_struct_field; + std::vector m_bounded_sequence_char_field; + std::vector m_bounded_sequence_uint8_field; + std::vector m_bounded_sequence_int16_field; + std::vector m_bounded_sequence_uint16_field; + std::vector m_bounded_sequence_int32_field; + std::vector m_bounded_sequence_uint32_field; + std::vector m_bounded_sequence_int64_field; + std::vector m_bounded_sequence_uint64_field; + std::vector m_bounded_sequence_float_field; + std::vector m_bounded_sequence_double_field; + std::vector m_bounded_sequence_bool_field; + std::vector m_bounded_sequence_enum_field; + std::vector m_bounded_sequence_enum2_field; + std::vector m_bounded_sequence_struct_field; + std::vector m_unbounded_sequence_char_field; + std::vector m_unbounded_sequence_uint8_field; + std::vector m_unbounded_sequence_int16_field; + std::vector m_unbounded_sequence_uint16_field; + std::vector m_unbounded_sequence_int32_field; + std::vector m_unbounded_sequence_uint32_field; + std::vector m_unbounded_sequence_int64_field; + std::vector m_unbounded_sequence_uint64_field; + std::vector m_unbounded_sequence_float_field; + std::vector m_unbounded_sequence_double_field; + std::vector m_unbounded_sequence_bool_field; + std::vector m_unbounded_sequence_enum_field; + std::vector m_unbounded_sequence_enum2_field; + std::vector m_unbounded_sequence_struct_field; + +}; + + +#endif // _FAST_DDS_GENERATED_TEST_COMPLETE_H_ + + + +#endif // FASTCDR_VERSION_MAJOR == 1 diff --git a/fastdds_python/test/types/test_included_modules.cxx b/fastdds_python/test/types/test_included_modules.cxx index 0b1dd736..d7e43b32 100644 --- a/fastdds_python/test/types/test_included_modules.cxx +++ b/fastdds_python/test/types/test_included_modules.cxx @@ -27,6 +27,9 @@ char dummy; #endif // _WIN32 #include "test_included_modules.h" + +#if FASTCDR_VERSION_MAJOR > 1 + #include @@ -36,16 +39,21 @@ using namespace eprosima::fastcdr::exception; #include -eprosima::test2::StructType2::StructType2() -{ +namespace eprosima { + +namespace test2 { + + +StructType2::StructType2() +{ } -eprosima::test2::StructType2::~StructType2() +StructType2::~StructType2() { } -eprosima::test2::StructType2::StructType2( +StructType2::StructType2( const StructType2& x) { m_char_field = x.m_char_field; @@ -64,7 +72,7 @@ eprosima::test2::StructType2::StructType2( m_enum2_field = x.m_enum2_field; } -eprosima::test2::StructType2::StructType2( +StructType2::StructType2( StructType2&& x) noexcept { m_char_field = x.m_char_field; @@ -83,7 +91,7 @@ eprosima::test2::StructType2::StructType2( m_enum2_field = x.m_enum2_field; } -eprosima::test2::StructType2& eprosima::test2::StructType2::operator =( +StructType2& StructType2::operator =( const StructType2& x) { @@ -101,11 +109,10 @@ eprosima::test2::StructType2& eprosima::test2::StructType2::operator =( m_string_field = x.m_string_field; m_enum_field = x.m_enum_field; m_enum2_field = x.m_enum2_field; - return *this; } -eprosima::test2::StructType2& eprosima::test2::StructType2::operator =( +StructType2& StructType2::operator =( StructType2&& x) noexcept { @@ -123,11 +130,10 @@ eprosima::test2::StructType2& eprosima::test2::StructType2::operator =( m_string_field = std::move(x.m_string_field); m_enum_field = x.m_enum_field; m_enum2_field = x.m_enum2_field; - return *this; } -bool eprosima::test2::StructType2::operator ==( +bool StructType2::operator ==( const StructType2& x) const { return (m_char_field == x.m_char_field && @@ -146,7 +152,7 @@ bool eprosima::test2::StructType2::operator ==( m_enum2_field == x.m_enum2_field); } -bool eprosima::test2::StructType2::operator !=( +bool StructType2::operator !=( const StructType2& x) const { return !(*this == x); @@ -156,7 +162,7 @@ bool eprosima::test2::StructType2::operator !=( * @brief This function sets a value in member char_field * @param _char_field New value for member char_field */ -void eprosima::test2::StructType2::char_field( +void StructType2::char_field( char _char_field) { m_char_field = _char_field; @@ -166,7 +172,7 @@ void eprosima::test2::StructType2::char_field( * @brief This function returns the value of member char_field * @return Value of member char_field */ -char eprosima::test2::StructType2::char_field() const +char StructType2::char_field() const { return m_char_field; } @@ -175,7 +181,7 @@ char eprosima::test2::StructType2::char_field() const * @brief This function returns a reference to member char_field * @return Reference to member char_field */ -char& eprosima::test2::StructType2::char_field() +char& StructType2::char_field() { return m_char_field; } @@ -185,7 +191,7 @@ char& eprosima::test2::StructType2::char_field() * @brief This function sets a value in member uint8_field * @param _uint8_field New value for member uint8_field */ -void eprosima::test2::StructType2::uint8_field( +void StructType2::uint8_field( uint8_t _uint8_field) { m_uint8_field = _uint8_field; @@ -195,7 +201,7 @@ void eprosima::test2::StructType2::uint8_field( * @brief This function returns the value of member uint8_field * @return Value of member uint8_field */ -uint8_t eprosima::test2::StructType2::uint8_field() const +uint8_t StructType2::uint8_field() const { return m_uint8_field; } @@ -204,7 +210,7 @@ uint8_t eprosima::test2::StructType2::uint8_field() const * @brief This function returns a reference to member uint8_field * @return Reference to member uint8_field */ -uint8_t& eprosima::test2::StructType2::uint8_field() +uint8_t& StructType2::uint8_field() { return m_uint8_field; } @@ -214,7 +220,7 @@ uint8_t& eprosima::test2::StructType2::uint8_field() * @brief This function sets a value in member int16_field * @param _int16_field New value for member int16_field */ -void eprosima::test2::StructType2::int16_field( +void StructType2::int16_field( int16_t _int16_field) { m_int16_field = _int16_field; @@ -224,7 +230,7 @@ void eprosima::test2::StructType2::int16_field( * @brief This function returns the value of member int16_field * @return Value of member int16_field */ -int16_t eprosima::test2::StructType2::int16_field() const +int16_t StructType2::int16_field() const { return m_int16_field; } @@ -233,7 +239,7 @@ int16_t eprosima::test2::StructType2::int16_field() const * @brief This function returns a reference to member int16_field * @return Reference to member int16_field */ -int16_t& eprosima::test2::StructType2::int16_field() +int16_t& StructType2::int16_field() { return m_int16_field; } @@ -243,7 +249,7 @@ int16_t& eprosima::test2::StructType2::int16_field() * @brief This function sets a value in member uint16_field * @param _uint16_field New value for member uint16_field */ -void eprosima::test2::StructType2::uint16_field( +void StructType2::uint16_field( uint16_t _uint16_field) { m_uint16_field = _uint16_field; @@ -253,7 +259,7 @@ void eprosima::test2::StructType2::uint16_field( * @brief This function returns the value of member uint16_field * @return Value of member uint16_field */ -uint16_t eprosima::test2::StructType2::uint16_field() const +uint16_t StructType2::uint16_field() const { return m_uint16_field; } @@ -262,7 +268,7 @@ uint16_t eprosima::test2::StructType2::uint16_field() const * @brief This function returns a reference to member uint16_field * @return Reference to member uint16_field */ -uint16_t& eprosima::test2::StructType2::uint16_field() +uint16_t& StructType2::uint16_field() { return m_uint16_field; } @@ -272,7 +278,7 @@ uint16_t& eprosima::test2::StructType2::uint16_field() * @brief This function sets a value in member int32_field * @param _int32_field New value for member int32_field */ -void eprosima::test2::StructType2::int32_field( +void StructType2::int32_field( int32_t _int32_field) { m_int32_field = _int32_field; @@ -282,7 +288,7 @@ void eprosima::test2::StructType2::int32_field( * @brief This function returns the value of member int32_field * @return Value of member int32_field */ -int32_t eprosima::test2::StructType2::int32_field() const +int32_t StructType2::int32_field() const { return m_int32_field; } @@ -291,7 +297,7 @@ int32_t eprosima::test2::StructType2::int32_field() const * @brief This function returns a reference to member int32_field * @return Reference to member int32_field */ -int32_t& eprosima::test2::StructType2::int32_field() +int32_t& StructType2::int32_field() { return m_int32_field; } @@ -301,7 +307,7 @@ int32_t& eprosima::test2::StructType2::int32_field() * @brief This function sets a value in member uint32_field * @param _uint32_field New value for member uint32_field */ -void eprosima::test2::StructType2::uint32_field( +void StructType2::uint32_field( uint32_t _uint32_field) { m_uint32_field = _uint32_field; @@ -311,7 +317,7 @@ void eprosima::test2::StructType2::uint32_field( * @brief This function returns the value of member uint32_field * @return Value of member uint32_field */ -uint32_t eprosima::test2::StructType2::uint32_field() const +uint32_t StructType2::uint32_field() const { return m_uint32_field; } @@ -320,7 +326,7 @@ uint32_t eprosima::test2::StructType2::uint32_field() const * @brief This function returns a reference to member uint32_field * @return Reference to member uint32_field */ -uint32_t& eprosima::test2::StructType2::uint32_field() +uint32_t& StructType2::uint32_field() { return m_uint32_field; } @@ -330,7 +336,7 @@ uint32_t& eprosima::test2::StructType2::uint32_field() * @brief This function sets a value in member int64_field * @param _int64_field New value for member int64_field */ -void eprosima::test2::StructType2::int64_field( +void StructType2::int64_field( int64_t _int64_field) { m_int64_field = _int64_field; @@ -340,7 +346,7 @@ void eprosima::test2::StructType2::int64_field( * @brief This function returns the value of member int64_field * @return Value of member int64_field */ -int64_t eprosima::test2::StructType2::int64_field() const +int64_t StructType2::int64_field() const { return m_int64_field; } @@ -349,7 +355,7 @@ int64_t eprosima::test2::StructType2::int64_field() const * @brief This function returns a reference to member int64_field * @return Reference to member int64_field */ -int64_t& eprosima::test2::StructType2::int64_field() +int64_t& StructType2::int64_field() { return m_int64_field; } @@ -359,7 +365,7 @@ int64_t& eprosima::test2::StructType2::int64_field() * @brief This function sets a value in member uint64_field * @param _uint64_field New value for member uint64_field */ -void eprosima::test2::StructType2::uint64_field( +void StructType2::uint64_field( uint64_t _uint64_field) { m_uint64_field = _uint64_field; @@ -369,7 +375,7 @@ void eprosima::test2::StructType2::uint64_field( * @brief This function returns the value of member uint64_field * @return Value of member uint64_field */ -uint64_t eprosima::test2::StructType2::uint64_field() const +uint64_t StructType2::uint64_field() const { return m_uint64_field; } @@ -378,7 +384,7 @@ uint64_t eprosima::test2::StructType2::uint64_field() const * @brief This function returns a reference to member uint64_field * @return Reference to member uint64_field */ -uint64_t& eprosima::test2::StructType2::uint64_field() +uint64_t& StructType2::uint64_field() { return m_uint64_field; } @@ -388,7 +394,7 @@ uint64_t& eprosima::test2::StructType2::uint64_field() * @brief This function sets a value in member float_field * @param _float_field New value for member float_field */ -void eprosima::test2::StructType2::float_field( +void StructType2::float_field( float _float_field) { m_float_field = _float_field; @@ -398,7 +404,7 @@ void eprosima::test2::StructType2::float_field( * @brief This function returns the value of member float_field * @return Value of member float_field */ -float eprosima::test2::StructType2::float_field() const +float StructType2::float_field() const { return m_float_field; } @@ -407,7 +413,7 @@ float eprosima::test2::StructType2::float_field() const * @brief This function returns a reference to member float_field * @return Reference to member float_field */ -float& eprosima::test2::StructType2::float_field() +float& StructType2::float_field() { return m_float_field; } @@ -417,7 +423,7 @@ float& eprosima::test2::StructType2::float_field() * @brief This function sets a value in member double_field * @param _double_field New value for member double_field */ -void eprosima::test2::StructType2::double_field( +void StructType2::double_field( double _double_field) { m_double_field = _double_field; @@ -427,7 +433,7 @@ void eprosima::test2::StructType2::double_field( * @brief This function returns the value of member double_field * @return Value of member double_field */ -double eprosima::test2::StructType2::double_field() const +double StructType2::double_field() const { return m_double_field; } @@ -436,7 +442,7 @@ double eprosima::test2::StructType2::double_field() const * @brief This function returns a reference to member double_field * @return Reference to member double_field */ -double& eprosima::test2::StructType2::double_field() +double& StructType2::double_field() { return m_double_field; } @@ -446,7 +452,7 @@ double& eprosima::test2::StructType2::double_field() * @brief This function sets a value in member bool_field * @param _bool_field New value for member bool_field */ -void eprosima::test2::StructType2::bool_field( +void StructType2::bool_field( bool _bool_field) { m_bool_field = _bool_field; @@ -456,7 +462,7 @@ void eprosima::test2::StructType2::bool_field( * @brief This function returns the value of member bool_field * @return Value of member bool_field */ -bool eprosima::test2::StructType2::bool_field() const +bool StructType2::bool_field() const { return m_bool_field; } @@ -465,7 +471,7 @@ bool eprosima::test2::StructType2::bool_field() const * @brief This function returns a reference to member bool_field * @return Reference to member bool_field */ -bool& eprosima::test2::StructType2::bool_field() +bool& StructType2::bool_field() { return m_bool_field; } @@ -475,7 +481,7 @@ bool& eprosima::test2::StructType2::bool_field() * @brief This function copies the value in member string_field * @param _string_field New value to be copied in member string_field */ -void eprosima::test2::StructType2::string_field( +void StructType2::string_field( const std::string& _string_field) { m_string_field = _string_field; @@ -485,7 +491,7 @@ void eprosima::test2::StructType2::string_field( * @brief This function moves the value in member string_field * @param _string_field New value to be moved in member string_field */ -void eprosima::test2::StructType2::string_field( +void StructType2::string_field( std::string&& _string_field) { m_string_field = std::move(_string_field); @@ -495,7 +501,7 @@ void eprosima::test2::StructType2::string_field( * @brief This function returns a constant reference to member string_field * @return Constant reference to member string_field */ -const std::string& eprosima::test2::StructType2::string_field() const +const std::string& StructType2::string_field() const { return m_string_field; } @@ -504,7 +510,7 @@ const std::string& eprosima::test2::StructType2::string_field() const * @brief This function returns a reference to member string_field * @return Reference to member string_field */ -std::string& eprosima::test2::StructType2::string_field() +std::string& StructType2::string_field() { return m_string_field; } @@ -514,7 +520,7 @@ std::string& eprosima::test2::StructType2::string_field() * @brief This function sets a value in member enum_field * @param _enum_field New value for member enum_field */ -void eprosima::test2::StructType2::enum_field( +void StructType2::enum_field( eprosima::test2::Color2 _enum_field) { m_enum_field = _enum_field; @@ -524,7 +530,7 @@ void eprosima::test2::StructType2::enum_field( * @brief This function returns the value of member enum_field * @return Value of member enum_field */ -eprosima::test2::Color2 eprosima::test2::StructType2::enum_field() const +eprosima::test2::Color2 StructType2::enum_field() const { return m_enum_field; } @@ -533,7 +539,7 @@ eprosima::test2::Color2 eprosima::test2::StructType2::enum_field() const * @brief This function returns a reference to member enum_field * @return Reference to member enum_field */ -eprosima::test2::Color2& eprosima::test2::StructType2::enum_field() +eprosima::test2::Color2& StructType2::enum_field() { return m_enum_field; } @@ -543,7 +549,7 @@ eprosima::test2::Color2& eprosima::test2::StructType2::enum_field() * @brief This function sets a value in member enum2_field * @param _enum2_field New value for member enum2_field */ -void eprosima::test2::StructType2::enum2_field( +void StructType2::enum2_field( eprosima::test2::Material2 _enum2_field) { m_enum2_field = _enum2_field; @@ -553,7 +559,7 @@ void eprosima::test2::StructType2::enum2_field( * @brief This function returns the value of member enum2_field * @return Value of member enum2_field */ -eprosima::test2::Material2 eprosima::test2::StructType2::enum2_field() const +eprosima::test2::Material2 StructType2::enum2_field() const { return m_enum2_field; } @@ -562,7 +568,7 @@ eprosima::test2::Material2 eprosima::test2::StructType2::enum2_field() const * @brief This function returns a reference to member enum2_field * @return Reference to member enum2_field */ -eprosima::test2::Material2& eprosima::test2::StructType2::enum2_field() +eprosima::test2::Material2& StructType2::enum2_field() { return m_enum2_field; } @@ -570,5 +576,11 @@ eprosima::test2::Material2& eprosima::test2::StructType2::enum2_field() +} // namespace test2 + + +} // namespace eprosima // Include auxiliary functions like for serializing/deserializing. #include "test_included_modulesCdrAux.ipp" + +#endif // FASTCDR_VERSION_MAJOR > 1 diff --git a/fastdds_python/test/types/test_included_modules.h b/fastdds_python/test/types/test_included_modules.h index e673716d..d9254d64 100644 --- a/fastdds_python/test/types/test_included_modules.h +++ b/fastdds_python/test/types/test_included_modules.h @@ -19,6 +19,11 @@ * This file was generated by the tool fastddsgen. */ +#include +#include "test_included_modulesv1.h" + +#if FASTCDR_VERSION_MAJOR > 1 + #ifndef _FAST_DDS_GENERATED_EPROSIMA_TEST2_TEST_INCLUDED_MODULES_H_ #define _FAST_DDS_GENERATED_EPROSIMA_TEST2_TEST_INCLUDED_MODULES_H_ @@ -30,6 +35,7 @@ #include #include +#include #include @@ -68,397 +74,406 @@ class CdrSizeCalculator; namespace eprosima { - namespace test2 { - /*! - * @brief This class represents the enumeration Color2 defined by the user in the IDL file. - * @ingroup test_included_modules - */ - enum Color2 : uint32_t - { - RED2, - GREEN2, - BLUE2, - YELLOW2, - MAGENTA2 - }; - /*! - * @brief This class represents the enumeration Material2 defined by the user in the IDL file. - * @ingroup test_included_modules - */ - enum Material2 : uint32_t - { - WOOD2, - PLASTIC2, - METAL2, - CONCRETE2, - STONE2 - }; - /*! - * @brief This class represents the structure StructType2 defined by the user in the IDL file. - * @ingroup test_included_modules - */ - class StructType2 - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport StructType2(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~StructType2(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::test2::StructType2 that will be copied. - */ - eProsima_user_DllExport StructType2( - const StructType2& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::test2::StructType2 that will be copied. - */ - eProsima_user_DllExport StructType2( - StructType2&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::test2::StructType2 that will be copied. - */ - eProsima_user_DllExport StructType2& operator =( - const StructType2& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::test2::StructType2 that will be copied. - */ - eProsima_user_DllExport StructType2& operator =( - StructType2&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::test2::StructType2 object to compare. - */ - eProsima_user_DllExport bool operator ==( - const StructType2& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::test2::StructType2 object to compare. - */ - eProsima_user_DllExport bool operator !=( - const StructType2& x) const; - - /*! - * @brief This function sets a value in member char_field - * @param _char_field New value for member char_field - */ - eProsima_user_DllExport void char_field( - char _char_field); - - /*! - * @brief This function returns the value of member char_field - * @return Value of member char_field - */ - eProsima_user_DllExport char char_field() const; - - /*! - * @brief This function returns a reference to member char_field - * @return Reference to member char_field - */ - eProsima_user_DllExport char& char_field(); - - - /*! - * @brief This function sets a value in member uint8_field - * @param _uint8_field New value for member uint8_field - */ - eProsima_user_DllExport void uint8_field( - uint8_t _uint8_field); - - /*! - * @brief This function returns the value of member uint8_field - * @return Value of member uint8_field - */ - eProsima_user_DllExport uint8_t uint8_field() const; - - /*! - * @brief This function returns a reference to member uint8_field - * @return Reference to member uint8_field - */ - eProsima_user_DllExport uint8_t& uint8_field(); - - - /*! - * @brief This function sets a value in member int16_field - * @param _int16_field New value for member int16_field - */ - eProsima_user_DllExport void int16_field( - int16_t _int16_field); - - /*! - * @brief This function returns the value of member int16_field - * @return Value of member int16_field - */ - eProsima_user_DllExport int16_t int16_field() const; - - /*! - * @brief This function returns a reference to member int16_field - * @return Reference to member int16_field - */ - eProsima_user_DllExport int16_t& int16_field(); - - - /*! - * @brief This function sets a value in member uint16_field - * @param _uint16_field New value for member uint16_field - */ - eProsima_user_DllExport void uint16_field( - uint16_t _uint16_field); - - /*! - * @brief This function returns the value of member uint16_field - * @return Value of member uint16_field - */ - eProsima_user_DllExport uint16_t uint16_field() const; - - /*! - * @brief This function returns a reference to member uint16_field - * @return Reference to member uint16_field - */ - eProsima_user_DllExport uint16_t& uint16_field(); - - - /*! - * @brief This function sets a value in member int32_field - * @param _int32_field New value for member int32_field - */ - eProsima_user_DllExport void int32_field( - int32_t _int32_field); - - /*! - * @brief This function returns the value of member int32_field - * @return Value of member int32_field - */ - eProsima_user_DllExport int32_t int32_field() const; - - /*! - * @brief This function returns a reference to member int32_field - * @return Reference to member int32_field - */ - eProsima_user_DllExport int32_t& int32_field(); - - - /*! - * @brief This function sets a value in member uint32_field - * @param _uint32_field New value for member uint32_field - */ - eProsima_user_DllExport void uint32_field( - uint32_t _uint32_field); - - /*! - * @brief This function returns the value of member uint32_field - * @return Value of member uint32_field - */ - eProsima_user_DllExport uint32_t uint32_field() const; - - /*! - * @brief This function returns a reference to member uint32_field - * @return Reference to member uint32_field - */ - eProsima_user_DllExport uint32_t& uint32_field(); - - - /*! - * @brief This function sets a value in member int64_field - * @param _int64_field New value for member int64_field - */ - eProsima_user_DllExport void int64_field( - int64_t _int64_field); - - /*! - * @brief This function returns the value of member int64_field - * @return Value of member int64_field - */ - eProsima_user_DllExport int64_t int64_field() const; - - /*! - * @brief This function returns a reference to member int64_field - * @return Reference to member int64_field - */ - eProsima_user_DllExport int64_t& int64_field(); - - - /*! - * @brief This function sets a value in member uint64_field - * @param _uint64_field New value for member uint64_field - */ - eProsima_user_DllExport void uint64_field( - uint64_t _uint64_field); - - /*! - * @brief This function returns the value of member uint64_field - * @return Value of member uint64_field - */ - eProsima_user_DllExport uint64_t uint64_field() const; - - /*! - * @brief This function returns a reference to member uint64_field - * @return Reference to member uint64_field - */ - eProsima_user_DllExport uint64_t& uint64_field(); - - - /*! - * @brief This function sets a value in member float_field - * @param _float_field New value for member float_field - */ - eProsima_user_DllExport void float_field( - float _float_field); - - /*! - * @brief This function returns the value of member float_field - * @return Value of member float_field - */ - eProsima_user_DllExport float float_field() const; - - /*! - * @brief This function returns a reference to member float_field - * @return Reference to member float_field - */ - eProsima_user_DllExport float& float_field(); - - - /*! - * @brief This function sets a value in member double_field - * @param _double_field New value for member double_field - */ - eProsima_user_DllExport void double_field( - double _double_field); - - /*! - * @brief This function returns the value of member double_field - * @return Value of member double_field - */ - eProsima_user_DllExport double double_field() const; - - /*! - * @brief This function returns a reference to member double_field - * @return Reference to member double_field - */ - eProsima_user_DllExport double& double_field(); - - - /*! - * @brief This function sets a value in member bool_field - * @param _bool_field New value for member bool_field - */ - eProsima_user_DllExport void bool_field( - bool _bool_field); - - /*! - * @brief This function returns the value of member bool_field - * @return Value of member bool_field - */ - eProsima_user_DllExport bool bool_field() const; - - /*! - * @brief This function returns a reference to member bool_field - * @return Reference to member bool_field - */ - eProsima_user_DllExport bool& bool_field(); - - - /*! - * @brief This function copies the value in member string_field - * @param _string_field New value to be copied in member string_field - */ - eProsima_user_DllExport void string_field( - const std::string& _string_field); - - /*! - * @brief This function moves the value in member string_field - * @param _string_field New value to be moved in member string_field - */ - eProsima_user_DllExport void string_field( - std::string&& _string_field); - - /*! - * @brief This function returns a constant reference to member string_field - * @return Constant reference to member string_field - */ - eProsima_user_DllExport const std::string& string_field() const; - - /*! - * @brief This function returns a reference to member string_field - * @return Reference to member string_field - */ - eProsima_user_DllExport std::string& string_field(); - - - /*! - * @brief This function sets a value in member enum_field - * @param _enum_field New value for member enum_field - */ - eProsima_user_DllExport void enum_field( - eprosima::test2::Color2 _enum_field); - - /*! - * @brief This function returns the value of member enum_field - * @return Value of member enum_field - */ - eProsima_user_DllExport eprosima::test2::Color2 enum_field() const; - - /*! - * @brief This function returns a reference to member enum_field - * @return Reference to member enum_field - */ - eProsima_user_DllExport eprosima::test2::Color2& enum_field(); - - - /*! - * @brief This function sets a value in member enum2_field - * @param _enum2_field New value for member enum2_field - */ - eProsima_user_DllExport void enum2_field( - eprosima::test2::Material2 _enum2_field); - - /*! - * @brief This function returns the value of member enum2_field - * @return Value of member enum2_field - */ - eProsima_user_DllExport eprosima::test2::Material2 enum2_field() const; - - /*! - * @brief This function returns a reference to member enum2_field - * @return Reference to member enum2_field - */ - eProsima_user_DllExport eprosima::test2::Material2& enum2_field(); - - private: - - char m_char_field{0}; - uint8_t m_uint8_field{0}; - int16_t m_int16_field{0}; - uint16_t m_uint16_field{0}; - int32_t m_int32_field{0}; - uint32_t m_uint32_field{0}; - int64_t m_int64_field{0}; - uint64_t m_uint64_field{0}; - float m_float_field{0.0}; - double m_double_field{0.0}; - bool m_bool_field{false}; - std::string m_string_field; - eprosima::test2::Color2 m_enum_field{eprosima::test2::RED2}; - eprosima::test2::Material2 m_enum2_field{eprosima::test2::WOOD2}; - - }; - } // namespace test2 + +namespace test2 { + +/*! + * @brief This class represents the enumeration Color2 defined by the user in the IDL file. + * @ingroup test_included_modules + */ +enum Color2 : uint32_t +{ + RED2, + GREEN2, + BLUE2, + YELLOW2, + MAGENTA2 +}; +/*! + * @brief This class represents the enumeration Material2 defined by the user in the IDL file. + * @ingroup test_included_modules + */ +enum Material2 : uint32_t +{ + WOOD2, + PLASTIC2, + METAL2, + CONCRETE2, + STONE2 +}; + + +/*! + * @brief This class represents the structure StructType2 defined by the user in the IDL file. + * @ingroup test_included_modules + */ +class StructType2 +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport StructType2(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~StructType2(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::test2::StructType2 that will be copied. + */ + eProsima_user_DllExport StructType2( + const StructType2& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::test2::StructType2 that will be copied. + */ + eProsima_user_DllExport StructType2( + StructType2&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::test2::StructType2 that will be copied. + */ + eProsima_user_DllExport StructType2& operator =( + const StructType2& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::test2::StructType2 that will be copied. + */ + eProsima_user_DllExport StructType2& operator =( + StructType2&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::test2::StructType2 object to compare. + */ + eProsima_user_DllExport bool operator ==( + const StructType2& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::test2::StructType2 object to compare. + */ + eProsima_user_DllExport bool operator !=( + const StructType2& x) const; + + /*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ + eProsima_user_DllExport void char_field( + char _char_field); + + /*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ + eProsima_user_DllExport char char_field() const; + + /*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ + eProsima_user_DllExport char& char_field(); + + + /*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ + eProsima_user_DllExport void uint8_field( + uint8_t _uint8_field); + + /*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ + eProsima_user_DllExport uint8_t uint8_field() const; + + /*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ + eProsima_user_DllExport uint8_t& uint8_field(); + + + /*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ + eProsima_user_DllExport void int16_field( + int16_t _int16_field); + + /*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ + eProsima_user_DllExport int16_t int16_field() const; + + /*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ + eProsima_user_DllExport int16_t& int16_field(); + + + /*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ + eProsima_user_DllExport void uint16_field( + uint16_t _uint16_field); + + /*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ + eProsima_user_DllExport uint16_t uint16_field() const; + + /*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ + eProsima_user_DllExport uint16_t& uint16_field(); + + + /*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ + eProsima_user_DllExport void int32_field( + int32_t _int32_field); + + /*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ + eProsima_user_DllExport int32_t int32_field() const; + + /*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ + eProsima_user_DllExport int32_t& int32_field(); + + + /*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ + eProsima_user_DllExport void uint32_field( + uint32_t _uint32_field); + + /*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ + eProsima_user_DllExport uint32_t uint32_field() const; + + /*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ + eProsima_user_DllExport uint32_t& uint32_field(); + + + /*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ + eProsima_user_DllExport void int64_field( + int64_t _int64_field); + + /*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ + eProsima_user_DllExport int64_t int64_field() const; + + /*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ + eProsima_user_DllExport int64_t& int64_field(); + + + /*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ + eProsima_user_DllExport void uint64_field( + uint64_t _uint64_field); + + /*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ + eProsima_user_DllExport uint64_t uint64_field() const; + + /*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ + eProsima_user_DllExport uint64_t& uint64_field(); + + + /*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ + eProsima_user_DllExport void float_field( + float _float_field); + + /*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ + eProsima_user_DllExport float float_field() const; + + /*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ + eProsima_user_DllExport float& float_field(); + + + /*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ + eProsima_user_DllExport void double_field( + double _double_field); + + /*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ + eProsima_user_DllExport double double_field() const; + + /*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ + eProsima_user_DllExport double& double_field(); + + + /*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ + eProsima_user_DllExport void bool_field( + bool _bool_field); + + /*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ + eProsima_user_DllExport bool bool_field() const; + + /*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ + eProsima_user_DllExport bool& bool_field(); + + + /*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ + eProsima_user_DllExport void string_field( + const std::string& _string_field); + + /*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ + eProsima_user_DllExport void string_field( + std::string&& _string_field); + + /*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ + eProsima_user_DllExport const std::string& string_field() const; + + /*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ + eProsima_user_DllExport std::string& string_field(); + + + /*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ + eProsima_user_DllExport void enum_field( + eprosima::test2::Color2 _enum_field); + + /*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ + eProsima_user_DllExport eprosima::test2::Color2 enum_field() const; + + /*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ + eProsima_user_DllExport eprosima::test2::Color2& enum_field(); + + + /*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ + eProsima_user_DllExport void enum2_field( + eprosima::test2::Material2 _enum2_field); + + /*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ + eProsima_user_DllExport eprosima::test2::Material2 enum2_field() const; + + /*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ + eProsima_user_DllExport eprosima::test2::Material2& enum2_field(); + +private: + + char m_char_field{0}; + uint8_t m_uint8_field{0}; + int16_t m_int16_field{0}; + uint16_t m_uint16_field{0}; + int32_t m_int32_field{0}; + uint32_t m_uint32_field{0}; + int64_t m_int64_field{0}; + uint64_t m_uint64_field{0}; + float m_float_field{0.0}; + double m_double_field{0.0}; + bool m_bool_field{false}; + std::string m_string_field; + eprosima::test2::Color2 m_enum_field{eprosima::test2::RED2}; + eprosima::test2::Material2 m_enum2_field{eprosima::test2::WOOD2}; + +}; + +} // namespace test2 + } // namespace eprosima #endif // _FAST_DDS_GENERATED_EPROSIMA_TEST2_TEST_INCLUDED_MODULES_H_ + + +#endif // FASTCDR_VERSION_MAJOR > 1 diff --git a/fastdds_python/test/types/test_included_modules.i b/fastdds_python/test/types/test_included_modules.i index 79869472..1de154b2 100644 --- a/fastdds_python/test/types/test_included_modules.i +++ b/fastdds_python/test/types/test_included_modules.i @@ -45,7 +45,10 @@ #include %} +%include +#if FASTCDR_VERSION_MAJOR > 1 %import(module="fastdds") "fastcdr/xcdr/optional.hpp" +#endif %import(module="fastdds") "fastdds/dds/core/LoanableCollection.hpp" %import(module="fastdds") "fastdds/dds/core/LoanableTypedCollection.hpp" %import(module="fastdds") "fastdds/dds/core/LoanableSequence.hpp" @@ -64,6 +67,8 @@ namespace swig { %traits_penumn(enum eprosima::test2::Color2); %traits_penumn(enum eprosima::test2::Material2); + + //////////////////////////////////////////////////////// // Binding for class eprosima::test2::StructType2 //////////////////////////////////////////////////////// diff --git a/fastdds_python/test/types/test_included_modulesCdrAux.hpp b/fastdds_python/test/types/test_included_modulesCdrAux.hpp index 95994fec..2724149f 100644 --- a/fastdds_python/test/types/test_included_modulesCdrAux.hpp +++ b/fastdds_python/test/types/test_included_modulesCdrAux.hpp @@ -35,6 +35,8 @@ namespace fastcdr { class Cdr; class CdrSizeCalculator; + + eProsima_user_DllExport void serialize_key( eprosima::fastcdr::Cdr& scdr, const eprosima::test2::StructType2& data); diff --git a/fastdds_python/test/types/test_included_modulesCdrAux.ipp b/fastdds_python/test/types/test_included_modulesCdrAux.ipp index 81e98a1e..7ea181f8 100644 --- a/fastdds_python/test/types/test_included_modulesCdrAux.ipp +++ b/fastdds_python/test/types/test_included_modulesCdrAux.ipp @@ -34,12 +34,16 @@ using namespace eprosima::fastcdr::exception; namespace eprosima { namespace fastcdr { + + template<> eProsima_user_DllExport size_t calculate_serialized_size( eprosima::fastcdr::CdrSizeCalculator& calculator, const eprosima::test2::StructType2& data, size_t& current_alignment) { + using namespace eprosima::test2; + static_cast(data); eprosima::fastcdr::EncodingAlgorithmFlag previous_encoding = calculator.get_encoding(); @@ -103,6 +107,8 @@ eProsima_user_DllExport void serialize( eprosima::fastcdr::Cdr& scdr, const eprosima::test2::StructType2& data) { + using namespace eprosima::test2; + eprosima::fastcdr::Cdr::state current_state(scdr); scdr.begin_serialize_type(current_state, eprosima::fastcdr::CdrVersion::XCDRv2 == scdr.get_cdr_version() ? @@ -125,7 +131,6 @@ eProsima_user_DllExport void serialize( << eprosima::fastcdr::MemberId(12) << data.enum_field() << eprosima::fastcdr::MemberId(13) << data.enum2_field() ; - scdr.end_serialize_type(current_state); } @@ -134,6 +139,8 @@ eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr, eprosima::test2::StructType2& data) { + using namespace eprosima::test2; + cdr.deserialize_type(eprosima::fastcdr::CdrVersion::XCDRv2 == cdr.get_cdr_version() ? eprosima::fastcdr::EncodingAlgorithmFlag::DELIMIT_CDR2 : eprosima::fastcdr::EncodingAlgorithmFlag::PLAIN_CDR, @@ -210,6 +217,8 @@ void serialize_key( eprosima::fastcdr::Cdr& scdr, const eprosima::test2::StructType2& data) { + using namespace eprosima::test2; + static_cast(scdr); static_cast(data); } diff --git a/fastdds_python/test/types/test_included_modulesPubSubTypes.cxx b/fastdds_python/test/types/test_included_modulesPubSubTypes.cxx index b5e441d5..bf246423 100644 --- a/fastdds_python/test/types/test_included_modulesPubSubTypes.cxx +++ b/fastdds_python/test/types/test_included_modulesPubSubTypes.cxx @@ -20,9 +20,7 @@ */ -#include -#include -#include +#include #include "test_included_modulesPubSubTypes.h" #include "test_included_modulesCdrAux.hpp" @@ -33,10 +31,17 @@ using DataRepresentationId_t = eprosima::fastdds::dds::DataRepresentationId_t; namespace eprosima { namespace test2 { + + StructType2PubSubType::StructType2PubSubType() { setName("eprosima::test2::StructType2"); - uint32_t type_size = eprosima_test2_StructType2_max_cdr_typesize; + uint32_t type_size = + #if FASTCDR_VERSION_MAJOR == 1 + StructType2::getMaxCdrSerializedSize(); + #else + eprosima_test2_StructType2_max_cdr_typesize; + #endif type_size += static_cast(eprosima::fastcdr::Cdr::alignment(type_size, 4)); /* possible submessage alignment */ m_typeSize = type_size + 4; /*encapsulation*/ m_isGetKeyDefined = false; @@ -67,10 +72,12 @@ namespace eprosima { data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::CdrVersion::XCDRv1 : eprosima::fastcdr::CdrVersion::XCDRv2); payload->encapsulation = ser.endianness() == eprosima::fastcdr::Cdr::BIG_ENDIANNESS ? CDR_BE : CDR_LE; + #if FASTCDR_VERSION_MAJOR > 1 ser.set_encoding_flag( data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::EncodingAlgorithmFlag::PLAIN_CDR : eprosima::fastcdr::EncodingAlgorithmFlag::DELIMIT_CDR2); + #endif // FASTCDR_VERSION_MAJOR > 1 try { @@ -85,7 +92,11 @@ namespace eprosima { } // Get the serialized length + #if FASTCDR_VERSION_MAJOR == 1 + payload->length = static_cast(ser.getSerializedDataLength()); + #else payload->length = static_cast(ser.get_serialized_data_length()); + #endif // FASTCDR_VERSION_MAJOR == 1 return true; } @@ -102,7 +113,11 @@ namespace eprosima { eprosima::fastcdr::FastBuffer fastbuffer(reinterpret_cast(payload->data), payload->length); // Object that deserializes the data. - eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN); + eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN + #if FASTCDR_VERSION_MAJOR == 1 + , eprosima::fastcdr::Cdr::CdrType::DDS_CDR + #endif // FASTCDR_VERSION_MAJOR == 1 + ); // Deserialize encapsulation. deser.read_encapsulation(); @@ -125,13 +140,25 @@ namespace eprosima { { return [data, data_representation]() -> uint32_t { - eprosima::fastcdr::CdrSizeCalculator calculator( - data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? - eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); - size_t current_alignment {0}; - return static_cast(calculator.calculate_serialized_size( - *static_cast(data), current_alignment)) + - 4u /*encapsulation*/; + #if FASTCDR_VERSION_MAJOR == 1 + return static_cast(type::getCdrSerializedSize(*static_cast(data))) + + 4u /*encapsulation*/; + #else + try + { + eprosima::fastcdr::CdrSizeCalculator calculator( + data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? + eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); + size_t current_alignment {0}; + return static_cast(calculator.calculate_serialized_size( + *static_cast(data), current_alignment)) + + 4u /*encapsulation*/; + } + catch (eprosima::fastcdr::exception::Exception& /*exception*/) + { + return 0; + } + #endif // FASTCDR_VERSION_MAJOR == 1 }; } @@ -163,12 +190,20 @@ namespace eprosima { eprosima_test2_StructType2_max_key_cdr_typesize); // Object that serializes the data. - eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS); + eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS, eprosima::fastcdr::CdrVersion::XCDRv1); + #if FASTCDR_VERSION_MAJOR == 1 + p_type->serializeKey(ser); + #else eprosima::fastcdr::serialize_key(ser, *p_type); + #endif // FASTCDR_VERSION_MAJOR == 1 if (force_md5 || eprosima_test2_StructType2_max_key_cdr_typesize > 16) { m_md5.init(); + #if FASTCDR_VERSION_MAJOR == 1 + m_md5.update(m_keyBuffer, static_cast(ser.getSerializedDataLength())); + #else m_md5.update(m_keyBuffer, static_cast(ser.get_serialized_data_length())); + #endif // FASTCDR_VERSION_MAJOR == 1 m_md5.finalize(); for (uint8_t i = 0; i < 16; ++i) { diff --git a/fastdds_python/test/types/test_included_modulesPubSubTypes.h b/fastdds_python/test/types/test_included_modulesPubSubTypes.h index f235b871..a9962d68 100644 --- a/fastdds_python/test/types/test_included_modulesPubSubTypes.h +++ b/fastdds_python/test/types/test_included_modulesPubSubTypes.h @@ -42,6 +42,8 @@ namespace eprosima namespace test2 { + + /*! * @brief This class represents the TopicDataType of the type StructType2 defined by the user in the IDL file. * @ingroup test_included_modules diff --git a/fastdds_python/test/types/test_included_modulesv1.cxx b/fastdds_python/test/types/test_included_modulesv1.cxx new file mode 100644 index 00000000..58c44802 --- /dev/null +++ b/fastdds_python/test/types/test_included_modulesv1.cxx @@ -0,0 +1,941 @@ +// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/*! + * @file test_included_modules.cpp + * This source file contains the implementation of the described types in the IDL file. + * + * This file was generated by the tool fastddsgen. + */ + +#ifdef _WIN32 +// Remove linker warning LNK4221 on Visual Studio +namespace { +char dummy; +} // namespace +#endif // _WIN32 + +#include "test_included_modules.h" + +#if FASTCDR_VERSION_MAJOR == 1 + +#include + + +#include +using namespace eprosima::fastcdr::exception; + +#include + +namespace helper { namespace internal { + +enum class Size { + UInt8, + UInt16, + UInt32, + UInt64, +}; + +constexpr Size get_size(int s) { + return (s <= 8 ) ? Size::UInt8: + (s <= 16) ? Size::UInt16: + (s <= 32) ? Size::UInt32: Size::UInt64; +} + +template +struct FindTypeH; + +template<> +struct FindTypeH { + using type = std::uint8_t; +}; + +template<> +struct FindTypeH { + using type = std::uint16_t; +}; + +template<> +struct FindTypeH { + using type = std::uint32_t; +}; + +template<> +struct FindTypeH { + using type = std::uint64_t; +}; +} + +template +struct FindType { + using type = typename internal::FindTypeH::type; +}; +} + +#define eprosima_test2_StructType2_max_cdr_typesize 328ULL; + + + +namespace eprosima { + +namespace test2 { + + + +StructType2::StructType2() +{ + // char m_char_field + m_char_field = 0; + // octet m_uint8_field + m_uint8_field = 0; + // short m_int16_field + m_int16_field = 0; + // unsigned short m_uint16_field + m_uint16_field = 0; + // long m_int32_field + m_int32_field = 0; + // unsigned long m_uint32_field + m_uint32_field = 0; + // long long m_int64_field + m_int64_field = 0; + // unsigned long long m_uint64_field + m_uint64_field = 0; + // float m_float_field + m_float_field = 0.0; + // double m_double_field + m_double_field = 0.0; + // boolean m_bool_field + m_bool_field = false; + // /type_d() m_string_field + + // eprosima::test2::Color2 m_enum_field + m_enum_field = eprosima::test2::RED2; + // eprosima::test2::Material2 m_enum2_field + m_enum2_field = eprosima::test2::WOOD2; + +} + +StructType2::~StructType2() +{ +} + +StructType2::StructType2( + const StructType2& x) +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = x.m_string_field; + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + +} + +StructType2::StructType2( + StructType2&& x) noexcept +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = std::move(x.m_string_field); + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + +} + +StructType2& StructType2::operator =( + const StructType2& x) +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = x.m_string_field; + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + return *this; +} + +StructType2& StructType2::operator =( + StructType2&& x) noexcept +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = std::move(x.m_string_field); + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + return *this; +} + +bool StructType2::operator ==( + const StructType2& x) const +{ + return (m_char_field == x.m_char_field && + m_uint8_field == x.m_uint8_field && + m_int16_field == x.m_int16_field && + m_uint16_field == x.m_uint16_field && + m_int32_field == x.m_int32_field && + m_uint32_field == x.m_uint32_field && + m_int64_field == x.m_int64_field && + m_uint64_field == x.m_uint64_field && + m_float_field == x.m_float_field && + m_double_field == x.m_double_field && + m_bool_field == x.m_bool_field && + m_string_field == x.m_string_field && + m_enum_field == x.m_enum_field && + m_enum2_field == x.m_enum2_field); +} + +bool StructType2::operator !=( + const StructType2& x) const +{ + return !(*this == x); +} + +size_t StructType2::getMaxCdrSerializedSize( + size_t current_alignment) +{ + static_cast(current_alignment); + return eprosima_test2_StructType2_max_cdr_typesize; +} + +size_t StructType2::getCdrSerializedSize( + const StructType2& data, + size_t current_alignment) +{ + (void)data; + size_t initial_alignment = current_alignment; + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4) + data.string_field().size() + 1; + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + return current_alignment - initial_alignment; +} + + +void StructType2::serialize( + eprosima::fastcdr::Cdr& scdr) const +{ + scdr << m_char_field; + + scdr << m_uint8_field; + + scdr << m_int16_field; + + scdr << m_uint16_field; + + scdr << m_int32_field; + + scdr << m_uint32_field; + + scdr << m_int64_field; + + scdr << m_uint64_field; + + scdr << m_float_field; + + scdr << m_double_field; + + scdr << m_bool_field; + + scdr << m_string_field.c_str(); + + scdr << (uint32_t)m_enum_field; + + scdr << (uint32_t)m_enum2_field; + +} + +void StructType2::deserialize( + eprosima::fastcdr::Cdr& dcdr) +{ + dcdr >> m_char_field; + + + + dcdr >> m_uint8_field; + + + + dcdr >> m_int16_field; + + + + dcdr >> m_uint16_field; + + + + dcdr >> m_int32_field; + + + + dcdr >> m_uint32_field; + + + + dcdr >> m_int64_field; + + + + dcdr >> m_uint64_field; + + + + dcdr >> m_float_field; + + + + dcdr >> m_double_field; + + + + dcdr >> m_bool_field; + + + + dcdr >> m_string_field; + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum_field = (eprosima::test2::Color2)enum_value; + } + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum2_field = (eprosima::test2::Material2)enum_value; + } + + +} + + +bool StructType2::isKeyDefined() +{ + return false; +} + +void StructType2::serializeKey( + eprosima::fastcdr::Cdr& scdr) const +{ + (void) scdr; +} + +/*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ +void StructType2::char_field( + char _char_field) +{ + m_char_field = _char_field; +} + +/*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ +char StructType2::char_field() const +{ + return m_char_field; +} + +/*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ +char& StructType2::char_field() +{ + return m_char_field; +} + + +/*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ +void StructType2::uint8_field( + uint8_t _uint8_field) +{ + m_uint8_field = _uint8_field; +} + +/*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ +uint8_t StructType2::uint8_field() const +{ + return m_uint8_field; +} + +/*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ +uint8_t& StructType2::uint8_field() +{ + return m_uint8_field; +} + + +/*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ +void StructType2::int16_field( + int16_t _int16_field) +{ + m_int16_field = _int16_field; +} + +/*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ +int16_t StructType2::int16_field() const +{ + return m_int16_field; +} + +/*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ +int16_t& StructType2::int16_field() +{ + return m_int16_field; +} + + +/*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ +void StructType2::uint16_field( + uint16_t _uint16_field) +{ + m_uint16_field = _uint16_field; +} + +/*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ +uint16_t StructType2::uint16_field() const +{ + return m_uint16_field; +} + +/*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ +uint16_t& StructType2::uint16_field() +{ + return m_uint16_field; +} + + +/*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ +void StructType2::int32_field( + int32_t _int32_field) +{ + m_int32_field = _int32_field; +} + +/*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ +int32_t StructType2::int32_field() const +{ + return m_int32_field; +} + +/*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ +int32_t& StructType2::int32_field() +{ + return m_int32_field; +} + + +/*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ +void StructType2::uint32_field( + uint32_t _uint32_field) +{ + m_uint32_field = _uint32_field; +} + +/*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ +uint32_t StructType2::uint32_field() const +{ + return m_uint32_field; +} + +/*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ +uint32_t& StructType2::uint32_field() +{ + return m_uint32_field; +} + + +/*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ +void StructType2::int64_field( + int64_t _int64_field) +{ + m_int64_field = _int64_field; +} + +/*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ +int64_t StructType2::int64_field() const +{ + return m_int64_field; +} + +/*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ +int64_t& StructType2::int64_field() +{ + return m_int64_field; +} + + +/*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ +void StructType2::uint64_field( + uint64_t _uint64_field) +{ + m_uint64_field = _uint64_field; +} + +/*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ +uint64_t StructType2::uint64_field() const +{ + return m_uint64_field; +} + +/*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ +uint64_t& StructType2::uint64_field() +{ + return m_uint64_field; +} + + +/*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ +void StructType2::float_field( + float _float_field) +{ + m_float_field = _float_field; +} + +/*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ +float StructType2::float_field() const +{ + return m_float_field; +} + +/*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ +float& StructType2::float_field() +{ + return m_float_field; +} + + +/*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ +void StructType2::double_field( + double _double_field) +{ + m_double_field = _double_field; +} + +/*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ +double StructType2::double_field() const +{ + return m_double_field; +} + +/*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ +double& StructType2::double_field() +{ + return m_double_field; +} + + +/*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ +void StructType2::bool_field( + bool _bool_field) +{ + m_bool_field = _bool_field; +} + +/*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ +bool StructType2::bool_field() const +{ + return m_bool_field; +} + +/*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ +bool& StructType2::bool_field() +{ + return m_bool_field; +} + + +/*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ +void StructType2::string_field( + const std::string& _string_field) +{ + m_string_field = _string_field; +} + +/*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ +void StructType2::string_field( + std::string&& _string_field) +{ + m_string_field = std::move(_string_field); +} + +/*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ +const std::string& StructType2::string_field() const +{ + return m_string_field; +} + +/*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ +std::string& StructType2::string_field() +{ + return m_string_field; +} + + +/*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ +void StructType2::enum_field( + eprosima::test2::Color2 _enum_field) +{ + m_enum_field = _enum_field; +} + +/*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ +eprosima::test2::Color2 StructType2::enum_field() const +{ + return m_enum_field; +} + +/*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ +eprosima::test2::Color2& StructType2::enum_field() +{ + return m_enum_field; +} + + +/*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ +void StructType2::enum2_field( + eprosima::test2::Material2 _enum2_field) +{ + m_enum2_field = _enum2_field; +} + +/*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ +eprosima::test2::Material2 StructType2::enum2_field() const +{ + return m_enum2_field; +} + +/*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ +eprosima::test2::Material2& StructType2::enum2_field() +{ + return m_enum2_field; +} + + + + + +} // namespace test2 + + +} // namespace eprosima + +#endif // FASTCDR_VERSION_MAJOR == 1 diff --git a/fastdds_python/test/types/test_included_modulesv1.h b/fastdds_python/test/types/test_included_modulesv1.h new file mode 100644 index 00000000..a393d7f9 --- /dev/null +++ b/fastdds_python/test/types/test_included_modulesv1.h @@ -0,0 +1,523 @@ +// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/*! + * @file test_included_modules.h + * This header file contains the declaration of the described types in the IDL file. + * + * This file was generated by the tool fastddsgen. + */ + +#include + +#if FASTCDR_VERSION_MAJOR == 1 + +#ifndef _FAST_DDS_GENERATED_EPROSIMA_TEST2_TEST_INCLUDED_MODULES_H_ +#define _FAST_DDS_GENERATED_EPROSIMA_TEST2_TEST_INCLUDED_MODULES_H_ + + +#include + +#include +#include +#include +#include +#include +#include + +#if defined(_WIN32) +#if defined(EPROSIMA_USER_DLL_EXPORT) +#define eProsima_user_DllExport __declspec( dllexport ) +#else +#define eProsima_user_DllExport +#endif // EPROSIMA_USER_DLL_EXPORT +#else +#define eProsima_user_DllExport +#endif // _WIN32 + +#if defined(_WIN32) +#if defined(EPROSIMA_USER_DLL_EXPORT) +#if defined(TEST_INCLUDED_MODULES_SOURCE) +#define TEST_INCLUDED_MODULES_DllAPI __declspec( dllexport ) +#else +#define TEST_INCLUDED_MODULES_DllAPI __declspec( dllimport ) +#endif // TEST_INCLUDED_MODULES_SOURCE +#else +#define TEST_INCLUDED_MODULES_DllAPI +#endif // EPROSIMA_USER_DLL_EXPORT +#else +#define TEST_INCLUDED_MODULES_DllAPI +#endif // _WIN32 + +namespace eprosima { +namespace fastcdr { +class Cdr; +} // namespace fastcdr +} // namespace eprosima + + + +namespace eprosima { + namespace test2 { + /*! + * @brief This class represents the enumeration Color2 defined by the user in the IDL file. + * @ingroup test_included_modules + */ + enum Color2 : uint32_t + { + RED2, + GREEN2, + BLUE2, + YELLOW2, + MAGENTA2 + }; + /*! + * @brief This class represents the enumeration Material2 defined by the user in the IDL file. + * @ingroup test_included_modules + */ + enum Material2 : uint32_t + { + WOOD2, + PLASTIC2, + METAL2, + CONCRETE2, + STONE2 + }; + + + /*! + * @brief This class represents the structure StructType2 defined by the user in the IDL file. + * @ingroup test_included_modules + */ + class StructType2 + { + public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport StructType2(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~StructType2(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::test2::StructType2 that will be copied. + */ + eProsima_user_DllExport StructType2( + const StructType2& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::test2::StructType2 that will be copied. + */ + eProsima_user_DllExport StructType2( + StructType2&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::test2::StructType2 that will be copied. + */ + eProsima_user_DllExport StructType2& operator =( + const StructType2& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::test2::StructType2 that will be copied. + */ + eProsima_user_DllExport StructType2& operator =( + StructType2&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::test2::StructType2 object to compare. + */ + eProsima_user_DllExport bool operator ==( + const StructType2& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::test2::StructType2 object to compare. + */ + eProsima_user_DllExport bool operator !=( + const StructType2& x) const; + + /*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ + eProsima_user_DllExport void char_field( + char _char_field); + + /*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ + eProsima_user_DllExport char char_field() const; + + /*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ + eProsima_user_DllExport char& char_field(); + + + /*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ + eProsima_user_DllExport void uint8_field( + uint8_t _uint8_field); + + /*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ + eProsima_user_DllExport uint8_t uint8_field() const; + + /*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ + eProsima_user_DllExport uint8_t& uint8_field(); + + + /*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ + eProsima_user_DllExport void int16_field( + int16_t _int16_field); + + /*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ + eProsima_user_DllExport int16_t int16_field() const; + + /*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ + eProsima_user_DllExport int16_t& int16_field(); + + + /*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ + eProsima_user_DllExport void uint16_field( + uint16_t _uint16_field); + + /*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ + eProsima_user_DllExport uint16_t uint16_field() const; + + /*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ + eProsima_user_DllExport uint16_t& uint16_field(); + + + /*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ + eProsima_user_DllExport void int32_field( + int32_t _int32_field); + + /*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ + eProsima_user_DllExport int32_t int32_field() const; + + /*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ + eProsima_user_DllExport int32_t& int32_field(); + + + /*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ + eProsima_user_DllExport void uint32_field( + uint32_t _uint32_field); + + /*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ + eProsima_user_DllExport uint32_t uint32_field() const; + + /*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ + eProsima_user_DllExport uint32_t& uint32_field(); + + + /*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ + eProsima_user_DllExport void int64_field( + int64_t _int64_field); + + /*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ + eProsima_user_DllExport int64_t int64_field() const; + + /*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ + eProsima_user_DllExport int64_t& int64_field(); + + + /*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ + eProsima_user_DllExport void uint64_field( + uint64_t _uint64_field); + + /*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ + eProsima_user_DllExport uint64_t uint64_field() const; + + /*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ + eProsima_user_DllExport uint64_t& uint64_field(); + + + /*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ + eProsima_user_DllExport void float_field( + float _float_field); + + /*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ + eProsima_user_DllExport float float_field() const; + + /*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ + eProsima_user_DllExport float& float_field(); + + + /*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ + eProsima_user_DllExport void double_field( + double _double_field); + + /*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ + eProsima_user_DllExport double double_field() const; + + /*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ + eProsima_user_DllExport double& double_field(); + + + /*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ + eProsima_user_DllExport void bool_field( + bool _bool_field); + + /*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ + eProsima_user_DllExport bool bool_field() const; + + /*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ + eProsima_user_DllExport bool& bool_field(); + + + /*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ + eProsima_user_DllExport void string_field( + const std::string& _string_field); + + /*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ + eProsima_user_DllExport void string_field( + std::string&& _string_field); + + /*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ + eProsima_user_DllExport const std::string& string_field() const; + + /*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ + eProsima_user_DllExport std::string& string_field(); + + + /*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ + eProsima_user_DllExport void enum_field( + eprosima::test2::Color2 _enum_field); + + /*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ + eProsima_user_DllExport eprosima::test2::Color2 enum_field() const; + + /*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ + eProsima_user_DllExport eprosima::test2::Color2& enum_field(); + + + /*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ + eProsima_user_DllExport void enum2_field( + eprosima::test2::Material2 _enum2_field); + + /*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ + eProsima_user_DllExport eprosima::test2::Material2 enum2_field() const; + + /*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ + eProsima_user_DllExport eprosima::test2::Material2& enum2_field(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::test2::StructType2& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + + + private: + + char m_char_field; + uint8_t m_uint8_field; + int16_t m_int16_field; + uint16_t m_uint16_field; + int32_t m_int32_field; + uint32_t m_uint32_field; + int64_t m_int64_field; + uint64_t m_uint64_field; + float m_float_field; + double m_double_field; + bool m_bool_field; + std::string m_string_field; + eprosima::test2::Color2 m_enum_field; + eprosima::test2::Material2 m_enum2_field; + + }; + + } // namespace test2 +} // namespace eprosima + +#endif // _FAST_DDS_GENERATED_EPROSIMA_TEST2_TEST_INCLUDED_MODULES_H_ + + + +#endif // FASTCDR_VERSION_MAJOR == 1 diff --git a/fastdds_python/test/types/test_modules.cxx b/fastdds_python/test/types/test_modules.cxx index 84cc2102..91a5da05 100644 --- a/fastdds_python/test/types/test_modules.cxx +++ b/fastdds_python/test/types/test_modules.cxx @@ -27,6 +27,9 @@ char dummy; #endif // _WIN32 #include "test_modules.h" + +#if FASTCDR_VERSION_MAJOR > 1 + #include @@ -36,16 +39,21 @@ using namespace eprosima::fastcdr::exception; #include -eprosima::test::StructType::StructType() -{ +namespace eprosima { + +namespace test { + + +StructType::StructType() +{ } -eprosima::test::StructType::~StructType() +StructType::~StructType() { } -eprosima::test::StructType::StructType( +StructType::StructType( const StructType& x) { m_char_field = x.m_char_field; @@ -64,7 +72,7 @@ eprosima::test::StructType::StructType( m_enum2_field = x.m_enum2_field; } -eprosima::test::StructType::StructType( +StructType::StructType( StructType&& x) noexcept { m_char_field = x.m_char_field; @@ -83,7 +91,7 @@ eprosima::test::StructType::StructType( m_enum2_field = x.m_enum2_field; } -eprosima::test::StructType& eprosima::test::StructType::operator =( +StructType& StructType::operator =( const StructType& x) { @@ -101,11 +109,10 @@ eprosima::test::StructType& eprosima::test::StructType::operator =( m_string_field = x.m_string_field; m_enum_field = x.m_enum_field; m_enum2_field = x.m_enum2_field; - return *this; } -eprosima::test::StructType& eprosima::test::StructType::operator =( +StructType& StructType::operator =( StructType&& x) noexcept { @@ -123,11 +130,10 @@ eprosima::test::StructType& eprosima::test::StructType::operator =( m_string_field = std::move(x.m_string_field); m_enum_field = x.m_enum_field; m_enum2_field = x.m_enum2_field; - return *this; } -bool eprosima::test::StructType::operator ==( +bool StructType::operator ==( const StructType& x) const { return (m_char_field == x.m_char_field && @@ -146,7 +152,7 @@ bool eprosima::test::StructType::operator ==( m_enum2_field == x.m_enum2_field); } -bool eprosima::test::StructType::operator !=( +bool StructType::operator !=( const StructType& x) const { return !(*this == x); @@ -156,7 +162,7 @@ bool eprosima::test::StructType::operator !=( * @brief This function sets a value in member char_field * @param _char_field New value for member char_field */ -void eprosima::test::StructType::char_field( +void StructType::char_field( char _char_field) { m_char_field = _char_field; @@ -166,7 +172,7 @@ void eprosima::test::StructType::char_field( * @brief This function returns the value of member char_field * @return Value of member char_field */ -char eprosima::test::StructType::char_field() const +char StructType::char_field() const { return m_char_field; } @@ -175,7 +181,7 @@ char eprosima::test::StructType::char_field() const * @brief This function returns a reference to member char_field * @return Reference to member char_field */ -char& eprosima::test::StructType::char_field() +char& StructType::char_field() { return m_char_field; } @@ -185,7 +191,7 @@ char& eprosima::test::StructType::char_field() * @brief This function sets a value in member uint8_field * @param _uint8_field New value for member uint8_field */ -void eprosima::test::StructType::uint8_field( +void StructType::uint8_field( uint8_t _uint8_field) { m_uint8_field = _uint8_field; @@ -195,7 +201,7 @@ void eprosima::test::StructType::uint8_field( * @brief This function returns the value of member uint8_field * @return Value of member uint8_field */ -uint8_t eprosima::test::StructType::uint8_field() const +uint8_t StructType::uint8_field() const { return m_uint8_field; } @@ -204,7 +210,7 @@ uint8_t eprosima::test::StructType::uint8_field() const * @brief This function returns a reference to member uint8_field * @return Reference to member uint8_field */ -uint8_t& eprosima::test::StructType::uint8_field() +uint8_t& StructType::uint8_field() { return m_uint8_field; } @@ -214,7 +220,7 @@ uint8_t& eprosima::test::StructType::uint8_field() * @brief This function sets a value in member int16_field * @param _int16_field New value for member int16_field */ -void eprosima::test::StructType::int16_field( +void StructType::int16_field( int16_t _int16_field) { m_int16_field = _int16_field; @@ -224,7 +230,7 @@ void eprosima::test::StructType::int16_field( * @brief This function returns the value of member int16_field * @return Value of member int16_field */ -int16_t eprosima::test::StructType::int16_field() const +int16_t StructType::int16_field() const { return m_int16_field; } @@ -233,7 +239,7 @@ int16_t eprosima::test::StructType::int16_field() const * @brief This function returns a reference to member int16_field * @return Reference to member int16_field */ -int16_t& eprosima::test::StructType::int16_field() +int16_t& StructType::int16_field() { return m_int16_field; } @@ -243,7 +249,7 @@ int16_t& eprosima::test::StructType::int16_field() * @brief This function sets a value in member uint16_field * @param _uint16_field New value for member uint16_field */ -void eprosima::test::StructType::uint16_field( +void StructType::uint16_field( uint16_t _uint16_field) { m_uint16_field = _uint16_field; @@ -253,7 +259,7 @@ void eprosima::test::StructType::uint16_field( * @brief This function returns the value of member uint16_field * @return Value of member uint16_field */ -uint16_t eprosima::test::StructType::uint16_field() const +uint16_t StructType::uint16_field() const { return m_uint16_field; } @@ -262,7 +268,7 @@ uint16_t eprosima::test::StructType::uint16_field() const * @brief This function returns a reference to member uint16_field * @return Reference to member uint16_field */ -uint16_t& eprosima::test::StructType::uint16_field() +uint16_t& StructType::uint16_field() { return m_uint16_field; } @@ -272,7 +278,7 @@ uint16_t& eprosima::test::StructType::uint16_field() * @brief This function sets a value in member int32_field * @param _int32_field New value for member int32_field */ -void eprosima::test::StructType::int32_field( +void StructType::int32_field( int32_t _int32_field) { m_int32_field = _int32_field; @@ -282,7 +288,7 @@ void eprosima::test::StructType::int32_field( * @brief This function returns the value of member int32_field * @return Value of member int32_field */ -int32_t eprosima::test::StructType::int32_field() const +int32_t StructType::int32_field() const { return m_int32_field; } @@ -291,7 +297,7 @@ int32_t eprosima::test::StructType::int32_field() const * @brief This function returns a reference to member int32_field * @return Reference to member int32_field */ -int32_t& eprosima::test::StructType::int32_field() +int32_t& StructType::int32_field() { return m_int32_field; } @@ -301,7 +307,7 @@ int32_t& eprosima::test::StructType::int32_field() * @brief This function sets a value in member uint32_field * @param _uint32_field New value for member uint32_field */ -void eprosima::test::StructType::uint32_field( +void StructType::uint32_field( uint32_t _uint32_field) { m_uint32_field = _uint32_field; @@ -311,7 +317,7 @@ void eprosima::test::StructType::uint32_field( * @brief This function returns the value of member uint32_field * @return Value of member uint32_field */ -uint32_t eprosima::test::StructType::uint32_field() const +uint32_t StructType::uint32_field() const { return m_uint32_field; } @@ -320,7 +326,7 @@ uint32_t eprosima::test::StructType::uint32_field() const * @brief This function returns a reference to member uint32_field * @return Reference to member uint32_field */ -uint32_t& eprosima::test::StructType::uint32_field() +uint32_t& StructType::uint32_field() { return m_uint32_field; } @@ -330,7 +336,7 @@ uint32_t& eprosima::test::StructType::uint32_field() * @brief This function sets a value in member int64_field * @param _int64_field New value for member int64_field */ -void eprosima::test::StructType::int64_field( +void StructType::int64_field( int64_t _int64_field) { m_int64_field = _int64_field; @@ -340,7 +346,7 @@ void eprosima::test::StructType::int64_field( * @brief This function returns the value of member int64_field * @return Value of member int64_field */ -int64_t eprosima::test::StructType::int64_field() const +int64_t StructType::int64_field() const { return m_int64_field; } @@ -349,7 +355,7 @@ int64_t eprosima::test::StructType::int64_field() const * @brief This function returns a reference to member int64_field * @return Reference to member int64_field */ -int64_t& eprosima::test::StructType::int64_field() +int64_t& StructType::int64_field() { return m_int64_field; } @@ -359,7 +365,7 @@ int64_t& eprosima::test::StructType::int64_field() * @brief This function sets a value in member uint64_field * @param _uint64_field New value for member uint64_field */ -void eprosima::test::StructType::uint64_field( +void StructType::uint64_field( uint64_t _uint64_field) { m_uint64_field = _uint64_field; @@ -369,7 +375,7 @@ void eprosima::test::StructType::uint64_field( * @brief This function returns the value of member uint64_field * @return Value of member uint64_field */ -uint64_t eprosima::test::StructType::uint64_field() const +uint64_t StructType::uint64_field() const { return m_uint64_field; } @@ -378,7 +384,7 @@ uint64_t eprosima::test::StructType::uint64_field() const * @brief This function returns a reference to member uint64_field * @return Reference to member uint64_field */ -uint64_t& eprosima::test::StructType::uint64_field() +uint64_t& StructType::uint64_field() { return m_uint64_field; } @@ -388,7 +394,7 @@ uint64_t& eprosima::test::StructType::uint64_field() * @brief This function sets a value in member float_field * @param _float_field New value for member float_field */ -void eprosima::test::StructType::float_field( +void StructType::float_field( float _float_field) { m_float_field = _float_field; @@ -398,7 +404,7 @@ void eprosima::test::StructType::float_field( * @brief This function returns the value of member float_field * @return Value of member float_field */ -float eprosima::test::StructType::float_field() const +float StructType::float_field() const { return m_float_field; } @@ -407,7 +413,7 @@ float eprosima::test::StructType::float_field() const * @brief This function returns a reference to member float_field * @return Reference to member float_field */ -float& eprosima::test::StructType::float_field() +float& StructType::float_field() { return m_float_field; } @@ -417,7 +423,7 @@ float& eprosima::test::StructType::float_field() * @brief This function sets a value in member double_field * @param _double_field New value for member double_field */ -void eprosima::test::StructType::double_field( +void StructType::double_field( double _double_field) { m_double_field = _double_field; @@ -427,7 +433,7 @@ void eprosima::test::StructType::double_field( * @brief This function returns the value of member double_field * @return Value of member double_field */ -double eprosima::test::StructType::double_field() const +double StructType::double_field() const { return m_double_field; } @@ -436,7 +442,7 @@ double eprosima::test::StructType::double_field() const * @brief This function returns a reference to member double_field * @return Reference to member double_field */ -double& eprosima::test::StructType::double_field() +double& StructType::double_field() { return m_double_field; } @@ -446,7 +452,7 @@ double& eprosima::test::StructType::double_field() * @brief This function sets a value in member bool_field * @param _bool_field New value for member bool_field */ -void eprosima::test::StructType::bool_field( +void StructType::bool_field( bool _bool_field) { m_bool_field = _bool_field; @@ -456,7 +462,7 @@ void eprosima::test::StructType::bool_field( * @brief This function returns the value of member bool_field * @return Value of member bool_field */ -bool eprosima::test::StructType::bool_field() const +bool StructType::bool_field() const { return m_bool_field; } @@ -465,7 +471,7 @@ bool eprosima::test::StructType::bool_field() const * @brief This function returns a reference to member bool_field * @return Reference to member bool_field */ -bool& eprosima::test::StructType::bool_field() +bool& StructType::bool_field() { return m_bool_field; } @@ -475,7 +481,7 @@ bool& eprosima::test::StructType::bool_field() * @brief This function copies the value in member string_field * @param _string_field New value to be copied in member string_field */ -void eprosima::test::StructType::string_field( +void StructType::string_field( const std::string& _string_field) { m_string_field = _string_field; @@ -485,7 +491,7 @@ void eprosima::test::StructType::string_field( * @brief This function moves the value in member string_field * @param _string_field New value to be moved in member string_field */ -void eprosima::test::StructType::string_field( +void StructType::string_field( std::string&& _string_field) { m_string_field = std::move(_string_field); @@ -495,7 +501,7 @@ void eprosima::test::StructType::string_field( * @brief This function returns a constant reference to member string_field * @return Constant reference to member string_field */ -const std::string& eprosima::test::StructType::string_field() const +const std::string& StructType::string_field() const { return m_string_field; } @@ -504,7 +510,7 @@ const std::string& eprosima::test::StructType::string_field() const * @brief This function returns a reference to member string_field * @return Reference to member string_field */ -std::string& eprosima::test::StructType::string_field() +std::string& StructType::string_field() { return m_string_field; } @@ -514,7 +520,7 @@ std::string& eprosima::test::StructType::string_field() * @brief This function sets a value in member enum_field * @param _enum_field New value for member enum_field */ -void eprosima::test::StructType::enum_field( +void StructType::enum_field( eprosima::test::Color _enum_field) { m_enum_field = _enum_field; @@ -524,7 +530,7 @@ void eprosima::test::StructType::enum_field( * @brief This function returns the value of member enum_field * @return Value of member enum_field */ -eprosima::test::Color eprosima::test::StructType::enum_field() const +eprosima::test::Color StructType::enum_field() const { return m_enum_field; } @@ -533,7 +539,7 @@ eprosima::test::Color eprosima::test::StructType::enum_field() const * @brief This function returns a reference to member enum_field * @return Reference to member enum_field */ -eprosima::test::Color& eprosima::test::StructType::enum_field() +eprosima::test::Color& StructType::enum_field() { return m_enum_field; } @@ -543,7 +549,7 @@ eprosima::test::Color& eprosima::test::StructType::enum_field() * @brief This function sets a value in member enum2_field * @param _enum2_field New value for member enum2_field */ -void eprosima::test::StructType::enum2_field( +void StructType::enum2_field( eprosima::test::Material _enum2_field) { m_enum2_field = _enum2_field; @@ -553,7 +559,7 @@ void eprosima::test::StructType::enum2_field( * @brief This function returns the value of member enum2_field * @return Value of member enum2_field */ -eprosima::test::Material eprosima::test::StructType::enum2_field() const +eprosima::test::Material StructType::enum2_field() const { return m_enum2_field; } @@ -562,7 +568,7 @@ eprosima::test::Material eprosima::test::StructType::enum2_field() const * @brief This function returns a reference to member enum2_field * @return Reference to member enum2_field */ -eprosima::test::Material& eprosima::test::StructType::enum2_field() +eprosima::test::Material& StructType::enum2_field() { return m_enum2_field; } @@ -570,16 +576,19 @@ eprosima::test::Material& eprosima::test::StructType::enum2_field() -eprosima::test::CompleteTestType::CompleteTestType() -{ + + + +CompleteTestType::CompleteTestType() +{ } -eprosima::test::CompleteTestType::~CompleteTestType() +CompleteTestType::~CompleteTestType() { } -eprosima::test::CompleteTestType::CompleteTestType( +CompleteTestType::CompleteTestType( const CompleteTestType& x) { m_char_field = x.m_char_field; @@ -656,7 +665,7 @@ eprosima::test::CompleteTestType::CompleteTestType( m_unbounded_sequence_struct_field = x.m_unbounded_sequence_struct_field; } -eprosima::test::CompleteTestType::CompleteTestType( +CompleteTestType::CompleteTestType( CompleteTestType&& x) noexcept { m_char_field = x.m_char_field; @@ -733,7 +742,7 @@ eprosima::test::CompleteTestType::CompleteTestType( m_unbounded_sequence_struct_field = std::move(x.m_unbounded_sequence_struct_field); } -eprosima::test::CompleteTestType& eprosima::test::CompleteTestType::operator =( +CompleteTestType& CompleteTestType::operator =( const CompleteTestType& x) { @@ -809,11 +818,10 @@ eprosima::test::CompleteTestType& eprosima::test::CompleteTestType::operator =( m_unbounded_sequence_enum_field = x.m_unbounded_sequence_enum_field; m_unbounded_sequence_enum2_field = x.m_unbounded_sequence_enum2_field; m_unbounded_sequence_struct_field = x.m_unbounded_sequence_struct_field; - return *this; } -eprosima::test::CompleteTestType& eprosima::test::CompleteTestType::operator =( +CompleteTestType& CompleteTestType::operator =( CompleteTestType&& x) noexcept { @@ -889,11 +897,10 @@ eprosima::test::CompleteTestType& eprosima::test::CompleteTestType::operator =( m_unbounded_sequence_enum_field = std::move(x.m_unbounded_sequence_enum_field); m_unbounded_sequence_enum2_field = std::move(x.m_unbounded_sequence_enum2_field); m_unbounded_sequence_struct_field = std::move(x.m_unbounded_sequence_struct_field); - return *this; } -bool eprosima::test::CompleteTestType::operator ==( +bool CompleteTestType::operator ==( const CompleteTestType& x) const { return (m_char_field == x.m_char_field && @@ -970,7 +977,7 @@ bool eprosima::test::CompleteTestType::operator ==( m_unbounded_sequence_struct_field == x.m_unbounded_sequence_struct_field); } -bool eprosima::test::CompleteTestType::operator !=( +bool CompleteTestType::operator !=( const CompleteTestType& x) const { return !(*this == x); @@ -980,7 +987,7 @@ bool eprosima::test::CompleteTestType::operator !=( * @brief This function sets a value in member char_field * @param _char_field New value for member char_field */ -void eprosima::test::CompleteTestType::char_field( +void CompleteTestType::char_field( char _char_field) { m_char_field = _char_field; @@ -990,7 +997,7 @@ void eprosima::test::CompleteTestType::char_field( * @brief This function returns the value of member char_field * @return Value of member char_field */ -char eprosima::test::CompleteTestType::char_field() const +char CompleteTestType::char_field() const { return m_char_field; } @@ -999,7 +1006,7 @@ char eprosima::test::CompleteTestType::char_field() const * @brief This function returns a reference to member char_field * @return Reference to member char_field */ -char& eprosima::test::CompleteTestType::char_field() +char& CompleteTestType::char_field() { return m_char_field; } @@ -1009,7 +1016,7 @@ char& eprosima::test::CompleteTestType::char_field() * @brief This function sets a value in member uint8_field * @param _uint8_field New value for member uint8_field */ -void eprosima::test::CompleteTestType::uint8_field( +void CompleteTestType::uint8_field( uint8_t _uint8_field) { m_uint8_field = _uint8_field; @@ -1019,7 +1026,7 @@ void eprosima::test::CompleteTestType::uint8_field( * @brief This function returns the value of member uint8_field * @return Value of member uint8_field */ -uint8_t eprosima::test::CompleteTestType::uint8_field() const +uint8_t CompleteTestType::uint8_field() const { return m_uint8_field; } @@ -1028,7 +1035,7 @@ uint8_t eprosima::test::CompleteTestType::uint8_field() const * @brief This function returns a reference to member uint8_field * @return Reference to member uint8_field */ -uint8_t& eprosima::test::CompleteTestType::uint8_field() +uint8_t& CompleteTestType::uint8_field() { return m_uint8_field; } @@ -1038,7 +1045,7 @@ uint8_t& eprosima::test::CompleteTestType::uint8_field() * @brief This function sets a value in member int16_field * @param _int16_field New value for member int16_field */ -void eprosima::test::CompleteTestType::int16_field( +void CompleteTestType::int16_field( int16_t _int16_field) { m_int16_field = _int16_field; @@ -1048,7 +1055,7 @@ void eprosima::test::CompleteTestType::int16_field( * @brief This function returns the value of member int16_field * @return Value of member int16_field */ -int16_t eprosima::test::CompleteTestType::int16_field() const +int16_t CompleteTestType::int16_field() const { return m_int16_field; } @@ -1057,7 +1064,7 @@ int16_t eprosima::test::CompleteTestType::int16_field() const * @brief This function returns a reference to member int16_field * @return Reference to member int16_field */ -int16_t& eprosima::test::CompleteTestType::int16_field() +int16_t& CompleteTestType::int16_field() { return m_int16_field; } @@ -1067,7 +1074,7 @@ int16_t& eprosima::test::CompleteTestType::int16_field() * @brief This function sets a value in member uint16_field * @param _uint16_field New value for member uint16_field */ -void eprosima::test::CompleteTestType::uint16_field( +void CompleteTestType::uint16_field( uint16_t _uint16_field) { m_uint16_field = _uint16_field; @@ -1077,7 +1084,7 @@ void eprosima::test::CompleteTestType::uint16_field( * @brief This function returns the value of member uint16_field * @return Value of member uint16_field */ -uint16_t eprosima::test::CompleteTestType::uint16_field() const +uint16_t CompleteTestType::uint16_field() const { return m_uint16_field; } @@ -1086,7 +1093,7 @@ uint16_t eprosima::test::CompleteTestType::uint16_field() const * @brief This function returns a reference to member uint16_field * @return Reference to member uint16_field */ -uint16_t& eprosima::test::CompleteTestType::uint16_field() +uint16_t& CompleteTestType::uint16_field() { return m_uint16_field; } @@ -1096,7 +1103,7 @@ uint16_t& eprosima::test::CompleteTestType::uint16_field() * @brief This function sets a value in member int32_field * @param _int32_field New value for member int32_field */ -void eprosima::test::CompleteTestType::int32_field( +void CompleteTestType::int32_field( int32_t _int32_field) { m_int32_field = _int32_field; @@ -1106,7 +1113,7 @@ void eprosima::test::CompleteTestType::int32_field( * @brief This function returns the value of member int32_field * @return Value of member int32_field */ -int32_t eprosima::test::CompleteTestType::int32_field() const +int32_t CompleteTestType::int32_field() const { return m_int32_field; } @@ -1115,7 +1122,7 @@ int32_t eprosima::test::CompleteTestType::int32_field() const * @brief This function returns a reference to member int32_field * @return Reference to member int32_field */ -int32_t& eprosima::test::CompleteTestType::int32_field() +int32_t& CompleteTestType::int32_field() { return m_int32_field; } @@ -1125,7 +1132,7 @@ int32_t& eprosima::test::CompleteTestType::int32_field() * @brief This function sets a value in member uint32_field * @param _uint32_field New value for member uint32_field */ -void eprosima::test::CompleteTestType::uint32_field( +void CompleteTestType::uint32_field( uint32_t _uint32_field) { m_uint32_field = _uint32_field; @@ -1135,7 +1142,7 @@ void eprosima::test::CompleteTestType::uint32_field( * @brief This function returns the value of member uint32_field * @return Value of member uint32_field */ -uint32_t eprosima::test::CompleteTestType::uint32_field() const +uint32_t CompleteTestType::uint32_field() const { return m_uint32_field; } @@ -1144,7 +1151,7 @@ uint32_t eprosima::test::CompleteTestType::uint32_field() const * @brief This function returns a reference to member uint32_field * @return Reference to member uint32_field */ -uint32_t& eprosima::test::CompleteTestType::uint32_field() +uint32_t& CompleteTestType::uint32_field() { return m_uint32_field; } @@ -1154,7 +1161,7 @@ uint32_t& eprosima::test::CompleteTestType::uint32_field() * @brief This function sets a value in member int64_field * @param _int64_field New value for member int64_field */ -void eprosima::test::CompleteTestType::int64_field( +void CompleteTestType::int64_field( int64_t _int64_field) { m_int64_field = _int64_field; @@ -1164,7 +1171,7 @@ void eprosima::test::CompleteTestType::int64_field( * @brief This function returns the value of member int64_field * @return Value of member int64_field */ -int64_t eprosima::test::CompleteTestType::int64_field() const +int64_t CompleteTestType::int64_field() const { return m_int64_field; } @@ -1173,7 +1180,7 @@ int64_t eprosima::test::CompleteTestType::int64_field() const * @brief This function returns a reference to member int64_field * @return Reference to member int64_field */ -int64_t& eprosima::test::CompleteTestType::int64_field() +int64_t& CompleteTestType::int64_field() { return m_int64_field; } @@ -1183,7 +1190,7 @@ int64_t& eprosima::test::CompleteTestType::int64_field() * @brief This function sets a value in member uint64_field * @param _uint64_field New value for member uint64_field */ -void eprosima::test::CompleteTestType::uint64_field( +void CompleteTestType::uint64_field( uint64_t _uint64_field) { m_uint64_field = _uint64_field; @@ -1193,7 +1200,7 @@ void eprosima::test::CompleteTestType::uint64_field( * @brief This function returns the value of member uint64_field * @return Value of member uint64_field */ -uint64_t eprosima::test::CompleteTestType::uint64_field() const +uint64_t CompleteTestType::uint64_field() const { return m_uint64_field; } @@ -1202,7 +1209,7 @@ uint64_t eprosima::test::CompleteTestType::uint64_field() const * @brief This function returns a reference to member uint64_field * @return Reference to member uint64_field */ -uint64_t& eprosima::test::CompleteTestType::uint64_field() +uint64_t& CompleteTestType::uint64_field() { return m_uint64_field; } @@ -1212,7 +1219,7 @@ uint64_t& eprosima::test::CompleteTestType::uint64_field() * @brief This function sets a value in member float_field * @param _float_field New value for member float_field */ -void eprosima::test::CompleteTestType::float_field( +void CompleteTestType::float_field( float _float_field) { m_float_field = _float_field; @@ -1222,7 +1229,7 @@ void eprosima::test::CompleteTestType::float_field( * @brief This function returns the value of member float_field * @return Value of member float_field */ -float eprosima::test::CompleteTestType::float_field() const +float CompleteTestType::float_field() const { return m_float_field; } @@ -1231,7 +1238,7 @@ float eprosima::test::CompleteTestType::float_field() const * @brief This function returns a reference to member float_field * @return Reference to member float_field */ -float& eprosima::test::CompleteTestType::float_field() +float& CompleteTestType::float_field() { return m_float_field; } @@ -1241,7 +1248,7 @@ float& eprosima::test::CompleteTestType::float_field() * @brief This function sets a value in member double_field * @param _double_field New value for member double_field */ -void eprosima::test::CompleteTestType::double_field( +void CompleteTestType::double_field( double _double_field) { m_double_field = _double_field; @@ -1251,7 +1258,7 @@ void eprosima::test::CompleteTestType::double_field( * @brief This function returns the value of member double_field * @return Value of member double_field */ -double eprosima::test::CompleteTestType::double_field() const +double CompleteTestType::double_field() const { return m_double_field; } @@ -1260,7 +1267,7 @@ double eprosima::test::CompleteTestType::double_field() const * @brief This function returns a reference to member double_field * @return Reference to member double_field */ -double& eprosima::test::CompleteTestType::double_field() +double& CompleteTestType::double_field() { return m_double_field; } @@ -1270,7 +1277,7 @@ double& eprosima::test::CompleteTestType::double_field() * @brief This function sets a value in member bool_field * @param _bool_field New value for member bool_field */ -void eprosima::test::CompleteTestType::bool_field( +void CompleteTestType::bool_field( bool _bool_field) { m_bool_field = _bool_field; @@ -1280,7 +1287,7 @@ void eprosima::test::CompleteTestType::bool_field( * @brief This function returns the value of member bool_field * @return Value of member bool_field */ -bool eprosima::test::CompleteTestType::bool_field() const +bool CompleteTestType::bool_field() const { return m_bool_field; } @@ -1289,7 +1296,7 @@ bool eprosima::test::CompleteTestType::bool_field() const * @brief This function returns a reference to member bool_field * @return Reference to member bool_field */ -bool& eprosima::test::CompleteTestType::bool_field() +bool& CompleteTestType::bool_field() { return m_bool_field; } @@ -1299,7 +1306,7 @@ bool& eprosima::test::CompleteTestType::bool_field() * @brief This function copies the value in member string_field * @param _string_field New value to be copied in member string_field */ -void eprosima::test::CompleteTestType::string_field( +void CompleteTestType::string_field( const std::string& _string_field) { m_string_field = _string_field; @@ -1309,7 +1316,7 @@ void eprosima::test::CompleteTestType::string_field( * @brief This function moves the value in member string_field * @param _string_field New value to be moved in member string_field */ -void eprosima::test::CompleteTestType::string_field( +void CompleteTestType::string_field( std::string&& _string_field) { m_string_field = std::move(_string_field); @@ -1319,7 +1326,7 @@ void eprosima::test::CompleteTestType::string_field( * @brief This function returns a constant reference to member string_field * @return Constant reference to member string_field */ -const std::string& eprosima::test::CompleteTestType::string_field() const +const std::string& CompleteTestType::string_field() const { return m_string_field; } @@ -1328,7 +1335,7 @@ const std::string& eprosima::test::CompleteTestType::string_field() const * @brief This function returns a reference to member string_field * @return Reference to member string_field */ -std::string& eprosima::test::CompleteTestType::string_field() +std::string& CompleteTestType::string_field() { return m_string_field; } @@ -1338,7 +1345,7 @@ std::string& eprosima::test::CompleteTestType::string_field() * @brief This function sets a value in member enum_field * @param _enum_field New value for member enum_field */ -void eprosima::test::CompleteTestType::enum_field( +void CompleteTestType::enum_field( eprosima::test::Color _enum_field) { m_enum_field = _enum_field; @@ -1348,7 +1355,7 @@ void eprosima::test::CompleteTestType::enum_field( * @brief This function returns the value of member enum_field * @return Value of member enum_field */ -eprosima::test::Color eprosima::test::CompleteTestType::enum_field() const +eprosima::test::Color CompleteTestType::enum_field() const { return m_enum_field; } @@ -1357,7 +1364,7 @@ eprosima::test::Color eprosima::test::CompleteTestType::enum_field() const * @brief This function returns a reference to member enum_field * @return Reference to member enum_field */ -eprosima::test::Color& eprosima::test::CompleteTestType::enum_field() +eprosima::test::Color& CompleteTestType::enum_field() { return m_enum_field; } @@ -1367,7 +1374,7 @@ eprosima::test::Color& eprosima::test::CompleteTestType::enum_field() * @brief This function sets a value in member enum2_field * @param _enum2_field New value for member enum2_field */ -void eprosima::test::CompleteTestType::enum2_field( +void CompleteTestType::enum2_field( eprosima::test::Material _enum2_field) { m_enum2_field = _enum2_field; @@ -1377,7 +1384,7 @@ void eprosima::test::CompleteTestType::enum2_field( * @brief This function returns the value of member enum2_field * @return Value of member enum2_field */ -eprosima::test::Material eprosima::test::CompleteTestType::enum2_field() const +eprosima::test::Material CompleteTestType::enum2_field() const { return m_enum2_field; } @@ -1386,7 +1393,7 @@ eprosima::test::Material eprosima::test::CompleteTestType::enum2_field() const * @brief This function returns a reference to member enum2_field * @return Reference to member enum2_field */ -eprosima::test::Material& eprosima::test::CompleteTestType::enum2_field() +eprosima::test::Material& CompleteTestType::enum2_field() { return m_enum2_field; } @@ -1396,7 +1403,7 @@ eprosima::test::Material& eprosima::test::CompleteTestType::enum2_field() * @brief This function copies the value in member struct_field * @param _struct_field New value to be copied in member struct_field */ -void eprosima::test::CompleteTestType::struct_field( +void CompleteTestType::struct_field( const eprosima::test::StructType& _struct_field) { m_struct_field = _struct_field; @@ -1406,7 +1413,7 @@ void eprosima::test::CompleteTestType::struct_field( * @brief This function moves the value in member struct_field * @param _struct_field New value to be moved in member struct_field */ -void eprosima::test::CompleteTestType::struct_field( +void CompleteTestType::struct_field( eprosima::test::StructType&& _struct_field) { m_struct_field = std::move(_struct_field); @@ -1416,7 +1423,7 @@ void eprosima::test::CompleteTestType::struct_field( * @brief This function returns a constant reference to member struct_field * @return Constant reference to member struct_field */ -const eprosima::test::StructType& eprosima::test::CompleteTestType::struct_field() const +const eprosima::test::StructType& CompleteTestType::struct_field() const { return m_struct_field; } @@ -1425,7 +1432,7 @@ const eprosima::test::StructType& eprosima::test::CompleteTestType::struct_field * @brief This function returns a reference to member struct_field * @return Reference to member struct_field */ -eprosima::test::StructType& eprosima::test::CompleteTestType::struct_field() +eprosima::test::StructType& CompleteTestType::struct_field() { return m_struct_field; } @@ -1435,7 +1442,7 @@ eprosima::test::StructType& eprosima::test::CompleteTestType::struct_field() * @brief This function copies the value in member char_opt_field * @param _char_opt_field New value to be copied in member char_opt_field */ -void eprosima::test::CompleteTestType::char_opt_field( +void CompleteTestType::char_opt_field( const eprosima::fastcdr::optional& _char_opt_field) { m_char_opt_field = _char_opt_field; @@ -1445,7 +1452,7 @@ void eprosima::test::CompleteTestType::char_opt_field( * @brief This function moves the value in member char_opt_field * @param _char_opt_field New value to be moved in member char_opt_field */ -void eprosima::test::CompleteTestType::char_opt_field( +void CompleteTestType::char_opt_field( eprosima::fastcdr::optional&& _char_opt_field) { m_char_opt_field = std::move(_char_opt_field); @@ -1455,7 +1462,7 @@ void eprosima::test::CompleteTestType::char_opt_field( * @brief This function returns a constant reference to member char_opt_field * @return Constant reference to member char_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::char_opt_field() const +const eprosima::fastcdr::optional& CompleteTestType::char_opt_field() const { return m_char_opt_field; } @@ -1464,7 +1471,7 @@ const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::char_ * @brief This function returns a reference to member char_opt_field * @return Reference to member char_opt_field */ -eprosima::fastcdr::optional& eprosima::test::CompleteTestType::char_opt_field() +eprosima::fastcdr::optional& CompleteTestType::char_opt_field() { return m_char_opt_field; } @@ -1474,7 +1481,7 @@ eprosima::fastcdr::optional& eprosima::test::CompleteTestType::char_opt_fi * @brief This function copies the value in member uint8_opt_field * @param _uint8_opt_field New value to be copied in member uint8_opt_field */ -void eprosima::test::CompleteTestType::uint8_opt_field( +void CompleteTestType::uint8_opt_field( const eprosima::fastcdr::optional& _uint8_opt_field) { m_uint8_opt_field = _uint8_opt_field; @@ -1484,7 +1491,7 @@ void eprosima::test::CompleteTestType::uint8_opt_field( * @brief This function moves the value in member uint8_opt_field * @param _uint8_opt_field New value to be moved in member uint8_opt_field */ -void eprosima::test::CompleteTestType::uint8_opt_field( +void CompleteTestType::uint8_opt_field( eprosima::fastcdr::optional&& _uint8_opt_field) { m_uint8_opt_field = std::move(_uint8_opt_field); @@ -1494,7 +1501,7 @@ void eprosima::test::CompleteTestType::uint8_opt_field( * @brief This function returns a constant reference to member uint8_opt_field * @return Constant reference to member uint8_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::uint8_opt_field() const +const eprosima::fastcdr::optional& CompleteTestType::uint8_opt_field() const { return m_uint8_opt_field; } @@ -1503,7 +1510,7 @@ const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::ui * @brief This function returns a reference to member uint8_opt_field * @return Reference to member uint8_opt_field */ -eprosima::fastcdr::optional& eprosima::test::CompleteTestType::uint8_opt_field() +eprosima::fastcdr::optional& CompleteTestType::uint8_opt_field() { return m_uint8_opt_field; } @@ -1513,7 +1520,7 @@ eprosima::fastcdr::optional& eprosima::test::CompleteTestType::uint8_op * @brief This function copies the value in member int16_opt_field * @param _int16_opt_field New value to be copied in member int16_opt_field */ -void eprosima::test::CompleteTestType::int16_opt_field( +void CompleteTestType::int16_opt_field( const eprosima::fastcdr::optional& _int16_opt_field) { m_int16_opt_field = _int16_opt_field; @@ -1523,7 +1530,7 @@ void eprosima::test::CompleteTestType::int16_opt_field( * @brief This function moves the value in member int16_opt_field * @param _int16_opt_field New value to be moved in member int16_opt_field */ -void eprosima::test::CompleteTestType::int16_opt_field( +void CompleteTestType::int16_opt_field( eprosima::fastcdr::optional&& _int16_opt_field) { m_int16_opt_field = std::move(_int16_opt_field); @@ -1533,7 +1540,7 @@ void eprosima::test::CompleteTestType::int16_opt_field( * @brief This function returns a constant reference to member int16_opt_field * @return Constant reference to member int16_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::int16_opt_field() const +const eprosima::fastcdr::optional& CompleteTestType::int16_opt_field() const { return m_int16_opt_field; } @@ -1542,7 +1549,7 @@ const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::in * @brief This function returns a reference to member int16_opt_field * @return Reference to member int16_opt_field */ -eprosima::fastcdr::optional& eprosima::test::CompleteTestType::int16_opt_field() +eprosima::fastcdr::optional& CompleteTestType::int16_opt_field() { return m_int16_opt_field; } @@ -1552,7 +1559,7 @@ eprosima::fastcdr::optional& eprosima::test::CompleteTestType::int16_op * @brief This function copies the value in member uint16_opt_field * @param _uint16_opt_field New value to be copied in member uint16_opt_field */ -void eprosima::test::CompleteTestType::uint16_opt_field( +void CompleteTestType::uint16_opt_field( const eprosima::fastcdr::optional& _uint16_opt_field) { m_uint16_opt_field = _uint16_opt_field; @@ -1562,7 +1569,7 @@ void eprosima::test::CompleteTestType::uint16_opt_field( * @brief This function moves the value in member uint16_opt_field * @param _uint16_opt_field New value to be moved in member uint16_opt_field */ -void eprosima::test::CompleteTestType::uint16_opt_field( +void CompleteTestType::uint16_opt_field( eprosima::fastcdr::optional&& _uint16_opt_field) { m_uint16_opt_field = std::move(_uint16_opt_field); @@ -1572,7 +1579,7 @@ void eprosima::test::CompleteTestType::uint16_opt_field( * @brief This function returns a constant reference to member uint16_opt_field * @return Constant reference to member uint16_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::uint16_opt_field() const +const eprosima::fastcdr::optional& CompleteTestType::uint16_opt_field() const { return m_uint16_opt_field; } @@ -1581,7 +1588,7 @@ const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::u * @brief This function returns a reference to member uint16_opt_field * @return Reference to member uint16_opt_field */ -eprosima::fastcdr::optional& eprosima::test::CompleteTestType::uint16_opt_field() +eprosima::fastcdr::optional& CompleteTestType::uint16_opt_field() { return m_uint16_opt_field; } @@ -1591,7 +1598,7 @@ eprosima::fastcdr::optional& eprosima::test::CompleteTestType::uint16_ * @brief This function copies the value in member int32_opt_field * @param _int32_opt_field New value to be copied in member int32_opt_field */ -void eprosima::test::CompleteTestType::int32_opt_field( +void CompleteTestType::int32_opt_field( const eprosima::fastcdr::optional& _int32_opt_field) { m_int32_opt_field = _int32_opt_field; @@ -1601,7 +1608,7 @@ void eprosima::test::CompleteTestType::int32_opt_field( * @brief This function moves the value in member int32_opt_field * @param _int32_opt_field New value to be moved in member int32_opt_field */ -void eprosima::test::CompleteTestType::int32_opt_field( +void CompleteTestType::int32_opt_field( eprosima::fastcdr::optional&& _int32_opt_field) { m_int32_opt_field = std::move(_int32_opt_field); @@ -1611,7 +1618,7 @@ void eprosima::test::CompleteTestType::int32_opt_field( * @brief This function returns a constant reference to member int32_opt_field * @return Constant reference to member int32_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::int32_opt_field() const +const eprosima::fastcdr::optional& CompleteTestType::int32_opt_field() const { return m_int32_opt_field; } @@ -1620,7 +1627,7 @@ const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::in * @brief This function returns a reference to member int32_opt_field * @return Reference to member int32_opt_field */ -eprosima::fastcdr::optional& eprosima::test::CompleteTestType::int32_opt_field() +eprosima::fastcdr::optional& CompleteTestType::int32_opt_field() { return m_int32_opt_field; } @@ -1630,7 +1637,7 @@ eprosima::fastcdr::optional& eprosima::test::CompleteTestType::int32_op * @brief This function copies the value in member uint32_opt_field * @param _uint32_opt_field New value to be copied in member uint32_opt_field */ -void eprosima::test::CompleteTestType::uint32_opt_field( +void CompleteTestType::uint32_opt_field( const eprosima::fastcdr::optional& _uint32_opt_field) { m_uint32_opt_field = _uint32_opt_field; @@ -1640,7 +1647,7 @@ void eprosima::test::CompleteTestType::uint32_opt_field( * @brief This function moves the value in member uint32_opt_field * @param _uint32_opt_field New value to be moved in member uint32_opt_field */ -void eprosima::test::CompleteTestType::uint32_opt_field( +void CompleteTestType::uint32_opt_field( eprosima::fastcdr::optional&& _uint32_opt_field) { m_uint32_opt_field = std::move(_uint32_opt_field); @@ -1650,7 +1657,7 @@ void eprosima::test::CompleteTestType::uint32_opt_field( * @brief This function returns a constant reference to member uint32_opt_field * @return Constant reference to member uint32_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::uint32_opt_field() const +const eprosima::fastcdr::optional& CompleteTestType::uint32_opt_field() const { return m_uint32_opt_field; } @@ -1659,7 +1666,7 @@ const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::u * @brief This function returns a reference to member uint32_opt_field * @return Reference to member uint32_opt_field */ -eprosima::fastcdr::optional& eprosima::test::CompleteTestType::uint32_opt_field() +eprosima::fastcdr::optional& CompleteTestType::uint32_opt_field() { return m_uint32_opt_field; } @@ -1669,7 +1676,7 @@ eprosima::fastcdr::optional& eprosima::test::CompleteTestType::uint32_ * @brief This function copies the value in member int64_opt_field * @param _int64_opt_field New value to be copied in member int64_opt_field */ -void eprosima::test::CompleteTestType::int64_opt_field( +void CompleteTestType::int64_opt_field( const eprosima::fastcdr::optional& _int64_opt_field) { m_int64_opt_field = _int64_opt_field; @@ -1679,7 +1686,7 @@ void eprosima::test::CompleteTestType::int64_opt_field( * @brief This function moves the value in member int64_opt_field * @param _int64_opt_field New value to be moved in member int64_opt_field */ -void eprosima::test::CompleteTestType::int64_opt_field( +void CompleteTestType::int64_opt_field( eprosima::fastcdr::optional&& _int64_opt_field) { m_int64_opt_field = std::move(_int64_opt_field); @@ -1689,7 +1696,7 @@ void eprosima::test::CompleteTestType::int64_opt_field( * @brief This function returns a constant reference to member int64_opt_field * @return Constant reference to member int64_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::int64_opt_field() const +const eprosima::fastcdr::optional& CompleteTestType::int64_opt_field() const { return m_int64_opt_field; } @@ -1698,7 +1705,7 @@ const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::in * @brief This function returns a reference to member int64_opt_field * @return Reference to member int64_opt_field */ -eprosima::fastcdr::optional& eprosima::test::CompleteTestType::int64_opt_field() +eprosima::fastcdr::optional& CompleteTestType::int64_opt_field() { return m_int64_opt_field; } @@ -1708,7 +1715,7 @@ eprosima::fastcdr::optional& eprosima::test::CompleteTestType::int64_op * @brief This function copies the value in member uint64_opt_field * @param _uint64_opt_field New value to be copied in member uint64_opt_field */ -void eprosima::test::CompleteTestType::uint64_opt_field( +void CompleteTestType::uint64_opt_field( const eprosima::fastcdr::optional& _uint64_opt_field) { m_uint64_opt_field = _uint64_opt_field; @@ -1718,7 +1725,7 @@ void eprosima::test::CompleteTestType::uint64_opt_field( * @brief This function moves the value in member uint64_opt_field * @param _uint64_opt_field New value to be moved in member uint64_opt_field */ -void eprosima::test::CompleteTestType::uint64_opt_field( +void CompleteTestType::uint64_opt_field( eprosima::fastcdr::optional&& _uint64_opt_field) { m_uint64_opt_field = std::move(_uint64_opt_field); @@ -1728,7 +1735,7 @@ void eprosima::test::CompleteTestType::uint64_opt_field( * @brief This function returns a constant reference to member uint64_opt_field * @return Constant reference to member uint64_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::uint64_opt_field() const +const eprosima::fastcdr::optional& CompleteTestType::uint64_opt_field() const { return m_uint64_opt_field; } @@ -1737,7 +1744,7 @@ const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::u * @brief This function returns a reference to member uint64_opt_field * @return Reference to member uint64_opt_field */ -eprosima::fastcdr::optional& eprosima::test::CompleteTestType::uint64_opt_field() +eprosima::fastcdr::optional& CompleteTestType::uint64_opt_field() { return m_uint64_opt_field; } @@ -1747,7 +1754,7 @@ eprosima::fastcdr::optional& eprosima::test::CompleteTestType::uint64_ * @brief This function copies the value in member float_opt_field * @param _float_opt_field New value to be copied in member float_opt_field */ -void eprosima::test::CompleteTestType::float_opt_field( +void CompleteTestType::float_opt_field( const eprosima::fastcdr::optional& _float_opt_field) { m_float_opt_field = _float_opt_field; @@ -1757,7 +1764,7 @@ void eprosima::test::CompleteTestType::float_opt_field( * @brief This function moves the value in member float_opt_field * @param _float_opt_field New value to be moved in member float_opt_field */ -void eprosima::test::CompleteTestType::float_opt_field( +void CompleteTestType::float_opt_field( eprosima::fastcdr::optional&& _float_opt_field) { m_float_opt_field = std::move(_float_opt_field); @@ -1767,7 +1774,7 @@ void eprosima::test::CompleteTestType::float_opt_field( * @brief This function returns a constant reference to member float_opt_field * @return Constant reference to member float_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::float_opt_field() const +const eprosima::fastcdr::optional& CompleteTestType::float_opt_field() const { return m_float_opt_field; } @@ -1776,7 +1783,7 @@ const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::floa * @brief This function returns a reference to member float_opt_field * @return Reference to member float_opt_field */ -eprosima::fastcdr::optional& eprosima::test::CompleteTestType::float_opt_field() +eprosima::fastcdr::optional& CompleteTestType::float_opt_field() { return m_float_opt_field; } @@ -1786,7 +1793,7 @@ eprosima::fastcdr::optional& eprosima::test::CompleteTestType::float_opt_ * @brief This function copies the value in member double_opt_field * @param _double_opt_field New value to be copied in member double_opt_field */ -void eprosima::test::CompleteTestType::double_opt_field( +void CompleteTestType::double_opt_field( const eprosima::fastcdr::optional& _double_opt_field) { m_double_opt_field = _double_opt_field; @@ -1796,7 +1803,7 @@ void eprosima::test::CompleteTestType::double_opt_field( * @brief This function moves the value in member double_opt_field * @param _double_opt_field New value to be moved in member double_opt_field */ -void eprosima::test::CompleteTestType::double_opt_field( +void CompleteTestType::double_opt_field( eprosima::fastcdr::optional&& _double_opt_field) { m_double_opt_field = std::move(_double_opt_field); @@ -1806,7 +1813,7 @@ void eprosima::test::CompleteTestType::double_opt_field( * @brief This function returns a constant reference to member double_opt_field * @return Constant reference to member double_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::double_opt_field() const +const eprosima::fastcdr::optional& CompleteTestType::double_opt_field() const { return m_double_opt_field; } @@ -1815,7 +1822,7 @@ const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::dou * @brief This function returns a reference to member double_opt_field * @return Reference to member double_opt_field */ -eprosima::fastcdr::optional& eprosima::test::CompleteTestType::double_opt_field() +eprosima::fastcdr::optional& CompleteTestType::double_opt_field() { return m_double_opt_field; } @@ -1825,7 +1832,7 @@ eprosima::fastcdr::optional& eprosima::test::CompleteTestType::double_op * @brief This function copies the value in member bool_opt_field * @param _bool_opt_field New value to be copied in member bool_opt_field */ -void eprosima::test::CompleteTestType::bool_opt_field( +void CompleteTestType::bool_opt_field( const eprosima::fastcdr::optional& _bool_opt_field) { m_bool_opt_field = _bool_opt_field; @@ -1835,7 +1842,7 @@ void eprosima::test::CompleteTestType::bool_opt_field( * @brief This function moves the value in member bool_opt_field * @param _bool_opt_field New value to be moved in member bool_opt_field */ -void eprosima::test::CompleteTestType::bool_opt_field( +void CompleteTestType::bool_opt_field( eprosima::fastcdr::optional&& _bool_opt_field) { m_bool_opt_field = std::move(_bool_opt_field); @@ -1845,7 +1852,7 @@ void eprosima::test::CompleteTestType::bool_opt_field( * @brief This function returns a constant reference to member bool_opt_field * @return Constant reference to member bool_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::bool_opt_field() const +const eprosima::fastcdr::optional& CompleteTestType::bool_opt_field() const { return m_bool_opt_field; } @@ -1854,7 +1861,7 @@ const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::bool_ * @brief This function returns a reference to member bool_opt_field * @return Reference to member bool_opt_field */ -eprosima::fastcdr::optional& eprosima::test::CompleteTestType::bool_opt_field() +eprosima::fastcdr::optional& CompleteTestType::bool_opt_field() { return m_bool_opt_field; } @@ -1864,7 +1871,7 @@ eprosima::fastcdr::optional& eprosima::test::CompleteTestType::bool_opt_fi * @brief This function copies the value in member string_opt_field * @param _string_opt_field New value to be copied in member string_opt_field */ -void eprosima::test::CompleteTestType::string_opt_field( +void CompleteTestType::string_opt_field( const eprosima::fastcdr::optional& _string_opt_field) { m_string_opt_field = _string_opt_field; @@ -1874,7 +1881,7 @@ void eprosima::test::CompleteTestType::string_opt_field( * @brief This function moves the value in member string_opt_field * @param _string_opt_field New value to be moved in member string_opt_field */ -void eprosima::test::CompleteTestType::string_opt_field( +void CompleteTestType::string_opt_field( eprosima::fastcdr::optional&& _string_opt_field) { m_string_opt_field = std::move(_string_opt_field); @@ -1884,7 +1891,7 @@ void eprosima::test::CompleteTestType::string_opt_field( * @brief This function returns a constant reference to member string_opt_field * @return Constant reference to member string_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::string_opt_field() const +const eprosima::fastcdr::optional& CompleteTestType::string_opt_field() const { return m_string_opt_field; } @@ -1893,7 +1900,7 @@ const eprosima::fastcdr::optional& eprosima::test::CompleteTestType * @brief This function returns a reference to member string_opt_field * @return Reference to member string_opt_field */ -eprosima::fastcdr::optional& eprosima::test::CompleteTestType::string_opt_field() +eprosima::fastcdr::optional& CompleteTestType::string_opt_field() { return m_string_opt_field; } @@ -1903,7 +1910,7 @@ eprosima::fastcdr::optional& eprosima::test::CompleteTestType::stri * @brief This function copies the value in member enum_opt_field * @param _enum_opt_field New value to be copied in member enum_opt_field */ -void eprosima::test::CompleteTestType::enum_opt_field( +void CompleteTestType::enum_opt_field( const eprosima::fastcdr::optional& _enum_opt_field) { m_enum_opt_field = _enum_opt_field; @@ -1913,7 +1920,7 @@ void eprosima::test::CompleteTestType::enum_opt_field( * @brief This function moves the value in member enum_opt_field * @param _enum_opt_field New value to be moved in member enum_opt_field */ -void eprosima::test::CompleteTestType::enum_opt_field( +void CompleteTestType::enum_opt_field( eprosima::fastcdr::optional&& _enum_opt_field) { m_enum_opt_field = std::move(_enum_opt_field); @@ -1923,7 +1930,7 @@ void eprosima::test::CompleteTestType::enum_opt_field( * @brief This function returns a constant reference to member enum_opt_field * @return Constant reference to member enum_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::enum_opt_field() const +const eprosima::fastcdr::optional& CompleteTestType::enum_opt_field() const { return m_enum_opt_field; } @@ -1932,7 +1939,7 @@ const eprosima::fastcdr::optional& eprosima::test::Comple * @brief This function returns a reference to member enum_opt_field * @return Reference to member enum_opt_field */ -eprosima::fastcdr::optional& eprosima::test::CompleteTestType::enum_opt_field() +eprosima::fastcdr::optional& CompleteTestType::enum_opt_field() { return m_enum_opt_field; } @@ -1942,7 +1949,7 @@ eprosima::fastcdr::optional& eprosima::test::CompleteTest * @brief This function copies the value in member enum2_opt_field * @param _enum2_opt_field New value to be copied in member enum2_opt_field */ -void eprosima::test::CompleteTestType::enum2_opt_field( +void CompleteTestType::enum2_opt_field( const eprosima::fastcdr::optional& _enum2_opt_field) { m_enum2_opt_field = _enum2_opt_field; @@ -1952,7 +1959,7 @@ void eprosima::test::CompleteTestType::enum2_opt_field( * @brief This function moves the value in member enum2_opt_field * @param _enum2_opt_field New value to be moved in member enum2_opt_field */ -void eprosima::test::CompleteTestType::enum2_opt_field( +void CompleteTestType::enum2_opt_field( eprosima::fastcdr::optional&& _enum2_opt_field) { m_enum2_opt_field = std::move(_enum2_opt_field); @@ -1962,7 +1969,7 @@ void eprosima::test::CompleteTestType::enum2_opt_field( * @brief This function returns a constant reference to member enum2_opt_field * @return Constant reference to member enum2_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::enum2_opt_field() const +const eprosima::fastcdr::optional& CompleteTestType::enum2_opt_field() const { return m_enum2_opt_field; } @@ -1971,7 +1978,7 @@ const eprosima::fastcdr::optional& eprosima::test::Com * @brief This function returns a reference to member enum2_opt_field * @return Reference to member enum2_opt_field */ -eprosima::fastcdr::optional& eprosima::test::CompleteTestType::enum2_opt_field() +eprosima::fastcdr::optional& CompleteTestType::enum2_opt_field() { return m_enum2_opt_field; } @@ -1981,7 +1988,7 @@ eprosima::fastcdr::optional& eprosima::test::CompleteT * @brief This function copies the value in member struct_opt_field * @param _struct_opt_field New value to be copied in member struct_opt_field */ -void eprosima::test::CompleteTestType::struct_opt_field( +void CompleteTestType::struct_opt_field( const eprosima::fastcdr::optional& _struct_opt_field) { m_struct_opt_field = _struct_opt_field; @@ -1991,7 +1998,7 @@ void eprosima::test::CompleteTestType::struct_opt_field( * @brief This function moves the value in member struct_opt_field * @param _struct_opt_field New value to be moved in member struct_opt_field */ -void eprosima::test::CompleteTestType::struct_opt_field( +void CompleteTestType::struct_opt_field( eprosima::fastcdr::optional&& _struct_opt_field) { m_struct_opt_field = std::move(_struct_opt_field); @@ -2001,7 +2008,7 @@ void eprosima::test::CompleteTestType::struct_opt_field( * @brief This function returns a constant reference to member struct_opt_field * @return Constant reference to member struct_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::CompleteTestType::struct_opt_field() const +const eprosima::fastcdr::optional& CompleteTestType::struct_opt_field() const { return m_struct_opt_field; } @@ -2010,7 +2017,7 @@ const eprosima::fastcdr::optional& eprosima::test::C * @brief This function returns a reference to member struct_opt_field * @return Reference to member struct_opt_field */ -eprosima::fastcdr::optional& eprosima::test::CompleteTestType::struct_opt_field() +eprosima::fastcdr::optional& CompleteTestType::struct_opt_field() { return m_struct_opt_field; } @@ -2020,8 +2027,8 @@ eprosima::fastcdr::optional& eprosima::test::Complet * @brief This function copies the value in member array_char_field * @param _array_char_field New value to be copied in member array_char_field */ -void eprosima::test::CompleteTestType::array_char_field( - const std::array& _array_char_field) +void CompleteTestType::array_char_field( + const std::array& _array_char_field) { m_array_char_field = _array_char_field; } @@ -2030,8 +2037,8 @@ void eprosima::test::CompleteTestType::array_char_field( * @brief This function moves the value in member array_char_field * @param _array_char_field New value to be moved in member array_char_field */ -void eprosima::test::CompleteTestType::array_char_field( - std::array&& _array_char_field) +void CompleteTestType::array_char_field( + std::array&& _array_char_field) { m_array_char_field = std::move(_array_char_field); } @@ -2040,7 +2047,7 @@ void eprosima::test::CompleteTestType::array_char_field( * @brief This function returns a constant reference to member array_char_field * @return Constant reference to member array_char_field */ -const std::array& eprosima::test::CompleteTestType::array_char_field() const +const std::array& CompleteTestType::array_char_field() const { return m_array_char_field; } @@ -2049,7 +2056,7 @@ const std::array& eprosima::test::CompleteTestType::array_char_field() * @brief This function returns a reference to member array_char_field * @return Reference to member array_char_field */ -std::array& eprosima::test::CompleteTestType::array_char_field() +std::array& CompleteTestType::array_char_field() { return m_array_char_field; } @@ -2059,8 +2066,8 @@ std::array& eprosima::test::CompleteTestType::array_char_field() * @brief This function copies the value in member array_uint8_field * @param _array_uint8_field New value to be copied in member array_uint8_field */ -void eprosima::test::CompleteTestType::array_uint8_field( - const std::array& _array_uint8_field) +void CompleteTestType::array_uint8_field( + const std::array& _array_uint8_field) { m_array_uint8_field = _array_uint8_field; } @@ -2069,8 +2076,8 @@ void eprosima::test::CompleteTestType::array_uint8_field( * @brief This function moves the value in member array_uint8_field * @param _array_uint8_field New value to be moved in member array_uint8_field */ -void eprosima::test::CompleteTestType::array_uint8_field( - std::array&& _array_uint8_field) +void CompleteTestType::array_uint8_field( + std::array&& _array_uint8_field) { m_array_uint8_field = std::move(_array_uint8_field); } @@ -2079,7 +2086,7 @@ void eprosima::test::CompleteTestType::array_uint8_field( * @brief This function returns a constant reference to member array_uint8_field * @return Constant reference to member array_uint8_field */ -const std::array& eprosima::test::CompleteTestType::array_uint8_field() const +const std::array& CompleteTestType::array_uint8_field() const { return m_array_uint8_field; } @@ -2088,7 +2095,7 @@ const std::array& eprosima::test::CompleteTestType::array_uint8_fiel * @brief This function returns a reference to member array_uint8_field * @return Reference to member array_uint8_field */ -std::array& eprosima::test::CompleteTestType::array_uint8_field() +std::array& CompleteTestType::array_uint8_field() { return m_array_uint8_field; } @@ -2098,8 +2105,8 @@ std::array& eprosima::test::CompleteTestType::array_uint8_field() * @brief This function copies the value in member array_int16_field * @param _array_int16_field New value to be copied in member array_int16_field */ -void eprosima::test::CompleteTestType::array_int16_field( - const std::array& _array_int16_field) +void CompleteTestType::array_int16_field( + const std::array& _array_int16_field) { m_array_int16_field = _array_int16_field; } @@ -2108,8 +2115,8 @@ void eprosima::test::CompleteTestType::array_int16_field( * @brief This function moves the value in member array_int16_field * @param _array_int16_field New value to be moved in member array_int16_field */ -void eprosima::test::CompleteTestType::array_int16_field( - std::array&& _array_int16_field) +void CompleteTestType::array_int16_field( + std::array&& _array_int16_field) { m_array_int16_field = std::move(_array_int16_field); } @@ -2118,7 +2125,7 @@ void eprosima::test::CompleteTestType::array_int16_field( * @brief This function returns a constant reference to member array_int16_field * @return Constant reference to member array_int16_field */ -const std::array& eprosima::test::CompleteTestType::array_int16_field() const +const std::array& CompleteTestType::array_int16_field() const { return m_array_int16_field; } @@ -2127,7 +2134,7 @@ const std::array& eprosima::test::CompleteTestType::array_int16_fiel * @brief This function returns a reference to member array_int16_field * @return Reference to member array_int16_field */ -std::array& eprosima::test::CompleteTestType::array_int16_field() +std::array& CompleteTestType::array_int16_field() { return m_array_int16_field; } @@ -2137,8 +2144,8 @@ std::array& eprosima::test::CompleteTestType::array_int16_field() * @brief This function copies the value in member array_uint16_field * @param _array_uint16_field New value to be copied in member array_uint16_field */ -void eprosima::test::CompleteTestType::array_uint16_field( - const std::array& _array_uint16_field) +void CompleteTestType::array_uint16_field( + const std::array& _array_uint16_field) { m_array_uint16_field = _array_uint16_field; } @@ -2147,8 +2154,8 @@ void eprosima::test::CompleteTestType::array_uint16_field( * @brief This function moves the value in member array_uint16_field * @param _array_uint16_field New value to be moved in member array_uint16_field */ -void eprosima::test::CompleteTestType::array_uint16_field( - std::array&& _array_uint16_field) +void CompleteTestType::array_uint16_field( + std::array&& _array_uint16_field) { m_array_uint16_field = std::move(_array_uint16_field); } @@ -2157,7 +2164,7 @@ void eprosima::test::CompleteTestType::array_uint16_field( * @brief This function returns a constant reference to member array_uint16_field * @return Constant reference to member array_uint16_field */ -const std::array& eprosima::test::CompleteTestType::array_uint16_field() const +const std::array& CompleteTestType::array_uint16_field() const { return m_array_uint16_field; } @@ -2166,7 +2173,7 @@ const std::array& eprosima::test::CompleteTestType::array_uint16_fi * @brief This function returns a reference to member array_uint16_field * @return Reference to member array_uint16_field */ -std::array& eprosima::test::CompleteTestType::array_uint16_field() +std::array& CompleteTestType::array_uint16_field() { return m_array_uint16_field; } @@ -2176,8 +2183,8 @@ std::array& eprosima::test::CompleteTestType::array_uint16_field() * @brief This function copies the value in member array_int32_field * @param _array_int32_field New value to be copied in member array_int32_field */ -void eprosima::test::CompleteTestType::array_int32_field( - const std::array& _array_int32_field) +void CompleteTestType::array_int32_field( + const std::array& _array_int32_field) { m_array_int32_field = _array_int32_field; } @@ -2186,8 +2193,8 @@ void eprosima::test::CompleteTestType::array_int32_field( * @brief This function moves the value in member array_int32_field * @param _array_int32_field New value to be moved in member array_int32_field */ -void eprosima::test::CompleteTestType::array_int32_field( - std::array&& _array_int32_field) +void CompleteTestType::array_int32_field( + std::array&& _array_int32_field) { m_array_int32_field = std::move(_array_int32_field); } @@ -2196,7 +2203,7 @@ void eprosima::test::CompleteTestType::array_int32_field( * @brief This function returns a constant reference to member array_int32_field * @return Constant reference to member array_int32_field */ -const std::array& eprosima::test::CompleteTestType::array_int32_field() const +const std::array& CompleteTestType::array_int32_field() const { return m_array_int32_field; } @@ -2205,7 +2212,7 @@ const std::array& eprosima::test::CompleteTestType::array_int32_fiel * @brief This function returns a reference to member array_int32_field * @return Reference to member array_int32_field */ -std::array& eprosima::test::CompleteTestType::array_int32_field() +std::array& CompleteTestType::array_int32_field() { return m_array_int32_field; } @@ -2215,8 +2222,8 @@ std::array& eprosima::test::CompleteTestType::array_int32_field() * @brief This function copies the value in member array_uint32_field * @param _array_uint32_field New value to be copied in member array_uint32_field */ -void eprosima::test::CompleteTestType::array_uint32_field( - const std::array& _array_uint32_field) +void CompleteTestType::array_uint32_field( + const std::array& _array_uint32_field) { m_array_uint32_field = _array_uint32_field; } @@ -2225,8 +2232,8 @@ void eprosima::test::CompleteTestType::array_uint32_field( * @brief This function moves the value in member array_uint32_field * @param _array_uint32_field New value to be moved in member array_uint32_field */ -void eprosima::test::CompleteTestType::array_uint32_field( - std::array&& _array_uint32_field) +void CompleteTestType::array_uint32_field( + std::array&& _array_uint32_field) { m_array_uint32_field = std::move(_array_uint32_field); } @@ -2235,7 +2242,7 @@ void eprosima::test::CompleteTestType::array_uint32_field( * @brief This function returns a constant reference to member array_uint32_field * @return Constant reference to member array_uint32_field */ -const std::array& eprosima::test::CompleteTestType::array_uint32_field() const +const std::array& CompleteTestType::array_uint32_field() const { return m_array_uint32_field; } @@ -2244,7 +2251,7 @@ const std::array& eprosima::test::CompleteTestType::array_uint32_fi * @brief This function returns a reference to member array_uint32_field * @return Reference to member array_uint32_field */ -std::array& eprosima::test::CompleteTestType::array_uint32_field() +std::array& CompleteTestType::array_uint32_field() { return m_array_uint32_field; } @@ -2254,8 +2261,8 @@ std::array& eprosima::test::CompleteTestType::array_uint32_field() * @brief This function copies the value in member array_int64_field * @param _array_int64_field New value to be copied in member array_int64_field */ -void eprosima::test::CompleteTestType::array_int64_field( - const std::array& _array_int64_field) +void CompleteTestType::array_int64_field( + const std::array& _array_int64_field) { m_array_int64_field = _array_int64_field; } @@ -2264,8 +2271,8 @@ void eprosima::test::CompleteTestType::array_int64_field( * @brief This function moves the value in member array_int64_field * @param _array_int64_field New value to be moved in member array_int64_field */ -void eprosima::test::CompleteTestType::array_int64_field( - std::array&& _array_int64_field) +void CompleteTestType::array_int64_field( + std::array&& _array_int64_field) { m_array_int64_field = std::move(_array_int64_field); } @@ -2274,7 +2281,7 @@ void eprosima::test::CompleteTestType::array_int64_field( * @brief This function returns a constant reference to member array_int64_field * @return Constant reference to member array_int64_field */ -const std::array& eprosima::test::CompleteTestType::array_int64_field() const +const std::array& CompleteTestType::array_int64_field() const { return m_array_int64_field; } @@ -2283,7 +2290,7 @@ const std::array& eprosima::test::CompleteTestType::array_int64_fiel * @brief This function returns a reference to member array_int64_field * @return Reference to member array_int64_field */ -std::array& eprosima::test::CompleteTestType::array_int64_field() +std::array& CompleteTestType::array_int64_field() { return m_array_int64_field; } @@ -2293,8 +2300,8 @@ std::array& eprosima::test::CompleteTestType::array_int64_field() * @brief This function copies the value in member array_uint64_field * @param _array_uint64_field New value to be copied in member array_uint64_field */ -void eprosima::test::CompleteTestType::array_uint64_field( - const std::array& _array_uint64_field) +void CompleteTestType::array_uint64_field( + const std::array& _array_uint64_field) { m_array_uint64_field = _array_uint64_field; } @@ -2303,8 +2310,8 @@ void eprosima::test::CompleteTestType::array_uint64_field( * @brief This function moves the value in member array_uint64_field * @param _array_uint64_field New value to be moved in member array_uint64_field */ -void eprosima::test::CompleteTestType::array_uint64_field( - std::array&& _array_uint64_field) +void CompleteTestType::array_uint64_field( + std::array&& _array_uint64_field) { m_array_uint64_field = std::move(_array_uint64_field); } @@ -2313,7 +2320,7 @@ void eprosima::test::CompleteTestType::array_uint64_field( * @brief This function returns a constant reference to member array_uint64_field * @return Constant reference to member array_uint64_field */ -const std::array& eprosima::test::CompleteTestType::array_uint64_field() const +const std::array& CompleteTestType::array_uint64_field() const { return m_array_uint64_field; } @@ -2322,7 +2329,7 @@ const std::array& eprosima::test::CompleteTestType::array_uint64_fi * @brief This function returns a reference to member array_uint64_field * @return Reference to member array_uint64_field */ -std::array& eprosima::test::CompleteTestType::array_uint64_field() +std::array& CompleteTestType::array_uint64_field() { return m_array_uint64_field; } @@ -2332,8 +2339,8 @@ std::array& eprosima::test::CompleteTestType::array_uint64_field() * @brief This function copies the value in member array_float_field * @param _array_float_field New value to be copied in member array_float_field */ -void eprosima::test::CompleteTestType::array_float_field( - const std::array& _array_float_field) +void CompleteTestType::array_float_field( + const std::array& _array_float_field) { m_array_float_field = _array_float_field; } @@ -2342,8 +2349,8 @@ void eprosima::test::CompleteTestType::array_float_field( * @brief This function moves the value in member array_float_field * @param _array_float_field New value to be moved in member array_float_field */ -void eprosima::test::CompleteTestType::array_float_field( - std::array&& _array_float_field) +void CompleteTestType::array_float_field( + std::array&& _array_float_field) { m_array_float_field = std::move(_array_float_field); } @@ -2352,7 +2359,7 @@ void eprosima::test::CompleteTestType::array_float_field( * @brief This function returns a constant reference to member array_float_field * @return Constant reference to member array_float_field */ -const std::array& eprosima::test::CompleteTestType::array_float_field() const +const std::array& CompleteTestType::array_float_field() const { return m_array_float_field; } @@ -2361,7 +2368,7 @@ const std::array& eprosima::test::CompleteTestType::array_float_field( * @brief This function returns a reference to member array_float_field * @return Reference to member array_float_field */ -std::array& eprosima::test::CompleteTestType::array_float_field() +std::array& CompleteTestType::array_float_field() { return m_array_float_field; } @@ -2371,8 +2378,8 @@ std::array& eprosima::test::CompleteTestType::array_float_field() * @brief This function copies the value in member array_double_field * @param _array_double_field New value to be copied in member array_double_field */ -void eprosima::test::CompleteTestType::array_double_field( - const std::array& _array_double_field) +void CompleteTestType::array_double_field( + const std::array& _array_double_field) { m_array_double_field = _array_double_field; } @@ -2381,8 +2388,8 @@ void eprosima::test::CompleteTestType::array_double_field( * @brief This function moves the value in member array_double_field * @param _array_double_field New value to be moved in member array_double_field */ -void eprosima::test::CompleteTestType::array_double_field( - std::array&& _array_double_field) +void CompleteTestType::array_double_field( + std::array&& _array_double_field) { m_array_double_field = std::move(_array_double_field); } @@ -2391,7 +2398,7 @@ void eprosima::test::CompleteTestType::array_double_field( * @brief This function returns a constant reference to member array_double_field * @return Constant reference to member array_double_field */ -const std::array& eprosima::test::CompleteTestType::array_double_field() const +const std::array& CompleteTestType::array_double_field() const { return m_array_double_field; } @@ -2400,7 +2407,7 @@ const std::array& eprosima::test::CompleteTestType::array_double_fiel * @brief This function returns a reference to member array_double_field * @return Reference to member array_double_field */ -std::array& eprosima::test::CompleteTestType::array_double_field() +std::array& CompleteTestType::array_double_field() { return m_array_double_field; } @@ -2410,8 +2417,8 @@ std::array& eprosima::test::CompleteTestType::array_double_field() * @brief This function copies the value in member array_bool_field * @param _array_bool_field New value to be copied in member array_bool_field */ -void eprosima::test::CompleteTestType::array_bool_field( - const std::array& _array_bool_field) +void CompleteTestType::array_bool_field( + const std::array& _array_bool_field) { m_array_bool_field = _array_bool_field; } @@ -2420,8 +2427,8 @@ void eprosima::test::CompleteTestType::array_bool_field( * @brief This function moves the value in member array_bool_field * @param _array_bool_field New value to be moved in member array_bool_field */ -void eprosima::test::CompleteTestType::array_bool_field( - std::array&& _array_bool_field) +void CompleteTestType::array_bool_field( + std::array&& _array_bool_field) { m_array_bool_field = std::move(_array_bool_field); } @@ -2430,7 +2437,7 @@ void eprosima::test::CompleteTestType::array_bool_field( * @brief This function returns a constant reference to member array_bool_field * @return Constant reference to member array_bool_field */ -const std::array& eprosima::test::CompleteTestType::array_bool_field() const +const std::array& CompleteTestType::array_bool_field() const { return m_array_bool_field; } @@ -2439,7 +2446,7 @@ const std::array& eprosima::test::CompleteTestType::array_bool_field() * @brief This function returns a reference to member array_bool_field * @return Reference to member array_bool_field */ -std::array& eprosima::test::CompleteTestType::array_bool_field() +std::array& CompleteTestType::array_bool_field() { return m_array_bool_field; } @@ -2449,8 +2456,8 @@ std::array& eprosima::test::CompleteTestType::array_bool_field() * @brief This function copies the value in member array_enum_field * @param _array_enum_field New value to be copied in member array_enum_field */ -void eprosima::test::CompleteTestType::array_enum_field( - const std::array& _array_enum_field) +void CompleteTestType::array_enum_field( + const std::array& _array_enum_field) { m_array_enum_field = _array_enum_field; } @@ -2459,8 +2466,8 @@ void eprosima::test::CompleteTestType::array_enum_field( * @brief This function moves the value in member array_enum_field * @param _array_enum_field New value to be moved in member array_enum_field */ -void eprosima::test::CompleteTestType::array_enum_field( - std::array&& _array_enum_field) +void CompleteTestType::array_enum_field( + std::array&& _array_enum_field) { m_array_enum_field = std::move(_array_enum_field); } @@ -2469,7 +2476,7 @@ void eprosima::test::CompleteTestType::array_enum_field( * @brief This function returns a constant reference to member array_enum_field * @return Constant reference to member array_enum_field */ -const std::array& eprosima::test::CompleteTestType::array_enum_field() const +const std::array& CompleteTestType::array_enum_field() const { return m_array_enum_field; } @@ -2478,7 +2485,7 @@ const std::array& eprosima::test::CompleteTestType::ar * @brief This function returns a reference to member array_enum_field * @return Reference to member array_enum_field */ -std::array& eprosima::test::CompleteTestType::array_enum_field() +std::array& CompleteTestType::array_enum_field() { return m_array_enum_field; } @@ -2488,8 +2495,8 @@ std::array& eprosima::test::CompleteTestType::array_en * @brief This function copies the value in member array_enum2_field * @param _array_enum2_field New value to be copied in member array_enum2_field */ -void eprosima::test::CompleteTestType::array_enum2_field( - const std::array& _array_enum2_field) +void CompleteTestType::array_enum2_field( + const std::array& _array_enum2_field) { m_array_enum2_field = _array_enum2_field; } @@ -2498,8 +2505,8 @@ void eprosima::test::CompleteTestType::array_enum2_field( * @brief This function moves the value in member array_enum2_field * @param _array_enum2_field New value to be moved in member array_enum2_field */ -void eprosima::test::CompleteTestType::array_enum2_field( - std::array&& _array_enum2_field) +void CompleteTestType::array_enum2_field( + std::array&& _array_enum2_field) { m_array_enum2_field = std::move(_array_enum2_field); } @@ -2508,7 +2515,7 @@ void eprosima::test::CompleteTestType::array_enum2_field( * @brief This function returns a constant reference to member array_enum2_field * @return Constant reference to member array_enum2_field */ -const std::array& eprosima::test::CompleteTestType::array_enum2_field() const +const std::array& CompleteTestType::array_enum2_field() const { return m_array_enum2_field; } @@ -2517,7 +2524,7 @@ const std::array& eprosima::test::CompleteTestType: * @brief This function returns a reference to member array_enum2_field * @return Reference to member array_enum2_field */ -std::array& eprosima::test::CompleteTestType::array_enum2_field() +std::array& CompleteTestType::array_enum2_field() { return m_array_enum2_field; } @@ -2527,8 +2534,8 @@ std::array& eprosima::test::CompleteTestType::array * @brief This function copies the value in member array_struct_field * @param _array_struct_field New value to be copied in member array_struct_field */ -void eprosima::test::CompleteTestType::array_struct_field( - const std::array& _array_struct_field) +void CompleteTestType::array_struct_field( + const std::array& _array_struct_field) { m_array_struct_field = _array_struct_field; } @@ -2537,8 +2544,8 @@ void eprosima::test::CompleteTestType::array_struct_field( * @brief This function moves the value in member array_struct_field * @param _array_struct_field New value to be moved in member array_struct_field */ -void eprosima::test::CompleteTestType::array_struct_field( - std::array&& _array_struct_field) +void CompleteTestType::array_struct_field( + std::array&& _array_struct_field) { m_array_struct_field = std::move(_array_struct_field); } @@ -2547,7 +2554,7 @@ void eprosima::test::CompleteTestType::array_struct_field( * @brief This function returns a constant reference to member array_struct_field * @return Constant reference to member array_struct_field */ -const std::array& eprosima::test::CompleteTestType::array_struct_field() const +const std::array& CompleteTestType::array_struct_field() const { return m_array_struct_field; } @@ -2556,7 +2563,7 @@ const std::array& eprosima::test::CompleteTestTyp * @brief This function returns a reference to member array_struct_field * @return Reference to member array_struct_field */ -std::array& eprosima::test::CompleteTestType::array_struct_field() +std::array& CompleteTestType::array_struct_field() { return m_array_struct_field; } @@ -2566,7 +2573,7 @@ std::array& eprosima::test::CompleteTestType::arr * @brief This function copies the value in member bounded_sequence_char_field * @param _bounded_sequence_char_field New value to be copied in member bounded_sequence_char_field */ -void eprosima::test::CompleteTestType::bounded_sequence_char_field( +void CompleteTestType::bounded_sequence_char_field( const std::vector& _bounded_sequence_char_field) { m_bounded_sequence_char_field = _bounded_sequence_char_field; @@ -2576,7 +2583,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_char_field( * @brief This function moves the value in member bounded_sequence_char_field * @param _bounded_sequence_char_field New value to be moved in member bounded_sequence_char_field */ -void eprosima::test::CompleteTestType::bounded_sequence_char_field( +void CompleteTestType::bounded_sequence_char_field( std::vector&& _bounded_sequence_char_field) { m_bounded_sequence_char_field = std::move(_bounded_sequence_char_field); @@ -2586,7 +2593,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_char_field( * @brief This function returns a constant reference to member bounded_sequence_char_field * @return Constant reference to member bounded_sequence_char_field */ -const std::vector& eprosima::test::CompleteTestType::bounded_sequence_char_field() const +const std::vector& CompleteTestType::bounded_sequence_char_field() const { return m_bounded_sequence_char_field; } @@ -2595,7 +2602,7 @@ const std::vector& eprosima::test::CompleteTestType::bounded_sequence_char * @brief This function returns a reference to member bounded_sequence_char_field * @return Reference to member bounded_sequence_char_field */ -std::vector& eprosima::test::CompleteTestType::bounded_sequence_char_field() +std::vector& CompleteTestType::bounded_sequence_char_field() { return m_bounded_sequence_char_field; } @@ -2605,7 +2612,7 @@ std::vector& eprosima::test::CompleteTestType::bounded_sequence_char_field * @brief This function copies the value in member bounded_sequence_uint8_field * @param _bounded_sequence_uint8_field New value to be copied in member bounded_sequence_uint8_field */ -void eprosima::test::CompleteTestType::bounded_sequence_uint8_field( +void CompleteTestType::bounded_sequence_uint8_field( const std::vector& _bounded_sequence_uint8_field) { m_bounded_sequence_uint8_field = _bounded_sequence_uint8_field; @@ -2615,7 +2622,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_uint8_field( * @brief This function moves the value in member bounded_sequence_uint8_field * @param _bounded_sequence_uint8_field New value to be moved in member bounded_sequence_uint8_field */ -void eprosima::test::CompleteTestType::bounded_sequence_uint8_field( +void CompleteTestType::bounded_sequence_uint8_field( std::vector&& _bounded_sequence_uint8_field) { m_bounded_sequence_uint8_field = std::move(_bounded_sequence_uint8_field); @@ -2625,7 +2632,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_uint8_field( * @brief This function returns a constant reference to member bounded_sequence_uint8_field * @return Constant reference to member bounded_sequence_uint8_field */ -const std::vector& eprosima::test::CompleteTestType::bounded_sequence_uint8_field() const +const std::vector& CompleteTestType::bounded_sequence_uint8_field() const { return m_bounded_sequence_uint8_field; } @@ -2634,7 +2641,7 @@ const std::vector& eprosima::test::CompleteTestType::bounded_sequence_u * @brief This function returns a reference to member bounded_sequence_uint8_field * @return Reference to member bounded_sequence_uint8_field */ -std::vector& eprosima::test::CompleteTestType::bounded_sequence_uint8_field() +std::vector& CompleteTestType::bounded_sequence_uint8_field() { return m_bounded_sequence_uint8_field; } @@ -2644,7 +2651,7 @@ std::vector& eprosima::test::CompleteTestType::bounded_sequence_uint8_f * @brief This function copies the value in member bounded_sequence_int16_field * @param _bounded_sequence_int16_field New value to be copied in member bounded_sequence_int16_field */ -void eprosima::test::CompleteTestType::bounded_sequence_int16_field( +void CompleteTestType::bounded_sequence_int16_field( const std::vector& _bounded_sequence_int16_field) { m_bounded_sequence_int16_field = _bounded_sequence_int16_field; @@ -2654,7 +2661,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_int16_field( * @brief This function moves the value in member bounded_sequence_int16_field * @param _bounded_sequence_int16_field New value to be moved in member bounded_sequence_int16_field */ -void eprosima::test::CompleteTestType::bounded_sequence_int16_field( +void CompleteTestType::bounded_sequence_int16_field( std::vector&& _bounded_sequence_int16_field) { m_bounded_sequence_int16_field = std::move(_bounded_sequence_int16_field); @@ -2664,7 +2671,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_int16_field( * @brief This function returns a constant reference to member bounded_sequence_int16_field * @return Constant reference to member bounded_sequence_int16_field */ -const std::vector& eprosima::test::CompleteTestType::bounded_sequence_int16_field() const +const std::vector& CompleteTestType::bounded_sequence_int16_field() const { return m_bounded_sequence_int16_field; } @@ -2673,7 +2680,7 @@ const std::vector& eprosima::test::CompleteTestType::bounded_sequence_i * @brief This function returns a reference to member bounded_sequence_int16_field * @return Reference to member bounded_sequence_int16_field */ -std::vector& eprosima::test::CompleteTestType::bounded_sequence_int16_field() +std::vector& CompleteTestType::bounded_sequence_int16_field() { return m_bounded_sequence_int16_field; } @@ -2683,7 +2690,7 @@ std::vector& eprosima::test::CompleteTestType::bounded_sequence_int16_f * @brief This function copies the value in member bounded_sequence_uint16_field * @param _bounded_sequence_uint16_field New value to be copied in member bounded_sequence_uint16_field */ -void eprosima::test::CompleteTestType::bounded_sequence_uint16_field( +void CompleteTestType::bounded_sequence_uint16_field( const std::vector& _bounded_sequence_uint16_field) { m_bounded_sequence_uint16_field = _bounded_sequence_uint16_field; @@ -2693,7 +2700,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_uint16_field( * @brief This function moves the value in member bounded_sequence_uint16_field * @param _bounded_sequence_uint16_field New value to be moved in member bounded_sequence_uint16_field */ -void eprosima::test::CompleteTestType::bounded_sequence_uint16_field( +void CompleteTestType::bounded_sequence_uint16_field( std::vector&& _bounded_sequence_uint16_field) { m_bounded_sequence_uint16_field = std::move(_bounded_sequence_uint16_field); @@ -2703,7 +2710,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_uint16_field( * @brief This function returns a constant reference to member bounded_sequence_uint16_field * @return Constant reference to member bounded_sequence_uint16_field */ -const std::vector& eprosima::test::CompleteTestType::bounded_sequence_uint16_field() const +const std::vector& CompleteTestType::bounded_sequence_uint16_field() const { return m_bounded_sequence_uint16_field; } @@ -2712,7 +2719,7 @@ const std::vector& eprosima::test::CompleteTestType::bounded_sequence_ * @brief This function returns a reference to member bounded_sequence_uint16_field * @return Reference to member bounded_sequence_uint16_field */ -std::vector& eprosima::test::CompleteTestType::bounded_sequence_uint16_field() +std::vector& CompleteTestType::bounded_sequence_uint16_field() { return m_bounded_sequence_uint16_field; } @@ -2722,7 +2729,7 @@ std::vector& eprosima::test::CompleteTestType::bounded_sequence_uint16 * @brief This function copies the value in member bounded_sequence_int32_field * @param _bounded_sequence_int32_field New value to be copied in member bounded_sequence_int32_field */ -void eprosima::test::CompleteTestType::bounded_sequence_int32_field( +void CompleteTestType::bounded_sequence_int32_field( const std::vector& _bounded_sequence_int32_field) { m_bounded_sequence_int32_field = _bounded_sequence_int32_field; @@ -2732,7 +2739,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_int32_field( * @brief This function moves the value in member bounded_sequence_int32_field * @param _bounded_sequence_int32_field New value to be moved in member bounded_sequence_int32_field */ -void eprosima::test::CompleteTestType::bounded_sequence_int32_field( +void CompleteTestType::bounded_sequence_int32_field( std::vector&& _bounded_sequence_int32_field) { m_bounded_sequence_int32_field = std::move(_bounded_sequence_int32_field); @@ -2742,7 +2749,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_int32_field( * @brief This function returns a constant reference to member bounded_sequence_int32_field * @return Constant reference to member bounded_sequence_int32_field */ -const std::vector& eprosima::test::CompleteTestType::bounded_sequence_int32_field() const +const std::vector& CompleteTestType::bounded_sequence_int32_field() const { return m_bounded_sequence_int32_field; } @@ -2751,7 +2758,7 @@ const std::vector& eprosima::test::CompleteTestType::bounded_sequence_i * @brief This function returns a reference to member bounded_sequence_int32_field * @return Reference to member bounded_sequence_int32_field */ -std::vector& eprosima::test::CompleteTestType::bounded_sequence_int32_field() +std::vector& CompleteTestType::bounded_sequence_int32_field() { return m_bounded_sequence_int32_field; } @@ -2761,7 +2768,7 @@ std::vector& eprosima::test::CompleteTestType::bounded_sequence_int32_f * @brief This function copies the value in member bounded_sequence_uint32_field * @param _bounded_sequence_uint32_field New value to be copied in member bounded_sequence_uint32_field */ -void eprosima::test::CompleteTestType::bounded_sequence_uint32_field( +void CompleteTestType::bounded_sequence_uint32_field( const std::vector& _bounded_sequence_uint32_field) { m_bounded_sequence_uint32_field = _bounded_sequence_uint32_field; @@ -2771,7 +2778,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_uint32_field( * @brief This function moves the value in member bounded_sequence_uint32_field * @param _bounded_sequence_uint32_field New value to be moved in member bounded_sequence_uint32_field */ -void eprosima::test::CompleteTestType::bounded_sequence_uint32_field( +void CompleteTestType::bounded_sequence_uint32_field( std::vector&& _bounded_sequence_uint32_field) { m_bounded_sequence_uint32_field = std::move(_bounded_sequence_uint32_field); @@ -2781,7 +2788,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_uint32_field( * @brief This function returns a constant reference to member bounded_sequence_uint32_field * @return Constant reference to member bounded_sequence_uint32_field */ -const std::vector& eprosima::test::CompleteTestType::bounded_sequence_uint32_field() const +const std::vector& CompleteTestType::bounded_sequence_uint32_field() const { return m_bounded_sequence_uint32_field; } @@ -2790,7 +2797,7 @@ const std::vector& eprosima::test::CompleteTestType::bounded_sequence_ * @brief This function returns a reference to member bounded_sequence_uint32_field * @return Reference to member bounded_sequence_uint32_field */ -std::vector& eprosima::test::CompleteTestType::bounded_sequence_uint32_field() +std::vector& CompleteTestType::bounded_sequence_uint32_field() { return m_bounded_sequence_uint32_field; } @@ -2800,7 +2807,7 @@ std::vector& eprosima::test::CompleteTestType::bounded_sequence_uint32 * @brief This function copies the value in member bounded_sequence_int64_field * @param _bounded_sequence_int64_field New value to be copied in member bounded_sequence_int64_field */ -void eprosima::test::CompleteTestType::bounded_sequence_int64_field( +void CompleteTestType::bounded_sequence_int64_field( const std::vector& _bounded_sequence_int64_field) { m_bounded_sequence_int64_field = _bounded_sequence_int64_field; @@ -2810,7 +2817,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_int64_field( * @brief This function moves the value in member bounded_sequence_int64_field * @param _bounded_sequence_int64_field New value to be moved in member bounded_sequence_int64_field */ -void eprosima::test::CompleteTestType::bounded_sequence_int64_field( +void CompleteTestType::bounded_sequence_int64_field( std::vector&& _bounded_sequence_int64_field) { m_bounded_sequence_int64_field = std::move(_bounded_sequence_int64_field); @@ -2820,7 +2827,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_int64_field( * @brief This function returns a constant reference to member bounded_sequence_int64_field * @return Constant reference to member bounded_sequence_int64_field */ -const std::vector& eprosima::test::CompleteTestType::bounded_sequence_int64_field() const +const std::vector& CompleteTestType::bounded_sequence_int64_field() const { return m_bounded_sequence_int64_field; } @@ -2829,7 +2836,7 @@ const std::vector& eprosima::test::CompleteTestType::bounded_sequence_i * @brief This function returns a reference to member bounded_sequence_int64_field * @return Reference to member bounded_sequence_int64_field */ -std::vector& eprosima::test::CompleteTestType::bounded_sequence_int64_field() +std::vector& CompleteTestType::bounded_sequence_int64_field() { return m_bounded_sequence_int64_field; } @@ -2839,7 +2846,7 @@ std::vector& eprosima::test::CompleteTestType::bounded_sequence_int64_f * @brief This function copies the value in member bounded_sequence_uint64_field * @param _bounded_sequence_uint64_field New value to be copied in member bounded_sequence_uint64_field */ -void eprosima::test::CompleteTestType::bounded_sequence_uint64_field( +void CompleteTestType::bounded_sequence_uint64_field( const std::vector& _bounded_sequence_uint64_field) { m_bounded_sequence_uint64_field = _bounded_sequence_uint64_field; @@ -2849,7 +2856,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_uint64_field( * @brief This function moves the value in member bounded_sequence_uint64_field * @param _bounded_sequence_uint64_field New value to be moved in member bounded_sequence_uint64_field */ -void eprosima::test::CompleteTestType::bounded_sequence_uint64_field( +void CompleteTestType::bounded_sequence_uint64_field( std::vector&& _bounded_sequence_uint64_field) { m_bounded_sequence_uint64_field = std::move(_bounded_sequence_uint64_field); @@ -2859,7 +2866,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_uint64_field( * @brief This function returns a constant reference to member bounded_sequence_uint64_field * @return Constant reference to member bounded_sequence_uint64_field */ -const std::vector& eprosima::test::CompleteTestType::bounded_sequence_uint64_field() const +const std::vector& CompleteTestType::bounded_sequence_uint64_field() const { return m_bounded_sequence_uint64_field; } @@ -2868,7 +2875,7 @@ const std::vector& eprosima::test::CompleteTestType::bounded_sequence_ * @brief This function returns a reference to member bounded_sequence_uint64_field * @return Reference to member bounded_sequence_uint64_field */ -std::vector& eprosima::test::CompleteTestType::bounded_sequence_uint64_field() +std::vector& CompleteTestType::bounded_sequence_uint64_field() { return m_bounded_sequence_uint64_field; } @@ -2878,7 +2885,7 @@ std::vector& eprosima::test::CompleteTestType::bounded_sequence_uint64 * @brief This function copies the value in member bounded_sequence_float_field * @param _bounded_sequence_float_field New value to be copied in member bounded_sequence_float_field */ -void eprosima::test::CompleteTestType::bounded_sequence_float_field( +void CompleteTestType::bounded_sequence_float_field( const std::vector& _bounded_sequence_float_field) { m_bounded_sequence_float_field = _bounded_sequence_float_field; @@ -2888,7 +2895,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_float_field( * @brief This function moves the value in member bounded_sequence_float_field * @param _bounded_sequence_float_field New value to be moved in member bounded_sequence_float_field */ -void eprosima::test::CompleteTestType::bounded_sequence_float_field( +void CompleteTestType::bounded_sequence_float_field( std::vector&& _bounded_sequence_float_field) { m_bounded_sequence_float_field = std::move(_bounded_sequence_float_field); @@ -2898,7 +2905,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_float_field( * @brief This function returns a constant reference to member bounded_sequence_float_field * @return Constant reference to member bounded_sequence_float_field */ -const std::vector& eprosima::test::CompleteTestType::bounded_sequence_float_field() const +const std::vector& CompleteTestType::bounded_sequence_float_field() const { return m_bounded_sequence_float_field; } @@ -2907,7 +2914,7 @@ const std::vector& eprosima::test::CompleteTestType::bounded_sequence_flo * @brief This function returns a reference to member bounded_sequence_float_field * @return Reference to member bounded_sequence_float_field */ -std::vector& eprosima::test::CompleteTestType::bounded_sequence_float_field() +std::vector& CompleteTestType::bounded_sequence_float_field() { return m_bounded_sequence_float_field; } @@ -2917,7 +2924,7 @@ std::vector& eprosima::test::CompleteTestType::bounded_sequence_float_fie * @brief This function copies the value in member bounded_sequence_double_field * @param _bounded_sequence_double_field New value to be copied in member bounded_sequence_double_field */ -void eprosima::test::CompleteTestType::bounded_sequence_double_field( +void CompleteTestType::bounded_sequence_double_field( const std::vector& _bounded_sequence_double_field) { m_bounded_sequence_double_field = _bounded_sequence_double_field; @@ -2927,7 +2934,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_double_field( * @brief This function moves the value in member bounded_sequence_double_field * @param _bounded_sequence_double_field New value to be moved in member bounded_sequence_double_field */ -void eprosima::test::CompleteTestType::bounded_sequence_double_field( +void CompleteTestType::bounded_sequence_double_field( std::vector&& _bounded_sequence_double_field) { m_bounded_sequence_double_field = std::move(_bounded_sequence_double_field); @@ -2937,7 +2944,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_double_field( * @brief This function returns a constant reference to member bounded_sequence_double_field * @return Constant reference to member bounded_sequence_double_field */ -const std::vector& eprosima::test::CompleteTestType::bounded_sequence_double_field() const +const std::vector& CompleteTestType::bounded_sequence_double_field() const { return m_bounded_sequence_double_field; } @@ -2946,7 +2953,7 @@ const std::vector& eprosima::test::CompleteTestType::bounded_sequence_do * @brief This function returns a reference to member bounded_sequence_double_field * @return Reference to member bounded_sequence_double_field */ -std::vector& eprosima::test::CompleteTestType::bounded_sequence_double_field() +std::vector& CompleteTestType::bounded_sequence_double_field() { return m_bounded_sequence_double_field; } @@ -2956,7 +2963,7 @@ std::vector& eprosima::test::CompleteTestType::bounded_sequence_double_f * @brief This function copies the value in member bounded_sequence_bool_field * @param _bounded_sequence_bool_field New value to be copied in member bounded_sequence_bool_field */ -void eprosima::test::CompleteTestType::bounded_sequence_bool_field( +void CompleteTestType::bounded_sequence_bool_field( const std::vector& _bounded_sequence_bool_field) { m_bounded_sequence_bool_field = _bounded_sequence_bool_field; @@ -2966,7 +2973,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_bool_field( * @brief This function moves the value in member bounded_sequence_bool_field * @param _bounded_sequence_bool_field New value to be moved in member bounded_sequence_bool_field */ -void eprosima::test::CompleteTestType::bounded_sequence_bool_field( +void CompleteTestType::bounded_sequence_bool_field( std::vector&& _bounded_sequence_bool_field) { m_bounded_sequence_bool_field = std::move(_bounded_sequence_bool_field); @@ -2976,7 +2983,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_bool_field( * @brief This function returns a constant reference to member bounded_sequence_bool_field * @return Constant reference to member bounded_sequence_bool_field */ -const std::vector& eprosima::test::CompleteTestType::bounded_sequence_bool_field() const +const std::vector& CompleteTestType::bounded_sequence_bool_field() const { return m_bounded_sequence_bool_field; } @@ -2985,7 +2992,7 @@ const std::vector& eprosima::test::CompleteTestType::bounded_sequence_bool * @brief This function returns a reference to member bounded_sequence_bool_field * @return Reference to member bounded_sequence_bool_field */ -std::vector& eprosima::test::CompleteTestType::bounded_sequence_bool_field() +std::vector& CompleteTestType::bounded_sequence_bool_field() { return m_bounded_sequence_bool_field; } @@ -2995,7 +3002,7 @@ std::vector& eprosima::test::CompleteTestType::bounded_sequence_bool_field * @brief This function copies the value in member bounded_sequence_enum_field * @param _bounded_sequence_enum_field New value to be copied in member bounded_sequence_enum_field */ -void eprosima::test::CompleteTestType::bounded_sequence_enum_field( +void CompleteTestType::bounded_sequence_enum_field( const std::vector& _bounded_sequence_enum_field) { m_bounded_sequence_enum_field = _bounded_sequence_enum_field; @@ -3005,7 +3012,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_enum_field( * @brief This function moves the value in member bounded_sequence_enum_field * @param _bounded_sequence_enum_field New value to be moved in member bounded_sequence_enum_field */ -void eprosima::test::CompleteTestType::bounded_sequence_enum_field( +void CompleteTestType::bounded_sequence_enum_field( std::vector&& _bounded_sequence_enum_field) { m_bounded_sequence_enum_field = std::move(_bounded_sequence_enum_field); @@ -3015,7 +3022,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_enum_field( * @brief This function returns a constant reference to member bounded_sequence_enum_field * @return Constant reference to member bounded_sequence_enum_field */ -const std::vector& eprosima::test::CompleteTestType::bounded_sequence_enum_field() const +const std::vector& CompleteTestType::bounded_sequence_enum_field() const { return m_bounded_sequence_enum_field; } @@ -3024,7 +3031,7 @@ const std::vector& eprosima::test::CompleteTestType::boun * @brief This function returns a reference to member bounded_sequence_enum_field * @return Reference to member bounded_sequence_enum_field */ -std::vector& eprosima::test::CompleteTestType::bounded_sequence_enum_field() +std::vector& CompleteTestType::bounded_sequence_enum_field() { return m_bounded_sequence_enum_field; } @@ -3034,7 +3041,7 @@ std::vector& eprosima::test::CompleteTestType::bounded_se * @brief This function copies the value in member bounded_sequence_enum2_field * @param _bounded_sequence_enum2_field New value to be copied in member bounded_sequence_enum2_field */ -void eprosima::test::CompleteTestType::bounded_sequence_enum2_field( +void CompleteTestType::bounded_sequence_enum2_field( const std::vector& _bounded_sequence_enum2_field) { m_bounded_sequence_enum2_field = _bounded_sequence_enum2_field; @@ -3044,7 +3051,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_enum2_field( * @brief This function moves the value in member bounded_sequence_enum2_field * @param _bounded_sequence_enum2_field New value to be moved in member bounded_sequence_enum2_field */ -void eprosima::test::CompleteTestType::bounded_sequence_enum2_field( +void CompleteTestType::bounded_sequence_enum2_field( std::vector&& _bounded_sequence_enum2_field) { m_bounded_sequence_enum2_field = std::move(_bounded_sequence_enum2_field); @@ -3054,7 +3061,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_enum2_field( * @brief This function returns a constant reference to member bounded_sequence_enum2_field * @return Constant reference to member bounded_sequence_enum2_field */ -const std::vector& eprosima::test::CompleteTestType::bounded_sequence_enum2_field() const +const std::vector& CompleteTestType::bounded_sequence_enum2_field() const { return m_bounded_sequence_enum2_field; } @@ -3063,7 +3070,7 @@ const std::vector& eprosima::test::CompleteTestType::b * @brief This function returns a reference to member bounded_sequence_enum2_field * @return Reference to member bounded_sequence_enum2_field */ -std::vector& eprosima::test::CompleteTestType::bounded_sequence_enum2_field() +std::vector& CompleteTestType::bounded_sequence_enum2_field() { return m_bounded_sequence_enum2_field; } @@ -3073,7 +3080,7 @@ std::vector& eprosima::test::CompleteTestType::bounded * @brief This function copies the value in member bounded_sequence_struct_field * @param _bounded_sequence_struct_field New value to be copied in member bounded_sequence_struct_field */ -void eprosima::test::CompleteTestType::bounded_sequence_struct_field( +void CompleteTestType::bounded_sequence_struct_field( const std::vector& _bounded_sequence_struct_field) { m_bounded_sequence_struct_field = _bounded_sequence_struct_field; @@ -3083,7 +3090,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_struct_field( * @brief This function moves the value in member bounded_sequence_struct_field * @param _bounded_sequence_struct_field New value to be moved in member bounded_sequence_struct_field */ -void eprosima::test::CompleteTestType::bounded_sequence_struct_field( +void CompleteTestType::bounded_sequence_struct_field( std::vector&& _bounded_sequence_struct_field) { m_bounded_sequence_struct_field = std::move(_bounded_sequence_struct_field); @@ -3093,7 +3100,7 @@ void eprosima::test::CompleteTestType::bounded_sequence_struct_field( * @brief This function returns a constant reference to member bounded_sequence_struct_field * @return Constant reference to member bounded_sequence_struct_field */ -const std::vector& eprosima::test::CompleteTestType::bounded_sequence_struct_field() const +const std::vector& CompleteTestType::bounded_sequence_struct_field() const { return m_bounded_sequence_struct_field; } @@ -3102,7 +3109,7 @@ const std::vector& eprosima::test::CompleteTestType: * @brief This function returns a reference to member bounded_sequence_struct_field * @return Reference to member bounded_sequence_struct_field */ -std::vector& eprosima::test::CompleteTestType::bounded_sequence_struct_field() +std::vector& CompleteTestType::bounded_sequence_struct_field() { return m_bounded_sequence_struct_field; } @@ -3112,7 +3119,7 @@ std::vector& eprosima::test::CompleteTestType::bound * @brief This function copies the value in member unbounded_sequence_char_field * @param _unbounded_sequence_char_field New value to be copied in member unbounded_sequence_char_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_char_field( +void CompleteTestType::unbounded_sequence_char_field( const std::vector& _unbounded_sequence_char_field) { m_unbounded_sequence_char_field = _unbounded_sequence_char_field; @@ -3122,7 +3129,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_char_field( * @brief This function moves the value in member unbounded_sequence_char_field * @param _unbounded_sequence_char_field New value to be moved in member unbounded_sequence_char_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_char_field( +void CompleteTestType::unbounded_sequence_char_field( std::vector&& _unbounded_sequence_char_field) { m_unbounded_sequence_char_field = std::move(_unbounded_sequence_char_field); @@ -3132,7 +3139,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_char_field( * @brief This function returns a constant reference to member unbounded_sequence_char_field * @return Constant reference to member unbounded_sequence_char_field */ -const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_char_field() const +const std::vector& CompleteTestType::unbounded_sequence_char_field() const { return m_unbounded_sequence_char_field; } @@ -3141,7 +3148,7 @@ const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_ch * @brief This function returns a reference to member unbounded_sequence_char_field * @return Reference to member unbounded_sequence_char_field */ -std::vector& eprosima::test::CompleteTestType::unbounded_sequence_char_field() +std::vector& CompleteTestType::unbounded_sequence_char_field() { return m_unbounded_sequence_char_field; } @@ -3151,7 +3158,7 @@ std::vector& eprosima::test::CompleteTestType::unbounded_sequence_char_fie * @brief This function copies the value in member unbounded_sequence_uint8_field * @param _unbounded_sequence_uint8_field New value to be copied in member unbounded_sequence_uint8_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_uint8_field( +void CompleteTestType::unbounded_sequence_uint8_field( const std::vector& _unbounded_sequence_uint8_field) { m_unbounded_sequence_uint8_field = _unbounded_sequence_uint8_field; @@ -3161,7 +3168,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_uint8_field( * @brief This function moves the value in member unbounded_sequence_uint8_field * @param _unbounded_sequence_uint8_field New value to be moved in member unbounded_sequence_uint8_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_uint8_field( +void CompleteTestType::unbounded_sequence_uint8_field( std::vector&& _unbounded_sequence_uint8_field) { m_unbounded_sequence_uint8_field = std::move(_unbounded_sequence_uint8_field); @@ -3171,7 +3178,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_uint8_field( * @brief This function returns a constant reference to member unbounded_sequence_uint8_field * @return Constant reference to member unbounded_sequence_uint8_field */ -const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_uint8_field() const +const std::vector& CompleteTestType::unbounded_sequence_uint8_field() const { return m_unbounded_sequence_uint8_field; } @@ -3180,7 +3187,7 @@ const std::vector& eprosima::test::CompleteTestType::unbounded_sequence * @brief This function returns a reference to member unbounded_sequence_uint8_field * @return Reference to member unbounded_sequence_uint8_field */ -std::vector& eprosima::test::CompleteTestType::unbounded_sequence_uint8_field() +std::vector& CompleteTestType::unbounded_sequence_uint8_field() { return m_unbounded_sequence_uint8_field; } @@ -3190,7 +3197,7 @@ std::vector& eprosima::test::CompleteTestType::unbounded_sequence_uint8 * @brief This function copies the value in member unbounded_sequence_int16_field * @param _unbounded_sequence_int16_field New value to be copied in member unbounded_sequence_int16_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_int16_field( +void CompleteTestType::unbounded_sequence_int16_field( const std::vector& _unbounded_sequence_int16_field) { m_unbounded_sequence_int16_field = _unbounded_sequence_int16_field; @@ -3200,7 +3207,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_int16_field( * @brief This function moves the value in member unbounded_sequence_int16_field * @param _unbounded_sequence_int16_field New value to be moved in member unbounded_sequence_int16_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_int16_field( +void CompleteTestType::unbounded_sequence_int16_field( std::vector&& _unbounded_sequence_int16_field) { m_unbounded_sequence_int16_field = std::move(_unbounded_sequence_int16_field); @@ -3210,7 +3217,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_int16_field( * @brief This function returns a constant reference to member unbounded_sequence_int16_field * @return Constant reference to member unbounded_sequence_int16_field */ -const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_int16_field() const +const std::vector& CompleteTestType::unbounded_sequence_int16_field() const { return m_unbounded_sequence_int16_field; } @@ -3219,7 +3226,7 @@ const std::vector& eprosima::test::CompleteTestType::unbounded_sequence * @brief This function returns a reference to member unbounded_sequence_int16_field * @return Reference to member unbounded_sequence_int16_field */ -std::vector& eprosima::test::CompleteTestType::unbounded_sequence_int16_field() +std::vector& CompleteTestType::unbounded_sequence_int16_field() { return m_unbounded_sequence_int16_field; } @@ -3229,7 +3236,7 @@ std::vector& eprosima::test::CompleteTestType::unbounded_sequence_int16 * @brief This function copies the value in member unbounded_sequence_uint16_field * @param _unbounded_sequence_uint16_field New value to be copied in member unbounded_sequence_uint16_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_uint16_field( +void CompleteTestType::unbounded_sequence_uint16_field( const std::vector& _unbounded_sequence_uint16_field) { m_unbounded_sequence_uint16_field = _unbounded_sequence_uint16_field; @@ -3239,7 +3246,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_uint16_field( * @brief This function moves the value in member unbounded_sequence_uint16_field * @param _unbounded_sequence_uint16_field New value to be moved in member unbounded_sequence_uint16_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_uint16_field( +void CompleteTestType::unbounded_sequence_uint16_field( std::vector&& _unbounded_sequence_uint16_field) { m_unbounded_sequence_uint16_field = std::move(_unbounded_sequence_uint16_field); @@ -3249,7 +3256,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_uint16_field( * @brief This function returns a constant reference to member unbounded_sequence_uint16_field * @return Constant reference to member unbounded_sequence_uint16_field */ -const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_uint16_field() const +const std::vector& CompleteTestType::unbounded_sequence_uint16_field() const { return m_unbounded_sequence_uint16_field; } @@ -3258,7 +3265,7 @@ const std::vector& eprosima::test::CompleteTestType::unbounded_sequenc * @brief This function returns a reference to member unbounded_sequence_uint16_field * @return Reference to member unbounded_sequence_uint16_field */ -std::vector& eprosima::test::CompleteTestType::unbounded_sequence_uint16_field() +std::vector& CompleteTestType::unbounded_sequence_uint16_field() { return m_unbounded_sequence_uint16_field; } @@ -3268,7 +3275,7 @@ std::vector& eprosima::test::CompleteTestType::unbounded_sequence_uint * @brief This function copies the value in member unbounded_sequence_int32_field * @param _unbounded_sequence_int32_field New value to be copied in member unbounded_sequence_int32_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_int32_field( +void CompleteTestType::unbounded_sequence_int32_field( const std::vector& _unbounded_sequence_int32_field) { m_unbounded_sequence_int32_field = _unbounded_sequence_int32_field; @@ -3278,7 +3285,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_int32_field( * @brief This function moves the value in member unbounded_sequence_int32_field * @param _unbounded_sequence_int32_field New value to be moved in member unbounded_sequence_int32_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_int32_field( +void CompleteTestType::unbounded_sequence_int32_field( std::vector&& _unbounded_sequence_int32_field) { m_unbounded_sequence_int32_field = std::move(_unbounded_sequence_int32_field); @@ -3288,7 +3295,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_int32_field( * @brief This function returns a constant reference to member unbounded_sequence_int32_field * @return Constant reference to member unbounded_sequence_int32_field */ -const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_int32_field() const +const std::vector& CompleteTestType::unbounded_sequence_int32_field() const { return m_unbounded_sequence_int32_field; } @@ -3297,7 +3304,7 @@ const std::vector& eprosima::test::CompleteTestType::unbounded_sequence * @brief This function returns a reference to member unbounded_sequence_int32_field * @return Reference to member unbounded_sequence_int32_field */ -std::vector& eprosima::test::CompleteTestType::unbounded_sequence_int32_field() +std::vector& CompleteTestType::unbounded_sequence_int32_field() { return m_unbounded_sequence_int32_field; } @@ -3307,7 +3314,7 @@ std::vector& eprosima::test::CompleteTestType::unbounded_sequence_int32 * @brief This function copies the value in member unbounded_sequence_uint32_field * @param _unbounded_sequence_uint32_field New value to be copied in member unbounded_sequence_uint32_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_uint32_field( +void CompleteTestType::unbounded_sequence_uint32_field( const std::vector& _unbounded_sequence_uint32_field) { m_unbounded_sequence_uint32_field = _unbounded_sequence_uint32_field; @@ -3317,7 +3324,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_uint32_field( * @brief This function moves the value in member unbounded_sequence_uint32_field * @param _unbounded_sequence_uint32_field New value to be moved in member unbounded_sequence_uint32_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_uint32_field( +void CompleteTestType::unbounded_sequence_uint32_field( std::vector&& _unbounded_sequence_uint32_field) { m_unbounded_sequence_uint32_field = std::move(_unbounded_sequence_uint32_field); @@ -3327,7 +3334,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_uint32_field( * @brief This function returns a constant reference to member unbounded_sequence_uint32_field * @return Constant reference to member unbounded_sequence_uint32_field */ -const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_uint32_field() const +const std::vector& CompleteTestType::unbounded_sequence_uint32_field() const { return m_unbounded_sequence_uint32_field; } @@ -3336,7 +3343,7 @@ const std::vector& eprosima::test::CompleteTestType::unbounded_sequenc * @brief This function returns a reference to member unbounded_sequence_uint32_field * @return Reference to member unbounded_sequence_uint32_field */ -std::vector& eprosima::test::CompleteTestType::unbounded_sequence_uint32_field() +std::vector& CompleteTestType::unbounded_sequence_uint32_field() { return m_unbounded_sequence_uint32_field; } @@ -3346,7 +3353,7 @@ std::vector& eprosima::test::CompleteTestType::unbounded_sequence_uint * @brief This function copies the value in member unbounded_sequence_int64_field * @param _unbounded_sequence_int64_field New value to be copied in member unbounded_sequence_int64_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_int64_field( +void CompleteTestType::unbounded_sequence_int64_field( const std::vector& _unbounded_sequence_int64_field) { m_unbounded_sequence_int64_field = _unbounded_sequence_int64_field; @@ -3356,7 +3363,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_int64_field( * @brief This function moves the value in member unbounded_sequence_int64_field * @param _unbounded_sequence_int64_field New value to be moved in member unbounded_sequence_int64_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_int64_field( +void CompleteTestType::unbounded_sequence_int64_field( std::vector&& _unbounded_sequence_int64_field) { m_unbounded_sequence_int64_field = std::move(_unbounded_sequence_int64_field); @@ -3366,7 +3373,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_int64_field( * @brief This function returns a constant reference to member unbounded_sequence_int64_field * @return Constant reference to member unbounded_sequence_int64_field */ -const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_int64_field() const +const std::vector& CompleteTestType::unbounded_sequence_int64_field() const { return m_unbounded_sequence_int64_field; } @@ -3375,7 +3382,7 @@ const std::vector& eprosima::test::CompleteTestType::unbounded_sequence * @brief This function returns a reference to member unbounded_sequence_int64_field * @return Reference to member unbounded_sequence_int64_field */ -std::vector& eprosima::test::CompleteTestType::unbounded_sequence_int64_field() +std::vector& CompleteTestType::unbounded_sequence_int64_field() { return m_unbounded_sequence_int64_field; } @@ -3385,7 +3392,7 @@ std::vector& eprosima::test::CompleteTestType::unbounded_sequence_int64 * @brief This function copies the value in member unbounded_sequence_uint64_field * @param _unbounded_sequence_uint64_field New value to be copied in member unbounded_sequence_uint64_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_uint64_field( +void CompleteTestType::unbounded_sequence_uint64_field( const std::vector& _unbounded_sequence_uint64_field) { m_unbounded_sequence_uint64_field = _unbounded_sequence_uint64_field; @@ -3395,7 +3402,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_uint64_field( * @brief This function moves the value in member unbounded_sequence_uint64_field * @param _unbounded_sequence_uint64_field New value to be moved in member unbounded_sequence_uint64_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_uint64_field( +void CompleteTestType::unbounded_sequence_uint64_field( std::vector&& _unbounded_sequence_uint64_field) { m_unbounded_sequence_uint64_field = std::move(_unbounded_sequence_uint64_field); @@ -3405,7 +3412,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_uint64_field( * @brief This function returns a constant reference to member unbounded_sequence_uint64_field * @return Constant reference to member unbounded_sequence_uint64_field */ -const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_uint64_field() const +const std::vector& CompleteTestType::unbounded_sequence_uint64_field() const { return m_unbounded_sequence_uint64_field; } @@ -3414,7 +3421,7 @@ const std::vector& eprosima::test::CompleteTestType::unbounded_sequenc * @brief This function returns a reference to member unbounded_sequence_uint64_field * @return Reference to member unbounded_sequence_uint64_field */ -std::vector& eprosima::test::CompleteTestType::unbounded_sequence_uint64_field() +std::vector& CompleteTestType::unbounded_sequence_uint64_field() { return m_unbounded_sequence_uint64_field; } @@ -3424,7 +3431,7 @@ std::vector& eprosima::test::CompleteTestType::unbounded_sequence_uint * @brief This function copies the value in member unbounded_sequence_float_field * @param _unbounded_sequence_float_field New value to be copied in member unbounded_sequence_float_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_float_field( +void CompleteTestType::unbounded_sequence_float_field( const std::vector& _unbounded_sequence_float_field) { m_unbounded_sequence_float_field = _unbounded_sequence_float_field; @@ -3434,7 +3441,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_float_field( * @brief This function moves the value in member unbounded_sequence_float_field * @param _unbounded_sequence_float_field New value to be moved in member unbounded_sequence_float_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_float_field( +void CompleteTestType::unbounded_sequence_float_field( std::vector&& _unbounded_sequence_float_field) { m_unbounded_sequence_float_field = std::move(_unbounded_sequence_float_field); @@ -3444,7 +3451,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_float_field( * @brief This function returns a constant reference to member unbounded_sequence_float_field * @return Constant reference to member unbounded_sequence_float_field */ -const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_float_field() const +const std::vector& CompleteTestType::unbounded_sequence_float_field() const { return m_unbounded_sequence_float_field; } @@ -3453,7 +3460,7 @@ const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_f * @brief This function returns a reference to member unbounded_sequence_float_field * @return Reference to member unbounded_sequence_float_field */ -std::vector& eprosima::test::CompleteTestType::unbounded_sequence_float_field() +std::vector& CompleteTestType::unbounded_sequence_float_field() { return m_unbounded_sequence_float_field; } @@ -3463,7 +3470,7 @@ std::vector& eprosima::test::CompleteTestType::unbounded_sequence_float_f * @brief This function copies the value in member unbounded_sequence_double_field * @param _unbounded_sequence_double_field New value to be copied in member unbounded_sequence_double_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_double_field( +void CompleteTestType::unbounded_sequence_double_field( const std::vector& _unbounded_sequence_double_field) { m_unbounded_sequence_double_field = _unbounded_sequence_double_field; @@ -3473,7 +3480,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_double_field( * @brief This function moves the value in member unbounded_sequence_double_field * @param _unbounded_sequence_double_field New value to be moved in member unbounded_sequence_double_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_double_field( +void CompleteTestType::unbounded_sequence_double_field( std::vector&& _unbounded_sequence_double_field) { m_unbounded_sequence_double_field = std::move(_unbounded_sequence_double_field); @@ -3483,7 +3490,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_double_field( * @brief This function returns a constant reference to member unbounded_sequence_double_field * @return Constant reference to member unbounded_sequence_double_field */ -const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_double_field() const +const std::vector& CompleteTestType::unbounded_sequence_double_field() const { return m_unbounded_sequence_double_field; } @@ -3492,7 +3499,7 @@ const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_ * @brief This function returns a reference to member unbounded_sequence_double_field * @return Reference to member unbounded_sequence_double_field */ -std::vector& eprosima::test::CompleteTestType::unbounded_sequence_double_field() +std::vector& CompleteTestType::unbounded_sequence_double_field() { return m_unbounded_sequence_double_field; } @@ -3502,7 +3509,7 @@ std::vector& eprosima::test::CompleteTestType::unbounded_sequence_double * @brief This function copies the value in member unbounded_sequence_bool_field * @param _unbounded_sequence_bool_field New value to be copied in member unbounded_sequence_bool_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_bool_field( +void CompleteTestType::unbounded_sequence_bool_field( const std::vector& _unbounded_sequence_bool_field) { m_unbounded_sequence_bool_field = _unbounded_sequence_bool_field; @@ -3512,7 +3519,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_bool_field( * @brief This function moves the value in member unbounded_sequence_bool_field * @param _unbounded_sequence_bool_field New value to be moved in member unbounded_sequence_bool_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_bool_field( +void CompleteTestType::unbounded_sequence_bool_field( std::vector&& _unbounded_sequence_bool_field) { m_unbounded_sequence_bool_field = std::move(_unbounded_sequence_bool_field); @@ -3522,7 +3529,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_bool_field( * @brief This function returns a constant reference to member unbounded_sequence_bool_field * @return Constant reference to member unbounded_sequence_bool_field */ -const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_bool_field() const +const std::vector& CompleteTestType::unbounded_sequence_bool_field() const { return m_unbounded_sequence_bool_field; } @@ -3531,7 +3538,7 @@ const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_bo * @brief This function returns a reference to member unbounded_sequence_bool_field * @return Reference to member unbounded_sequence_bool_field */ -std::vector& eprosima::test::CompleteTestType::unbounded_sequence_bool_field() +std::vector& CompleteTestType::unbounded_sequence_bool_field() { return m_unbounded_sequence_bool_field; } @@ -3541,7 +3548,7 @@ std::vector& eprosima::test::CompleteTestType::unbounded_sequence_bool_fie * @brief This function copies the value in member unbounded_sequence_enum_field * @param _unbounded_sequence_enum_field New value to be copied in member unbounded_sequence_enum_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_enum_field( +void CompleteTestType::unbounded_sequence_enum_field( const std::vector& _unbounded_sequence_enum_field) { m_unbounded_sequence_enum_field = _unbounded_sequence_enum_field; @@ -3551,7 +3558,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_enum_field( * @brief This function moves the value in member unbounded_sequence_enum_field * @param _unbounded_sequence_enum_field New value to be moved in member unbounded_sequence_enum_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_enum_field( +void CompleteTestType::unbounded_sequence_enum_field( std::vector&& _unbounded_sequence_enum_field) { m_unbounded_sequence_enum_field = std::move(_unbounded_sequence_enum_field); @@ -3561,7 +3568,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_enum_field( * @brief This function returns a constant reference to member unbounded_sequence_enum_field * @return Constant reference to member unbounded_sequence_enum_field */ -const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_enum_field() const +const std::vector& CompleteTestType::unbounded_sequence_enum_field() const { return m_unbounded_sequence_enum_field; } @@ -3570,7 +3577,7 @@ const std::vector& eprosima::test::CompleteTestType::unbo * @brief This function returns a reference to member unbounded_sequence_enum_field * @return Reference to member unbounded_sequence_enum_field */ -std::vector& eprosima::test::CompleteTestType::unbounded_sequence_enum_field() +std::vector& CompleteTestType::unbounded_sequence_enum_field() { return m_unbounded_sequence_enum_field; } @@ -3580,7 +3587,7 @@ std::vector& eprosima::test::CompleteTestType::unbounded_ * @brief This function copies the value in member unbounded_sequence_enum2_field * @param _unbounded_sequence_enum2_field New value to be copied in member unbounded_sequence_enum2_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_enum2_field( +void CompleteTestType::unbounded_sequence_enum2_field( const std::vector& _unbounded_sequence_enum2_field) { m_unbounded_sequence_enum2_field = _unbounded_sequence_enum2_field; @@ -3590,7 +3597,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_enum2_field( * @brief This function moves the value in member unbounded_sequence_enum2_field * @param _unbounded_sequence_enum2_field New value to be moved in member unbounded_sequence_enum2_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_enum2_field( +void CompleteTestType::unbounded_sequence_enum2_field( std::vector&& _unbounded_sequence_enum2_field) { m_unbounded_sequence_enum2_field = std::move(_unbounded_sequence_enum2_field); @@ -3600,7 +3607,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_enum2_field( * @brief This function returns a constant reference to member unbounded_sequence_enum2_field * @return Constant reference to member unbounded_sequence_enum2_field */ -const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_enum2_field() const +const std::vector& CompleteTestType::unbounded_sequence_enum2_field() const { return m_unbounded_sequence_enum2_field; } @@ -3609,7 +3616,7 @@ const std::vector& eprosima::test::CompleteTestType::u * @brief This function returns a reference to member unbounded_sequence_enum2_field * @return Reference to member unbounded_sequence_enum2_field */ -std::vector& eprosima::test::CompleteTestType::unbounded_sequence_enum2_field() +std::vector& CompleteTestType::unbounded_sequence_enum2_field() { return m_unbounded_sequence_enum2_field; } @@ -3619,7 +3626,7 @@ std::vector& eprosima::test::CompleteTestType::unbound * @brief This function copies the value in member unbounded_sequence_struct_field * @param _unbounded_sequence_struct_field New value to be copied in member unbounded_sequence_struct_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_struct_field( +void CompleteTestType::unbounded_sequence_struct_field( const std::vector& _unbounded_sequence_struct_field) { m_unbounded_sequence_struct_field = _unbounded_sequence_struct_field; @@ -3629,7 +3636,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_struct_field( * @brief This function moves the value in member unbounded_sequence_struct_field * @param _unbounded_sequence_struct_field New value to be moved in member unbounded_sequence_struct_field */ -void eprosima::test::CompleteTestType::unbounded_sequence_struct_field( +void CompleteTestType::unbounded_sequence_struct_field( std::vector&& _unbounded_sequence_struct_field) { m_unbounded_sequence_struct_field = std::move(_unbounded_sequence_struct_field); @@ -3639,7 +3646,7 @@ void eprosima::test::CompleteTestType::unbounded_sequence_struct_field( * @brief This function returns a constant reference to member unbounded_sequence_struct_field * @return Constant reference to member unbounded_sequence_struct_field */ -const std::vector& eprosima::test::CompleteTestType::unbounded_sequence_struct_field() const +const std::vector& CompleteTestType::unbounded_sequence_struct_field() const { return m_unbounded_sequence_struct_field; } @@ -3648,22 +3655,25 @@ const std::vector& eprosima::test::CompleteTestType: * @brief This function returns a reference to member unbounded_sequence_struct_field * @return Reference to member unbounded_sequence_struct_field */ -std::vector& eprosima::test::CompleteTestType::unbounded_sequence_struct_field() +std::vector& CompleteTestType::unbounded_sequence_struct_field() { return m_unbounded_sequence_struct_field; } -eprosima::test::KeyedCompleteTestType::KeyedCompleteTestType() -{ + + + +KeyedCompleteTestType::KeyedCompleteTestType() +{ } -eprosima::test::KeyedCompleteTestType::~KeyedCompleteTestType() +KeyedCompleteTestType::~KeyedCompleteTestType() { } -eprosima::test::KeyedCompleteTestType::KeyedCompleteTestType( +KeyedCompleteTestType::KeyedCompleteTestType( const KeyedCompleteTestType& x) { m_id = x.m_id; @@ -3741,7 +3751,7 @@ eprosima::test::KeyedCompleteTestType::KeyedCompleteTestType( m_unbounded_sequence_struct_field = x.m_unbounded_sequence_struct_field; } -eprosima::test::KeyedCompleteTestType::KeyedCompleteTestType( +KeyedCompleteTestType::KeyedCompleteTestType( KeyedCompleteTestType&& x) noexcept { m_id = x.m_id; @@ -3819,7 +3829,7 @@ eprosima::test::KeyedCompleteTestType::KeyedCompleteTestType( m_unbounded_sequence_struct_field = std::move(x.m_unbounded_sequence_struct_field); } -eprosima::test::KeyedCompleteTestType& eprosima::test::KeyedCompleteTestType::operator =( +KeyedCompleteTestType& KeyedCompleteTestType::operator =( const KeyedCompleteTestType& x) { @@ -3896,11 +3906,10 @@ eprosima::test::KeyedCompleteTestType& eprosima::test::KeyedCompleteTestType::op m_unbounded_sequence_enum_field = x.m_unbounded_sequence_enum_field; m_unbounded_sequence_enum2_field = x.m_unbounded_sequence_enum2_field; m_unbounded_sequence_struct_field = x.m_unbounded_sequence_struct_field; - return *this; } -eprosima::test::KeyedCompleteTestType& eprosima::test::KeyedCompleteTestType::operator =( +KeyedCompleteTestType& KeyedCompleteTestType::operator =( KeyedCompleteTestType&& x) noexcept { @@ -3977,11 +3986,10 @@ eprosima::test::KeyedCompleteTestType& eprosima::test::KeyedCompleteTestType::op m_unbounded_sequence_enum_field = std::move(x.m_unbounded_sequence_enum_field); m_unbounded_sequence_enum2_field = std::move(x.m_unbounded_sequence_enum2_field); m_unbounded_sequence_struct_field = std::move(x.m_unbounded_sequence_struct_field); - return *this; } -bool eprosima::test::KeyedCompleteTestType::operator ==( +bool KeyedCompleteTestType::operator ==( const KeyedCompleteTestType& x) const { return (m_id == x.m_id && @@ -4059,7 +4067,7 @@ bool eprosima::test::KeyedCompleteTestType::operator ==( m_unbounded_sequence_struct_field == x.m_unbounded_sequence_struct_field); } -bool eprosima::test::KeyedCompleteTestType::operator !=( +bool KeyedCompleteTestType::operator !=( const KeyedCompleteTestType& x) const { return !(*this == x); @@ -4069,7 +4077,7 @@ bool eprosima::test::KeyedCompleteTestType::operator !=( * @brief This function sets a value in member id * @param _id New value for member id */ -void eprosima::test::KeyedCompleteTestType::id( +void KeyedCompleteTestType::id( int32_t _id) { m_id = _id; @@ -4079,7 +4087,7 @@ void eprosima::test::KeyedCompleteTestType::id( * @brief This function returns the value of member id * @return Value of member id */ -int32_t eprosima::test::KeyedCompleteTestType::id() const +int32_t KeyedCompleteTestType::id() const { return m_id; } @@ -4088,7 +4096,7 @@ int32_t eprosima::test::KeyedCompleteTestType::id() const * @brief This function returns a reference to member id * @return Reference to member id */ -int32_t& eprosima::test::KeyedCompleteTestType::id() +int32_t& KeyedCompleteTestType::id() { return m_id; } @@ -4098,7 +4106,7 @@ int32_t& eprosima::test::KeyedCompleteTestType::id() * @brief This function sets a value in member char_field * @param _char_field New value for member char_field */ -void eprosima::test::KeyedCompleteTestType::char_field( +void KeyedCompleteTestType::char_field( char _char_field) { m_char_field = _char_field; @@ -4108,7 +4116,7 @@ void eprosima::test::KeyedCompleteTestType::char_field( * @brief This function returns the value of member char_field * @return Value of member char_field */ -char eprosima::test::KeyedCompleteTestType::char_field() const +char KeyedCompleteTestType::char_field() const { return m_char_field; } @@ -4117,7 +4125,7 @@ char eprosima::test::KeyedCompleteTestType::char_field() const * @brief This function returns a reference to member char_field * @return Reference to member char_field */ -char& eprosima::test::KeyedCompleteTestType::char_field() +char& KeyedCompleteTestType::char_field() { return m_char_field; } @@ -4127,7 +4135,7 @@ char& eprosima::test::KeyedCompleteTestType::char_field() * @brief This function sets a value in member uint8_field * @param _uint8_field New value for member uint8_field */ -void eprosima::test::KeyedCompleteTestType::uint8_field( +void KeyedCompleteTestType::uint8_field( uint8_t _uint8_field) { m_uint8_field = _uint8_field; @@ -4137,7 +4145,7 @@ void eprosima::test::KeyedCompleteTestType::uint8_field( * @brief This function returns the value of member uint8_field * @return Value of member uint8_field */ -uint8_t eprosima::test::KeyedCompleteTestType::uint8_field() const +uint8_t KeyedCompleteTestType::uint8_field() const { return m_uint8_field; } @@ -4146,7 +4154,7 @@ uint8_t eprosima::test::KeyedCompleteTestType::uint8_field() const * @brief This function returns a reference to member uint8_field * @return Reference to member uint8_field */ -uint8_t& eprosima::test::KeyedCompleteTestType::uint8_field() +uint8_t& KeyedCompleteTestType::uint8_field() { return m_uint8_field; } @@ -4156,7 +4164,7 @@ uint8_t& eprosima::test::KeyedCompleteTestType::uint8_field() * @brief This function sets a value in member int16_field * @param _int16_field New value for member int16_field */ -void eprosima::test::KeyedCompleteTestType::int16_field( +void KeyedCompleteTestType::int16_field( int16_t _int16_field) { m_int16_field = _int16_field; @@ -4166,7 +4174,7 @@ void eprosima::test::KeyedCompleteTestType::int16_field( * @brief This function returns the value of member int16_field * @return Value of member int16_field */ -int16_t eprosima::test::KeyedCompleteTestType::int16_field() const +int16_t KeyedCompleteTestType::int16_field() const { return m_int16_field; } @@ -4175,7 +4183,7 @@ int16_t eprosima::test::KeyedCompleteTestType::int16_field() const * @brief This function returns a reference to member int16_field * @return Reference to member int16_field */ -int16_t& eprosima::test::KeyedCompleteTestType::int16_field() +int16_t& KeyedCompleteTestType::int16_field() { return m_int16_field; } @@ -4185,7 +4193,7 @@ int16_t& eprosima::test::KeyedCompleteTestType::int16_field() * @brief This function sets a value in member uint16_field * @param _uint16_field New value for member uint16_field */ -void eprosima::test::KeyedCompleteTestType::uint16_field( +void KeyedCompleteTestType::uint16_field( uint16_t _uint16_field) { m_uint16_field = _uint16_field; @@ -4195,7 +4203,7 @@ void eprosima::test::KeyedCompleteTestType::uint16_field( * @brief This function returns the value of member uint16_field * @return Value of member uint16_field */ -uint16_t eprosima::test::KeyedCompleteTestType::uint16_field() const +uint16_t KeyedCompleteTestType::uint16_field() const { return m_uint16_field; } @@ -4204,7 +4212,7 @@ uint16_t eprosima::test::KeyedCompleteTestType::uint16_field() const * @brief This function returns a reference to member uint16_field * @return Reference to member uint16_field */ -uint16_t& eprosima::test::KeyedCompleteTestType::uint16_field() +uint16_t& KeyedCompleteTestType::uint16_field() { return m_uint16_field; } @@ -4214,7 +4222,7 @@ uint16_t& eprosima::test::KeyedCompleteTestType::uint16_field() * @brief This function sets a value in member int32_field * @param _int32_field New value for member int32_field */ -void eprosima::test::KeyedCompleteTestType::int32_field( +void KeyedCompleteTestType::int32_field( int32_t _int32_field) { m_int32_field = _int32_field; @@ -4224,7 +4232,7 @@ void eprosima::test::KeyedCompleteTestType::int32_field( * @brief This function returns the value of member int32_field * @return Value of member int32_field */ -int32_t eprosima::test::KeyedCompleteTestType::int32_field() const +int32_t KeyedCompleteTestType::int32_field() const { return m_int32_field; } @@ -4233,7 +4241,7 @@ int32_t eprosima::test::KeyedCompleteTestType::int32_field() const * @brief This function returns a reference to member int32_field * @return Reference to member int32_field */ -int32_t& eprosima::test::KeyedCompleteTestType::int32_field() +int32_t& KeyedCompleteTestType::int32_field() { return m_int32_field; } @@ -4243,7 +4251,7 @@ int32_t& eprosima::test::KeyedCompleteTestType::int32_field() * @brief This function sets a value in member uint32_field * @param _uint32_field New value for member uint32_field */ -void eprosima::test::KeyedCompleteTestType::uint32_field( +void KeyedCompleteTestType::uint32_field( uint32_t _uint32_field) { m_uint32_field = _uint32_field; @@ -4253,7 +4261,7 @@ void eprosima::test::KeyedCompleteTestType::uint32_field( * @brief This function returns the value of member uint32_field * @return Value of member uint32_field */ -uint32_t eprosima::test::KeyedCompleteTestType::uint32_field() const +uint32_t KeyedCompleteTestType::uint32_field() const { return m_uint32_field; } @@ -4262,7 +4270,7 @@ uint32_t eprosima::test::KeyedCompleteTestType::uint32_field() const * @brief This function returns a reference to member uint32_field * @return Reference to member uint32_field */ -uint32_t& eprosima::test::KeyedCompleteTestType::uint32_field() +uint32_t& KeyedCompleteTestType::uint32_field() { return m_uint32_field; } @@ -4272,7 +4280,7 @@ uint32_t& eprosima::test::KeyedCompleteTestType::uint32_field() * @brief This function sets a value in member int64_field * @param _int64_field New value for member int64_field */ -void eprosima::test::KeyedCompleteTestType::int64_field( +void KeyedCompleteTestType::int64_field( int64_t _int64_field) { m_int64_field = _int64_field; @@ -4282,7 +4290,7 @@ void eprosima::test::KeyedCompleteTestType::int64_field( * @brief This function returns the value of member int64_field * @return Value of member int64_field */ -int64_t eprosima::test::KeyedCompleteTestType::int64_field() const +int64_t KeyedCompleteTestType::int64_field() const { return m_int64_field; } @@ -4291,7 +4299,7 @@ int64_t eprosima::test::KeyedCompleteTestType::int64_field() const * @brief This function returns a reference to member int64_field * @return Reference to member int64_field */ -int64_t& eprosima::test::KeyedCompleteTestType::int64_field() +int64_t& KeyedCompleteTestType::int64_field() { return m_int64_field; } @@ -4301,7 +4309,7 @@ int64_t& eprosima::test::KeyedCompleteTestType::int64_field() * @brief This function sets a value in member uint64_field * @param _uint64_field New value for member uint64_field */ -void eprosima::test::KeyedCompleteTestType::uint64_field( +void KeyedCompleteTestType::uint64_field( uint64_t _uint64_field) { m_uint64_field = _uint64_field; @@ -4311,7 +4319,7 @@ void eprosima::test::KeyedCompleteTestType::uint64_field( * @brief This function returns the value of member uint64_field * @return Value of member uint64_field */ -uint64_t eprosima::test::KeyedCompleteTestType::uint64_field() const +uint64_t KeyedCompleteTestType::uint64_field() const { return m_uint64_field; } @@ -4320,7 +4328,7 @@ uint64_t eprosima::test::KeyedCompleteTestType::uint64_field() const * @brief This function returns a reference to member uint64_field * @return Reference to member uint64_field */ -uint64_t& eprosima::test::KeyedCompleteTestType::uint64_field() +uint64_t& KeyedCompleteTestType::uint64_field() { return m_uint64_field; } @@ -4330,7 +4338,7 @@ uint64_t& eprosima::test::KeyedCompleteTestType::uint64_field() * @brief This function sets a value in member float_field * @param _float_field New value for member float_field */ -void eprosima::test::KeyedCompleteTestType::float_field( +void KeyedCompleteTestType::float_field( float _float_field) { m_float_field = _float_field; @@ -4340,7 +4348,7 @@ void eprosima::test::KeyedCompleteTestType::float_field( * @brief This function returns the value of member float_field * @return Value of member float_field */ -float eprosima::test::KeyedCompleteTestType::float_field() const +float KeyedCompleteTestType::float_field() const { return m_float_field; } @@ -4349,7 +4357,7 @@ float eprosima::test::KeyedCompleteTestType::float_field() const * @brief This function returns a reference to member float_field * @return Reference to member float_field */ -float& eprosima::test::KeyedCompleteTestType::float_field() +float& KeyedCompleteTestType::float_field() { return m_float_field; } @@ -4359,7 +4367,7 @@ float& eprosima::test::KeyedCompleteTestType::float_field() * @brief This function sets a value in member double_field * @param _double_field New value for member double_field */ -void eprosima::test::KeyedCompleteTestType::double_field( +void KeyedCompleteTestType::double_field( double _double_field) { m_double_field = _double_field; @@ -4369,7 +4377,7 @@ void eprosima::test::KeyedCompleteTestType::double_field( * @brief This function returns the value of member double_field * @return Value of member double_field */ -double eprosima::test::KeyedCompleteTestType::double_field() const +double KeyedCompleteTestType::double_field() const { return m_double_field; } @@ -4378,7 +4386,7 @@ double eprosima::test::KeyedCompleteTestType::double_field() const * @brief This function returns a reference to member double_field * @return Reference to member double_field */ -double& eprosima::test::KeyedCompleteTestType::double_field() +double& KeyedCompleteTestType::double_field() { return m_double_field; } @@ -4388,7 +4396,7 @@ double& eprosima::test::KeyedCompleteTestType::double_field() * @brief This function sets a value in member bool_field * @param _bool_field New value for member bool_field */ -void eprosima::test::KeyedCompleteTestType::bool_field( +void KeyedCompleteTestType::bool_field( bool _bool_field) { m_bool_field = _bool_field; @@ -4398,7 +4406,7 @@ void eprosima::test::KeyedCompleteTestType::bool_field( * @brief This function returns the value of member bool_field * @return Value of member bool_field */ -bool eprosima::test::KeyedCompleteTestType::bool_field() const +bool KeyedCompleteTestType::bool_field() const { return m_bool_field; } @@ -4407,7 +4415,7 @@ bool eprosima::test::KeyedCompleteTestType::bool_field() const * @brief This function returns a reference to member bool_field * @return Reference to member bool_field */ -bool& eprosima::test::KeyedCompleteTestType::bool_field() +bool& KeyedCompleteTestType::bool_field() { return m_bool_field; } @@ -4417,7 +4425,7 @@ bool& eprosima::test::KeyedCompleteTestType::bool_field() * @brief This function copies the value in member string_field * @param _string_field New value to be copied in member string_field */ -void eprosima::test::KeyedCompleteTestType::string_field( +void KeyedCompleteTestType::string_field( const std::string& _string_field) { m_string_field = _string_field; @@ -4427,7 +4435,7 @@ void eprosima::test::KeyedCompleteTestType::string_field( * @brief This function moves the value in member string_field * @param _string_field New value to be moved in member string_field */ -void eprosima::test::KeyedCompleteTestType::string_field( +void KeyedCompleteTestType::string_field( std::string&& _string_field) { m_string_field = std::move(_string_field); @@ -4437,7 +4445,7 @@ void eprosima::test::KeyedCompleteTestType::string_field( * @brief This function returns a constant reference to member string_field * @return Constant reference to member string_field */ -const std::string& eprosima::test::KeyedCompleteTestType::string_field() const +const std::string& KeyedCompleteTestType::string_field() const { return m_string_field; } @@ -4446,7 +4454,7 @@ const std::string& eprosima::test::KeyedCompleteTestType::string_field() const * @brief This function returns a reference to member string_field * @return Reference to member string_field */ -std::string& eprosima::test::KeyedCompleteTestType::string_field() +std::string& KeyedCompleteTestType::string_field() { return m_string_field; } @@ -4456,7 +4464,7 @@ std::string& eprosima::test::KeyedCompleteTestType::string_field() * @brief This function sets a value in member enum_field * @param _enum_field New value for member enum_field */ -void eprosima::test::KeyedCompleteTestType::enum_field( +void KeyedCompleteTestType::enum_field( eprosima::test::Color _enum_field) { m_enum_field = _enum_field; @@ -4466,7 +4474,7 @@ void eprosima::test::KeyedCompleteTestType::enum_field( * @brief This function returns the value of member enum_field * @return Value of member enum_field */ -eprosima::test::Color eprosima::test::KeyedCompleteTestType::enum_field() const +eprosima::test::Color KeyedCompleteTestType::enum_field() const { return m_enum_field; } @@ -4475,7 +4483,7 @@ eprosima::test::Color eprosima::test::KeyedCompleteTestType::enum_field() const * @brief This function returns a reference to member enum_field * @return Reference to member enum_field */ -eprosima::test::Color& eprosima::test::KeyedCompleteTestType::enum_field() +eprosima::test::Color& KeyedCompleteTestType::enum_field() { return m_enum_field; } @@ -4485,7 +4493,7 @@ eprosima::test::Color& eprosima::test::KeyedCompleteTestType::enum_field() * @brief This function sets a value in member enum2_field * @param _enum2_field New value for member enum2_field */ -void eprosima::test::KeyedCompleteTestType::enum2_field( +void KeyedCompleteTestType::enum2_field( eprosima::test::Material _enum2_field) { m_enum2_field = _enum2_field; @@ -4495,7 +4503,7 @@ void eprosima::test::KeyedCompleteTestType::enum2_field( * @brief This function returns the value of member enum2_field * @return Value of member enum2_field */ -eprosima::test::Material eprosima::test::KeyedCompleteTestType::enum2_field() const +eprosima::test::Material KeyedCompleteTestType::enum2_field() const { return m_enum2_field; } @@ -4504,7 +4512,7 @@ eprosima::test::Material eprosima::test::KeyedCompleteTestType::enum2_field() co * @brief This function returns a reference to member enum2_field * @return Reference to member enum2_field */ -eprosima::test::Material& eprosima::test::KeyedCompleteTestType::enum2_field() +eprosima::test::Material& KeyedCompleteTestType::enum2_field() { return m_enum2_field; } @@ -4514,7 +4522,7 @@ eprosima::test::Material& eprosima::test::KeyedCompleteTestType::enum2_field() * @brief This function copies the value in member struct_field * @param _struct_field New value to be copied in member struct_field */ -void eprosima::test::KeyedCompleteTestType::struct_field( +void KeyedCompleteTestType::struct_field( const eprosima::test::StructType& _struct_field) { m_struct_field = _struct_field; @@ -4524,7 +4532,7 @@ void eprosima::test::KeyedCompleteTestType::struct_field( * @brief This function moves the value in member struct_field * @param _struct_field New value to be moved in member struct_field */ -void eprosima::test::KeyedCompleteTestType::struct_field( +void KeyedCompleteTestType::struct_field( eprosima::test::StructType&& _struct_field) { m_struct_field = std::move(_struct_field); @@ -4534,7 +4542,7 @@ void eprosima::test::KeyedCompleteTestType::struct_field( * @brief This function returns a constant reference to member struct_field * @return Constant reference to member struct_field */ -const eprosima::test::StructType& eprosima::test::KeyedCompleteTestType::struct_field() const +const eprosima::test::StructType& KeyedCompleteTestType::struct_field() const { return m_struct_field; } @@ -4543,7 +4551,7 @@ const eprosima::test::StructType& eprosima::test::KeyedCompleteTestType::struct_ * @brief This function returns a reference to member struct_field * @return Reference to member struct_field */ -eprosima::test::StructType& eprosima::test::KeyedCompleteTestType::struct_field() +eprosima::test::StructType& KeyedCompleteTestType::struct_field() { return m_struct_field; } @@ -4553,7 +4561,7 @@ eprosima::test::StructType& eprosima::test::KeyedCompleteTestType::struct_field( * @brief This function copies the value in member char_opt_field * @param _char_opt_field New value to be copied in member char_opt_field */ -void eprosima::test::KeyedCompleteTestType::char_opt_field( +void KeyedCompleteTestType::char_opt_field( const eprosima::fastcdr::optional& _char_opt_field) { m_char_opt_field = _char_opt_field; @@ -4563,7 +4571,7 @@ void eprosima::test::KeyedCompleteTestType::char_opt_field( * @brief This function moves the value in member char_opt_field * @param _char_opt_field New value to be moved in member char_opt_field */ -void eprosima::test::KeyedCompleteTestType::char_opt_field( +void KeyedCompleteTestType::char_opt_field( eprosima::fastcdr::optional&& _char_opt_field) { m_char_opt_field = std::move(_char_opt_field); @@ -4573,7 +4581,7 @@ void eprosima::test::KeyedCompleteTestType::char_opt_field( * @brief This function returns a constant reference to member char_opt_field * @return Constant reference to member char_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::char_opt_field() const +const eprosima::fastcdr::optional& KeyedCompleteTestType::char_opt_field() const { return m_char_opt_field; } @@ -4582,7 +4590,7 @@ const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType:: * @brief This function returns a reference to member char_opt_field * @return Reference to member char_opt_field */ -eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::char_opt_field() +eprosima::fastcdr::optional& KeyedCompleteTestType::char_opt_field() { return m_char_opt_field; } @@ -4592,7 +4600,7 @@ eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::char_o * @brief This function copies the value in member uint8_opt_field * @param _uint8_opt_field New value to be copied in member uint8_opt_field */ -void eprosima::test::KeyedCompleteTestType::uint8_opt_field( +void KeyedCompleteTestType::uint8_opt_field( const eprosima::fastcdr::optional& _uint8_opt_field) { m_uint8_opt_field = _uint8_opt_field; @@ -4602,7 +4610,7 @@ void eprosima::test::KeyedCompleteTestType::uint8_opt_field( * @brief This function moves the value in member uint8_opt_field * @param _uint8_opt_field New value to be moved in member uint8_opt_field */ -void eprosima::test::KeyedCompleteTestType::uint8_opt_field( +void KeyedCompleteTestType::uint8_opt_field( eprosima::fastcdr::optional&& _uint8_opt_field) { m_uint8_opt_field = std::move(_uint8_opt_field); @@ -4612,7 +4620,7 @@ void eprosima::test::KeyedCompleteTestType::uint8_opt_field( * @brief This function returns a constant reference to member uint8_opt_field * @return Constant reference to member uint8_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::uint8_opt_field() const +const eprosima::fastcdr::optional& KeyedCompleteTestType::uint8_opt_field() const { return m_uint8_opt_field; } @@ -4621,7 +4629,7 @@ const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestTyp * @brief This function returns a reference to member uint8_opt_field * @return Reference to member uint8_opt_field */ -eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::uint8_opt_field() +eprosima::fastcdr::optional& KeyedCompleteTestType::uint8_opt_field() { return m_uint8_opt_field; } @@ -4631,7 +4639,7 @@ eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::uin * @brief This function copies the value in member int16_opt_field * @param _int16_opt_field New value to be copied in member int16_opt_field */ -void eprosima::test::KeyedCompleteTestType::int16_opt_field( +void KeyedCompleteTestType::int16_opt_field( const eprosima::fastcdr::optional& _int16_opt_field) { m_int16_opt_field = _int16_opt_field; @@ -4641,7 +4649,7 @@ void eprosima::test::KeyedCompleteTestType::int16_opt_field( * @brief This function moves the value in member int16_opt_field * @param _int16_opt_field New value to be moved in member int16_opt_field */ -void eprosima::test::KeyedCompleteTestType::int16_opt_field( +void KeyedCompleteTestType::int16_opt_field( eprosima::fastcdr::optional&& _int16_opt_field) { m_int16_opt_field = std::move(_int16_opt_field); @@ -4651,7 +4659,7 @@ void eprosima::test::KeyedCompleteTestType::int16_opt_field( * @brief This function returns a constant reference to member int16_opt_field * @return Constant reference to member int16_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::int16_opt_field() const +const eprosima::fastcdr::optional& KeyedCompleteTestType::int16_opt_field() const { return m_int16_opt_field; } @@ -4660,7 +4668,7 @@ const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestTyp * @brief This function returns a reference to member int16_opt_field * @return Reference to member int16_opt_field */ -eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::int16_opt_field() +eprosima::fastcdr::optional& KeyedCompleteTestType::int16_opt_field() { return m_int16_opt_field; } @@ -4670,7 +4678,7 @@ eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::int * @brief This function copies the value in member uint16_opt_field * @param _uint16_opt_field New value to be copied in member uint16_opt_field */ -void eprosima::test::KeyedCompleteTestType::uint16_opt_field( +void KeyedCompleteTestType::uint16_opt_field( const eprosima::fastcdr::optional& _uint16_opt_field) { m_uint16_opt_field = _uint16_opt_field; @@ -4680,7 +4688,7 @@ void eprosima::test::KeyedCompleteTestType::uint16_opt_field( * @brief This function moves the value in member uint16_opt_field * @param _uint16_opt_field New value to be moved in member uint16_opt_field */ -void eprosima::test::KeyedCompleteTestType::uint16_opt_field( +void KeyedCompleteTestType::uint16_opt_field( eprosima::fastcdr::optional&& _uint16_opt_field) { m_uint16_opt_field = std::move(_uint16_opt_field); @@ -4690,7 +4698,7 @@ void eprosima::test::KeyedCompleteTestType::uint16_opt_field( * @brief This function returns a constant reference to member uint16_opt_field * @return Constant reference to member uint16_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::uint16_opt_field() const +const eprosima::fastcdr::optional& KeyedCompleteTestType::uint16_opt_field() const { return m_uint16_opt_field; } @@ -4699,7 +4707,7 @@ const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestTy * @brief This function returns a reference to member uint16_opt_field * @return Reference to member uint16_opt_field */ -eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::uint16_opt_field() +eprosima::fastcdr::optional& KeyedCompleteTestType::uint16_opt_field() { return m_uint16_opt_field; } @@ -4709,7 +4717,7 @@ eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::ui * @brief This function copies the value in member int32_opt_field * @param _int32_opt_field New value to be copied in member int32_opt_field */ -void eprosima::test::KeyedCompleteTestType::int32_opt_field( +void KeyedCompleteTestType::int32_opt_field( const eprosima::fastcdr::optional& _int32_opt_field) { m_int32_opt_field = _int32_opt_field; @@ -4719,7 +4727,7 @@ void eprosima::test::KeyedCompleteTestType::int32_opt_field( * @brief This function moves the value in member int32_opt_field * @param _int32_opt_field New value to be moved in member int32_opt_field */ -void eprosima::test::KeyedCompleteTestType::int32_opt_field( +void KeyedCompleteTestType::int32_opt_field( eprosima::fastcdr::optional&& _int32_opt_field) { m_int32_opt_field = std::move(_int32_opt_field); @@ -4729,7 +4737,7 @@ void eprosima::test::KeyedCompleteTestType::int32_opt_field( * @brief This function returns a constant reference to member int32_opt_field * @return Constant reference to member int32_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::int32_opt_field() const +const eprosima::fastcdr::optional& KeyedCompleteTestType::int32_opt_field() const { return m_int32_opt_field; } @@ -4738,7 +4746,7 @@ const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestTyp * @brief This function returns a reference to member int32_opt_field * @return Reference to member int32_opt_field */ -eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::int32_opt_field() +eprosima::fastcdr::optional& KeyedCompleteTestType::int32_opt_field() { return m_int32_opt_field; } @@ -4748,7 +4756,7 @@ eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::int * @brief This function copies the value in member uint32_opt_field * @param _uint32_opt_field New value to be copied in member uint32_opt_field */ -void eprosima::test::KeyedCompleteTestType::uint32_opt_field( +void KeyedCompleteTestType::uint32_opt_field( const eprosima::fastcdr::optional& _uint32_opt_field) { m_uint32_opt_field = _uint32_opt_field; @@ -4758,7 +4766,7 @@ void eprosima::test::KeyedCompleteTestType::uint32_opt_field( * @brief This function moves the value in member uint32_opt_field * @param _uint32_opt_field New value to be moved in member uint32_opt_field */ -void eprosima::test::KeyedCompleteTestType::uint32_opt_field( +void KeyedCompleteTestType::uint32_opt_field( eprosima::fastcdr::optional&& _uint32_opt_field) { m_uint32_opt_field = std::move(_uint32_opt_field); @@ -4768,7 +4776,7 @@ void eprosima::test::KeyedCompleteTestType::uint32_opt_field( * @brief This function returns a constant reference to member uint32_opt_field * @return Constant reference to member uint32_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::uint32_opt_field() const +const eprosima::fastcdr::optional& KeyedCompleteTestType::uint32_opt_field() const { return m_uint32_opt_field; } @@ -4777,7 +4785,7 @@ const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestTy * @brief This function returns a reference to member uint32_opt_field * @return Reference to member uint32_opt_field */ -eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::uint32_opt_field() +eprosima::fastcdr::optional& KeyedCompleteTestType::uint32_opt_field() { return m_uint32_opt_field; } @@ -4787,7 +4795,7 @@ eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::ui * @brief This function copies the value in member int64_opt_field * @param _int64_opt_field New value to be copied in member int64_opt_field */ -void eprosima::test::KeyedCompleteTestType::int64_opt_field( +void KeyedCompleteTestType::int64_opt_field( const eprosima::fastcdr::optional& _int64_opt_field) { m_int64_opt_field = _int64_opt_field; @@ -4797,7 +4805,7 @@ void eprosima::test::KeyedCompleteTestType::int64_opt_field( * @brief This function moves the value in member int64_opt_field * @param _int64_opt_field New value to be moved in member int64_opt_field */ -void eprosima::test::KeyedCompleteTestType::int64_opt_field( +void KeyedCompleteTestType::int64_opt_field( eprosima::fastcdr::optional&& _int64_opt_field) { m_int64_opt_field = std::move(_int64_opt_field); @@ -4807,7 +4815,7 @@ void eprosima::test::KeyedCompleteTestType::int64_opt_field( * @brief This function returns a constant reference to member int64_opt_field * @return Constant reference to member int64_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::int64_opt_field() const +const eprosima::fastcdr::optional& KeyedCompleteTestType::int64_opt_field() const { return m_int64_opt_field; } @@ -4816,7 +4824,7 @@ const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestTyp * @brief This function returns a reference to member int64_opt_field * @return Reference to member int64_opt_field */ -eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::int64_opt_field() +eprosima::fastcdr::optional& KeyedCompleteTestType::int64_opt_field() { return m_int64_opt_field; } @@ -4826,7 +4834,7 @@ eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::int * @brief This function copies the value in member uint64_opt_field * @param _uint64_opt_field New value to be copied in member uint64_opt_field */ -void eprosima::test::KeyedCompleteTestType::uint64_opt_field( +void KeyedCompleteTestType::uint64_opt_field( const eprosima::fastcdr::optional& _uint64_opt_field) { m_uint64_opt_field = _uint64_opt_field; @@ -4836,7 +4844,7 @@ void eprosima::test::KeyedCompleteTestType::uint64_opt_field( * @brief This function moves the value in member uint64_opt_field * @param _uint64_opt_field New value to be moved in member uint64_opt_field */ -void eprosima::test::KeyedCompleteTestType::uint64_opt_field( +void KeyedCompleteTestType::uint64_opt_field( eprosima::fastcdr::optional&& _uint64_opt_field) { m_uint64_opt_field = std::move(_uint64_opt_field); @@ -4846,7 +4854,7 @@ void eprosima::test::KeyedCompleteTestType::uint64_opt_field( * @brief This function returns a constant reference to member uint64_opt_field * @return Constant reference to member uint64_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::uint64_opt_field() const +const eprosima::fastcdr::optional& KeyedCompleteTestType::uint64_opt_field() const { return m_uint64_opt_field; } @@ -4855,7 +4863,7 @@ const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestTy * @brief This function returns a reference to member uint64_opt_field * @return Reference to member uint64_opt_field */ -eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::uint64_opt_field() +eprosima::fastcdr::optional& KeyedCompleteTestType::uint64_opt_field() { return m_uint64_opt_field; } @@ -4865,7 +4873,7 @@ eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::ui * @brief This function copies the value in member float_opt_field * @param _float_opt_field New value to be copied in member float_opt_field */ -void eprosima::test::KeyedCompleteTestType::float_opt_field( +void KeyedCompleteTestType::float_opt_field( const eprosima::fastcdr::optional& _float_opt_field) { m_float_opt_field = _float_opt_field; @@ -4875,7 +4883,7 @@ void eprosima::test::KeyedCompleteTestType::float_opt_field( * @brief This function moves the value in member float_opt_field * @param _float_opt_field New value to be moved in member float_opt_field */ -void eprosima::test::KeyedCompleteTestType::float_opt_field( +void KeyedCompleteTestType::float_opt_field( eprosima::fastcdr::optional&& _float_opt_field) { m_float_opt_field = std::move(_float_opt_field); @@ -4885,7 +4893,7 @@ void eprosima::test::KeyedCompleteTestType::float_opt_field( * @brief This function returns a constant reference to member float_opt_field * @return Constant reference to member float_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::float_opt_field() const +const eprosima::fastcdr::optional& KeyedCompleteTestType::float_opt_field() const { return m_float_opt_field; } @@ -4894,7 +4902,7 @@ const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType: * @brief This function returns a reference to member float_opt_field * @return Reference to member float_opt_field */ -eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::float_opt_field() +eprosima::fastcdr::optional& KeyedCompleteTestType::float_opt_field() { return m_float_opt_field; } @@ -4904,7 +4912,7 @@ eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::float * @brief This function copies the value in member double_opt_field * @param _double_opt_field New value to be copied in member double_opt_field */ -void eprosima::test::KeyedCompleteTestType::double_opt_field( +void KeyedCompleteTestType::double_opt_field( const eprosima::fastcdr::optional& _double_opt_field) { m_double_opt_field = _double_opt_field; @@ -4914,7 +4922,7 @@ void eprosima::test::KeyedCompleteTestType::double_opt_field( * @brief This function moves the value in member double_opt_field * @param _double_opt_field New value to be moved in member double_opt_field */ -void eprosima::test::KeyedCompleteTestType::double_opt_field( +void KeyedCompleteTestType::double_opt_field( eprosima::fastcdr::optional&& _double_opt_field) { m_double_opt_field = std::move(_double_opt_field); @@ -4924,7 +4932,7 @@ void eprosima::test::KeyedCompleteTestType::double_opt_field( * @brief This function returns a constant reference to member double_opt_field * @return Constant reference to member double_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::double_opt_field() const +const eprosima::fastcdr::optional& KeyedCompleteTestType::double_opt_field() const { return m_double_opt_field; } @@ -4933,7 +4941,7 @@ const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType * @brief This function returns a reference to member double_opt_field * @return Reference to member double_opt_field */ -eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::double_opt_field() +eprosima::fastcdr::optional& KeyedCompleteTestType::double_opt_field() { return m_double_opt_field; } @@ -4943,7 +4951,7 @@ eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::doub * @brief This function copies the value in member bool_opt_field * @param _bool_opt_field New value to be copied in member bool_opt_field */ -void eprosima::test::KeyedCompleteTestType::bool_opt_field( +void KeyedCompleteTestType::bool_opt_field( const eprosima::fastcdr::optional& _bool_opt_field) { m_bool_opt_field = _bool_opt_field; @@ -4953,7 +4961,7 @@ void eprosima::test::KeyedCompleteTestType::bool_opt_field( * @brief This function moves the value in member bool_opt_field * @param _bool_opt_field New value to be moved in member bool_opt_field */ -void eprosima::test::KeyedCompleteTestType::bool_opt_field( +void KeyedCompleteTestType::bool_opt_field( eprosima::fastcdr::optional&& _bool_opt_field) { m_bool_opt_field = std::move(_bool_opt_field); @@ -4963,7 +4971,7 @@ void eprosima::test::KeyedCompleteTestType::bool_opt_field( * @brief This function returns a constant reference to member bool_opt_field * @return Constant reference to member bool_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::bool_opt_field() const +const eprosima::fastcdr::optional& KeyedCompleteTestType::bool_opt_field() const { return m_bool_opt_field; } @@ -4972,7 +4980,7 @@ const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType:: * @brief This function returns a reference to member bool_opt_field * @return Reference to member bool_opt_field */ -eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::bool_opt_field() +eprosima::fastcdr::optional& KeyedCompleteTestType::bool_opt_field() { return m_bool_opt_field; } @@ -4982,7 +4990,7 @@ eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::bool_o * @brief This function copies the value in member string_opt_field * @param _string_opt_field New value to be copied in member string_opt_field */ -void eprosima::test::KeyedCompleteTestType::string_opt_field( +void KeyedCompleteTestType::string_opt_field( const eprosima::fastcdr::optional& _string_opt_field) { m_string_opt_field = _string_opt_field; @@ -4992,7 +5000,7 @@ void eprosima::test::KeyedCompleteTestType::string_opt_field( * @brief This function moves the value in member string_opt_field * @param _string_opt_field New value to be moved in member string_opt_field */ -void eprosima::test::KeyedCompleteTestType::string_opt_field( +void KeyedCompleteTestType::string_opt_field( eprosima::fastcdr::optional&& _string_opt_field) { m_string_opt_field = std::move(_string_opt_field); @@ -5002,7 +5010,7 @@ void eprosima::test::KeyedCompleteTestType::string_opt_field( * @brief This function returns a constant reference to member string_opt_field * @return Constant reference to member string_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::string_opt_field() const +const eprosima::fastcdr::optional& KeyedCompleteTestType::string_opt_field() const { return m_string_opt_field; } @@ -5011,7 +5019,7 @@ const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTes * @brief This function returns a reference to member string_opt_field * @return Reference to member string_opt_field */ -eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::string_opt_field() +eprosima::fastcdr::optional& KeyedCompleteTestType::string_opt_field() { return m_string_opt_field; } @@ -5021,7 +5029,7 @@ eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType: * @brief This function copies the value in member enum_opt_field * @param _enum_opt_field New value to be copied in member enum_opt_field */ -void eprosima::test::KeyedCompleteTestType::enum_opt_field( +void KeyedCompleteTestType::enum_opt_field( const eprosima::fastcdr::optional& _enum_opt_field) { m_enum_opt_field = _enum_opt_field; @@ -5031,7 +5039,7 @@ void eprosima::test::KeyedCompleteTestType::enum_opt_field( * @brief This function moves the value in member enum_opt_field * @param _enum_opt_field New value to be moved in member enum_opt_field */ -void eprosima::test::KeyedCompleteTestType::enum_opt_field( +void KeyedCompleteTestType::enum_opt_field( eprosima::fastcdr::optional&& _enum_opt_field) { m_enum_opt_field = std::move(_enum_opt_field); @@ -5041,7 +5049,7 @@ void eprosima::test::KeyedCompleteTestType::enum_opt_field( * @brief This function returns a constant reference to member enum_opt_field * @return Constant reference to member enum_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::enum_opt_field() const +const eprosima::fastcdr::optional& KeyedCompleteTestType::enum_opt_field() const { return m_enum_opt_field; } @@ -5050,7 +5058,7 @@ const eprosima::fastcdr::optional& eprosima::test::KeyedC * @brief This function returns a reference to member enum_opt_field * @return Reference to member enum_opt_field */ -eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::enum_opt_field() +eprosima::fastcdr::optional& KeyedCompleteTestType::enum_opt_field() { return m_enum_opt_field; } @@ -5060,7 +5068,7 @@ eprosima::fastcdr::optional& eprosima::test::KeyedComplet * @brief This function copies the value in member enum2_opt_field * @param _enum2_opt_field New value to be copied in member enum2_opt_field */ -void eprosima::test::KeyedCompleteTestType::enum2_opt_field( +void KeyedCompleteTestType::enum2_opt_field( const eprosima::fastcdr::optional& _enum2_opt_field) { m_enum2_opt_field = _enum2_opt_field; @@ -5070,7 +5078,7 @@ void eprosima::test::KeyedCompleteTestType::enum2_opt_field( * @brief This function moves the value in member enum2_opt_field * @param _enum2_opt_field New value to be moved in member enum2_opt_field */ -void eprosima::test::KeyedCompleteTestType::enum2_opt_field( +void KeyedCompleteTestType::enum2_opt_field( eprosima::fastcdr::optional&& _enum2_opt_field) { m_enum2_opt_field = std::move(_enum2_opt_field); @@ -5080,7 +5088,7 @@ void eprosima::test::KeyedCompleteTestType::enum2_opt_field( * @brief This function returns a constant reference to member enum2_opt_field * @return Constant reference to member enum2_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::enum2_opt_field() const +const eprosima::fastcdr::optional& KeyedCompleteTestType::enum2_opt_field() const { return m_enum2_opt_field; } @@ -5089,7 +5097,7 @@ const eprosima::fastcdr::optional& eprosima::test::Key * @brief This function returns a reference to member enum2_opt_field * @return Reference to member enum2_opt_field */ -eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::enum2_opt_field() +eprosima::fastcdr::optional& KeyedCompleteTestType::enum2_opt_field() { return m_enum2_opt_field; } @@ -5099,7 +5107,7 @@ eprosima::fastcdr::optional& eprosima::test::KeyedComp * @brief This function copies the value in member struct_opt_field * @param _struct_opt_field New value to be copied in member struct_opt_field */ -void eprosima::test::KeyedCompleteTestType::struct_opt_field( +void KeyedCompleteTestType::struct_opt_field( const eprosima::fastcdr::optional& _struct_opt_field) { m_struct_opt_field = _struct_opt_field; @@ -5109,7 +5117,7 @@ void eprosima::test::KeyedCompleteTestType::struct_opt_field( * @brief This function moves the value in member struct_opt_field * @param _struct_opt_field New value to be moved in member struct_opt_field */ -void eprosima::test::KeyedCompleteTestType::struct_opt_field( +void KeyedCompleteTestType::struct_opt_field( eprosima::fastcdr::optional&& _struct_opt_field) { m_struct_opt_field = std::move(_struct_opt_field); @@ -5119,7 +5127,7 @@ void eprosima::test::KeyedCompleteTestType::struct_opt_field( * @brief This function returns a constant reference to member struct_opt_field * @return Constant reference to member struct_opt_field */ -const eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::struct_opt_field() const +const eprosima::fastcdr::optional& KeyedCompleteTestType::struct_opt_field() const { return m_struct_opt_field; } @@ -5128,7 +5136,7 @@ const eprosima::fastcdr::optional& eprosima::test::K * @brief This function returns a reference to member struct_opt_field * @return Reference to member struct_opt_field */ -eprosima::fastcdr::optional& eprosima::test::KeyedCompleteTestType::struct_opt_field() +eprosima::fastcdr::optional& KeyedCompleteTestType::struct_opt_field() { return m_struct_opt_field; } @@ -5138,8 +5146,8 @@ eprosima::fastcdr::optional& eprosima::test::KeyedCo * @brief This function copies the value in member array_char_field * @param _array_char_field New value to be copied in member array_char_field */ -void eprosima::test::KeyedCompleteTestType::array_char_field( - const std::array& _array_char_field) +void KeyedCompleteTestType::array_char_field( + const std::array& _array_char_field) { m_array_char_field = _array_char_field; } @@ -5148,8 +5156,8 @@ void eprosima::test::KeyedCompleteTestType::array_char_field( * @brief This function moves the value in member array_char_field * @param _array_char_field New value to be moved in member array_char_field */ -void eprosima::test::KeyedCompleteTestType::array_char_field( - std::array&& _array_char_field) +void KeyedCompleteTestType::array_char_field( + std::array&& _array_char_field) { m_array_char_field = std::move(_array_char_field); } @@ -5158,7 +5166,7 @@ void eprosima::test::KeyedCompleteTestType::array_char_field( * @brief This function returns a constant reference to member array_char_field * @return Constant reference to member array_char_field */ -const std::array& eprosima::test::KeyedCompleteTestType::array_char_field() const +const std::array& KeyedCompleteTestType::array_char_field() const { return m_array_char_field; } @@ -5167,7 +5175,7 @@ const std::array& eprosima::test::KeyedCompleteTestType::array_char_fie * @brief This function returns a reference to member array_char_field * @return Reference to member array_char_field */ -std::array& eprosima::test::KeyedCompleteTestType::array_char_field() +std::array& KeyedCompleteTestType::array_char_field() { return m_array_char_field; } @@ -5177,8 +5185,8 @@ std::array& eprosima::test::KeyedCompleteTestType::array_char_field() * @brief This function copies the value in member array_uint8_field * @param _array_uint8_field New value to be copied in member array_uint8_field */ -void eprosima::test::KeyedCompleteTestType::array_uint8_field( - const std::array& _array_uint8_field) +void KeyedCompleteTestType::array_uint8_field( + const std::array& _array_uint8_field) { m_array_uint8_field = _array_uint8_field; } @@ -5187,8 +5195,8 @@ void eprosima::test::KeyedCompleteTestType::array_uint8_field( * @brief This function moves the value in member array_uint8_field * @param _array_uint8_field New value to be moved in member array_uint8_field */ -void eprosima::test::KeyedCompleteTestType::array_uint8_field( - std::array&& _array_uint8_field) +void KeyedCompleteTestType::array_uint8_field( + std::array&& _array_uint8_field) { m_array_uint8_field = std::move(_array_uint8_field); } @@ -5197,7 +5205,7 @@ void eprosima::test::KeyedCompleteTestType::array_uint8_field( * @brief This function returns a constant reference to member array_uint8_field * @return Constant reference to member array_uint8_field */ -const std::array& eprosima::test::KeyedCompleteTestType::array_uint8_field() const +const std::array& KeyedCompleteTestType::array_uint8_field() const { return m_array_uint8_field; } @@ -5206,7 +5214,7 @@ const std::array& eprosima::test::KeyedCompleteTestType::array_uint8 * @brief This function returns a reference to member array_uint8_field * @return Reference to member array_uint8_field */ -std::array& eprosima::test::KeyedCompleteTestType::array_uint8_field() +std::array& KeyedCompleteTestType::array_uint8_field() { return m_array_uint8_field; } @@ -5216,8 +5224,8 @@ std::array& eprosima::test::KeyedCompleteTestType::array_uint8_field * @brief This function copies the value in member array_int16_field * @param _array_int16_field New value to be copied in member array_int16_field */ -void eprosima::test::KeyedCompleteTestType::array_int16_field( - const std::array& _array_int16_field) +void KeyedCompleteTestType::array_int16_field( + const std::array& _array_int16_field) { m_array_int16_field = _array_int16_field; } @@ -5226,8 +5234,8 @@ void eprosima::test::KeyedCompleteTestType::array_int16_field( * @brief This function moves the value in member array_int16_field * @param _array_int16_field New value to be moved in member array_int16_field */ -void eprosima::test::KeyedCompleteTestType::array_int16_field( - std::array&& _array_int16_field) +void KeyedCompleteTestType::array_int16_field( + std::array&& _array_int16_field) { m_array_int16_field = std::move(_array_int16_field); } @@ -5236,7 +5244,7 @@ void eprosima::test::KeyedCompleteTestType::array_int16_field( * @brief This function returns a constant reference to member array_int16_field * @return Constant reference to member array_int16_field */ -const std::array& eprosima::test::KeyedCompleteTestType::array_int16_field() const +const std::array& KeyedCompleteTestType::array_int16_field() const { return m_array_int16_field; } @@ -5245,7 +5253,7 @@ const std::array& eprosima::test::KeyedCompleteTestType::array_int16 * @brief This function returns a reference to member array_int16_field * @return Reference to member array_int16_field */ -std::array& eprosima::test::KeyedCompleteTestType::array_int16_field() +std::array& KeyedCompleteTestType::array_int16_field() { return m_array_int16_field; } @@ -5255,8 +5263,8 @@ std::array& eprosima::test::KeyedCompleteTestType::array_int16_field * @brief This function copies the value in member array_uint16_field * @param _array_uint16_field New value to be copied in member array_uint16_field */ -void eprosima::test::KeyedCompleteTestType::array_uint16_field( - const std::array& _array_uint16_field) +void KeyedCompleteTestType::array_uint16_field( + const std::array& _array_uint16_field) { m_array_uint16_field = _array_uint16_field; } @@ -5265,8 +5273,8 @@ void eprosima::test::KeyedCompleteTestType::array_uint16_field( * @brief This function moves the value in member array_uint16_field * @param _array_uint16_field New value to be moved in member array_uint16_field */ -void eprosima::test::KeyedCompleteTestType::array_uint16_field( - std::array&& _array_uint16_field) +void KeyedCompleteTestType::array_uint16_field( + std::array&& _array_uint16_field) { m_array_uint16_field = std::move(_array_uint16_field); } @@ -5275,7 +5283,7 @@ void eprosima::test::KeyedCompleteTestType::array_uint16_field( * @brief This function returns a constant reference to member array_uint16_field * @return Constant reference to member array_uint16_field */ -const std::array& eprosima::test::KeyedCompleteTestType::array_uint16_field() const +const std::array& KeyedCompleteTestType::array_uint16_field() const { return m_array_uint16_field; } @@ -5284,7 +5292,7 @@ const std::array& eprosima::test::KeyedCompleteTestType::array_uint * @brief This function returns a reference to member array_uint16_field * @return Reference to member array_uint16_field */ -std::array& eprosima::test::KeyedCompleteTestType::array_uint16_field() +std::array& KeyedCompleteTestType::array_uint16_field() { return m_array_uint16_field; } @@ -5294,8 +5302,8 @@ std::array& eprosima::test::KeyedCompleteTestType::array_uint16_fie * @brief This function copies the value in member array_int32_field * @param _array_int32_field New value to be copied in member array_int32_field */ -void eprosima::test::KeyedCompleteTestType::array_int32_field( - const std::array& _array_int32_field) +void KeyedCompleteTestType::array_int32_field( + const std::array& _array_int32_field) { m_array_int32_field = _array_int32_field; } @@ -5304,8 +5312,8 @@ void eprosima::test::KeyedCompleteTestType::array_int32_field( * @brief This function moves the value in member array_int32_field * @param _array_int32_field New value to be moved in member array_int32_field */ -void eprosima::test::KeyedCompleteTestType::array_int32_field( - std::array&& _array_int32_field) +void KeyedCompleteTestType::array_int32_field( + std::array&& _array_int32_field) { m_array_int32_field = std::move(_array_int32_field); } @@ -5314,7 +5322,7 @@ void eprosima::test::KeyedCompleteTestType::array_int32_field( * @brief This function returns a constant reference to member array_int32_field * @return Constant reference to member array_int32_field */ -const std::array& eprosima::test::KeyedCompleteTestType::array_int32_field() const +const std::array& KeyedCompleteTestType::array_int32_field() const { return m_array_int32_field; } @@ -5323,7 +5331,7 @@ const std::array& eprosima::test::KeyedCompleteTestType::array_int32 * @brief This function returns a reference to member array_int32_field * @return Reference to member array_int32_field */ -std::array& eprosima::test::KeyedCompleteTestType::array_int32_field() +std::array& KeyedCompleteTestType::array_int32_field() { return m_array_int32_field; } @@ -5333,8 +5341,8 @@ std::array& eprosima::test::KeyedCompleteTestType::array_int32_field * @brief This function copies the value in member array_uint32_field * @param _array_uint32_field New value to be copied in member array_uint32_field */ -void eprosima::test::KeyedCompleteTestType::array_uint32_field( - const std::array& _array_uint32_field) +void KeyedCompleteTestType::array_uint32_field( + const std::array& _array_uint32_field) { m_array_uint32_field = _array_uint32_field; } @@ -5343,8 +5351,8 @@ void eprosima::test::KeyedCompleteTestType::array_uint32_field( * @brief This function moves the value in member array_uint32_field * @param _array_uint32_field New value to be moved in member array_uint32_field */ -void eprosima::test::KeyedCompleteTestType::array_uint32_field( - std::array&& _array_uint32_field) +void KeyedCompleteTestType::array_uint32_field( + std::array&& _array_uint32_field) { m_array_uint32_field = std::move(_array_uint32_field); } @@ -5353,7 +5361,7 @@ void eprosima::test::KeyedCompleteTestType::array_uint32_field( * @brief This function returns a constant reference to member array_uint32_field * @return Constant reference to member array_uint32_field */ -const std::array& eprosima::test::KeyedCompleteTestType::array_uint32_field() const +const std::array& KeyedCompleteTestType::array_uint32_field() const { return m_array_uint32_field; } @@ -5362,7 +5370,7 @@ const std::array& eprosima::test::KeyedCompleteTestType::array_uint * @brief This function returns a reference to member array_uint32_field * @return Reference to member array_uint32_field */ -std::array& eprosima::test::KeyedCompleteTestType::array_uint32_field() +std::array& KeyedCompleteTestType::array_uint32_field() { return m_array_uint32_field; } @@ -5372,8 +5380,8 @@ std::array& eprosima::test::KeyedCompleteTestType::array_uint32_fie * @brief This function copies the value in member array_int64_field * @param _array_int64_field New value to be copied in member array_int64_field */ -void eprosima::test::KeyedCompleteTestType::array_int64_field( - const std::array& _array_int64_field) +void KeyedCompleteTestType::array_int64_field( + const std::array& _array_int64_field) { m_array_int64_field = _array_int64_field; } @@ -5382,8 +5390,8 @@ void eprosima::test::KeyedCompleteTestType::array_int64_field( * @brief This function moves the value in member array_int64_field * @param _array_int64_field New value to be moved in member array_int64_field */ -void eprosima::test::KeyedCompleteTestType::array_int64_field( - std::array&& _array_int64_field) +void KeyedCompleteTestType::array_int64_field( + std::array&& _array_int64_field) { m_array_int64_field = std::move(_array_int64_field); } @@ -5392,7 +5400,7 @@ void eprosima::test::KeyedCompleteTestType::array_int64_field( * @brief This function returns a constant reference to member array_int64_field * @return Constant reference to member array_int64_field */ -const std::array& eprosima::test::KeyedCompleteTestType::array_int64_field() const +const std::array& KeyedCompleteTestType::array_int64_field() const { return m_array_int64_field; } @@ -5401,7 +5409,7 @@ const std::array& eprosima::test::KeyedCompleteTestType::array_int64 * @brief This function returns a reference to member array_int64_field * @return Reference to member array_int64_field */ -std::array& eprosima::test::KeyedCompleteTestType::array_int64_field() +std::array& KeyedCompleteTestType::array_int64_field() { return m_array_int64_field; } @@ -5411,8 +5419,8 @@ std::array& eprosima::test::KeyedCompleteTestType::array_int64_field * @brief This function copies the value in member array_uint64_field * @param _array_uint64_field New value to be copied in member array_uint64_field */ -void eprosima::test::KeyedCompleteTestType::array_uint64_field( - const std::array& _array_uint64_field) +void KeyedCompleteTestType::array_uint64_field( + const std::array& _array_uint64_field) { m_array_uint64_field = _array_uint64_field; } @@ -5421,8 +5429,8 @@ void eprosima::test::KeyedCompleteTestType::array_uint64_field( * @brief This function moves the value in member array_uint64_field * @param _array_uint64_field New value to be moved in member array_uint64_field */ -void eprosima::test::KeyedCompleteTestType::array_uint64_field( - std::array&& _array_uint64_field) +void KeyedCompleteTestType::array_uint64_field( + std::array&& _array_uint64_field) { m_array_uint64_field = std::move(_array_uint64_field); } @@ -5431,7 +5439,7 @@ void eprosima::test::KeyedCompleteTestType::array_uint64_field( * @brief This function returns a constant reference to member array_uint64_field * @return Constant reference to member array_uint64_field */ -const std::array& eprosima::test::KeyedCompleteTestType::array_uint64_field() const +const std::array& KeyedCompleteTestType::array_uint64_field() const { return m_array_uint64_field; } @@ -5440,7 +5448,7 @@ const std::array& eprosima::test::KeyedCompleteTestType::array_uint * @brief This function returns a reference to member array_uint64_field * @return Reference to member array_uint64_field */ -std::array& eprosima::test::KeyedCompleteTestType::array_uint64_field() +std::array& KeyedCompleteTestType::array_uint64_field() { return m_array_uint64_field; } @@ -5450,8 +5458,8 @@ std::array& eprosima::test::KeyedCompleteTestType::array_uint64_fie * @brief This function copies the value in member array_float_field * @param _array_float_field New value to be copied in member array_float_field */ -void eprosima::test::KeyedCompleteTestType::array_float_field( - const std::array& _array_float_field) +void KeyedCompleteTestType::array_float_field( + const std::array& _array_float_field) { m_array_float_field = _array_float_field; } @@ -5460,8 +5468,8 @@ void eprosima::test::KeyedCompleteTestType::array_float_field( * @brief This function moves the value in member array_float_field * @param _array_float_field New value to be moved in member array_float_field */ -void eprosima::test::KeyedCompleteTestType::array_float_field( - std::array&& _array_float_field) +void KeyedCompleteTestType::array_float_field( + std::array&& _array_float_field) { m_array_float_field = std::move(_array_float_field); } @@ -5470,7 +5478,7 @@ void eprosima::test::KeyedCompleteTestType::array_float_field( * @brief This function returns a constant reference to member array_float_field * @return Constant reference to member array_float_field */ -const std::array& eprosima::test::KeyedCompleteTestType::array_float_field() const +const std::array& KeyedCompleteTestType::array_float_field() const { return m_array_float_field; } @@ -5479,7 +5487,7 @@ const std::array& eprosima::test::KeyedCompleteTestType::array_float_f * @brief This function returns a reference to member array_float_field * @return Reference to member array_float_field */ -std::array& eprosima::test::KeyedCompleteTestType::array_float_field() +std::array& KeyedCompleteTestType::array_float_field() { return m_array_float_field; } @@ -5489,8 +5497,8 @@ std::array& eprosima::test::KeyedCompleteTestType::array_float_field() * @brief This function copies the value in member array_double_field * @param _array_double_field New value to be copied in member array_double_field */ -void eprosima::test::KeyedCompleteTestType::array_double_field( - const std::array& _array_double_field) +void KeyedCompleteTestType::array_double_field( + const std::array& _array_double_field) { m_array_double_field = _array_double_field; } @@ -5499,8 +5507,8 @@ void eprosima::test::KeyedCompleteTestType::array_double_field( * @brief This function moves the value in member array_double_field * @param _array_double_field New value to be moved in member array_double_field */ -void eprosima::test::KeyedCompleteTestType::array_double_field( - std::array&& _array_double_field) +void KeyedCompleteTestType::array_double_field( + std::array&& _array_double_field) { m_array_double_field = std::move(_array_double_field); } @@ -5509,7 +5517,7 @@ void eprosima::test::KeyedCompleteTestType::array_double_field( * @brief This function returns a constant reference to member array_double_field * @return Constant reference to member array_double_field */ -const std::array& eprosima::test::KeyedCompleteTestType::array_double_field() const +const std::array& KeyedCompleteTestType::array_double_field() const { return m_array_double_field; } @@ -5518,7 +5526,7 @@ const std::array& eprosima::test::KeyedCompleteTestType::array_double * @brief This function returns a reference to member array_double_field * @return Reference to member array_double_field */ -std::array& eprosima::test::KeyedCompleteTestType::array_double_field() +std::array& KeyedCompleteTestType::array_double_field() { return m_array_double_field; } @@ -5528,8 +5536,8 @@ std::array& eprosima::test::KeyedCompleteTestType::array_double_field * @brief This function copies the value in member array_bool_field * @param _array_bool_field New value to be copied in member array_bool_field */ -void eprosima::test::KeyedCompleteTestType::array_bool_field( - const std::array& _array_bool_field) +void KeyedCompleteTestType::array_bool_field( + const std::array& _array_bool_field) { m_array_bool_field = _array_bool_field; } @@ -5538,8 +5546,8 @@ void eprosima::test::KeyedCompleteTestType::array_bool_field( * @brief This function moves the value in member array_bool_field * @param _array_bool_field New value to be moved in member array_bool_field */ -void eprosima::test::KeyedCompleteTestType::array_bool_field( - std::array&& _array_bool_field) +void KeyedCompleteTestType::array_bool_field( + std::array&& _array_bool_field) { m_array_bool_field = std::move(_array_bool_field); } @@ -5548,7 +5556,7 @@ void eprosima::test::KeyedCompleteTestType::array_bool_field( * @brief This function returns a constant reference to member array_bool_field * @return Constant reference to member array_bool_field */ -const std::array& eprosima::test::KeyedCompleteTestType::array_bool_field() const +const std::array& KeyedCompleteTestType::array_bool_field() const { return m_array_bool_field; } @@ -5557,7 +5565,7 @@ const std::array& eprosima::test::KeyedCompleteTestType::array_bool_fie * @brief This function returns a reference to member array_bool_field * @return Reference to member array_bool_field */ -std::array& eprosima::test::KeyedCompleteTestType::array_bool_field() +std::array& KeyedCompleteTestType::array_bool_field() { return m_array_bool_field; } @@ -5567,8 +5575,8 @@ std::array& eprosima::test::KeyedCompleteTestType::array_bool_field() * @brief This function copies the value in member array_enum_field * @param _array_enum_field New value to be copied in member array_enum_field */ -void eprosima::test::KeyedCompleteTestType::array_enum_field( - const std::array& _array_enum_field) +void KeyedCompleteTestType::array_enum_field( + const std::array& _array_enum_field) { m_array_enum_field = _array_enum_field; } @@ -5577,8 +5585,8 @@ void eprosima::test::KeyedCompleteTestType::array_enum_field( * @brief This function moves the value in member array_enum_field * @param _array_enum_field New value to be moved in member array_enum_field */ -void eprosima::test::KeyedCompleteTestType::array_enum_field( - std::array&& _array_enum_field) +void KeyedCompleteTestType::array_enum_field( + std::array&& _array_enum_field) { m_array_enum_field = std::move(_array_enum_field); } @@ -5587,7 +5595,7 @@ void eprosima::test::KeyedCompleteTestType::array_enum_field( * @brief This function returns a constant reference to member array_enum_field * @return Constant reference to member array_enum_field */ -const std::array& eprosima::test::KeyedCompleteTestType::array_enum_field() const +const std::array& KeyedCompleteTestType::array_enum_field() const { return m_array_enum_field; } @@ -5596,7 +5604,7 @@ const std::array& eprosima::test::KeyedCompleteTestTyp * @brief This function returns a reference to member array_enum_field * @return Reference to member array_enum_field */ -std::array& eprosima::test::KeyedCompleteTestType::array_enum_field() +std::array& KeyedCompleteTestType::array_enum_field() { return m_array_enum_field; } @@ -5606,8 +5614,8 @@ std::array& eprosima::test::KeyedCompleteTestType::arr * @brief This function copies the value in member array_enum2_field * @param _array_enum2_field New value to be copied in member array_enum2_field */ -void eprosima::test::KeyedCompleteTestType::array_enum2_field( - const std::array& _array_enum2_field) +void KeyedCompleteTestType::array_enum2_field( + const std::array& _array_enum2_field) { m_array_enum2_field = _array_enum2_field; } @@ -5616,8 +5624,8 @@ void eprosima::test::KeyedCompleteTestType::array_enum2_field( * @brief This function moves the value in member array_enum2_field * @param _array_enum2_field New value to be moved in member array_enum2_field */ -void eprosima::test::KeyedCompleteTestType::array_enum2_field( - std::array&& _array_enum2_field) +void KeyedCompleteTestType::array_enum2_field( + std::array&& _array_enum2_field) { m_array_enum2_field = std::move(_array_enum2_field); } @@ -5626,7 +5634,7 @@ void eprosima::test::KeyedCompleteTestType::array_enum2_field( * @brief This function returns a constant reference to member array_enum2_field * @return Constant reference to member array_enum2_field */ -const std::array& eprosima::test::KeyedCompleteTestType::array_enum2_field() const +const std::array& KeyedCompleteTestType::array_enum2_field() const { return m_array_enum2_field; } @@ -5635,7 +5643,7 @@ const std::array& eprosima::test::KeyedCompleteTest * @brief This function returns a reference to member array_enum2_field * @return Reference to member array_enum2_field */ -std::array& eprosima::test::KeyedCompleteTestType::array_enum2_field() +std::array& KeyedCompleteTestType::array_enum2_field() { return m_array_enum2_field; } @@ -5645,8 +5653,8 @@ std::array& eprosima::test::KeyedCompleteTestType:: * @brief This function copies the value in member array_struct_field * @param _array_struct_field New value to be copied in member array_struct_field */ -void eprosima::test::KeyedCompleteTestType::array_struct_field( - const std::array& _array_struct_field) +void KeyedCompleteTestType::array_struct_field( + const std::array& _array_struct_field) { m_array_struct_field = _array_struct_field; } @@ -5655,8 +5663,8 @@ void eprosima::test::KeyedCompleteTestType::array_struct_field( * @brief This function moves the value in member array_struct_field * @param _array_struct_field New value to be moved in member array_struct_field */ -void eprosima::test::KeyedCompleteTestType::array_struct_field( - std::array&& _array_struct_field) +void KeyedCompleteTestType::array_struct_field( + std::array&& _array_struct_field) { m_array_struct_field = std::move(_array_struct_field); } @@ -5665,7 +5673,7 @@ void eprosima::test::KeyedCompleteTestType::array_struct_field( * @brief This function returns a constant reference to member array_struct_field * @return Constant reference to member array_struct_field */ -const std::array& eprosima::test::KeyedCompleteTestType::array_struct_field() const +const std::array& KeyedCompleteTestType::array_struct_field() const { return m_array_struct_field; } @@ -5674,7 +5682,7 @@ const std::array& eprosima::test::KeyedCompleteTe * @brief This function returns a reference to member array_struct_field * @return Reference to member array_struct_field */ -std::array& eprosima::test::KeyedCompleteTestType::array_struct_field() +std::array& KeyedCompleteTestType::array_struct_field() { return m_array_struct_field; } @@ -5684,7 +5692,7 @@ std::array& eprosima::test::KeyedCompleteTestType * @brief This function copies the value in member bounded_sequence_char_field * @param _bounded_sequence_char_field New value to be copied in member bounded_sequence_char_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_char_field( +void KeyedCompleteTestType::bounded_sequence_char_field( const std::vector& _bounded_sequence_char_field) { m_bounded_sequence_char_field = _bounded_sequence_char_field; @@ -5694,7 +5702,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_char_field( * @brief This function moves the value in member bounded_sequence_char_field * @param _bounded_sequence_char_field New value to be moved in member bounded_sequence_char_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_char_field( +void KeyedCompleteTestType::bounded_sequence_char_field( std::vector&& _bounded_sequence_char_field) { m_bounded_sequence_char_field = std::move(_bounded_sequence_char_field); @@ -5704,7 +5712,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_char_field( * @brief This function returns a constant reference to member bounded_sequence_char_field * @return Constant reference to member bounded_sequence_char_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_char_field() const +const std::vector& KeyedCompleteTestType::bounded_sequence_char_field() const { return m_bounded_sequence_char_field; } @@ -5713,7 +5721,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence * @brief This function returns a reference to member bounded_sequence_char_field * @return Reference to member bounded_sequence_char_field */ -std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_char_field() +std::vector& KeyedCompleteTestType::bounded_sequence_char_field() { return m_bounded_sequence_char_field; } @@ -5723,7 +5731,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_char_ * @brief This function copies the value in member bounded_sequence_uint8_field * @param _bounded_sequence_uint8_field New value to be copied in member bounded_sequence_uint8_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint8_field( +void KeyedCompleteTestType::bounded_sequence_uint8_field( const std::vector& _bounded_sequence_uint8_field) { m_bounded_sequence_uint8_field = _bounded_sequence_uint8_field; @@ -5733,7 +5741,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint8_field( * @brief This function moves the value in member bounded_sequence_uint8_field * @param _bounded_sequence_uint8_field New value to be moved in member bounded_sequence_uint8_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint8_field( +void KeyedCompleteTestType::bounded_sequence_uint8_field( std::vector&& _bounded_sequence_uint8_field) { m_bounded_sequence_uint8_field = std::move(_bounded_sequence_uint8_field); @@ -5743,7 +5751,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint8_field( * @brief This function returns a constant reference to member bounded_sequence_uint8_field * @return Constant reference to member bounded_sequence_uint8_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_uint8_field() const +const std::vector& KeyedCompleteTestType::bounded_sequence_uint8_field() const { return m_bounded_sequence_uint8_field; } @@ -5752,7 +5760,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::bounded_seque * @brief This function returns a reference to member bounded_sequence_uint8_field * @return Reference to member bounded_sequence_uint8_field */ -std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_uint8_field() +std::vector& KeyedCompleteTestType::bounded_sequence_uint8_field() { return m_bounded_sequence_uint8_field; } @@ -5762,7 +5770,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_ui * @brief This function copies the value in member bounded_sequence_int16_field * @param _bounded_sequence_int16_field New value to be copied in member bounded_sequence_int16_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_int16_field( +void KeyedCompleteTestType::bounded_sequence_int16_field( const std::vector& _bounded_sequence_int16_field) { m_bounded_sequence_int16_field = _bounded_sequence_int16_field; @@ -5772,7 +5780,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_int16_field( * @brief This function moves the value in member bounded_sequence_int16_field * @param _bounded_sequence_int16_field New value to be moved in member bounded_sequence_int16_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_int16_field( +void KeyedCompleteTestType::bounded_sequence_int16_field( std::vector&& _bounded_sequence_int16_field) { m_bounded_sequence_int16_field = std::move(_bounded_sequence_int16_field); @@ -5782,7 +5790,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_int16_field( * @brief This function returns a constant reference to member bounded_sequence_int16_field * @return Constant reference to member bounded_sequence_int16_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_int16_field() const +const std::vector& KeyedCompleteTestType::bounded_sequence_int16_field() const { return m_bounded_sequence_int16_field; } @@ -5791,7 +5799,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::bounded_seque * @brief This function returns a reference to member bounded_sequence_int16_field * @return Reference to member bounded_sequence_int16_field */ -std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_int16_field() +std::vector& KeyedCompleteTestType::bounded_sequence_int16_field() { return m_bounded_sequence_int16_field; } @@ -5801,7 +5809,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_in * @brief This function copies the value in member bounded_sequence_uint16_field * @param _bounded_sequence_uint16_field New value to be copied in member bounded_sequence_uint16_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint16_field( +void KeyedCompleteTestType::bounded_sequence_uint16_field( const std::vector& _bounded_sequence_uint16_field) { m_bounded_sequence_uint16_field = _bounded_sequence_uint16_field; @@ -5811,7 +5819,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint16_field( * @brief This function moves the value in member bounded_sequence_uint16_field * @param _bounded_sequence_uint16_field New value to be moved in member bounded_sequence_uint16_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint16_field( +void KeyedCompleteTestType::bounded_sequence_uint16_field( std::vector&& _bounded_sequence_uint16_field) { m_bounded_sequence_uint16_field = std::move(_bounded_sequence_uint16_field); @@ -5821,7 +5829,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint16_field( * @brief This function returns a constant reference to member bounded_sequence_uint16_field * @return Constant reference to member bounded_sequence_uint16_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_uint16_field() const +const std::vector& KeyedCompleteTestType::bounded_sequence_uint16_field() const { return m_bounded_sequence_uint16_field; } @@ -5830,7 +5838,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequ * @brief This function returns a reference to member bounded_sequence_uint16_field * @return Reference to member bounded_sequence_uint16_field */ -std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_uint16_field() +std::vector& KeyedCompleteTestType::bounded_sequence_uint16_field() { return m_bounded_sequence_uint16_field; } @@ -5840,7 +5848,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_u * @brief This function copies the value in member bounded_sequence_int32_field * @param _bounded_sequence_int32_field New value to be copied in member bounded_sequence_int32_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_int32_field( +void KeyedCompleteTestType::bounded_sequence_int32_field( const std::vector& _bounded_sequence_int32_field) { m_bounded_sequence_int32_field = _bounded_sequence_int32_field; @@ -5850,7 +5858,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_int32_field( * @brief This function moves the value in member bounded_sequence_int32_field * @param _bounded_sequence_int32_field New value to be moved in member bounded_sequence_int32_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_int32_field( +void KeyedCompleteTestType::bounded_sequence_int32_field( std::vector&& _bounded_sequence_int32_field) { m_bounded_sequence_int32_field = std::move(_bounded_sequence_int32_field); @@ -5860,7 +5868,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_int32_field( * @brief This function returns a constant reference to member bounded_sequence_int32_field * @return Constant reference to member bounded_sequence_int32_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_int32_field() const +const std::vector& KeyedCompleteTestType::bounded_sequence_int32_field() const { return m_bounded_sequence_int32_field; } @@ -5869,7 +5877,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::bounded_seque * @brief This function returns a reference to member bounded_sequence_int32_field * @return Reference to member bounded_sequence_int32_field */ -std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_int32_field() +std::vector& KeyedCompleteTestType::bounded_sequence_int32_field() { return m_bounded_sequence_int32_field; } @@ -5879,7 +5887,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_in * @brief This function copies the value in member bounded_sequence_uint32_field * @param _bounded_sequence_uint32_field New value to be copied in member bounded_sequence_uint32_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint32_field( +void KeyedCompleteTestType::bounded_sequence_uint32_field( const std::vector& _bounded_sequence_uint32_field) { m_bounded_sequence_uint32_field = _bounded_sequence_uint32_field; @@ -5889,7 +5897,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint32_field( * @brief This function moves the value in member bounded_sequence_uint32_field * @param _bounded_sequence_uint32_field New value to be moved in member bounded_sequence_uint32_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint32_field( +void KeyedCompleteTestType::bounded_sequence_uint32_field( std::vector&& _bounded_sequence_uint32_field) { m_bounded_sequence_uint32_field = std::move(_bounded_sequence_uint32_field); @@ -5899,7 +5907,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint32_field( * @brief This function returns a constant reference to member bounded_sequence_uint32_field * @return Constant reference to member bounded_sequence_uint32_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_uint32_field() const +const std::vector& KeyedCompleteTestType::bounded_sequence_uint32_field() const { return m_bounded_sequence_uint32_field; } @@ -5908,7 +5916,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequ * @brief This function returns a reference to member bounded_sequence_uint32_field * @return Reference to member bounded_sequence_uint32_field */ -std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_uint32_field() +std::vector& KeyedCompleteTestType::bounded_sequence_uint32_field() { return m_bounded_sequence_uint32_field; } @@ -5918,7 +5926,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_u * @brief This function copies the value in member bounded_sequence_int64_field * @param _bounded_sequence_int64_field New value to be copied in member bounded_sequence_int64_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_int64_field( +void KeyedCompleteTestType::bounded_sequence_int64_field( const std::vector& _bounded_sequence_int64_field) { m_bounded_sequence_int64_field = _bounded_sequence_int64_field; @@ -5928,7 +5936,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_int64_field( * @brief This function moves the value in member bounded_sequence_int64_field * @param _bounded_sequence_int64_field New value to be moved in member bounded_sequence_int64_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_int64_field( +void KeyedCompleteTestType::bounded_sequence_int64_field( std::vector&& _bounded_sequence_int64_field) { m_bounded_sequence_int64_field = std::move(_bounded_sequence_int64_field); @@ -5938,7 +5946,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_int64_field( * @brief This function returns a constant reference to member bounded_sequence_int64_field * @return Constant reference to member bounded_sequence_int64_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_int64_field() const +const std::vector& KeyedCompleteTestType::bounded_sequence_int64_field() const { return m_bounded_sequence_int64_field; } @@ -5947,7 +5955,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::bounded_seque * @brief This function returns a reference to member bounded_sequence_int64_field * @return Reference to member bounded_sequence_int64_field */ -std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_int64_field() +std::vector& KeyedCompleteTestType::bounded_sequence_int64_field() { return m_bounded_sequence_int64_field; } @@ -5957,7 +5965,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_in * @brief This function copies the value in member bounded_sequence_uint64_field * @param _bounded_sequence_uint64_field New value to be copied in member bounded_sequence_uint64_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint64_field( +void KeyedCompleteTestType::bounded_sequence_uint64_field( const std::vector& _bounded_sequence_uint64_field) { m_bounded_sequence_uint64_field = _bounded_sequence_uint64_field; @@ -5967,7 +5975,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint64_field( * @brief This function moves the value in member bounded_sequence_uint64_field * @param _bounded_sequence_uint64_field New value to be moved in member bounded_sequence_uint64_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint64_field( +void KeyedCompleteTestType::bounded_sequence_uint64_field( std::vector&& _bounded_sequence_uint64_field) { m_bounded_sequence_uint64_field = std::move(_bounded_sequence_uint64_field); @@ -5977,7 +5985,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_uint64_field( * @brief This function returns a constant reference to member bounded_sequence_uint64_field * @return Constant reference to member bounded_sequence_uint64_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_uint64_field() const +const std::vector& KeyedCompleteTestType::bounded_sequence_uint64_field() const { return m_bounded_sequence_uint64_field; } @@ -5986,7 +5994,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequ * @brief This function returns a reference to member bounded_sequence_uint64_field * @return Reference to member bounded_sequence_uint64_field */ -std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_uint64_field() +std::vector& KeyedCompleteTestType::bounded_sequence_uint64_field() { return m_bounded_sequence_uint64_field; } @@ -5996,7 +6004,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_u * @brief This function copies the value in member bounded_sequence_float_field * @param _bounded_sequence_float_field New value to be copied in member bounded_sequence_float_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_float_field( +void KeyedCompleteTestType::bounded_sequence_float_field( const std::vector& _bounded_sequence_float_field) { m_bounded_sequence_float_field = _bounded_sequence_float_field; @@ -6006,7 +6014,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_float_field( * @brief This function moves the value in member bounded_sequence_float_field * @param _bounded_sequence_float_field New value to be moved in member bounded_sequence_float_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_float_field( +void KeyedCompleteTestType::bounded_sequence_float_field( std::vector&& _bounded_sequence_float_field) { m_bounded_sequence_float_field = std::move(_bounded_sequence_float_field); @@ -6016,7 +6024,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_float_field( * @brief This function returns a constant reference to member bounded_sequence_float_field * @return Constant reference to member bounded_sequence_float_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_float_field() const +const std::vector& KeyedCompleteTestType::bounded_sequence_float_field() const { return m_bounded_sequence_float_field; } @@ -6025,7 +6033,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequenc * @brief This function returns a reference to member bounded_sequence_float_field * @return Reference to member bounded_sequence_float_field */ -std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_float_field() +std::vector& KeyedCompleteTestType::bounded_sequence_float_field() { return m_bounded_sequence_float_field; } @@ -6035,7 +6043,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_floa * @brief This function copies the value in member bounded_sequence_double_field * @param _bounded_sequence_double_field New value to be copied in member bounded_sequence_double_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_double_field( +void KeyedCompleteTestType::bounded_sequence_double_field( const std::vector& _bounded_sequence_double_field) { m_bounded_sequence_double_field = _bounded_sequence_double_field; @@ -6045,7 +6053,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_double_field( * @brief This function moves the value in member bounded_sequence_double_field * @param _bounded_sequence_double_field New value to be moved in member bounded_sequence_double_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_double_field( +void KeyedCompleteTestType::bounded_sequence_double_field( std::vector&& _bounded_sequence_double_field) { m_bounded_sequence_double_field = std::move(_bounded_sequence_double_field); @@ -6055,7 +6063,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_double_field( * @brief This function returns a constant reference to member bounded_sequence_double_field * @return Constant reference to member bounded_sequence_double_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_double_field() const +const std::vector& KeyedCompleteTestType::bounded_sequence_double_field() const { return m_bounded_sequence_double_field; } @@ -6064,7 +6072,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequen * @brief This function returns a reference to member bounded_sequence_double_field * @return Reference to member bounded_sequence_double_field */ -std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_double_field() +std::vector& KeyedCompleteTestType::bounded_sequence_double_field() { return m_bounded_sequence_double_field; } @@ -6074,7 +6082,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_dou * @brief This function copies the value in member bounded_sequence_bool_field * @param _bounded_sequence_bool_field New value to be copied in member bounded_sequence_bool_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_bool_field( +void KeyedCompleteTestType::bounded_sequence_bool_field( const std::vector& _bounded_sequence_bool_field) { m_bounded_sequence_bool_field = _bounded_sequence_bool_field; @@ -6084,7 +6092,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_bool_field( * @brief This function moves the value in member bounded_sequence_bool_field * @param _bounded_sequence_bool_field New value to be moved in member bounded_sequence_bool_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_bool_field( +void KeyedCompleteTestType::bounded_sequence_bool_field( std::vector&& _bounded_sequence_bool_field) { m_bounded_sequence_bool_field = std::move(_bounded_sequence_bool_field); @@ -6094,7 +6102,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_bool_field( * @brief This function returns a constant reference to member bounded_sequence_bool_field * @return Constant reference to member bounded_sequence_bool_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_bool_field() const +const std::vector& KeyedCompleteTestType::bounded_sequence_bool_field() const { return m_bounded_sequence_bool_field; } @@ -6103,7 +6111,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence * @brief This function returns a reference to member bounded_sequence_bool_field * @return Reference to member bounded_sequence_bool_field */ -std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_bool_field() +std::vector& KeyedCompleteTestType::bounded_sequence_bool_field() { return m_bounded_sequence_bool_field; } @@ -6113,7 +6121,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_bool_ * @brief This function copies the value in member bounded_sequence_enum_field * @param _bounded_sequence_enum_field New value to be copied in member bounded_sequence_enum_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_enum_field( +void KeyedCompleteTestType::bounded_sequence_enum_field( const std::vector& _bounded_sequence_enum_field) { m_bounded_sequence_enum_field = _bounded_sequence_enum_field; @@ -6123,7 +6131,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_enum_field( * @brief This function moves the value in member bounded_sequence_enum_field * @param _bounded_sequence_enum_field New value to be moved in member bounded_sequence_enum_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_enum_field( +void KeyedCompleteTestType::bounded_sequence_enum_field( std::vector&& _bounded_sequence_enum_field) { m_bounded_sequence_enum_field = std::move(_bounded_sequence_enum_field); @@ -6133,7 +6141,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_enum_field( * @brief This function returns a constant reference to member bounded_sequence_enum_field * @return Constant reference to member bounded_sequence_enum_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_enum_field() const +const std::vector& KeyedCompleteTestType::bounded_sequence_enum_field() const { return m_bounded_sequence_enum_field; } @@ -6142,7 +6150,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType: * @brief This function returns a reference to member bounded_sequence_enum_field * @return Reference to member bounded_sequence_enum_field */ -std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_enum_field() +std::vector& KeyedCompleteTestType::bounded_sequence_enum_field() { return m_bounded_sequence_enum_field; } @@ -6152,7 +6160,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::bound * @brief This function copies the value in member bounded_sequence_enum2_field * @param _bounded_sequence_enum2_field New value to be copied in member bounded_sequence_enum2_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_enum2_field( +void KeyedCompleteTestType::bounded_sequence_enum2_field( const std::vector& _bounded_sequence_enum2_field) { m_bounded_sequence_enum2_field = _bounded_sequence_enum2_field; @@ -6162,7 +6170,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_enum2_field( * @brief This function moves the value in member bounded_sequence_enum2_field * @param _bounded_sequence_enum2_field New value to be moved in member bounded_sequence_enum2_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_enum2_field( +void KeyedCompleteTestType::bounded_sequence_enum2_field( std::vector&& _bounded_sequence_enum2_field) { m_bounded_sequence_enum2_field = std::move(_bounded_sequence_enum2_field); @@ -6172,7 +6180,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_enum2_field( * @brief This function returns a constant reference to member bounded_sequence_enum2_field * @return Constant reference to member bounded_sequence_enum2_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_enum2_field() const +const std::vector& KeyedCompleteTestType::bounded_sequence_enum2_field() const { return m_bounded_sequence_enum2_field; } @@ -6181,7 +6189,7 @@ const std::vector& eprosima::test::KeyedCompleteTestTy * @brief This function returns a reference to member bounded_sequence_enum2_field * @return Reference to member bounded_sequence_enum2_field */ -std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_enum2_field() +std::vector& KeyedCompleteTestType::bounded_sequence_enum2_field() { return m_bounded_sequence_enum2_field; } @@ -6191,7 +6199,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::bo * @brief This function copies the value in member bounded_sequence_struct_field * @param _bounded_sequence_struct_field New value to be copied in member bounded_sequence_struct_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_struct_field( +void KeyedCompleteTestType::bounded_sequence_struct_field( const std::vector& _bounded_sequence_struct_field) { m_bounded_sequence_struct_field = _bounded_sequence_struct_field; @@ -6201,7 +6209,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_struct_field( * @brief This function moves the value in member bounded_sequence_struct_field * @param _bounded_sequence_struct_field New value to be moved in member bounded_sequence_struct_field */ -void eprosima::test::KeyedCompleteTestType::bounded_sequence_struct_field( +void KeyedCompleteTestType::bounded_sequence_struct_field( std::vector&& _bounded_sequence_struct_field) { m_bounded_sequence_struct_field = std::move(_bounded_sequence_struct_field); @@ -6211,7 +6219,7 @@ void eprosima::test::KeyedCompleteTestType::bounded_sequence_struct_field( * @brief This function returns a constant reference to member bounded_sequence_struct_field * @return Constant reference to member bounded_sequence_struct_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_struct_field() const +const std::vector& KeyedCompleteTestType::bounded_sequence_struct_field() const { return m_bounded_sequence_struct_field; } @@ -6220,7 +6228,7 @@ const std::vector& eprosima::test::KeyedCompleteTest * @brief This function returns a reference to member bounded_sequence_struct_field * @return Reference to member bounded_sequence_struct_field */ -std::vector& eprosima::test::KeyedCompleteTestType::bounded_sequence_struct_field() +std::vector& KeyedCompleteTestType::bounded_sequence_struct_field() { return m_bounded_sequence_struct_field; } @@ -6230,7 +6238,7 @@ std::vector& eprosima::test::KeyedCompleteTestType:: * @brief This function copies the value in member unbounded_sequence_char_field * @param _unbounded_sequence_char_field New value to be copied in member unbounded_sequence_char_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_char_field( +void KeyedCompleteTestType::unbounded_sequence_char_field( const std::vector& _unbounded_sequence_char_field) { m_unbounded_sequence_char_field = _unbounded_sequence_char_field; @@ -6240,7 +6248,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_char_field( * @brief This function moves the value in member unbounded_sequence_char_field * @param _unbounded_sequence_char_field New value to be moved in member unbounded_sequence_char_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_char_field( +void KeyedCompleteTestType::unbounded_sequence_char_field( std::vector&& _unbounded_sequence_char_field) { m_unbounded_sequence_char_field = std::move(_unbounded_sequence_char_field); @@ -6250,7 +6258,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_char_field( * @brief This function returns a constant reference to member unbounded_sequence_char_field * @return Constant reference to member unbounded_sequence_char_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_char_field() const +const std::vector& KeyedCompleteTestType::unbounded_sequence_char_field() const { return m_unbounded_sequence_char_field; } @@ -6259,7 +6267,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequen * @brief This function returns a reference to member unbounded_sequence_char_field * @return Reference to member unbounded_sequence_char_field */ -std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_char_field() +std::vector& KeyedCompleteTestType::unbounded_sequence_char_field() { return m_unbounded_sequence_char_field; } @@ -6269,7 +6277,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_cha * @brief This function copies the value in member unbounded_sequence_uint8_field * @param _unbounded_sequence_uint8_field New value to be copied in member unbounded_sequence_uint8_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint8_field( +void KeyedCompleteTestType::unbounded_sequence_uint8_field( const std::vector& _unbounded_sequence_uint8_field) { m_unbounded_sequence_uint8_field = _unbounded_sequence_uint8_field; @@ -6279,7 +6287,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint8_field( * @brief This function moves the value in member unbounded_sequence_uint8_field * @param _unbounded_sequence_uint8_field New value to be moved in member unbounded_sequence_uint8_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint8_field( +void KeyedCompleteTestType::unbounded_sequence_uint8_field( std::vector&& _unbounded_sequence_uint8_field) { m_unbounded_sequence_uint8_field = std::move(_unbounded_sequence_uint8_field); @@ -6289,7 +6297,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint8_field( * @brief This function returns a constant reference to member unbounded_sequence_uint8_field * @return Constant reference to member unbounded_sequence_uint8_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint8_field() const +const std::vector& KeyedCompleteTestType::unbounded_sequence_uint8_field() const { return m_unbounded_sequence_uint8_field; } @@ -6298,7 +6306,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_seq * @brief This function returns a reference to member unbounded_sequence_uint8_field * @return Reference to member unbounded_sequence_uint8_field */ -std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint8_field() +std::vector& KeyedCompleteTestType::unbounded_sequence_uint8_field() { return m_unbounded_sequence_uint8_field; } @@ -6308,7 +6316,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_ * @brief This function copies the value in member unbounded_sequence_int16_field * @param _unbounded_sequence_int16_field New value to be copied in member unbounded_sequence_int16_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_int16_field( +void KeyedCompleteTestType::unbounded_sequence_int16_field( const std::vector& _unbounded_sequence_int16_field) { m_unbounded_sequence_int16_field = _unbounded_sequence_int16_field; @@ -6318,7 +6326,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_int16_field( * @brief This function moves the value in member unbounded_sequence_int16_field * @param _unbounded_sequence_int16_field New value to be moved in member unbounded_sequence_int16_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_int16_field( +void KeyedCompleteTestType::unbounded_sequence_int16_field( std::vector&& _unbounded_sequence_int16_field) { m_unbounded_sequence_int16_field = std::move(_unbounded_sequence_int16_field); @@ -6328,7 +6336,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_int16_field( * @brief This function returns a constant reference to member unbounded_sequence_int16_field * @return Constant reference to member unbounded_sequence_int16_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_int16_field() const +const std::vector& KeyedCompleteTestType::unbounded_sequence_int16_field() const { return m_unbounded_sequence_int16_field; } @@ -6337,7 +6345,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_seq * @brief This function returns a reference to member unbounded_sequence_int16_field * @return Reference to member unbounded_sequence_int16_field */ -std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_int16_field() +std::vector& KeyedCompleteTestType::unbounded_sequence_int16_field() { return m_unbounded_sequence_int16_field; } @@ -6347,7 +6355,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_ * @brief This function copies the value in member unbounded_sequence_uint16_field * @param _unbounded_sequence_uint16_field New value to be copied in member unbounded_sequence_uint16_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint16_field( +void KeyedCompleteTestType::unbounded_sequence_uint16_field( const std::vector& _unbounded_sequence_uint16_field) { m_unbounded_sequence_uint16_field = _unbounded_sequence_uint16_field; @@ -6357,7 +6365,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint16_field( * @brief This function moves the value in member unbounded_sequence_uint16_field * @param _unbounded_sequence_uint16_field New value to be moved in member unbounded_sequence_uint16_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint16_field( +void KeyedCompleteTestType::unbounded_sequence_uint16_field( std::vector&& _unbounded_sequence_uint16_field) { m_unbounded_sequence_uint16_field = std::move(_unbounded_sequence_uint16_field); @@ -6367,7 +6375,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint16_field( * @brief This function returns a constant reference to member unbounded_sequence_uint16_field * @return Constant reference to member unbounded_sequence_uint16_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint16_field() const +const std::vector& KeyedCompleteTestType::unbounded_sequence_uint16_field() const { return m_unbounded_sequence_uint16_field; } @@ -6376,7 +6384,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_se * @brief This function returns a reference to member unbounded_sequence_uint16_field * @return Reference to member unbounded_sequence_uint16_field */ -std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint16_field() +std::vector& KeyedCompleteTestType::unbounded_sequence_uint16_field() { return m_unbounded_sequence_uint16_field; } @@ -6386,7 +6394,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence * @brief This function copies the value in member unbounded_sequence_int32_field * @param _unbounded_sequence_int32_field New value to be copied in member unbounded_sequence_int32_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_int32_field( +void KeyedCompleteTestType::unbounded_sequence_int32_field( const std::vector& _unbounded_sequence_int32_field) { m_unbounded_sequence_int32_field = _unbounded_sequence_int32_field; @@ -6396,7 +6404,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_int32_field( * @brief This function moves the value in member unbounded_sequence_int32_field * @param _unbounded_sequence_int32_field New value to be moved in member unbounded_sequence_int32_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_int32_field( +void KeyedCompleteTestType::unbounded_sequence_int32_field( std::vector&& _unbounded_sequence_int32_field) { m_unbounded_sequence_int32_field = std::move(_unbounded_sequence_int32_field); @@ -6406,7 +6414,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_int32_field( * @brief This function returns a constant reference to member unbounded_sequence_int32_field * @return Constant reference to member unbounded_sequence_int32_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_int32_field() const +const std::vector& KeyedCompleteTestType::unbounded_sequence_int32_field() const { return m_unbounded_sequence_int32_field; } @@ -6415,7 +6423,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_seq * @brief This function returns a reference to member unbounded_sequence_int32_field * @return Reference to member unbounded_sequence_int32_field */ -std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_int32_field() +std::vector& KeyedCompleteTestType::unbounded_sequence_int32_field() { return m_unbounded_sequence_int32_field; } @@ -6425,7 +6433,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_ * @brief This function copies the value in member unbounded_sequence_uint32_field * @param _unbounded_sequence_uint32_field New value to be copied in member unbounded_sequence_uint32_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint32_field( +void KeyedCompleteTestType::unbounded_sequence_uint32_field( const std::vector& _unbounded_sequence_uint32_field) { m_unbounded_sequence_uint32_field = _unbounded_sequence_uint32_field; @@ -6435,7 +6443,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint32_field( * @brief This function moves the value in member unbounded_sequence_uint32_field * @param _unbounded_sequence_uint32_field New value to be moved in member unbounded_sequence_uint32_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint32_field( +void KeyedCompleteTestType::unbounded_sequence_uint32_field( std::vector&& _unbounded_sequence_uint32_field) { m_unbounded_sequence_uint32_field = std::move(_unbounded_sequence_uint32_field); @@ -6445,7 +6453,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint32_field( * @brief This function returns a constant reference to member unbounded_sequence_uint32_field * @return Constant reference to member unbounded_sequence_uint32_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint32_field() const +const std::vector& KeyedCompleteTestType::unbounded_sequence_uint32_field() const { return m_unbounded_sequence_uint32_field; } @@ -6454,7 +6462,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_se * @brief This function returns a reference to member unbounded_sequence_uint32_field * @return Reference to member unbounded_sequence_uint32_field */ -std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint32_field() +std::vector& KeyedCompleteTestType::unbounded_sequence_uint32_field() { return m_unbounded_sequence_uint32_field; } @@ -6464,7 +6472,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence * @brief This function copies the value in member unbounded_sequence_int64_field * @param _unbounded_sequence_int64_field New value to be copied in member unbounded_sequence_int64_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_int64_field( +void KeyedCompleteTestType::unbounded_sequence_int64_field( const std::vector& _unbounded_sequence_int64_field) { m_unbounded_sequence_int64_field = _unbounded_sequence_int64_field; @@ -6474,7 +6482,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_int64_field( * @brief This function moves the value in member unbounded_sequence_int64_field * @param _unbounded_sequence_int64_field New value to be moved in member unbounded_sequence_int64_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_int64_field( +void KeyedCompleteTestType::unbounded_sequence_int64_field( std::vector&& _unbounded_sequence_int64_field) { m_unbounded_sequence_int64_field = std::move(_unbounded_sequence_int64_field); @@ -6484,7 +6492,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_int64_field( * @brief This function returns a constant reference to member unbounded_sequence_int64_field * @return Constant reference to member unbounded_sequence_int64_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_int64_field() const +const std::vector& KeyedCompleteTestType::unbounded_sequence_int64_field() const { return m_unbounded_sequence_int64_field; } @@ -6493,7 +6501,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_seq * @brief This function returns a reference to member unbounded_sequence_int64_field * @return Reference to member unbounded_sequence_int64_field */ -std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_int64_field() +std::vector& KeyedCompleteTestType::unbounded_sequence_int64_field() { return m_unbounded_sequence_int64_field; } @@ -6503,7 +6511,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_ * @brief This function copies the value in member unbounded_sequence_uint64_field * @param _unbounded_sequence_uint64_field New value to be copied in member unbounded_sequence_uint64_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint64_field( +void KeyedCompleteTestType::unbounded_sequence_uint64_field( const std::vector& _unbounded_sequence_uint64_field) { m_unbounded_sequence_uint64_field = _unbounded_sequence_uint64_field; @@ -6513,7 +6521,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint64_field( * @brief This function moves the value in member unbounded_sequence_uint64_field * @param _unbounded_sequence_uint64_field New value to be moved in member unbounded_sequence_uint64_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint64_field( +void KeyedCompleteTestType::unbounded_sequence_uint64_field( std::vector&& _unbounded_sequence_uint64_field) { m_unbounded_sequence_uint64_field = std::move(_unbounded_sequence_uint64_field); @@ -6523,7 +6531,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint64_field( * @brief This function returns a constant reference to member unbounded_sequence_uint64_field * @return Constant reference to member unbounded_sequence_uint64_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint64_field() const +const std::vector& KeyedCompleteTestType::unbounded_sequence_uint64_field() const { return m_unbounded_sequence_uint64_field; } @@ -6532,7 +6540,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_se * @brief This function returns a reference to member unbounded_sequence_uint64_field * @return Reference to member unbounded_sequence_uint64_field */ -std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint64_field() +std::vector& KeyedCompleteTestType::unbounded_sequence_uint64_field() { return m_unbounded_sequence_uint64_field; } @@ -6542,7 +6550,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence * @brief This function copies the value in member unbounded_sequence_float_field * @param _unbounded_sequence_float_field New value to be copied in member unbounded_sequence_float_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_float_field( +void KeyedCompleteTestType::unbounded_sequence_float_field( const std::vector& _unbounded_sequence_float_field) { m_unbounded_sequence_float_field = _unbounded_sequence_float_field; @@ -6552,7 +6560,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_float_field( * @brief This function moves the value in member unbounded_sequence_float_field * @param _unbounded_sequence_float_field New value to be moved in member unbounded_sequence_float_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_float_field( +void KeyedCompleteTestType::unbounded_sequence_float_field( std::vector&& _unbounded_sequence_float_field) { m_unbounded_sequence_float_field = std::move(_unbounded_sequence_float_field); @@ -6562,7 +6570,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_float_field( * @brief This function returns a constant reference to member unbounded_sequence_float_field * @return Constant reference to member unbounded_sequence_float_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_float_field() const +const std::vector& KeyedCompleteTestType::unbounded_sequence_float_field() const { return m_unbounded_sequence_float_field; } @@ -6571,7 +6579,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_seque * @brief This function returns a reference to member unbounded_sequence_float_field * @return Reference to member unbounded_sequence_float_field */ -std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_float_field() +std::vector& KeyedCompleteTestType::unbounded_sequence_float_field() { return m_unbounded_sequence_float_field; } @@ -6581,7 +6589,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_fl * @brief This function copies the value in member unbounded_sequence_double_field * @param _unbounded_sequence_double_field New value to be copied in member unbounded_sequence_double_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_double_field( +void KeyedCompleteTestType::unbounded_sequence_double_field( const std::vector& _unbounded_sequence_double_field) { m_unbounded_sequence_double_field = _unbounded_sequence_double_field; @@ -6591,7 +6599,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_double_field( * @brief This function moves the value in member unbounded_sequence_double_field * @param _unbounded_sequence_double_field New value to be moved in member unbounded_sequence_double_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_double_field( +void KeyedCompleteTestType::unbounded_sequence_double_field( std::vector&& _unbounded_sequence_double_field) { m_unbounded_sequence_double_field = std::move(_unbounded_sequence_double_field); @@ -6601,7 +6609,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_double_field( * @brief This function returns a constant reference to member unbounded_sequence_double_field * @return Constant reference to member unbounded_sequence_double_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_double_field() const +const std::vector& KeyedCompleteTestType::unbounded_sequence_double_field() const { return m_unbounded_sequence_double_field; } @@ -6610,7 +6618,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequ * @brief This function returns a reference to member unbounded_sequence_double_field * @return Reference to member unbounded_sequence_double_field */ -std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_double_field() +std::vector& KeyedCompleteTestType::unbounded_sequence_double_field() { return m_unbounded_sequence_double_field; } @@ -6620,7 +6628,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_d * @brief This function copies the value in member unbounded_sequence_bool_field * @param _unbounded_sequence_bool_field New value to be copied in member unbounded_sequence_bool_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_bool_field( +void KeyedCompleteTestType::unbounded_sequence_bool_field( const std::vector& _unbounded_sequence_bool_field) { m_unbounded_sequence_bool_field = _unbounded_sequence_bool_field; @@ -6630,7 +6638,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_bool_field( * @brief This function moves the value in member unbounded_sequence_bool_field * @param _unbounded_sequence_bool_field New value to be moved in member unbounded_sequence_bool_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_bool_field( +void KeyedCompleteTestType::unbounded_sequence_bool_field( std::vector&& _unbounded_sequence_bool_field) { m_unbounded_sequence_bool_field = std::move(_unbounded_sequence_bool_field); @@ -6640,7 +6648,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_bool_field( * @brief This function returns a constant reference to member unbounded_sequence_bool_field * @return Constant reference to member unbounded_sequence_bool_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_bool_field() const +const std::vector& KeyedCompleteTestType::unbounded_sequence_bool_field() const { return m_unbounded_sequence_bool_field; } @@ -6649,7 +6657,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequen * @brief This function returns a reference to member unbounded_sequence_bool_field * @return Reference to member unbounded_sequence_bool_field */ -std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_bool_field() +std::vector& KeyedCompleteTestType::unbounded_sequence_bool_field() { return m_unbounded_sequence_bool_field; } @@ -6659,7 +6667,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_boo * @brief This function copies the value in member unbounded_sequence_enum_field * @param _unbounded_sequence_enum_field New value to be copied in member unbounded_sequence_enum_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_enum_field( +void KeyedCompleteTestType::unbounded_sequence_enum_field( const std::vector& _unbounded_sequence_enum_field) { m_unbounded_sequence_enum_field = _unbounded_sequence_enum_field; @@ -6669,7 +6677,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_enum_field( * @brief This function moves the value in member unbounded_sequence_enum_field * @param _unbounded_sequence_enum_field New value to be moved in member unbounded_sequence_enum_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_enum_field( +void KeyedCompleteTestType::unbounded_sequence_enum_field( std::vector&& _unbounded_sequence_enum_field) { m_unbounded_sequence_enum_field = std::move(_unbounded_sequence_enum_field); @@ -6679,7 +6687,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_enum_field( * @brief This function returns a constant reference to member unbounded_sequence_enum_field * @return Constant reference to member unbounded_sequence_enum_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_enum_field() const +const std::vector& KeyedCompleteTestType::unbounded_sequence_enum_field() const { return m_unbounded_sequence_enum_field; } @@ -6688,7 +6696,7 @@ const std::vector& eprosima::test::KeyedCompleteTestType: * @brief This function returns a reference to member unbounded_sequence_enum_field * @return Reference to member unbounded_sequence_enum_field */ -std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_enum_field() +std::vector& KeyedCompleteTestType::unbounded_sequence_enum_field() { return m_unbounded_sequence_enum_field; } @@ -6698,7 +6706,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::unbou * @brief This function copies the value in member unbounded_sequence_enum2_field * @param _unbounded_sequence_enum2_field New value to be copied in member unbounded_sequence_enum2_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_enum2_field( +void KeyedCompleteTestType::unbounded_sequence_enum2_field( const std::vector& _unbounded_sequence_enum2_field) { m_unbounded_sequence_enum2_field = _unbounded_sequence_enum2_field; @@ -6708,7 +6716,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_enum2_field( * @brief This function moves the value in member unbounded_sequence_enum2_field * @param _unbounded_sequence_enum2_field New value to be moved in member unbounded_sequence_enum2_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_enum2_field( +void KeyedCompleteTestType::unbounded_sequence_enum2_field( std::vector&& _unbounded_sequence_enum2_field) { m_unbounded_sequence_enum2_field = std::move(_unbounded_sequence_enum2_field); @@ -6718,7 +6726,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_enum2_field( * @brief This function returns a constant reference to member unbounded_sequence_enum2_field * @return Constant reference to member unbounded_sequence_enum2_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_enum2_field() const +const std::vector& KeyedCompleteTestType::unbounded_sequence_enum2_field() const { return m_unbounded_sequence_enum2_field; } @@ -6727,7 +6735,7 @@ const std::vector& eprosima::test::KeyedCompleteTestTy * @brief This function returns a reference to member unbounded_sequence_enum2_field * @return Reference to member unbounded_sequence_enum2_field */ -std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_enum2_field() +std::vector& KeyedCompleteTestType::unbounded_sequence_enum2_field() { return m_unbounded_sequence_enum2_field; } @@ -6737,7 +6745,7 @@ std::vector& eprosima::test::KeyedCompleteTestType::un * @brief This function copies the value in member unbounded_sequence_struct_field * @param _unbounded_sequence_struct_field New value to be copied in member unbounded_sequence_struct_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_struct_field( +void KeyedCompleteTestType::unbounded_sequence_struct_field( const std::vector& _unbounded_sequence_struct_field) { m_unbounded_sequence_struct_field = _unbounded_sequence_struct_field; @@ -6747,7 +6755,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_struct_field( * @brief This function moves the value in member unbounded_sequence_struct_field * @param _unbounded_sequence_struct_field New value to be moved in member unbounded_sequence_struct_field */ -void eprosima::test::KeyedCompleteTestType::unbounded_sequence_struct_field( +void KeyedCompleteTestType::unbounded_sequence_struct_field( std::vector&& _unbounded_sequence_struct_field) { m_unbounded_sequence_struct_field = std::move(_unbounded_sequence_struct_field); @@ -6757,7 +6765,7 @@ void eprosima::test::KeyedCompleteTestType::unbounded_sequence_struct_field( * @brief This function returns a constant reference to member unbounded_sequence_struct_field * @return Constant reference to member unbounded_sequence_struct_field */ -const std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_struct_field() const +const std::vector& KeyedCompleteTestType::unbounded_sequence_struct_field() const { return m_unbounded_sequence_struct_field; } @@ -6766,7 +6774,7 @@ const std::vector& eprosima::test::KeyedCompleteTest * @brief This function returns a reference to member unbounded_sequence_struct_field * @return Reference to member unbounded_sequence_struct_field */ -std::vector& eprosima::test::KeyedCompleteTestType::unbounded_sequence_struct_field() +std::vector& KeyedCompleteTestType::unbounded_sequence_struct_field() { return m_unbounded_sequence_struct_field; } @@ -6774,5 +6782,11 @@ std::vector& eprosima::test::KeyedCompleteTestType:: +} // namespace test + + +} // namespace eprosima // Include auxiliary functions like for serializing/deserializing. #include "test_modulesCdrAux.ipp" + +#endif // FASTCDR_VERSION_MAJOR > 1 diff --git a/fastdds_python/test/types/test_modules.h b/fastdds_python/test/types/test_modules.h index 7babade9..6138cf7a 100644 --- a/fastdds_python/test/types/test_modules.h +++ b/fastdds_python/test/types/test_modules.h @@ -19,6 +19,11 @@ * This file was generated by the tool fastddsgen. */ +#include +#include "test_modulesv1.h" + +#if FASTCDR_VERSION_MAJOR > 1 + #ifndef _FAST_DDS_GENERATED_EPROSIMA_TEST_TEST_MODULES_H_ #define _FAST_DDS_GENERATED_EPROSIMA_TEST_TEST_MODULES_H_ @@ -30,6 +35,7 @@ #include #include +#include #include @@ -68,4396 +74,4413 @@ class CdrSizeCalculator; namespace eprosima { - namespace test { - /*! - * @brief This class represents the enumeration Color defined by the user in the IDL file. - * @ingroup test_modules - */ - enum Color : uint32_t - { - RED, - GREEN, - BLUE, - YELLOW, - MAGENTA - }; - /*! - * @brief This class represents the enumeration Material defined by the user in the IDL file. - * @ingroup test_modules - */ - enum Material : uint32_t - { - WOOD, - PLASTIC, - METAL, - CONCRETE, - STONE - }; - /*! - * @brief This class represents the structure StructType defined by the user in the IDL file. - * @ingroup test_modules - */ - class StructType - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport StructType(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~StructType(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::test::StructType that will be copied. - */ - eProsima_user_DllExport StructType( - const StructType& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::test::StructType that will be copied. - */ - eProsima_user_DllExport StructType( - StructType&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::test::StructType that will be copied. - */ - eProsima_user_DllExport StructType& operator =( - const StructType& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::test::StructType that will be copied. - */ - eProsima_user_DllExport StructType& operator =( - StructType&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::test::StructType object to compare. - */ - eProsima_user_DllExport bool operator ==( - const StructType& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::test::StructType object to compare. - */ - eProsima_user_DllExport bool operator !=( - const StructType& x) const; - - /*! - * @brief This function sets a value in member char_field - * @param _char_field New value for member char_field - */ - eProsima_user_DllExport void char_field( - char _char_field); - - /*! - * @brief This function returns the value of member char_field - * @return Value of member char_field - */ - eProsima_user_DllExport char char_field() const; - - /*! - * @brief This function returns a reference to member char_field - * @return Reference to member char_field - */ - eProsima_user_DllExport char& char_field(); - - - /*! - * @brief This function sets a value in member uint8_field - * @param _uint8_field New value for member uint8_field - */ - eProsima_user_DllExport void uint8_field( - uint8_t _uint8_field); - - /*! - * @brief This function returns the value of member uint8_field - * @return Value of member uint8_field - */ - eProsima_user_DllExport uint8_t uint8_field() const; - - /*! - * @brief This function returns a reference to member uint8_field - * @return Reference to member uint8_field - */ - eProsima_user_DllExport uint8_t& uint8_field(); - - - /*! - * @brief This function sets a value in member int16_field - * @param _int16_field New value for member int16_field - */ - eProsima_user_DllExport void int16_field( - int16_t _int16_field); - - /*! - * @brief This function returns the value of member int16_field - * @return Value of member int16_field - */ - eProsima_user_DllExport int16_t int16_field() const; - - /*! - * @brief This function returns a reference to member int16_field - * @return Reference to member int16_field - */ - eProsima_user_DllExport int16_t& int16_field(); - - - /*! - * @brief This function sets a value in member uint16_field - * @param _uint16_field New value for member uint16_field - */ - eProsima_user_DllExport void uint16_field( - uint16_t _uint16_field); - - /*! - * @brief This function returns the value of member uint16_field - * @return Value of member uint16_field - */ - eProsima_user_DllExport uint16_t uint16_field() const; - - /*! - * @brief This function returns a reference to member uint16_field - * @return Reference to member uint16_field - */ - eProsima_user_DllExport uint16_t& uint16_field(); - - - /*! - * @brief This function sets a value in member int32_field - * @param _int32_field New value for member int32_field - */ - eProsima_user_DllExport void int32_field( - int32_t _int32_field); - - /*! - * @brief This function returns the value of member int32_field - * @return Value of member int32_field - */ - eProsima_user_DllExport int32_t int32_field() const; - - /*! - * @brief This function returns a reference to member int32_field - * @return Reference to member int32_field - */ - eProsima_user_DllExport int32_t& int32_field(); - - - /*! - * @brief This function sets a value in member uint32_field - * @param _uint32_field New value for member uint32_field - */ - eProsima_user_DllExport void uint32_field( - uint32_t _uint32_field); - - /*! - * @brief This function returns the value of member uint32_field - * @return Value of member uint32_field - */ - eProsima_user_DllExport uint32_t uint32_field() const; - - /*! - * @brief This function returns a reference to member uint32_field - * @return Reference to member uint32_field - */ - eProsima_user_DllExport uint32_t& uint32_field(); - - - /*! - * @brief This function sets a value in member int64_field - * @param _int64_field New value for member int64_field - */ - eProsima_user_DllExport void int64_field( - int64_t _int64_field); - - /*! - * @brief This function returns the value of member int64_field - * @return Value of member int64_field - */ - eProsima_user_DllExport int64_t int64_field() const; - - /*! - * @brief This function returns a reference to member int64_field - * @return Reference to member int64_field - */ - eProsima_user_DllExport int64_t& int64_field(); - - - /*! - * @brief This function sets a value in member uint64_field - * @param _uint64_field New value for member uint64_field - */ - eProsima_user_DllExport void uint64_field( - uint64_t _uint64_field); - - /*! - * @brief This function returns the value of member uint64_field - * @return Value of member uint64_field - */ - eProsima_user_DllExport uint64_t uint64_field() const; - - /*! - * @brief This function returns a reference to member uint64_field - * @return Reference to member uint64_field - */ - eProsima_user_DllExport uint64_t& uint64_field(); - - - /*! - * @brief This function sets a value in member float_field - * @param _float_field New value for member float_field - */ - eProsima_user_DllExport void float_field( - float _float_field); - - /*! - * @brief This function returns the value of member float_field - * @return Value of member float_field - */ - eProsima_user_DllExport float float_field() const; - - /*! - * @brief This function returns a reference to member float_field - * @return Reference to member float_field - */ - eProsima_user_DllExport float& float_field(); - - - /*! - * @brief This function sets a value in member double_field - * @param _double_field New value for member double_field - */ - eProsima_user_DllExport void double_field( - double _double_field); - - /*! - * @brief This function returns the value of member double_field - * @return Value of member double_field - */ - eProsima_user_DllExport double double_field() const; - - /*! - * @brief This function returns a reference to member double_field - * @return Reference to member double_field - */ - eProsima_user_DllExport double& double_field(); - - - /*! - * @brief This function sets a value in member bool_field - * @param _bool_field New value for member bool_field - */ - eProsima_user_DllExport void bool_field( - bool _bool_field); - - /*! - * @brief This function returns the value of member bool_field - * @return Value of member bool_field - */ - eProsima_user_DllExport bool bool_field() const; - - /*! - * @brief This function returns a reference to member bool_field - * @return Reference to member bool_field - */ - eProsima_user_DllExport bool& bool_field(); - - - /*! - * @brief This function copies the value in member string_field - * @param _string_field New value to be copied in member string_field - */ - eProsima_user_DllExport void string_field( - const std::string& _string_field); - - /*! - * @brief This function moves the value in member string_field - * @param _string_field New value to be moved in member string_field - */ - eProsima_user_DllExport void string_field( - std::string&& _string_field); - - /*! - * @brief This function returns a constant reference to member string_field - * @return Constant reference to member string_field - */ - eProsima_user_DllExport const std::string& string_field() const; - - /*! - * @brief This function returns a reference to member string_field - * @return Reference to member string_field - */ - eProsima_user_DllExport std::string& string_field(); - - - /*! - * @brief This function sets a value in member enum_field - * @param _enum_field New value for member enum_field - */ - eProsima_user_DllExport void enum_field( - eprosima::test::Color _enum_field); - - /*! - * @brief This function returns the value of member enum_field - * @return Value of member enum_field - */ - eProsima_user_DllExport eprosima::test::Color enum_field() const; - - /*! - * @brief This function returns a reference to member enum_field - * @return Reference to member enum_field - */ - eProsima_user_DllExport eprosima::test::Color& enum_field(); - - - /*! - * @brief This function sets a value in member enum2_field - * @param _enum2_field New value for member enum2_field - */ - eProsima_user_DllExport void enum2_field( - eprosima::test::Material _enum2_field); - - /*! - * @brief This function returns the value of member enum2_field - * @return Value of member enum2_field - */ - eProsima_user_DllExport eprosima::test::Material enum2_field() const; - - /*! - * @brief This function returns a reference to member enum2_field - * @return Reference to member enum2_field - */ - eProsima_user_DllExport eprosima::test::Material& enum2_field(); - - private: - - char m_char_field{0}; - uint8_t m_uint8_field{0}; - int16_t m_int16_field{0}; - uint16_t m_uint16_field{0}; - int32_t m_int32_field{0}; - uint32_t m_uint32_field{0}; - int64_t m_int64_field{0}; - uint64_t m_uint64_field{0}; - float m_float_field{0.0}; - double m_double_field{0.0}; - bool m_bool_field{false}; - std::string m_string_field; - eprosima::test::Color m_enum_field{eprosima::test::RED}; - eprosima::test::Material m_enum2_field{eprosima::test::WOOD}; - - }; - const uint32_t max_array_size = 3; - const uint32_t max_seq_size = 5; - /*! - * @brief This class represents the structure CompleteTestType defined by the user in the IDL file. - * @ingroup test_modules - */ - class CompleteTestType - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport CompleteTestType(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~CompleteTestType(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::test::CompleteTestType that will be copied. - */ - eProsima_user_DllExport CompleteTestType( - const CompleteTestType& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::test::CompleteTestType that will be copied. - */ - eProsima_user_DllExport CompleteTestType( - CompleteTestType&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::test::CompleteTestType that will be copied. - */ - eProsima_user_DllExport CompleteTestType& operator =( - const CompleteTestType& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::test::CompleteTestType that will be copied. - */ - eProsima_user_DllExport CompleteTestType& operator =( - CompleteTestType&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::test::CompleteTestType object to compare. - */ - eProsima_user_DllExport bool operator ==( - const CompleteTestType& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::test::CompleteTestType object to compare. - */ - eProsima_user_DllExport bool operator !=( - const CompleteTestType& x) const; - - /*! - * @brief This function sets a value in member char_field - * @param _char_field New value for member char_field - */ - eProsima_user_DllExport void char_field( - char _char_field); - - /*! - * @brief This function returns the value of member char_field - * @return Value of member char_field - */ - eProsima_user_DllExport char char_field() const; - - /*! - * @brief This function returns a reference to member char_field - * @return Reference to member char_field - */ - eProsima_user_DllExport char& char_field(); - - - /*! - * @brief This function sets a value in member uint8_field - * @param _uint8_field New value for member uint8_field - */ - eProsima_user_DllExport void uint8_field( - uint8_t _uint8_field); - - /*! - * @brief This function returns the value of member uint8_field - * @return Value of member uint8_field - */ - eProsima_user_DllExport uint8_t uint8_field() const; - - /*! - * @brief This function returns a reference to member uint8_field - * @return Reference to member uint8_field - */ - eProsima_user_DllExport uint8_t& uint8_field(); - - - /*! - * @brief This function sets a value in member int16_field - * @param _int16_field New value for member int16_field - */ - eProsima_user_DllExport void int16_field( - int16_t _int16_field); - - /*! - * @brief This function returns the value of member int16_field - * @return Value of member int16_field - */ - eProsima_user_DllExport int16_t int16_field() const; - - /*! - * @brief This function returns a reference to member int16_field - * @return Reference to member int16_field - */ - eProsima_user_DllExport int16_t& int16_field(); - - - /*! - * @brief This function sets a value in member uint16_field - * @param _uint16_field New value for member uint16_field - */ - eProsima_user_DllExport void uint16_field( - uint16_t _uint16_field); - - /*! - * @brief This function returns the value of member uint16_field - * @return Value of member uint16_field - */ - eProsima_user_DllExport uint16_t uint16_field() const; - - /*! - * @brief This function returns a reference to member uint16_field - * @return Reference to member uint16_field - */ - eProsima_user_DllExport uint16_t& uint16_field(); - - - /*! - * @brief This function sets a value in member int32_field - * @param _int32_field New value for member int32_field - */ - eProsima_user_DllExport void int32_field( - int32_t _int32_field); - - /*! - * @brief This function returns the value of member int32_field - * @return Value of member int32_field - */ - eProsima_user_DllExport int32_t int32_field() const; - - /*! - * @brief This function returns a reference to member int32_field - * @return Reference to member int32_field - */ - eProsima_user_DllExport int32_t& int32_field(); - - - /*! - * @brief This function sets a value in member uint32_field - * @param _uint32_field New value for member uint32_field - */ - eProsima_user_DllExport void uint32_field( - uint32_t _uint32_field); - - /*! - * @brief This function returns the value of member uint32_field - * @return Value of member uint32_field - */ - eProsima_user_DllExport uint32_t uint32_field() const; - - /*! - * @brief This function returns a reference to member uint32_field - * @return Reference to member uint32_field - */ - eProsima_user_DllExport uint32_t& uint32_field(); - - - /*! - * @brief This function sets a value in member int64_field - * @param _int64_field New value for member int64_field - */ - eProsima_user_DllExport void int64_field( - int64_t _int64_field); - - /*! - * @brief This function returns the value of member int64_field - * @return Value of member int64_field - */ - eProsima_user_DllExport int64_t int64_field() const; - - /*! - * @brief This function returns a reference to member int64_field - * @return Reference to member int64_field - */ - eProsima_user_DllExport int64_t& int64_field(); - - - /*! - * @brief This function sets a value in member uint64_field - * @param _uint64_field New value for member uint64_field - */ - eProsima_user_DllExport void uint64_field( - uint64_t _uint64_field); - - /*! - * @brief This function returns the value of member uint64_field - * @return Value of member uint64_field - */ - eProsima_user_DllExport uint64_t uint64_field() const; - - /*! - * @brief This function returns a reference to member uint64_field - * @return Reference to member uint64_field - */ - eProsima_user_DllExport uint64_t& uint64_field(); - - - /*! - * @brief This function sets a value in member float_field - * @param _float_field New value for member float_field - */ - eProsima_user_DllExport void float_field( - float _float_field); - - /*! - * @brief This function returns the value of member float_field - * @return Value of member float_field - */ - eProsima_user_DllExport float float_field() const; - - /*! - * @brief This function returns a reference to member float_field - * @return Reference to member float_field - */ - eProsima_user_DllExport float& float_field(); - - - /*! - * @brief This function sets a value in member double_field - * @param _double_field New value for member double_field - */ - eProsima_user_DllExport void double_field( - double _double_field); - - /*! - * @brief This function returns the value of member double_field - * @return Value of member double_field - */ - eProsima_user_DllExport double double_field() const; - - /*! - * @brief This function returns a reference to member double_field - * @return Reference to member double_field - */ - eProsima_user_DllExport double& double_field(); - - - /*! - * @brief This function sets a value in member bool_field - * @param _bool_field New value for member bool_field - */ - eProsima_user_DllExport void bool_field( - bool _bool_field); - - /*! - * @brief This function returns the value of member bool_field - * @return Value of member bool_field - */ - eProsima_user_DllExport bool bool_field() const; - - /*! - * @brief This function returns a reference to member bool_field - * @return Reference to member bool_field - */ - eProsima_user_DllExport bool& bool_field(); - - - /*! - * @brief This function copies the value in member string_field - * @param _string_field New value to be copied in member string_field - */ - eProsima_user_DllExport void string_field( - const std::string& _string_field); - - /*! - * @brief This function moves the value in member string_field - * @param _string_field New value to be moved in member string_field - */ - eProsima_user_DllExport void string_field( - std::string&& _string_field); - - /*! - * @brief This function returns a constant reference to member string_field - * @return Constant reference to member string_field - */ - eProsima_user_DllExport const std::string& string_field() const; - - /*! - * @brief This function returns a reference to member string_field - * @return Reference to member string_field - */ - eProsima_user_DllExport std::string& string_field(); - - - /*! - * @brief This function sets a value in member enum_field - * @param _enum_field New value for member enum_field - */ - eProsima_user_DllExport void enum_field( - eprosima::test::Color _enum_field); - - /*! - * @brief This function returns the value of member enum_field - * @return Value of member enum_field - */ - eProsima_user_DllExport eprosima::test::Color enum_field() const; - - /*! - * @brief This function returns a reference to member enum_field - * @return Reference to member enum_field - */ - eProsima_user_DllExport eprosima::test::Color& enum_field(); - - - /*! - * @brief This function sets a value in member enum2_field - * @param _enum2_field New value for member enum2_field - */ - eProsima_user_DllExport void enum2_field( - eprosima::test::Material _enum2_field); - - /*! - * @brief This function returns the value of member enum2_field - * @return Value of member enum2_field - */ - eProsima_user_DllExport eprosima::test::Material enum2_field() const; - - /*! - * @brief This function returns a reference to member enum2_field - * @return Reference to member enum2_field - */ - eProsima_user_DllExport eprosima::test::Material& enum2_field(); - - - /*! - * @brief This function copies the value in member struct_field - * @param _struct_field New value to be copied in member struct_field - */ - eProsima_user_DllExport void struct_field( - const eprosima::test::StructType& _struct_field); - - /*! - * @brief This function moves the value in member struct_field - * @param _struct_field New value to be moved in member struct_field - */ - eProsima_user_DllExport void struct_field( - eprosima::test::StructType&& _struct_field); - - /*! - * @brief This function returns a constant reference to member struct_field - * @return Constant reference to member struct_field - */ - eProsima_user_DllExport const eprosima::test::StructType& struct_field() const; - - /*! - * @brief This function returns a reference to member struct_field - * @return Reference to member struct_field - */ - eProsima_user_DllExport eprosima::test::StructType& struct_field(); - - - /*! - * @brief This function copies the value in member char_opt_field - * @param _char_opt_field New value to be copied in member char_opt_field - */ - eProsima_user_DllExport void char_opt_field( - const eprosima::fastcdr::optional& _char_opt_field); - - /*! - * @brief This function moves the value in member char_opt_field - * @param _char_opt_field New value to be moved in member char_opt_field - */ - eProsima_user_DllExport void char_opt_field( - eprosima::fastcdr::optional&& _char_opt_field); - - /*! - * @brief This function returns a constant reference to member char_opt_field - * @return Constant reference to member char_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& char_opt_field() const; - - /*! - * @brief This function returns a reference to member char_opt_field - * @return Reference to member char_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& char_opt_field(); - - - /*! - * @brief This function copies the value in member uint8_opt_field - * @param _uint8_opt_field New value to be copied in member uint8_opt_field - */ - eProsima_user_DllExport void uint8_opt_field( - const eprosima::fastcdr::optional& _uint8_opt_field); - - /*! - * @brief This function moves the value in member uint8_opt_field - * @param _uint8_opt_field New value to be moved in member uint8_opt_field - */ - eProsima_user_DllExport void uint8_opt_field( - eprosima::fastcdr::optional&& _uint8_opt_field); - - /*! - * @brief This function returns a constant reference to member uint8_opt_field - * @return Constant reference to member uint8_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& uint8_opt_field() const; - - /*! - * @brief This function returns a reference to member uint8_opt_field - * @return Reference to member uint8_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& uint8_opt_field(); - - - /*! - * @brief This function copies the value in member int16_opt_field - * @param _int16_opt_field New value to be copied in member int16_opt_field - */ - eProsima_user_DllExport void int16_opt_field( - const eprosima::fastcdr::optional& _int16_opt_field); - - /*! - * @brief This function moves the value in member int16_opt_field - * @param _int16_opt_field New value to be moved in member int16_opt_field - */ - eProsima_user_DllExport void int16_opt_field( - eprosima::fastcdr::optional&& _int16_opt_field); - - /*! - * @brief This function returns a constant reference to member int16_opt_field - * @return Constant reference to member int16_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& int16_opt_field() const; - - /*! - * @brief This function returns a reference to member int16_opt_field - * @return Reference to member int16_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& int16_opt_field(); - - - /*! - * @brief This function copies the value in member uint16_opt_field - * @param _uint16_opt_field New value to be copied in member uint16_opt_field - */ - eProsima_user_DllExport void uint16_opt_field( - const eprosima::fastcdr::optional& _uint16_opt_field); - - /*! - * @brief This function moves the value in member uint16_opt_field - * @param _uint16_opt_field New value to be moved in member uint16_opt_field - */ - eProsima_user_DllExport void uint16_opt_field( - eprosima::fastcdr::optional&& _uint16_opt_field); - - /*! - * @brief This function returns a constant reference to member uint16_opt_field - * @return Constant reference to member uint16_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& uint16_opt_field() const; - - /*! - * @brief This function returns a reference to member uint16_opt_field - * @return Reference to member uint16_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& uint16_opt_field(); - - - /*! - * @brief This function copies the value in member int32_opt_field - * @param _int32_opt_field New value to be copied in member int32_opt_field - */ - eProsima_user_DllExport void int32_opt_field( - const eprosima::fastcdr::optional& _int32_opt_field); - - /*! - * @brief This function moves the value in member int32_opt_field - * @param _int32_opt_field New value to be moved in member int32_opt_field - */ - eProsima_user_DllExport void int32_opt_field( - eprosima::fastcdr::optional&& _int32_opt_field); - - /*! - * @brief This function returns a constant reference to member int32_opt_field - * @return Constant reference to member int32_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& int32_opt_field() const; - - /*! - * @brief This function returns a reference to member int32_opt_field - * @return Reference to member int32_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& int32_opt_field(); - - - /*! - * @brief This function copies the value in member uint32_opt_field - * @param _uint32_opt_field New value to be copied in member uint32_opt_field - */ - eProsima_user_DllExport void uint32_opt_field( - const eprosima::fastcdr::optional& _uint32_opt_field); - - /*! - * @brief This function moves the value in member uint32_opt_field - * @param _uint32_opt_field New value to be moved in member uint32_opt_field - */ - eProsima_user_DllExport void uint32_opt_field( - eprosima::fastcdr::optional&& _uint32_opt_field); - - /*! - * @brief This function returns a constant reference to member uint32_opt_field - * @return Constant reference to member uint32_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& uint32_opt_field() const; - - /*! - * @brief This function returns a reference to member uint32_opt_field - * @return Reference to member uint32_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& uint32_opt_field(); - - - /*! - * @brief This function copies the value in member int64_opt_field - * @param _int64_opt_field New value to be copied in member int64_opt_field - */ - eProsima_user_DllExport void int64_opt_field( - const eprosima::fastcdr::optional& _int64_opt_field); - - /*! - * @brief This function moves the value in member int64_opt_field - * @param _int64_opt_field New value to be moved in member int64_opt_field - */ - eProsima_user_DllExport void int64_opt_field( - eprosima::fastcdr::optional&& _int64_opt_field); - - /*! - * @brief This function returns a constant reference to member int64_opt_field - * @return Constant reference to member int64_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& int64_opt_field() const; - - /*! - * @brief This function returns a reference to member int64_opt_field - * @return Reference to member int64_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& int64_opt_field(); - - - /*! - * @brief This function copies the value in member uint64_opt_field - * @param _uint64_opt_field New value to be copied in member uint64_opt_field - */ - eProsima_user_DllExport void uint64_opt_field( - const eprosima::fastcdr::optional& _uint64_opt_field); - - /*! - * @brief This function moves the value in member uint64_opt_field - * @param _uint64_opt_field New value to be moved in member uint64_opt_field - */ - eProsima_user_DllExport void uint64_opt_field( - eprosima::fastcdr::optional&& _uint64_opt_field); - - /*! - * @brief This function returns a constant reference to member uint64_opt_field - * @return Constant reference to member uint64_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& uint64_opt_field() const; - - /*! - * @brief This function returns a reference to member uint64_opt_field - * @return Reference to member uint64_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& uint64_opt_field(); - - - /*! - * @brief This function copies the value in member float_opt_field - * @param _float_opt_field New value to be copied in member float_opt_field - */ - eProsima_user_DllExport void float_opt_field( - const eprosima::fastcdr::optional& _float_opt_field); - - /*! - * @brief This function moves the value in member float_opt_field - * @param _float_opt_field New value to be moved in member float_opt_field - */ - eProsima_user_DllExport void float_opt_field( - eprosima::fastcdr::optional&& _float_opt_field); - - /*! - * @brief This function returns a constant reference to member float_opt_field - * @return Constant reference to member float_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& float_opt_field() const; - - /*! - * @brief This function returns a reference to member float_opt_field - * @return Reference to member float_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& float_opt_field(); - - - /*! - * @brief This function copies the value in member double_opt_field - * @param _double_opt_field New value to be copied in member double_opt_field - */ - eProsima_user_DllExport void double_opt_field( - const eprosima::fastcdr::optional& _double_opt_field); - - /*! - * @brief This function moves the value in member double_opt_field - * @param _double_opt_field New value to be moved in member double_opt_field - */ - eProsima_user_DllExport void double_opt_field( - eprosima::fastcdr::optional&& _double_opt_field); - - /*! - * @brief This function returns a constant reference to member double_opt_field - * @return Constant reference to member double_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& double_opt_field() const; - - /*! - * @brief This function returns a reference to member double_opt_field - * @return Reference to member double_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& double_opt_field(); - - - /*! - * @brief This function copies the value in member bool_opt_field - * @param _bool_opt_field New value to be copied in member bool_opt_field - */ - eProsima_user_DllExport void bool_opt_field( - const eprosima::fastcdr::optional& _bool_opt_field); - - /*! - * @brief This function moves the value in member bool_opt_field - * @param _bool_opt_field New value to be moved in member bool_opt_field - */ - eProsima_user_DllExport void bool_opt_field( - eprosima::fastcdr::optional&& _bool_opt_field); - - /*! - * @brief This function returns a constant reference to member bool_opt_field - * @return Constant reference to member bool_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& bool_opt_field() const; - - /*! - * @brief This function returns a reference to member bool_opt_field - * @return Reference to member bool_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& bool_opt_field(); - - - /*! - * @brief This function copies the value in member string_opt_field - * @param _string_opt_field New value to be copied in member string_opt_field - */ - eProsima_user_DllExport void string_opt_field( - const eprosima::fastcdr::optional& _string_opt_field); - - /*! - * @brief This function moves the value in member string_opt_field - * @param _string_opt_field New value to be moved in member string_opt_field - */ - eProsima_user_DllExport void string_opt_field( - eprosima::fastcdr::optional&& _string_opt_field); - - /*! - * @brief This function returns a constant reference to member string_opt_field - * @return Constant reference to member string_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& string_opt_field() const; - - /*! - * @brief This function returns a reference to member string_opt_field - * @return Reference to member string_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& string_opt_field(); - - - /*! - * @brief This function copies the value in member enum_opt_field - * @param _enum_opt_field New value to be copied in member enum_opt_field - */ - eProsima_user_DllExport void enum_opt_field( - const eprosima::fastcdr::optional& _enum_opt_field); - - /*! - * @brief This function moves the value in member enum_opt_field - * @param _enum_opt_field New value to be moved in member enum_opt_field - */ - eProsima_user_DllExport void enum_opt_field( - eprosima::fastcdr::optional&& _enum_opt_field); - - /*! - * @brief This function returns a constant reference to member enum_opt_field - * @return Constant reference to member enum_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& enum_opt_field() const; - - /*! - * @brief This function returns a reference to member enum_opt_field - * @return Reference to member enum_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& enum_opt_field(); - - - /*! - * @brief This function copies the value in member enum2_opt_field - * @param _enum2_opt_field New value to be copied in member enum2_opt_field - */ - eProsima_user_DllExport void enum2_opt_field( - const eprosima::fastcdr::optional& _enum2_opt_field); - - /*! - * @brief This function moves the value in member enum2_opt_field - * @param _enum2_opt_field New value to be moved in member enum2_opt_field - */ - eProsima_user_DllExport void enum2_opt_field( - eprosima::fastcdr::optional&& _enum2_opt_field); - - /*! - * @brief This function returns a constant reference to member enum2_opt_field - * @return Constant reference to member enum2_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& enum2_opt_field() const; - - /*! - * @brief This function returns a reference to member enum2_opt_field - * @return Reference to member enum2_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& enum2_opt_field(); - - - /*! - * @brief This function copies the value in member struct_opt_field - * @param _struct_opt_field New value to be copied in member struct_opt_field - */ - eProsima_user_DllExport void struct_opt_field( - const eprosima::fastcdr::optional& _struct_opt_field); - - /*! - * @brief This function moves the value in member struct_opt_field - * @param _struct_opt_field New value to be moved in member struct_opt_field - */ - eProsima_user_DllExport void struct_opt_field( - eprosima::fastcdr::optional&& _struct_opt_field); - - /*! - * @brief This function returns a constant reference to member struct_opt_field - * @return Constant reference to member struct_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& struct_opt_field() const; - - /*! - * @brief This function returns a reference to member struct_opt_field - * @return Reference to member struct_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& struct_opt_field(); - - - /*! - * @brief This function copies the value in member array_char_field - * @param _array_char_field New value to be copied in member array_char_field - */ - eProsima_user_DllExport void array_char_field( - const std::array& _array_char_field); - - /*! - * @brief This function moves the value in member array_char_field - * @param _array_char_field New value to be moved in member array_char_field - */ - eProsima_user_DllExport void array_char_field( - std::array&& _array_char_field); - - /*! - * @brief This function returns a constant reference to member array_char_field - * @return Constant reference to member array_char_field - */ - eProsima_user_DllExport const std::array& array_char_field() const; - - /*! - * @brief This function returns a reference to member array_char_field - * @return Reference to member array_char_field - */ - eProsima_user_DllExport std::array& array_char_field(); - - - /*! - * @brief This function copies the value in member array_uint8_field - * @param _array_uint8_field New value to be copied in member array_uint8_field - */ - eProsima_user_DllExport void array_uint8_field( - const std::array& _array_uint8_field); - - /*! - * @brief This function moves the value in member array_uint8_field - * @param _array_uint8_field New value to be moved in member array_uint8_field - */ - eProsima_user_DllExport void array_uint8_field( - std::array&& _array_uint8_field); - - /*! - * @brief This function returns a constant reference to member array_uint8_field - * @return Constant reference to member array_uint8_field - */ - eProsima_user_DllExport const std::array& array_uint8_field() const; - - /*! - * @brief This function returns a reference to member array_uint8_field - * @return Reference to member array_uint8_field - */ - eProsima_user_DllExport std::array& array_uint8_field(); - - - /*! - * @brief This function copies the value in member array_int16_field - * @param _array_int16_field New value to be copied in member array_int16_field - */ - eProsima_user_DllExport void array_int16_field( - const std::array& _array_int16_field); - - /*! - * @brief This function moves the value in member array_int16_field - * @param _array_int16_field New value to be moved in member array_int16_field - */ - eProsima_user_DllExport void array_int16_field( - std::array&& _array_int16_field); - - /*! - * @brief This function returns a constant reference to member array_int16_field - * @return Constant reference to member array_int16_field - */ - eProsima_user_DllExport const std::array& array_int16_field() const; - - /*! - * @brief This function returns a reference to member array_int16_field - * @return Reference to member array_int16_field - */ - eProsima_user_DllExport std::array& array_int16_field(); - - - /*! - * @brief This function copies the value in member array_uint16_field - * @param _array_uint16_field New value to be copied in member array_uint16_field - */ - eProsima_user_DllExport void array_uint16_field( - const std::array& _array_uint16_field); - - /*! - * @brief This function moves the value in member array_uint16_field - * @param _array_uint16_field New value to be moved in member array_uint16_field - */ - eProsima_user_DllExport void array_uint16_field( - std::array&& _array_uint16_field); - - /*! - * @brief This function returns a constant reference to member array_uint16_field - * @return Constant reference to member array_uint16_field - */ - eProsima_user_DllExport const std::array& array_uint16_field() const; - - /*! - * @brief This function returns a reference to member array_uint16_field - * @return Reference to member array_uint16_field - */ - eProsima_user_DllExport std::array& array_uint16_field(); - - - /*! - * @brief This function copies the value in member array_int32_field - * @param _array_int32_field New value to be copied in member array_int32_field - */ - eProsima_user_DllExport void array_int32_field( - const std::array& _array_int32_field); - - /*! - * @brief This function moves the value in member array_int32_field - * @param _array_int32_field New value to be moved in member array_int32_field - */ - eProsima_user_DllExport void array_int32_field( - std::array&& _array_int32_field); - - /*! - * @brief This function returns a constant reference to member array_int32_field - * @return Constant reference to member array_int32_field - */ - eProsima_user_DllExport const std::array& array_int32_field() const; - - /*! - * @brief This function returns a reference to member array_int32_field - * @return Reference to member array_int32_field - */ - eProsima_user_DllExport std::array& array_int32_field(); - - - /*! - * @brief This function copies the value in member array_uint32_field - * @param _array_uint32_field New value to be copied in member array_uint32_field - */ - eProsima_user_DllExport void array_uint32_field( - const std::array& _array_uint32_field); - - /*! - * @brief This function moves the value in member array_uint32_field - * @param _array_uint32_field New value to be moved in member array_uint32_field - */ - eProsima_user_DllExport void array_uint32_field( - std::array&& _array_uint32_field); - - /*! - * @brief This function returns a constant reference to member array_uint32_field - * @return Constant reference to member array_uint32_field - */ - eProsima_user_DllExport const std::array& array_uint32_field() const; - - /*! - * @brief This function returns a reference to member array_uint32_field - * @return Reference to member array_uint32_field - */ - eProsima_user_DllExport std::array& array_uint32_field(); - - - /*! - * @brief This function copies the value in member array_int64_field - * @param _array_int64_field New value to be copied in member array_int64_field - */ - eProsima_user_DllExport void array_int64_field( - const std::array& _array_int64_field); - - /*! - * @brief This function moves the value in member array_int64_field - * @param _array_int64_field New value to be moved in member array_int64_field - */ - eProsima_user_DllExport void array_int64_field( - std::array&& _array_int64_field); - - /*! - * @brief This function returns a constant reference to member array_int64_field - * @return Constant reference to member array_int64_field - */ - eProsima_user_DllExport const std::array& array_int64_field() const; - - /*! - * @brief This function returns a reference to member array_int64_field - * @return Reference to member array_int64_field - */ - eProsima_user_DllExport std::array& array_int64_field(); - - - /*! - * @brief This function copies the value in member array_uint64_field - * @param _array_uint64_field New value to be copied in member array_uint64_field - */ - eProsima_user_DllExport void array_uint64_field( - const std::array& _array_uint64_field); - - /*! - * @brief This function moves the value in member array_uint64_field - * @param _array_uint64_field New value to be moved in member array_uint64_field - */ - eProsima_user_DllExport void array_uint64_field( - std::array&& _array_uint64_field); - - /*! - * @brief This function returns a constant reference to member array_uint64_field - * @return Constant reference to member array_uint64_field - */ - eProsima_user_DllExport const std::array& array_uint64_field() const; - - /*! - * @brief This function returns a reference to member array_uint64_field - * @return Reference to member array_uint64_field - */ - eProsima_user_DllExport std::array& array_uint64_field(); - - - /*! - * @brief This function copies the value in member array_float_field - * @param _array_float_field New value to be copied in member array_float_field - */ - eProsima_user_DllExport void array_float_field( - const std::array& _array_float_field); - - /*! - * @brief This function moves the value in member array_float_field - * @param _array_float_field New value to be moved in member array_float_field - */ - eProsima_user_DllExport void array_float_field( - std::array&& _array_float_field); - - /*! - * @brief This function returns a constant reference to member array_float_field - * @return Constant reference to member array_float_field - */ - eProsima_user_DllExport const std::array& array_float_field() const; - - /*! - * @brief This function returns a reference to member array_float_field - * @return Reference to member array_float_field - */ - eProsima_user_DllExport std::array& array_float_field(); - - - /*! - * @brief This function copies the value in member array_double_field - * @param _array_double_field New value to be copied in member array_double_field - */ - eProsima_user_DllExport void array_double_field( - const std::array& _array_double_field); - - /*! - * @brief This function moves the value in member array_double_field - * @param _array_double_field New value to be moved in member array_double_field - */ - eProsima_user_DllExport void array_double_field( - std::array&& _array_double_field); - - /*! - * @brief This function returns a constant reference to member array_double_field - * @return Constant reference to member array_double_field - */ - eProsima_user_DllExport const std::array& array_double_field() const; - - /*! - * @brief This function returns a reference to member array_double_field - * @return Reference to member array_double_field - */ - eProsima_user_DllExport std::array& array_double_field(); - - - /*! - * @brief This function copies the value in member array_bool_field - * @param _array_bool_field New value to be copied in member array_bool_field - */ - eProsima_user_DllExport void array_bool_field( - const std::array& _array_bool_field); - - /*! - * @brief This function moves the value in member array_bool_field - * @param _array_bool_field New value to be moved in member array_bool_field - */ - eProsima_user_DllExport void array_bool_field( - std::array&& _array_bool_field); - - /*! - * @brief This function returns a constant reference to member array_bool_field - * @return Constant reference to member array_bool_field - */ - eProsima_user_DllExport const std::array& array_bool_field() const; - - /*! - * @brief This function returns a reference to member array_bool_field - * @return Reference to member array_bool_field - */ - eProsima_user_DllExport std::array& array_bool_field(); - - - /*! - * @brief This function copies the value in member array_enum_field - * @param _array_enum_field New value to be copied in member array_enum_field - */ - eProsima_user_DllExport void array_enum_field( - const std::array& _array_enum_field); - - /*! - * @brief This function moves the value in member array_enum_field - * @param _array_enum_field New value to be moved in member array_enum_field - */ - eProsima_user_DllExport void array_enum_field( - std::array&& _array_enum_field); - - /*! - * @brief This function returns a constant reference to member array_enum_field - * @return Constant reference to member array_enum_field - */ - eProsima_user_DllExport const std::array& array_enum_field() const; - - /*! - * @brief This function returns a reference to member array_enum_field - * @return Reference to member array_enum_field - */ - eProsima_user_DllExport std::array& array_enum_field(); - - - /*! - * @brief This function copies the value in member array_enum2_field - * @param _array_enum2_field New value to be copied in member array_enum2_field - */ - eProsima_user_DllExport void array_enum2_field( - const std::array& _array_enum2_field); - - /*! - * @brief This function moves the value in member array_enum2_field - * @param _array_enum2_field New value to be moved in member array_enum2_field - */ - eProsima_user_DllExport void array_enum2_field( - std::array&& _array_enum2_field); - - /*! - * @brief This function returns a constant reference to member array_enum2_field - * @return Constant reference to member array_enum2_field - */ - eProsima_user_DllExport const std::array& array_enum2_field() const; - - /*! - * @brief This function returns a reference to member array_enum2_field - * @return Reference to member array_enum2_field - */ - eProsima_user_DllExport std::array& array_enum2_field(); - - - /*! - * @brief This function copies the value in member array_struct_field - * @param _array_struct_field New value to be copied in member array_struct_field - */ - eProsima_user_DllExport void array_struct_field( - const std::array& _array_struct_field); - - /*! - * @brief This function moves the value in member array_struct_field - * @param _array_struct_field New value to be moved in member array_struct_field - */ - eProsima_user_DllExport void array_struct_field( - std::array&& _array_struct_field); - - /*! - * @brief This function returns a constant reference to member array_struct_field - * @return Constant reference to member array_struct_field - */ - eProsima_user_DllExport const std::array& array_struct_field() const; - - /*! - * @brief This function returns a reference to member array_struct_field - * @return Reference to member array_struct_field - */ - eProsima_user_DllExport std::array& array_struct_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_char_field - * @param _bounded_sequence_char_field New value to be copied in member bounded_sequence_char_field - */ - eProsima_user_DllExport void bounded_sequence_char_field( - const std::vector& _bounded_sequence_char_field); - - /*! - * @brief This function moves the value in member bounded_sequence_char_field - * @param _bounded_sequence_char_field New value to be moved in member bounded_sequence_char_field - */ - eProsima_user_DllExport void bounded_sequence_char_field( - std::vector&& _bounded_sequence_char_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_char_field - * @return Constant reference to member bounded_sequence_char_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_char_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_char_field - * @return Reference to member bounded_sequence_char_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_char_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_uint8_field - * @param _bounded_sequence_uint8_field New value to be copied in member bounded_sequence_uint8_field - */ - eProsima_user_DllExport void bounded_sequence_uint8_field( - const std::vector& _bounded_sequence_uint8_field); - - /*! - * @brief This function moves the value in member bounded_sequence_uint8_field - * @param _bounded_sequence_uint8_field New value to be moved in member bounded_sequence_uint8_field - */ - eProsima_user_DllExport void bounded_sequence_uint8_field( - std::vector&& _bounded_sequence_uint8_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_uint8_field - * @return Constant reference to member bounded_sequence_uint8_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_uint8_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_uint8_field - * @return Reference to member bounded_sequence_uint8_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_uint8_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_int16_field - * @param _bounded_sequence_int16_field New value to be copied in member bounded_sequence_int16_field - */ - eProsima_user_DllExport void bounded_sequence_int16_field( - const std::vector& _bounded_sequence_int16_field); - - /*! - * @brief This function moves the value in member bounded_sequence_int16_field - * @param _bounded_sequence_int16_field New value to be moved in member bounded_sequence_int16_field - */ - eProsima_user_DllExport void bounded_sequence_int16_field( - std::vector&& _bounded_sequence_int16_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_int16_field - * @return Constant reference to member bounded_sequence_int16_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_int16_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_int16_field - * @return Reference to member bounded_sequence_int16_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_int16_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_uint16_field - * @param _bounded_sequence_uint16_field New value to be copied in member bounded_sequence_uint16_field - */ - eProsima_user_DllExport void bounded_sequence_uint16_field( - const std::vector& _bounded_sequence_uint16_field); - - /*! - * @brief This function moves the value in member bounded_sequence_uint16_field - * @param _bounded_sequence_uint16_field New value to be moved in member bounded_sequence_uint16_field - */ - eProsima_user_DllExport void bounded_sequence_uint16_field( - std::vector&& _bounded_sequence_uint16_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_uint16_field - * @return Constant reference to member bounded_sequence_uint16_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_uint16_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_uint16_field - * @return Reference to member bounded_sequence_uint16_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_uint16_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_int32_field - * @param _bounded_sequence_int32_field New value to be copied in member bounded_sequence_int32_field - */ - eProsima_user_DllExport void bounded_sequence_int32_field( - const std::vector& _bounded_sequence_int32_field); - - /*! - * @brief This function moves the value in member bounded_sequence_int32_field - * @param _bounded_sequence_int32_field New value to be moved in member bounded_sequence_int32_field - */ - eProsima_user_DllExport void bounded_sequence_int32_field( - std::vector&& _bounded_sequence_int32_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_int32_field - * @return Constant reference to member bounded_sequence_int32_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_int32_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_int32_field - * @return Reference to member bounded_sequence_int32_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_int32_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_uint32_field - * @param _bounded_sequence_uint32_field New value to be copied in member bounded_sequence_uint32_field - */ - eProsima_user_DllExport void bounded_sequence_uint32_field( - const std::vector& _bounded_sequence_uint32_field); - - /*! - * @brief This function moves the value in member bounded_sequence_uint32_field - * @param _bounded_sequence_uint32_field New value to be moved in member bounded_sequence_uint32_field - */ - eProsima_user_DllExport void bounded_sequence_uint32_field( - std::vector&& _bounded_sequence_uint32_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_uint32_field - * @return Constant reference to member bounded_sequence_uint32_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_uint32_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_uint32_field - * @return Reference to member bounded_sequence_uint32_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_uint32_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_int64_field - * @param _bounded_sequence_int64_field New value to be copied in member bounded_sequence_int64_field - */ - eProsima_user_DllExport void bounded_sequence_int64_field( - const std::vector& _bounded_sequence_int64_field); - - /*! - * @brief This function moves the value in member bounded_sequence_int64_field - * @param _bounded_sequence_int64_field New value to be moved in member bounded_sequence_int64_field - */ - eProsima_user_DllExport void bounded_sequence_int64_field( - std::vector&& _bounded_sequence_int64_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_int64_field - * @return Constant reference to member bounded_sequence_int64_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_int64_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_int64_field - * @return Reference to member bounded_sequence_int64_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_int64_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_uint64_field - * @param _bounded_sequence_uint64_field New value to be copied in member bounded_sequence_uint64_field - */ - eProsima_user_DllExport void bounded_sequence_uint64_field( - const std::vector& _bounded_sequence_uint64_field); - - /*! - * @brief This function moves the value in member bounded_sequence_uint64_field - * @param _bounded_sequence_uint64_field New value to be moved in member bounded_sequence_uint64_field - */ - eProsima_user_DllExport void bounded_sequence_uint64_field( - std::vector&& _bounded_sequence_uint64_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_uint64_field - * @return Constant reference to member bounded_sequence_uint64_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_uint64_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_uint64_field - * @return Reference to member bounded_sequence_uint64_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_uint64_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_float_field - * @param _bounded_sequence_float_field New value to be copied in member bounded_sequence_float_field - */ - eProsima_user_DllExport void bounded_sequence_float_field( - const std::vector& _bounded_sequence_float_field); - - /*! - * @brief This function moves the value in member bounded_sequence_float_field - * @param _bounded_sequence_float_field New value to be moved in member bounded_sequence_float_field - */ - eProsima_user_DllExport void bounded_sequence_float_field( - std::vector&& _bounded_sequence_float_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_float_field - * @return Constant reference to member bounded_sequence_float_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_float_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_float_field - * @return Reference to member bounded_sequence_float_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_float_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_double_field - * @param _bounded_sequence_double_field New value to be copied in member bounded_sequence_double_field - */ - eProsima_user_DllExport void bounded_sequence_double_field( - const std::vector& _bounded_sequence_double_field); - - /*! - * @brief This function moves the value in member bounded_sequence_double_field - * @param _bounded_sequence_double_field New value to be moved in member bounded_sequence_double_field - */ - eProsima_user_DllExport void bounded_sequence_double_field( - std::vector&& _bounded_sequence_double_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_double_field - * @return Constant reference to member bounded_sequence_double_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_double_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_double_field - * @return Reference to member bounded_sequence_double_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_double_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_bool_field - * @param _bounded_sequence_bool_field New value to be copied in member bounded_sequence_bool_field - */ - eProsima_user_DllExport void bounded_sequence_bool_field( - const std::vector& _bounded_sequence_bool_field); - - /*! - * @brief This function moves the value in member bounded_sequence_bool_field - * @param _bounded_sequence_bool_field New value to be moved in member bounded_sequence_bool_field - */ - eProsima_user_DllExport void bounded_sequence_bool_field( - std::vector&& _bounded_sequence_bool_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_bool_field - * @return Constant reference to member bounded_sequence_bool_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_bool_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_bool_field - * @return Reference to member bounded_sequence_bool_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_bool_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_enum_field - * @param _bounded_sequence_enum_field New value to be copied in member bounded_sequence_enum_field - */ - eProsima_user_DllExport void bounded_sequence_enum_field( - const std::vector& _bounded_sequence_enum_field); - - /*! - * @brief This function moves the value in member bounded_sequence_enum_field - * @param _bounded_sequence_enum_field New value to be moved in member bounded_sequence_enum_field - */ - eProsima_user_DllExport void bounded_sequence_enum_field( - std::vector&& _bounded_sequence_enum_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_enum_field - * @return Constant reference to member bounded_sequence_enum_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_enum_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_enum_field - * @return Reference to member bounded_sequence_enum_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_enum_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_enum2_field - * @param _bounded_sequence_enum2_field New value to be copied in member bounded_sequence_enum2_field - */ - eProsima_user_DllExport void bounded_sequence_enum2_field( - const std::vector& _bounded_sequence_enum2_field); - - /*! - * @brief This function moves the value in member bounded_sequence_enum2_field - * @param _bounded_sequence_enum2_field New value to be moved in member bounded_sequence_enum2_field - */ - eProsima_user_DllExport void bounded_sequence_enum2_field( - std::vector&& _bounded_sequence_enum2_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_enum2_field - * @return Constant reference to member bounded_sequence_enum2_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_enum2_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_enum2_field - * @return Reference to member bounded_sequence_enum2_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_enum2_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_struct_field - * @param _bounded_sequence_struct_field New value to be copied in member bounded_sequence_struct_field - */ - eProsima_user_DllExport void bounded_sequence_struct_field( - const std::vector& _bounded_sequence_struct_field); - - /*! - * @brief This function moves the value in member bounded_sequence_struct_field - * @param _bounded_sequence_struct_field New value to be moved in member bounded_sequence_struct_field - */ - eProsima_user_DllExport void bounded_sequence_struct_field( - std::vector&& _bounded_sequence_struct_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_struct_field - * @return Constant reference to member bounded_sequence_struct_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_struct_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_struct_field - * @return Reference to member bounded_sequence_struct_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_struct_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_char_field - * @param _unbounded_sequence_char_field New value to be copied in member unbounded_sequence_char_field - */ - eProsima_user_DllExport void unbounded_sequence_char_field( - const std::vector& _unbounded_sequence_char_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_char_field - * @param _unbounded_sequence_char_field New value to be moved in member unbounded_sequence_char_field - */ - eProsima_user_DllExport void unbounded_sequence_char_field( - std::vector&& _unbounded_sequence_char_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_char_field - * @return Constant reference to member unbounded_sequence_char_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_char_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_char_field - * @return Reference to member unbounded_sequence_char_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_char_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_uint8_field - * @param _unbounded_sequence_uint8_field New value to be copied in member unbounded_sequence_uint8_field - */ - eProsima_user_DllExport void unbounded_sequence_uint8_field( - const std::vector& _unbounded_sequence_uint8_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_uint8_field - * @param _unbounded_sequence_uint8_field New value to be moved in member unbounded_sequence_uint8_field - */ - eProsima_user_DllExport void unbounded_sequence_uint8_field( - std::vector&& _unbounded_sequence_uint8_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_uint8_field - * @return Constant reference to member unbounded_sequence_uint8_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_uint8_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_uint8_field - * @return Reference to member unbounded_sequence_uint8_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_uint8_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_int16_field - * @param _unbounded_sequence_int16_field New value to be copied in member unbounded_sequence_int16_field - */ - eProsima_user_DllExport void unbounded_sequence_int16_field( - const std::vector& _unbounded_sequence_int16_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_int16_field - * @param _unbounded_sequence_int16_field New value to be moved in member unbounded_sequence_int16_field - */ - eProsima_user_DllExport void unbounded_sequence_int16_field( - std::vector&& _unbounded_sequence_int16_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_int16_field - * @return Constant reference to member unbounded_sequence_int16_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_int16_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_int16_field - * @return Reference to member unbounded_sequence_int16_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_int16_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_uint16_field - * @param _unbounded_sequence_uint16_field New value to be copied in member unbounded_sequence_uint16_field - */ - eProsima_user_DllExport void unbounded_sequence_uint16_field( - const std::vector& _unbounded_sequence_uint16_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_uint16_field - * @param _unbounded_sequence_uint16_field New value to be moved in member unbounded_sequence_uint16_field - */ - eProsima_user_DllExport void unbounded_sequence_uint16_field( - std::vector&& _unbounded_sequence_uint16_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_uint16_field - * @return Constant reference to member unbounded_sequence_uint16_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_uint16_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_uint16_field - * @return Reference to member unbounded_sequence_uint16_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_uint16_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_int32_field - * @param _unbounded_sequence_int32_field New value to be copied in member unbounded_sequence_int32_field - */ - eProsima_user_DllExport void unbounded_sequence_int32_field( - const std::vector& _unbounded_sequence_int32_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_int32_field - * @param _unbounded_sequence_int32_field New value to be moved in member unbounded_sequence_int32_field - */ - eProsima_user_DllExport void unbounded_sequence_int32_field( - std::vector&& _unbounded_sequence_int32_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_int32_field - * @return Constant reference to member unbounded_sequence_int32_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_int32_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_int32_field - * @return Reference to member unbounded_sequence_int32_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_int32_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_uint32_field - * @param _unbounded_sequence_uint32_field New value to be copied in member unbounded_sequence_uint32_field - */ - eProsima_user_DllExport void unbounded_sequence_uint32_field( - const std::vector& _unbounded_sequence_uint32_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_uint32_field - * @param _unbounded_sequence_uint32_field New value to be moved in member unbounded_sequence_uint32_field - */ - eProsima_user_DllExport void unbounded_sequence_uint32_field( - std::vector&& _unbounded_sequence_uint32_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_uint32_field - * @return Constant reference to member unbounded_sequence_uint32_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_uint32_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_uint32_field - * @return Reference to member unbounded_sequence_uint32_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_uint32_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_int64_field - * @param _unbounded_sequence_int64_field New value to be copied in member unbounded_sequence_int64_field - */ - eProsima_user_DllExport void unbounded_sequence_int64_field( - const std::vector& _unbounded_sequence_int64_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_int64_field - * @param _unbounded_sequence_int64_field New value to be moved in member unbounded_sequence_int64_field - */ - eProsima_user_DllExport void unbounded_sequence_int64_field( - std::vector&& _unbounded_sequence_int64_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_int64_field - * @return Constant reference to member unbounded_sequence_int64_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_int64_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_int64_field - * @return Reference to member unbounded_sequence_int64_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_int64_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_uint64_field - * @param _unbounded_sequence_uint64_field New value to be copied in member unbounded_sequence_uint64_field - */ - eProsima_user_DllExport void unbounded_sequence_uint64_field( - const std::vector& _unbounded_sequence_uint64_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_uint64_field - * @param _unbounded_sequence_uint64_field New value to be moved in member unbounded_sequence_uint64_field - */ - eProsima_user_DllExport void unbounded_sequence_uint64_field( - std::vector&& _unbounded_sequence_uint64_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_uint64_field - * @return Constant reference to member unbounded_sequence_uint64_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_uint64_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_uint64_field - * @return Reference to member unbounded_sequence_uint64_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_uint64_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_float_field - * @param _unbounded_sequence_float_field New value to be copied in member unbounded_sequence_float_field - */ - eProsima_user_DllExport void unbounded_sequence_float_field( - const std::vector& _unbounded_sequence_float_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_float_field - * @param _unbounded_sequence_float_field New value to be moved in member unbounded_sequence_float_field - */ - eProsima_user_DllExport void unbounded_sequence_float_field( - std::vector&& _unbounded_sequence_float_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_float_field - * @return Constant reference to member unbounded_sequence_float_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_float_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_float_field - * @return Reference to member unbounded_sequence_float_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_float_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_double_field - * @param _unbounded_sequence_double_field New value to be copied in member unbounded_sequence_double_field - */ - eProsima_user_DllExport void unbounded_sequence_double_field( - const std::vector& _unbounded_sequence_double_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_double_field - * @param _unbounded_sequence_double_field New value to be moved in member unbounded_sequence_double_field - */ - eProsima_user_DllExport void unbounded_sequence_double_field( - std::vector&& _unbounded_sequence_double_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_double_field - * @return Constant reference to member unbounded_sequence_double_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_double_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_double_field - * @return Reference to member unbounded_sequence_double_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_double_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_bool_field - * @param _unbounded_sequence_bool_field New value to be copied in member unbounded_sequence_bool_field - */ - eProsima_user_DllExport void unbounded_sequence_bool_field( - const std::vector& _unbounded_sequence_bool_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_bool_field - * @param _unbounded_sequence_bool_field New value to be moved in member unbounded_sequence_bool_field - */ - eProsima_user_DllExport void unbounded_sequence_bool_field( - std::vector&& _unbounded_sequence_bool_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_bool_field - * @return Constant reference to member unbounded_sequence_bool_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_bool_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_bool_field - * @return Reference to member unbounded_sequence_bool_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_bool_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_enum_field - * @param _unbounded_sequence_enum_field New value to be copied in member unbounded_sequence_enum_field - */ - eProsima_user_DllExport void unbounded_sequence_enum_field( - const std::vector& _unbounded_sequence_enum_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_enum_field - * @param _unbounded_sequence_enum_field New value to be moved in member unbounded_sequence_enum_field - */ - eProsima_user_DllExport void unbounded_sequence_enum_field( - std::vector&& _unbounded_sequence_enum_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_enum_field - * @return Constant reference to member unbounded_sequence_enum_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_enum_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_enum_field - * @return Reference to member unbounded_sequence_enum_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_enum_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_enum2_field - * @param _unbounded_sequence_enum2_field New value to be copied in member unbounded_sequence_enum2_field - */ - eProsima_user_DllExport void unbounded_sequence_enum2_field( - const std::vector& _unbounded_sequence_enum2_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_enum2_field - * @param _unbounded_sequence_enum2_field New value to be moved in member unbounded_sequence_enum2_field - */ - eProsima_user_DllExport void unbounded_sequence_enum2_field( - std::vector&& _unbounded_sequence_enum2_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_enum2_field - * @return Constant reference to member unbounded_sequence_enum2_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_enum2_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_enum2_field - * @return Reference to member unbounded_sequence_enum2_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_enum2_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_struct_field - * @param _unbounded_sequence_struct_field New value to be copied in member unbounded_sequence_struct_field - */ - eProsima_user_DllExport void unbounded_sequence_struct_field( - const std::vector& _unbounded_sequence_struct_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_struct_field - * @param _unbounded_sequence_struct_field New value to be moved in member unbounded_sequence_struct_field - */ - eProsima_user_DllExport void unbounded_sequence_struct_field( - std::vector&& _unbounded_sequence_struct_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_struct_field - * @return Constant reference to member unbounded_sequence_struct_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_struct_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_struct_field - * @return Reference to member unbounded_sequence_struct_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_struct_field(); - - private: - - char m_char_field{0}; - uint8_t m_uint8_field{0}; - int16_t m_int16_field{0}; - uint16_t m_uint16_field{0}; - int32_t m_int32_field{0}; - uint32_t m_uint32_field{0}; - int64_t m_int64_field{0}; - uint64_t m_uint64_field{0}; - float m_float_field{0.0}; - double m_double_field{0.0}; - bool m_bool_field{false}; - std::string m_string_field; - eprosima::test::Color m_enum_field{eprosima::test::RED}; - eprosima::test::Material m_enum2_field{eprosima::test::WOOD}; - eprosima::test::StructType m_struct_field; - eprosima::fastcdr::optional m_char_opt_field; - eprosima::fastcdr::optional m_uint8_opt_field; - eprosima::fastcdr::optional m_int16_opt_field; - eprosima::fastcdr::optional m_uint16_opt_field; - eprosima::fastcdr::optional m_int32_opt_field; - eprosima::fastcdr::optional m_uint32_opt_field; - eprosima::fastcdr::optional m_int64_opt_field; - eprosima::fastcdr::optional m_uint64_opt_field; - eprosima::fastcdr::optional m_float_opt_field; - eprosima::fastcdr::optional m_double_opt_field; - eprosima::fastcdr::optional m_bool_opt_field; - eprosima::fastcdr::optional m_string_opt_field; - eprosima::fastcdr::optional m_enum_opt_field; - eprosima::fastcdr::optional m_enum2_opt_field; - eprosima::fastcdr::optional m_struct_opt_field; - std::array m_array_char_field{0}; - std::array m_array_uint8_field{0}; - std::array m_array_int16_field{0}; - std::array m_array_uint16_field{0}; - std::array m_array_int32_field{0}; - std::array m_array_uint32_field{0}; - std::array m_array_int64_field{0}; - std::array m_array_uint64_field{0}; - std::array m_array_float_field{0.0}; - std::array m_array_double_field{0.0}; - std::array m_array_bool_field{false}; - std::array m_array_enum_field{eprosima::test::RED}; - std::array m_array_enum2_field{eprosima::test::WOOD}; - std::array m_array_struct_field; - std::vector m_bounded_sequence_char_field; - std::vector m_bounded_sequence_uint8_field; - std::vector m_bounded_sequence_int16_field; - std::vector m_bounded_sequence_uint16_field; - std::vector m_bounded_sequence_int32_field; - std::vector m_bounded_sequence_uint32_field; - std::vector m_bounded_sequence_int64_field; - std::vector m_bounded_sequence_uint64_field; - std::vector m_bounded_sequence_float_field; - std::vector m_bounded_sequence_double_field; - std::vector m_bounded_sequence_bool_field; - std::vector m_bounded_sequence_enum_field; - std::vector m_bounded_sequence_enum2_field; - std::vector m_bounded_sequence_struct_field; - std::vector m_unbounded_sequence_char_field; - std::vector m_unbounded_sequence_uint8_field; - std::vector m_unbounded_sequence_int16_field; - std::vector m_unbounded_sequence_uint16_field; - std::vector m_unbounded_sequence_int32_field; - std::vector m_unbounded_sequence_uint32_field; - std::vector m_unbounded_sequence_int64_field; - std::vector m_unbounded_sequence_uint64_field; - std::vector m_unbounded_sequence_float_field; - std::vector m_unbounded_sequence_double_field; - std::vector m_unbounded_sequence_bool_field; - std::vector m_unbounded_sequence_enum_field; - std::vector m_unbounded_sequence_enum2_field; - std::vector m_unbounded_sequence_struct_field; - - }; - /*! - * @brief This class represents the structure KeyedCompleteTestType defined by the user in the IDL file. - * @ingroup test_modules - */ - class KeyedCompleteTestType - { - public: - - /*! - * @brief Default constructor. - */ - eProsima_user_DllExport KeyedCompleteTestType(); - - /*! - * @brief Default destructor. - */ - eProsima_user_DllExport ~KeyedCompleteTestType(); - - /*! - * @brief Copy constructor. - * @param x Reference to the object eprosima::test::KeyedCompleteTestType that will be copied. - */ - eProsima_user_DllExport KeyedCompleteTestType( - const KeyedCompleteTestType& x); - - /*! - * @brief Move constructor. - * @param x Reference to the object eprosima::test::KeyedCompleteTestType that will be copied. - */ - eProsima_user_DllExport KeyedCompleteTestType( - KeyedCompleteTestType&& x) noexcept; - - /*! - * @brief Copy assignment. - * @param x Reference to the object eprosima::test::KeyedCompleteTestType that will be copied. - */ - eProsima_user_DllExport KeyedCompleteTestType& operator =( - const KeyedCompleteTestType& x); - - /*! - * @brief Move assignment. - * @param x Reference to the object eprosima::test::KeyedCompleteTestType that will be copied. - */ - eProsima_user_DllExport KeyedCompleteTestType& operator =( - KeyedCompleteTestType&& x) noexcept; - - /*! - * @brief Comparison operator. - * @param x eprosima::test::KeyedCompleteTestType object to compare. - */ - eProsima_user_DllExport bool operator ==( - const KeyedCompleteTestType& x) const; - - /*! - * @brief Comparison operator. - * @param x eprosima::test::KeyedCompleteTestType object to compare. - */ - eProsima_user_DllExport bool operator !=( - const KeyedCompleteTestType& x) const; - - /*! - * @brief This function sets a value in member id - * @param _id New value for member id - */ - eProsima_user_DllExport void id( - int32_t _id); - - /*! - * @brief This function returns the value of member id - * @return Value of member id - */ - eProsima_user_DllExport int32_t id() const; - - /*! - * @brief This function returns a reference to member id - * @return Reference to member id - */ - eProsima_user_DllExport int32_t& id(); - - - /*! - * @brief This function sets a value in member char_field - * @param _char_field New value for member char_field - */ - eProsima_user_DllExport void char_field( - char _char_field); - - /*! - * @brief This function returns the value of member char_field - * @return Value of member char_field - */ - eProsima_user_DllExport char char_field() const; - - /*! - * @brief This function returns a reference to member char_field - * @return Reference to member char_field - */ - eProsima_user_DllExport char& char_field(); - - - /*! - * @brief This function sets a value in member uint8_field - * @param _uint8_field New value for member uint8_field - */ - eProsima_user_DllExport void uint8_field( - uint8_t _uint8_field); - - /*! - * @brief This function returns the value of member uint8_field - * @return Value of member uint8_field - */ - eProsima_user_DllExport uint8_t uint8_field() const; - - /*! - * @brief This function returns a reference to member uint8_field - * @return Reference to member uint8_field - */ - eProsima_user_DllExport uint8_t& uint8_field(); - - - /*! - * @brief This function sets a value in member int16_field - * @param _int16_field New value for member int16_field - */ - eProsima_user_DllExport void int16_field( - int16_t _int16_field); - - /*! - * @brief This function returns the value of member int16_field - * @return Value of member int16_field - */ - eProsima_user_DllExport int16_t int16_field() const; - - /*! - * @brief This function returns a reference to member int16_field - * @return Reference to member int16_field - */ - eProsima_user_DllExport int16_t& int16_field(); - - - /*! - * @brief This function sets a value in member uint16_field - * @param _uint16_field New value for member uint16_field - */ - eProsima_user_DllExport void uint16_field( - uint16_t _uint16_field); - - /*! - * @brief This function returns the value of member uint16_field - * @return Value of member uint16_field - */ - eProsima_user_DllExport uint16_t uint16_field() const; - - /*! - * @brief This function returns a reference to member uint16_field - * @return Reference to member uint16_field - */ - eProsima_user_DllExport uint16_t& uint16_field(); - - - /*! - * @brief This function sets a value in member int32_field - * @param _int32_field New value for member int32_field - */ - eProsima_user_DllExport void int32_field( - int32_t _int32_field); - - /*! - * @brief This function returns the value of member int32_field - * @return Value of member int32_field - */ - eProsima_user_DllExport int32_t int32_field() const; - - /*! - * @brief This function returns a reference to member int32_field - * @return Reference to member int32_field - */ - eProsima_user_DllExport int32_t& int32_field(); - - - /*! - * @brief This function sets a value in member uint32_field - * @param _uint32_field New value for member uint32_field - */ - eProsima_user_DllExport void uint32_field( - uint32_t _uint32_field); - - /*! - * @brief This function returns the value of member uint32_field - * @return Value of member uint32_field - */ - eProsima_user_DllExport uint32_t uint32_field() const; - - /*! - * @brief This function returns a reference to member uint32_field - * @return Reference to member uint32_field - */ - eProsima_user_DllExport uint32_t& uint32_field(); - - - /*! - * @brief This function sets a value in member int64_field - * @param _int64_field New value for member int64_field - */ - eProsima_user_DllExport void int64_field( - int64_t _int64_field); - - /*! - * @brief This function returns the value of member int64_field - * @return Value of member int64_field - */ - eProsima_user_DllExport int64_t int64_field() const; - - /*! - * @brief This function returns a reference to member int64_field - * @return Reference to member int64_field - */ - eProsima_user_DllExport int64_t& int64_field(); - - - /*! - * @brief This function sets a value in member uint64_field - * @param _uint64_field New value for member uint64_field - */ - eProsima_user_DllExport void uint64_field( - uint64_t _uint64_field); - - /*! - * @brief This function returns the value of member uint64_field - * @return Value of member uint64_field - */ - eProsima_user_DllExport uint64_t uint64_field() const; - - /*! - * @brief This function returns a reference to member uint64_field - * @return Reference to member uint64_field - */ - eProsima_user_DllExport uint64_t& uint64_field(); - - - /*! - * @brief This function sets a value in member float_field - * @param _float_field New value for member float_field - */ - eProsima_user_DllExport void float_field( - float _float_field); - - /*! - * @brief This function returns the value of member float_field - * @return Value of member float_field - */ - eProsima_user_DllExport float float_field() const; - - /*! - * @brief This function returns a reference to member float_field - * @return Reference to member float_field - */ - eProsima_user_DllExport float& float_field(); - - - /*! - * @brief This function sets a value in member double_field - * @param _double_field New value for member double_field - */ - eProsima_user_DllExport void double_field( - double _double_field); - - /*! - * @brief This function returns the value of member double_field - * @return Value of member double_field - */ - eProsima_user_DllExport double double_field() const; - - /*! - * @brief This function returns a reference to member double_field - * @return Reference to member double_field - */ - eProsima_user_DllExport double& double_field(); - - - /*! - * @brief This function sets a value in member bool_field - * @param _bool_field New value for member bool_field - */ - eProsima_user_DllExport void bool_field( - bool _bool_field); - - /*! - * @brief This function returns the value of member bool_field - * @return Value of member bool_field - */ - eProsima_user_DllExport bool bool_field() const; - - /*! - * @brief This function returns a reference to member bool_field - * @return Reference to member bool_field - */ - eProsima_user_DllExport bool& bool_field(); - - - /*! - * @brief This function copies the value in member string_field - * @param _string_field New value to be copied in member string_field - */ - eProsima_user_DllExport void string_field( - const std::string& _string_field); - - /*! - * @brief This function moves the value in member string_field - * @param _string_field New value to be moved in member string_field - */ - eProsima_user_DllExport void string_field( - std::string&& _string_field); - - /*! - * @brief This function returns a constant reference to member string_field - * @return Constant reference to member string_field - */ - eProsima_user_DllExport const std::string& string_field() const; - - /*! - * @brief This function returns a reference to member string_field - * @return Reference to member string_field - */ - eProsima_user_DllExport std::string& string_field(); - - - /*! - * @brief This function sets a value in member enum_field - * @param _enum_field New value for member enum_field - */ - eProsima_user_DllExport void enum_field( - eprosima::test::Color _enum_field); - - /*! - * @brief This function returns the value of member enum_field - * @return Value of member enum_field - */ - eProsima_user_DllExport eprosima::test::Color enum_field() const; - - /*! - * @brief This function returns a reference to member enum_field - * @return Reference to member enum_field - */ - eProsima_user_DllExport eprosima::test::Color& enum_field(); - - - /*! - * @brief This function sets a value in member enum2_field - * @param _enum2_field New value for member enum2_field - */ - eProsima_user_DllExport void enum2_field( - eprosima::test::Material _enum2_field); - - /*! - * @brief This function returns the value of member enum2_field - * @return Value of member enum2_field - */ - eProsima_user_DllExport eprosima::test::Material enum2_field() const; - - /*! - * @brief This function returns a reference to member enum2_field - * @return Reference to member enum2_field - */ - eProsima_user_DllExport eprosima::test::Material& enum2_field(); - - - /*! - * @brief This function copies the value in member struct_field - * @param _struct_field New value to be copied in member struct_field - */ - eProsima_user_DllExport void struct_field( - const eprosima::test::StructType& _struct_field); - - /*! - * @brief This function moves the value in member struct_field - * @param _struct_field New value to be moved in member struct_field - */ - eProsima_user_DllExport void struct_field( - eprosima::test::StructType&& _struct_field); - - /*! - * @brief This function returns a constant reference to member struct_field - * @return Constant reference to member struct_field - */ - eProsima_user_DllExport const eprosima::test::StructType& struct_field() const; - - /*! - * @brief This function returns a reference to member struct_field - * @return Reference to member struct_field - */ - eProsima_user_DllExport eprosima::test::StructType& struct_field(); - - - /*! - * @brief This function copies the value in member char_opt_field - * @param _char_opt_field New value to be copied in member char_opt_field - */ - eProsima_user_DllExport void char_opt_field( - const eprosima::fastcdr::optional& _char_opt_field); - - /*! - * @brief This function moves the value in member char_opt_field - * @param _char_opt_field New value to be moved in member char_opt_field - */ - eProsima_user_DllExport void char_opt_field( - eprosima::fastcdr::optional&& _char_opt_field); - - /*! - * @brief This function returns a constant reference to member char_opt_field - * @return Constant reference to member char_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& char_opt_field() const; - - /*! - * @brief This function returns a reference to member char_opt_field - * @return Reference to member char_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& char_opt_field(); - - - /*! - * @brief This function copies the value in member uint8_opt_field - * @param _uint8_opt_field New value to be copied in member uint8_opt_field - */ - eProsima_user_DllExport void uint8_opt_field( - const eprosima::fastcdr::optional& _uint8_opt_field); - - /*! - * @brief This function moves the value in member uint8_opt_field - * @param _uint8_opt_field New value to be moved in member uint8_opt_field - */ - eProsima_user_DllExport void uint8_opt_field( - eprosima::fastcdr::optional&& _uint8_opt_field); - - /*! - * @brief This function returns a constant reference to member uint8_opt_field - * @return Constant reference to member uint8_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& uint8_opt_field() const; - - /*! - * @brief This function returns a reference to member uint8_opt_field - * @return Reference to member uint8_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& uint8_opt_field(); - - - /*! - * @brief This function copies the value in member int16_opt_field - * @param _int16_opt_field New value to be copied in member int16_opt_field - */ - eProsima_user_DllExport void int16_opt_field( - const eprosima::fastcdr::optional& _int16_opt_field); - - /*! - * @brief This function moves the value in member int16_opt_field - * @param _int16_opt_field New value to be moved in member int16_opt_field - */ - eProsima_user_DllExport void int16_opt_field( - eprosima::fastcdr::optional&& _int16_opt_field); - - /*! - * @brief This function returns a constant reference to member int16_opt_field - * @return Constant reference to member int16_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& int16_opt_field() const; - - /*! - * @brief This function returns a reference to member int16_opt_field - * @return Reference to member int16_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& int16_opt_field(); - - - /*! - * @brief This function copies the value in member uint16_opt_field - * @param _uint16_opt_field New value to be copied in member uint16_opt_field - */ - eProsima_user_DllExport void uint16_opt_field( - const eprosima::fastcdr::optional& _uint16_opt_field); - - /*! - * @brief This function moves the value in member uint16_opt_field - * @param _uint16_opt_field New value to be moved in member uint16_opt_field - */ - eProsima_user_DllExport void uint16_opt_field( - eprosima::fastcdr::optional&& _uint16_opt_field); - - /*! - * @brief This function returns a constant reference to member uint16_opt_field - * @return Constant reference to member uint16_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& uint16_opt_field() const; - - /*! - * @brief This function returns a reference to member uint16_opt_field - * @return Reference to member uint16_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& uint16_opt_field(); - - - /*! - * @brief This function copies the value in member int32_opt_field - * @param _int32_opt_field New value to be copied in member int32_opt_field - */ - eProsima_user_DllExport void int32_opt_field( - const eprosima::fastcdr::optional& _int32_opt_field); - - /*! - * @brief This function moves the value in member int32_opt_field - * @param _int32_opt_field New value to be moved in member int32_opt_field - */ - eProsima_user_DllExport void int32_opt_field( - eprosima::fastcdr::optional&& _int32_opt_field); - - /*! - * @brief This function returns a constant reference to member int32_opt_field - * @return Constant reference to member int32_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& int32_opt_field() const; - - /*! - * @brief This function returns a reference to member int32_opt_field - * @return Reference to member int32_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& int32_opt_field(); - - - /*! - * @brief This function copies the value in member uint32_opt_field - * @param _uint32_opt_field New value to be copied in member uint32_opt_field - */ - eProsima_user_DllExport void uint32_opt_field( - const eprosima::fastcdr::optional& _uint32_opt_field); - - /*! - * @brief This function moves the value in member uint32_opt_field - * @param _uint32_opt_field New value to be moved in member uint32_opt_field - */ - eProsima_user_DllExport void uint32_opt_field( - eprosima::fastcdr::optional&& _uint32_opt_field); - - /*! - * @brief This function returns a constant reference to member uint32_opt_field - * @return Constant reference to member uint32_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& uint32_opt_field() const; - - /*! - * @brief This function returns a reference to member uint32_opt_field - * @return Reference to member uint32_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& uint32_opt_field(); - - - /*! - * @brief This function copies the value in member int64_opt_field - * @param _int64_opt_field New value to be copied in member int64_opt_field - */ - eProsima_user_DllExport void int64_opt_field( - const eprosima::fastcdr::optional& _int64_opt_field); - - /*! - * @brief This function moves the value in member int64_opt_field - * @param _int64_opt_field New value to be moved in member int64_opt_field - */ - eProsima_user_DllExport void int64_opt_field( - eprosima::fastcdr::optional&& _int64_opt_field); - - /*! - * @brief This function returns a constant reference to member int64_opt_field - * @return Constant reference to member int64_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& int64_opt_field() const; - - /*! - * @brief This function returns a reference to member int64_opt_field - * @return Reference to member int64_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& int64_opt_field(); - - - /*! - * @brief This function copies the value in member uint64_opt_field - * @param _uint64_opt_field New value to be copied in member uint64_opt_field - */ - eProsima_user_DllExport void uint64_opt_field( - const eprosima::fastcdr::optional& _uint64_opt_field); - - /*! - * @brief This function moves the value in member uint64_opt_field - * @param _uint64_opt_field New value to be moved in member uint64_opt_field - */ - eProsima_user_DllExport void uint64_opt_field( - eprosima::fastcdr::optional&& _uint64_opt_field); - - /*! - * @brief This function returns a constant reference to member uint64_opt_field - * @return Constant reference to member uint64_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& uint64_opt_field() const; - - /*! - * @brief This function returns a reference to member uint64_opt_field - * @return Reference to member uint64_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& uint64_opt_field(); - - - /*! - * @brief This function copies the value in member float_opt_field - * @param _float_opt_field New value to be copied in member float_opt_field - */ - eProsima_user_DllExport void float_opt_field( - const eprosima::fastcdr::optional& _float_opt_field); - - /*! - * @brief This function moves the value in member float_opt_field - * @param _float_opt_field New value to be moved in member float_opt_field - */ - eProsima_user_DllExport void float_opt_field( - eprosima::fastcdr::optional&& _float_opt_field); - - /*! - * @brief This function returns a constant reference to member float_opt_field - * @return Constant reference to member float_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& float_opt_field() const; - - /*! - * @brief This function returns a reference to member float_opt_field - * @return Reference to member float_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& float_opt_field(); - - - /*! - * @brief This function copies the value in member double_opt_field - * @param _double_opt_field New value to be copied in member double_opt_field - */ - eProsima_user_DllExport void double_opt_field( - const eprosima::fastcdr::optional& _double_opt_field); - - /*! - * @brief This function moves the value in member double_opt_field - * @param _double_opt_field New value to be moved in member double_opt_field - */ - eProsima_user_DllExport void double_opt_field( - eprosima::fastcdr::optional&& _double_opt_field); - - /*! - * @brief This function returns a constant reference to member double_opt_field - * @return Constant reference to member double_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& double_opt_field() const; - - /*! - * @brief This function returns a reference to member double_opt_field - * @return Reference to member double_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& double_opt_field(); - - - /*! - * @brief This function copies the value in member bool_opt_field - * @param _bool_opt_field New value to be copied in member bool_opt_field - */ - eProsima_user_DllExport void bool_opt_field( - const eprosima::fastcdr::optional& _bool_opt_field); - - /*! - * @brief This function moves the value in member bool_opt_field - * @param _bool_opt_field New value to be moved in member bool_opt_field - */ - eProsima_user_DllExport void bool_opt_field( - eprosima::fastcdr::optional&& _bool_opt_field); - - /*! - * @brief This function returns a constant reference to member bool_opt_field - * @return Constant reference to member bool_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& bool_opt_field() const; - - /*! - * @brief This function returns a reference to member bool_opt_field - * @return Reference to member bool_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& bool_opt_field(); - - - /*! - * @brief This function copies the value in member string_opt_field - * @param _string_opt_field New value to be copied in member string_opt_field - */ - eProsima_user_DllExport void string_opt_field( - const eprosima::fastcdr::optional& _string_opt_field); - - /*! - * @brief This function moves the value in member string_opt_field - * @param _string_opt_field New value to be moved in member string_opt_field - */ - eProsima_user_DllExport void string_opt_field( - eprosima::fastcdr::optional&& _string_opt_field); - - /*! - * @brief This function returns a constant reference to member string_opt_field - * @return Constant reference to member string_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& string_opt_field() const; - - /*! - * @brief This function returns a reference to member string_opt_field - * @return Reference to member string_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& string_opt_field(); - - - /*! - * @brief This function copies the value in member enum_opt_field - * @param _enum_opt_field New value to be copied in member enum_opt_field - */ - eProsima_user_DllExport void enum_opt_field( - const eprosima::fastcdr::optional& _enum_opt_field); - - /*! - * @brief This function moves the value in member enum_opt_field - * @param _enum_opt_field New value to be moved in member enum_opt_field - */ - eProsima_user_DllExport void enum_opt_field( - eprosima::fastcdr::optional&& _enum_opt_field); - - /*! - * @brief This function returns a constant reference to member enum_opt_field - * @return Constant reference to member enum_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& enum_opt_field() const; - - /*! - * @brief This function returns a reference to member enum_opt_field - * @return Reference to member enum_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& enum_opt_field(); - - - /*! - * @brief This function copies the value in member enum2_opt_field - * @param _enum2_opt_field New value to be copied in member enum2_opt_field - */ - eProsima_user_DllExport void enum2_opt_field( - const eprosima::fastcdr::optional& _enum2_opt_field); - - /*! - * @brief This function moves the value in member enum2_opt_field - * @param _enum2_opt_field New value to be moved in member enum2_opt_field - */ - eProsima_user_DllExport void enum2_opt_field( - eprosima::fastcdr::optional&& _enum2_opt_field); - - /*! - * @brief This function returns a constant reference to member enum2_opt_field - * @return Constant reference to member enum2_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& enum2_opt_field() const; - - /*! - * @brief This function returns a reference to member enum2_opt_field - * @return Reference to member enum2_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& enum2_opt_field(); - - - /*! - * @brief This function copies the value in member struct_opt_field - * @param _struct_opt_field New value to be copied in member struct_opt_field - */ - eProsima_user_DllExport void struct_opt_field( - const eprosima::fastcdr::optional& _struct_opt_field); - - /*! - * @brief This function moves the value in member struct_opt_field - * @param _struct_opt_field New value to be moved in member struct_opt_field - */ - eProsima_user_DllExport void struct_opt_field( - eprosima::fastcdr::optional&& _struct_opt_field); - - /*! - * @brief This function returns a constant reference to member struct_opt_field - * @return Constant reference to member struct_opt_field - */ - eProsima_user_DllExport const eprosima::fastcdr::optional& struct_opt_field() const; - - /*! - * @brief This function returns a reference to member struct_opt_field - * @return Reference to member struct_opt_field - */ - eProsima_user_DllExport eprosima::fastcdr::optional& struct_opt_field(); - - - /*! - * @brief This function copies the value in member array_char_field - * @param _array_char_field New value to be copied in member array_char_field - */ - eProsima_user_DllExport void array_char_field( - const std::array& _array_char_field); - - /*! - * @brief This function moves the value in member array_char_field - * @param _array_char_field New value to be moved in member array_char_field - */ - eProsima_user_DllExport void array_char_field( - std::array&& _array_char_field); - - /*! - * @brief This function returns a constant reference to member array_char_field - * @return Constant reference to member array_char_field - */ - eProsima_user_DllExport const std::array& array_char_field() const; - - /*! - * @brief This function returns a reference to member array_char_field - * @return Reference to member array_char_field - */ - eProsima_user_DllExport std::array& array_char_field(); - - - /*! - * @brief This function copies the value in member array_uint8_field - * @param _array_uint8_field New value to be copied in member array_uint8_field - */ - eProsima_user_DllExport void array_uint8_field( - const std::array& _array_uint8_field); - - /*! - * @brief This function moves the value in member array_uint8_field - * @param _array_uint8_field New value to be moved in member array_uint8_field - */ - eProsima_user_DllExport void array_uint8_field( - std::array&& _array_uint8_field); - - /*! - * @brief This function returns a constant reference to member array_uint8_field - * @return Constant reference to member array_uint8_field - */ - eProsima_user_DllExport const std::array& array_uint8_field() const; - - /*! - * @brief This function returns a reference to member array_uint8_field - * @return Reference to member array_uint8_field - */ - eProsima_user_DllExport std::array& array_uint8_field(); - - - /*! - * @brief This function copies the value in member array_int16_field - * @param _array_int16_field New value to be copied in member array_int16_field - */ - eProsima_user_DllExport void array_int16_field( - const std::array& _array_int16_field); - - /*! - * @brief This function moves the value in member array_int16_field - * @param _array_int16_field New value to be moved in member array_int16_field - */ - eProsima_user_DllExport void array_int16_field( - std::array&& _array_int16_field); - - /*! - * @brief This function returns a constant reference to member array_int16_field - * @return Constant reference to member array_int16_field - */ - eProsima_user_DllExport const std::array& array_int16_field() const; - - /*! - * @brief This function returns a reference to member array_int16_field - * @return Reference to member array_int16_field - */ - eProsima_user_DllExport std::array& array_int16_field(); - - - /*! - * @brief This function copies the value in member array_uint16_field - * @param _array_uint16_field New value to be copied in member array_uint16_field - */ - eProsima_user_DllExport void array_uint16_field( - const std::array& _array_uint16_field); - - /*! - * @brief This function moves the value in member array_uint16_field - * @param _array_uint16_field New value to be moved in member array_uint16_field - */ - eProsima_user_DllExport void array_uint16_field( - std::array&& _array_uint16_field); - - /*! - * @brief This function returns a constant reference to member array_uint16_field - * @return Constant reference to member array_uint16_field - */ - eProsima_user_DllExport const std::array& array_uint16_field() const; - - /*! - * @brief This function returns a reference to member array_uint16_field - * @return Reference to member array_uint16_field - */ - eProsima_user_DllExport std::array& array_uint16_field(); - - - /*! - * @brief This function copies the value in member array_int32_field - * @param _array_int32_field New value to be copied in member array_int32_field - */ - eProsima_user_DllExport void array_int32_field( - const std::array& _array_int32_field); - - /*! - * @brief This function moves the value in member array_int32_field - * @param _array_int32_field New value to be moved in member array_int32_field - */ - eProsima_user_DllExport void array_int32_field( - std::array&& _array_int32_field); - - /*! - * @brief This function returns a constant reference to member array_int32_field - * @return Constant reference to member array_int32_field - */ - eProsima_user_DllExport const std::array& array_int32_field() const; - - /*! - * @brief This function returns a reference to member array_int32_field - * @return Reference to member array_int32_field - */ - eProsima_user_DllExport std::array& array_int32_field(); - - - /*! - * @brief This function copies the value in member array_uint32_field - * @param _array_uint32_field New value to be copied in member array_uint32_field - */ - eProsima_user_DllExport void array_uint32_field( - const std::array& _array_uint32_field); - - /*! - * @brief This function moves the value in member array_uint32_field - * @param _array_uint32_field New value to be moved in member array_uint32_field - */ - eProsima_user_DllExport void array_uint32_field( - std::array&& _array_uint32_field); - - /*! - * @brief This function returns a constant reference to member array_uint32_field - * @return Constant reference to member array_uint32_field - */ - eProsima_user_DllExport const std::array& array_uint32_field() const; - - /*! - * @brief This function returns a reference to member array_uint32_field - * @return Reference to member array_uint32_field - */ - eProsima_user_DllExport std::array& array_uint32_field(); - - - /*! - * @brief This function copies the value in member array_int64_field - * @param _array_int64_field New value to be copied in member array_int64_field - */ - eProsima_user_DllExport void array_int64_field( - const std::array& _array_int64_field); - - /*! - * @brief This function moves the value in member array_int64_field - * @param _array_int64_field New value to be moved in member array_int64_field - */ - eProsima_user_DllExport void array_int64_field( - std::array&& _array_int64_field); - - /*! - * @brief This function returns a constant reference to member array_int64_field - * @return Constant reference to member array_int64_field - */ - eProsima_user_DllExport const std::array& array_int64_field() const; - - /*! - * @brief This function returns a reference to member array_int64_field - * @return Reference to member array_int64_field - */ - eProsima_user_DllExport std::array& array_int64_field(); - - - /*! - * @brief This function copies the value in member array_uint64_field - * @param _array_uint64_field New value to be copied in member array_uint64_field - */ - eProsima_user_DllExport void array_uint64_field( - const std::array& _array_uint64_field); - - /*! - * @brief This function moves the value in member array_uint64_field - * @param _array_uint64_field New value to be moved in member array_uint64_field - */ - eProsima_user_DllExport void array_uint64_field( - std::array&& _array_uint64_field); - - /*! - * @brief This function returns a constant reference to member array_uint64_field - * @return Constant reference to member array_uint64_field - */ - eProsima_user_DllExport const std::array& array_uint64_field() const; - - /*! - * @brief This function returns a reference to member array_uint64_field - * @return Reference to member array_uint64_field - */ - eProsima_user_DllExport std::array& array_uint64_field(); - - - /*! - * @brief This function copies the value in member array_float_field - * @param _array_float_field New value to be copied in member array_float_field - */ - eProsima_user_DllExport void array_float_field( - const std::array& _array_float_field); - - /*! - * @brief This function moves the value in member array_float_field - * @param _array_float_field New value to be moved in member array_float_field - */ - eProsima_user_DllExport void array_float_field( - std::array&& _array_float_field); - - /*! - * @brief This function returns a constant reference to member array_float_field - * @return Constant reference to member array_float_field - */ - eProsima_user_DllExport const std::array& array_float_field() const; - - /*! - * @brief This function returns a reference to member array_float_field - * @return Reference to member array_float_field - */ - eProsima_user_DllExport std::array& array_float_field(); - - - /*! - * @brief This function copies the value in member array_double_field - * @param _array_double_field New value to be copied in member array_double_field - */ - eProsima_user_DllExport void array_double_field( - const std::array& _array_double_field); - - /*! - * @brief This function moves the value in member array_double_field - * @param _array_double_field New value to be moved in member array_double_field - */ - eProsima_user_DllExport void array_double_field( - std::array&& _array_double_field); - - /*! - * @brief This function returns a constant reference to member array_double_field - * @return Constant reference to member array_double_field - */ - eProsima_user_DllExport const std::array& array_double_field() const; - - /*! - * @brief This function returns a reference to member array_double_field - * @return Reference to member array_double_field - */ - eProsima_user_DllExport std::array& array_double_field(); - - - /*! - * @brief This function copies the value in member array_bool_field - * @param _array_bool_field New value to be copied in member array_bool_field - */ - eProsima_user_DllExport void array_bool_field( - const std::array& _array_bool_field); - - /*! - * @brief This function moves the value in member array_bool_field - * @param _array_bool_field New value to be moved in member array_bool_field - */ - eProsima_user_DllExport void array_bool_field( - std::array&& _array_bool_field); - - /*! - * @brief This function returns a constant reference to member array_bool_field - * @return Constant reference to member array_bool_field - */ - eProsima_user_DllExport const std::array& array_bool_field() const; - - /*! - * @brief This function returns a reference to member array_bool_field - * @return Reference to member array_bool_field - */ - eProsima_user_DllExport std::array& array_bool_field(); - - - /*! - * @brief This function copies the value in member array_enum_field - * @param _array_enum_field New value to be copied in member array_enum_field - */ - eProsima_user_DllExport void array_enum_field( - const std::array& _array_enum_field); - - /*! - * @brief This function moves the value in member array_enum_field - * @param _array_enum_field New value to be moved in member array_enum_field - */ - eProsima_user_DllExport void array_enum_field( - std::array&& _array_enum_field); - - /*! - * @brief This function returns a constant reference to member array_enum_field - * @return Constant reference to member array_enum_field - */ - eProsima_user_DllExport const std::array& array_enum_field() const; - - /*! - * @brief This function returns a reference to member array_enum_field - * @return Reference to member array_enum_field - */ - eProsima_user_DllExport std::array& array_enum_field(); - - - /*! - * @brief This function copies the value in member array_enum2_field - * @param _array_enum2_field New value to be copied in member array_enum2_field - */ - eProsima_user_DllExport void array_enum2_field( - const std::array& _array_enum2_field); - - /*! - * @brief This function moves the value in member array_enum2_field - * @param _array_enum2_field New value to be moved in member array_enum2_field - */ - eProsima_user_DllExport void array_enum2_field( - std::array&& _array_enum2_field); - - /*! - * @brief This function returns a constant reference to member array_enum2_field - * @return Constant reference to member array_enum2_field - */ - eProsima_user_DllExport const std::array& array_enum2_field() const; - - /*! - * @brief This function returns a reference to member array_enum2_field - * @return Reference to member array_enum2_field - */ - eProsima_user_DllExport std::array& array_enum2_field(); - - - /*! - * @brief This function copies the value in member array_struct_field - * @param _array_struct_field New value to be copied in member array_struct_field - */ - eProsima_user_DllExport void array_struct_field( - const std::array& _array_struct_field); - - /*! - * @brief This function moves the value in member array_struct_field - * @param _array_struct_field New value to be moved in member array_struct_field - */ - eProsima_user_DllExport void array_struct_field( - std::array&& _array_struct_field); - - /*! - * @brief This function returns a constant reference to member array_struct_field - * @return Constant reference to member array_struct_field - */ - eProsima_user_DllExport const std::array& array_struct_field() const; - - /*! - * @brief This function returns a reference to member array_struct_field - * @return Reference to member array_struct_field - */ - eProsima_user_DllExport std::array& array_struct_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_char_field - * @param _bounded_sequence_char_field New value to be copied in member bounded_sequence_char_field - */ - eProsima_user_DllExport void bounded_sequence_char_field( - const std::vector& _bounded_sequence_char_field); - - /*! - * @brief This function moves the value in member bounded_sequence_char_field - * @param _bounded_sequence_char_field New value to be moved in member bounded_sequence_char_field - */ - eProsima_user_DllExport void bounded_sequence_char_field( - std::vector&& _bounded_sequence_char_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_char_field - * @return Constant reference to member bounded_sequence_char_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_char_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_char_field - * @return Reference to member bounded_sequence_char_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_char_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_uint8_field - * @param _bounded_sequence_uint8_field New value to be copied in member bounded_sequence_uint8_field - */ - eProsima_user_DllExport void bounded_sequence_uint8_field( - const std::vector& _bounded_sequence_uint8_field); - - /*! - * @brief This function moves the value in member bounded_sequence_uint8_field - * @param _bounded_sequence_uint8_field New value to be moved in member bounded_sequence_uint8_field - */ - eProsima_user_DllExport void bounded_sequence_uint8_field( - std::vector&& _bounded_sequence_uint8_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_uint8_field - * @return Constant reference to member bounded_sequence_uint8_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_uint8_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_uint8_field - * @return Reference to member bounded_sequence_uint8_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_uint8_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_int16_field - * @param _bounded_sequence_int16_field New value to be copied in member bounded_sequence_int16_field - */ - eProsima_user_DllExport void bounded_sequence_int16_field( - const std::vector& _bounded_sequence_int16_field); - - /*! - * @brief This function moves the value in member bounded_sequence_int16_field - * @param _bounded_sequence_int16_field New value to be moved in member bounded_sequence_int16_field - */ - eProsima_user_DllExport void bounded_sequence_int16_field( - std::vector&& _bounded_sequence_int16_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_int16_field - * @return Constant reference to member bounded_sequence_int16_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_int16_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_int16_field - * @return Reference to member bounded_sequence_int16_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_int16_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_uint16_field - * @param _bounded_sequence_uint16_field New value to be copied in member bounded_sequence_uint16_field - */ - eProsima_user_DllExport void bounded_sequence_uint16_field( - const std::vector& _bounded_sequence_uint16_field); - - /*! - * @brief This function moves the value in member bounded_sequence_uint16_field - * @param _bounded_sequence_uint16_field New value to be moved in member bounded_sequence_uint16_field - */ - eProsima_user_DllExport void bounded_sequence_uint16_field( - std::vector&& _bounded_sequence_uint16_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_uint16_field - * @return Constant reference to member bounded_sequence_uint16_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_uint16_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_uint16_field - * @return Reference to member bounded_sequence_uint16_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_uint16_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_int32_field - * @param _bounded_sequence_int32_field New value to be copied in member bounded_sequence_int32_field - */ - eProsima_user_DllExport void bounded_sequence_int32_field( - const std::vector& _bounded_sequence_int32_field); - - /*! - * @brief This function moves the value in member bounded_sequence_int32_field - * @param _bounded_sequence_int32_field New value to be moved in member bounded_sequence_int32_field - */ - eProsima_user_DllExport void bounded_sequence_int32_field( - std::vector&& _bounded_sequence_int32_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_int32_field - * @return Constant reference to member bounded_sequence_int32_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_int32_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_int32_field - * @return Reference to member bounded_sequence_int32_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_int32_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_uint32_field - * @param _bounded_sequence_uint32_field New value to be copied in member bounded_sequence_uint32_field - */ - eProsima_user_DllExport void bounded_sequence_uint32_field( - const std::vector& _bounded_sequence_uint32_field); - - /*! - * @brief This function moves the value in member bounded_sequence_uint32_field - * @param _bounded_sequence_uint32_field New value to be moved in member bounded_sequence_uint32_field - */ - eProsima_user_DllExport void bounded_sequence_uint32_field( - std::vector&& _bounded_sequence_uint32_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_uint32_field - * @return Constant reference to member bounded_sequence_uint32_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_uint32_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_uint32_field - * @return Reference to member bounded_sequence_uint32_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_uint32_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_int64_field - * @param _bounded_sequence_int64_field New value to be copied in member bounded_sequence_int64_field - */ - eProsima_user_DllExport void bounded_sequence_int64_field( - const std::vector& _bounded_sequence_int64_field); - - /*! - * @brief This function moves the value in member bounded_sequence_int64_field - * @param _bounded_sequence_int64_field New value to be moved in member bounded_sequence_int64_field - */ - eProsima_user_DllExport void bounded_sequence_int64_field( - std::vector&& _bounded_sequence_int64_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_int64_field - * @return Constant reference to member bounded_sequence_int64_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_int64_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_int64_field - * @return Reference to member bounded_sequence_int64_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_int64_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_uint64_field - * @param _bounded_sequence_uint64_field New value to be copied in member bounded_sequence_uint64_field - */ - eProsima_user_DllExport void bounded_sequence_uint64_field( - const std::vector& _bounded_sequence_uint64_field); - - /*! - * @brief This function moves the value in member bounded_sequence_uint64_field - * @param _bounded_sequence_uint64_field New value to be moved in member bounded_sequence_uint64_field - */ - eProsima_user_DllExport void bounded_sequence_uint64_field( - std::vector&& _bounded_sequence_uint64_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_uint64_field - * @return Constant reference to member bounded_sequence_uint64_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_uint64_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_uint64_field - * @return Reference to member bounded_sequence_uint64_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_uint64_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_float_field - * @param _bounded_sequence_float_field New value to be copied in member bounded_sequence_float_field - */ - eProsima_user_DllExport void bounded_sequence_float_field( - const std::vector& _bounded_sequence_float_field); - - /*! - * @brief This function moves the value in member bounded_sequence_float_field - * @param _bounded_sequence_float_field New value to be moved in member bounded_sequence_float_field - */ - eProsima_user_DllExport void bounded_sequence_float_field( - std::vector&& _bounded_sequence_float_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_float_field - * @return Constant reference to member bounded_sequence_float_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_float_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_float_field - * @return Reference to member bounded_sequence_float_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_float_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_double_field - * @param _bounded_sequence_double_field New value to be copied in member bounded_sequence_double_field - */ - eProsima_user_DllExport void bounded_sequence_double_field( - const std::vector& _bounded_sequence_double_field); - - /*! - * @brief This function moves the value in member bounded_sequence_double_field - * @param _bounded_sequence_double_field New value to be moved in member bounded_sequence_double_field - */ - eProsima_user_DllExport void bounded_sequence_double_field( - std::vector&& _bounded_sequence_double_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_double_field - * @return Constant reference to member bounded_sequence_double_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_double_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_double_field - * @return Reference to member bounded_sequence_double_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_double_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_bool_field - * @param _bounded_sequence_bool_field New value to be copied in member bounded_sequence_bool_field - */ - eProsima_user_DllExport void bounded_sequence_bool_field( - const std::vector& _bounded_sequence_bool_field); - - /*! - * @brief This function moves the value in member bounded_sequence_bool_field - * @param _bounded_sequence_bool_field New value to be moved in member bounded_sequence_bool_field - */ - eProsima_user_DllExport void bounded_sequence_bool_field( - std::vector&& _bounded_sequence_bool_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_bool_field - * @return Constant reference to member bounded_sequence_bool_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_bool_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_bool_field - * @return Reference to member bounded_sequence_bool_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_bool_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_enum_field - * @param _bounded_sequence_enum_field New value to be copied in member bounded_sequence_enum_field - */ - eProsima_user_DllExport void bounded_sequence_enum_field( - const std::vector& _bounded_sequence_enum_field); - - /*! - * @brief This function moves the value in member bounded_sequence_enum_field - * @param _bounded_sequence_enum_field New value to be moved in member bounded_sequence_enum_field - */ - eProsima_user_DllExport void bounded_sequence_enum_field( - std::vector&& _bounded_sequence_enum_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_enum_field - * @return Constant reference to member bounded_sequence_enum_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_enum_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_enum_field - * @return Reference to member bounded_sequence_enum_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_enum_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_enum2_field - * @param _bounded_sequence_enum2_field New value to be copied in member bounded_sequence_enum2_field - */ - eProsima_user_DllExport void bounded_sequence_enum2_field( - const std::vector& _bounded_sequence_enum2_field); - - /*! - * @brief This function moves the value in member bounded_sequence_enum2_field - * @param _bounded_sequence_enum2_field New value to be moved in member bounded_sequence_enum2_field - */ - eProsima_user_DllExport void bounded_sequence_enum2_field( - std::vector&& _bounded_sequence_enum2_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_enum2_field - * @return Constant reference to member bounded_sequence_enum2_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_enum2_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_enum2_field - * @return Reference to member bounded_sequence_enum2_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_enum2_field(); - - - /*! - * @brief This function copies the value in member bounded_sequence_struct_field - * @param _bounded_sequence_struct_field New value to be copied in member bounded_sequence_struct_field - */ - eProsima_user_DllExport void bounded_sequence_struct_field( - const std::vector& _bounded_sequence_struct_field); - - /*! - * @brief This function moves the value in member bounded_sequence_struct_field - * @param _bounded_sequence_struct_field New value to be moved in member bounded_sequence_struct_field - */ - eProsima_user_DllExport void bounded_sequence_struct_field( - std::vector&& _bounded_sequence_struct_field); - - /*! - * @brief This function returns a constant reference to member bounded_sequence_struct_field - * @return Constant reference to member bounded_sequence_struct_field - */ - eProsima_user_DllExport const std::vector& bounded_sequence_struct_field() const; - - /*! - * @brief This function returns a reference to member bounded_sequence_struct_field - * @return Reference to member bounded_sequence_struct_field - */ - eProsima_user_DllExport std::vector& bounded_sequence_struct_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_char_field - * @param _unbounded_sequence_char_field New value to be copied in member unbounded_sequence_char_field - */ - eProsima_user_DllExport void unbounded_sequence_char_field( - const std::vector& _unbounded_sequence_char_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_char_field - * @param _unbounded_sequence_char_field New value to be moved in member unbounded_sequence_char_field - */ - eProsima_user_DllExport void unbounded_sequence_char_field( - std::vector&& _unbounded_sequence_char_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_char_field - * @return Constant reference to member unbounded_sequence_char_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_char_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_char_field - * @return Reference to member unbounded_sequence_char_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_char_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_uint8_field - * @param _unbounded_sequence_uint8_field New value to be copied in member unbounded_sequence_uint8_field - */ - eProsima_user_DllExport void unbounded_sequence_uint8_field( - const std::vector& _unbounded_sequence_uint8_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_uint8_field - * @param _unbounded_sequence_uint8_field New value to be moved in member unbounded_sequence_uint8_field - */ - eProsima_user_DllExport void unbounded_sequence_uint8_field( - std::vector&& _unbounded_sequence_uint8_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_uint8_field - * @return Constant reference to member unbounded_sequence_uint8_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_uint8_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_uint8_field - * @return Reference to member unbounded_sequence_uint8_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_uint8_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_int16_field - * @param _unbounded_sequence_int16_field New value to be copied in member unbounded_sequence_int16_field - */ - eProsima_user_DllExport void unbounded_sequence_int16_field( - const std::vector& _unbounded_sequence_int16_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_int16_field - * @param _unbounded_sequence_int16_field New value to be moved in member unbounded_sequence_int16_field - */ - eProsima_user_DllExport void unbounded_sequence_int16_field( - std::vector&& _unbounded_sequence_int16_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_int16_field - * @return Constant reference to member unbounded_sequence_int16_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_int16_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_int16_field - * @return Reference to member unbounded_sequence_int16_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_int16_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_uint16_field - * @param _unbounded_sequence_uint16_field New value to be copied in member unbounded_sequence_uint16_field - */ - eProsima_user_DllExport void unbounded_sequence_uint16_field( - const std::vector& _unbounded_sequence_uint16_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_uint16_field - * @param _unbounded_sequence_uint16_field New value to be moved in member unbounded_sequence_uint16_field - */ - eProsima_user_DllExport void unbounded_sequence_uint16_field( - std::vector&& _unbounded_sequence_uint16_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_uint16_field - * @return Constant reference to member unbounded_sequence_uint16_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_uint16_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_uint16_field - * @return Reference to member unbounded_sequence_uint16_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_uint16_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_int32_field - * @param _unbounded_sequence_int32_field New value to be copied in member unbounded_sequence_int32_field - */ - eProsima_user_DllExport void unbounded_sequence_int32_field( - const std::vector& _unbounded_sequence_int32_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_int32_field - * @param _unbounded_sequence_int32_field New value to be moved in member unbounded_sequence_int32_field - */ - eProsima_user_DllExport void unbounded_sequence_int32_field( - std::vector&& _unbounded_sequence_int32_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_int32_field - * @return Constant reference to member unbounded_sequence_int32_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_int32_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_int32_field - * @return Reference to member unbounded_sequence_int32_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_int32_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_uint32_field - * @param _unbounded_sequence_uint32_field New value to be copied in member unbounded_sequence_uint32_field - */ - eProsima_user_DllExport void unbounded_sequence_uint32_field( - const std::vector& _unbounded_sequence_uint32_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_uint32_field - * @param _unbounded_sequence_uint32_field New value to be moved in member unbounded_sequence_uint32_field - */ - eProsima_user_DllExport void unbounded_sequence_uint32_field( - std::vector&& _unbounded_sequence_uint32_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_uint32_field - * @return Constant reference to member unbounded_sequence_uint32_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_uint32_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_uint32_field - * @return Reference to member unbounded_sequence_uint32_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_uint32_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_int64_field - * @param _unbounded_sequence_int64_field New value to be copied in member unbounded_sequence_int64_field - */ - eProsima_user_DllExport void unbounded_sequence_int64_field( - const std::vector& _unbounded_sequence_int64_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_int64_field - * @param _unbounded_sequence_int64_field New value to be moved in member unbounded_sequence_int64_field - */ - eProsima_user_DllExport void unbounded_sequence_int64_field( - std::vector&& _unbounded_sequence_int64_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_int64_field - * @return Constant reference to member unbounded_sequence_int64_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_int64_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_int64_field - * @return Reference to member unbounded_sequence_int64_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_int64_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_uint64_field - * @param _unbounded_sequence_uint64_field New value to be copied in member unbounded_sequence_uint64_field - */ - eProsima_user_DllExport void unbounded_sequence_uint64_field( - const std::vector& _unbounded_sequence_uint64_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_uint64_field - * @param _unbounded_sequence_uint64_field New value to be moved in member unbounded_sequence_uint64_field - */ - eProsima_user_DllExport void unbounded_sequence_uint64_field( - std::vector&& _unbounded_sequence_uint64_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_uint64_field - * @return Constant reference to member unbounded_sequence_uint64_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_uint64_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_uint64_field - * @return Reference to member unbounded_sequence_uint64_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_uint64_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_float_field - * @param _unbounded_sequence_float_field New value to be copied in member unbounded_sequence_float_field - */ - eProsima_user_DllExport void unbounded_sequence_float_field( - const std::vector& _unbounded_sequence_float_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_float_field - * @param _unbounded_sequence_float_field New value to be moved in member unbounded_sequence_float_field - */ - eProsima_user_DllExport void unbounded_sequence_float_field( - std::vector&& _unbounded_sequence_float_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_float_field - * @return Constant reference to member unbounded_sequence_float_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_float_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_float_field - * @return Reference to member unbounded_sequence_float_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_float_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_double_field - * @param _unbounded_sequence_double_field New value to be copied in member unbounded_sequence_double_field - */ - eProsima_user_DllExport void unbounded_sequence_double_field( - const std::vector& _unbounded_sequence_double_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_double_field - * @param _unbounded_sequence_double_field New value to be moved in member unbounded_sequence_double_field - */ - eProsima_user_DllExport void unbounded_sequence_double_field( - std::vector&& _unbounded_sequence_double_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_double_field - * @return Constant reference to member unbounded_sequence_double_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_double_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_double_field - * @return Reference to member unbounded_sequence_double_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_double_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_bool_field - * @param _unbounded_sequence_bool_field New value to be copied in member unbounded_sequence_bool_field - */ - eProsima_user_DllExport void unbounded_sequence_bool_field( - const std::vector& _unbounded_sequence_bool_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_bool_field - * @param _unbounded_sequence_bool_field New value to be moved in member unbounded_sequence_bool_field - */ - eProsima_user_DllExport void unbounded_sequence_bool_field( - std::vector&& _unbounded_sequence_bool_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_bool_field - * @return Constant reference to member unbounded_sequence_bool_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_bool_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_bool_field - * @return Reference to member unbounded_sequence_bool_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_bool_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_enum_field - * @param _unbounded_sequence_enum_field New value to be copied in member unbounded_sequence_enum_field - */ - eProsima_user_DllExport void unbounded_sequence_enum_field( - const std::vector& _unbounded_sequence_enum_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_enum_field - * @param _unbounded_sequence_enum_field New value to be moved in member unbounded_sequence_enum_field - */ - eProsima_user_DllExport void unbounded_sequence_enum_field( - std::vector&& _unbounded_sequence_enum_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_enum_field - * @return Constant reference to member unbounded_sequence_enum_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_enum_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_enum_field - * @return Reference to member unbounded_sequence_enum_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_enum_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_enum2_field - * @param _unbounded_sequence_enum2_field New value to be copied in member unbounded_sequence_enum2_field - */ - eProsima_user_DllExport void unbounded_sequence_enum2_field( - const std::vector& _unbounded_sequence_enum2_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_enum2_field - * @param _unbounded_sequence_enum2_field New value to be moved in member unbounded_sequence_enum2_field - */ - eProsima_user_DllExport void unbounded_sequence_enum2_field( - std::vector&& _unbounded_sequence_enum2_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_enum2_field - * @return Constant reference to member unbounded_sequence_enum2_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_enum2_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_enum2_field - * @return Reference to member unbounded_sequence_enum2_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_enum2_field(); - - - /*! - * @brief This function copies the value in member unbounded_sequence_struct_field - * @param _unbounded_sequence_struct_field New value to be copied in member unbounded_sequence_struct_field - */ - eProsima_user_DllExport void unbounded_sequence_struct_field( - const std::vector& _unbounded_sequence_struct_field); - - /*! - * @brief This function moves the value in member unbounded_sequence_struct_field - * @param _unbounded_sequence_struct_field New value to be moved in member unbounded_sequence_struct_field - */ - eProsima_user_DllExport void unbounded_sequence_struct_field( - std::vector&& _unbounded_sequence_struct_field); - - /*! - * @brief This function returns a constant reference to member unbounded_sequence_struct_field - * @return Constant reference to member unbounded_sequence_struct_field - */ - eProsima_user_DllExport const std::vector& unbounded_sequence_struct_field() const; - - /*! - * @brief This function returns a reference to member unbounded_sequence_struct_field - * @return Reference to member unbounded_sequence_struct_field - */ - eProsima_user_DllExport std::vector& unbounded_sequence_struct_field(); - - private: - - int32_t m_id{0}; - char m_char_field{0}; - uint8_t m_uint8_field{0}; - int16_t m_int16_field{0}; - uint16_t m_uint16_field{0}; - int32_t m_int32_field{0}; - uint32_t m_uint32_field{0}; - int64_t m_int64_field{0}; - uint64_t m_uint64_field{0}; - float m_float_field{0.0}; - double m_double_field{0.0}; - bool m_bool_field{false}; - std::string m_string_field; - eprosima::test::Color m_enum_field{eprosima::test::RED}; - eprosima::test::Material m_enum2_field{eprosima::test::WOOD}; - eprosima::test::StructType m_struct_field; - eprosima::fastcdr::optional m_char_opt_field; - eprosima::fastcdr::optional m_uint8_opt_field; - eprosima::fastcdr::optional m_int16_opt_field; - eprosima::fastcdr::optional m_uint16_opt_field; - eprosima::fastcdr::optional m_int32_opt_field; - eprosima::fastcdr::optional m_uint32_opt_field; - eprosima::fastcdr::optional m_int64_opt_field; - eprosima::fastcdr::optional m_uint64_opt_field; - eprosima::fastcdr::optional m_float_opt_field; - eprosima::fastcdr::optional m_double_opt_field; - eprosima::fastcdr::optional m_bool_opt_field; - eprosima::fastcdr::optional m_string_opt_field; - eprosima::fastcdr::optional m_enum_opt_field; - eprosima::fastcdr::optional m_enum2_opt_field; - eprosima::fastcdr::optional m_struct_opt_field; - std::array m_array_char_field{0}; - std::array m_array_uint8_field{0}; - std::array m_array_int16_field{0}; - std::array m_array_uint16_field{0}; - std::array m_array_int32_field{0}; - std::array m_array_uint32_field{0}; - std::array m_array_int64_field{0}; - std::array m_array_uint64_field{0}; - std::array m_array_float_field{0.0}; - std::array m_array_double_field{0.0}; - std::array m_array_bool_field{false}; - std::array m_array_enum_field{eprosima::test::RED}; - std::array m_array_enum2_field{eprosima::test::WOOD}; - std::array m_array_struct_field; - std::vector m_bounded_sequence_char_field; - std::vector m_bounded_sequence_uint8_field; - std::vector m_bounded_sequence_int16_field; - std::vector m_bounded_sequence_uint16_field; - std::vector m_bounded_sequence_int32_field; - std::vector m_bounded_sequence_uint32_field; - std::vector m_bounded_sequence_int64_field; - std::vector m_bounded_sequence_uint64_field; - std::vector m_bounded_sequence_float_field; - std::vector m_bounded_sequence_double_field; - std::vector m_bounded_sequence_bool_field; - std::vector m_bounded_sequence_enum_field; - std::vector m_bounded_sequence_enum2_field; - std::vector m_bounded_sequence_struct_field; - std::vector m_unbounded_sequence_char_field; - std::vector m_unbounded_sequence_uint8_field; - std::vector m_unbounded_sequence_int16_field; - std::vector m_unbounded_sequence_uint16_field; - std::vector m_unbounded_sequence_int32_field; - std::vector m_unbounded_sequence_uint32_field; - std::vector m_unbounded_sequence_int64_field; - std::vector m_unbounded_sequence_uint64_field; - std::vector m_unbounded_sequence_float_field; - std::vector m_unbounded_sequence_double_field; - std::vector m_unbounded_sequence_bool_field; - std::vector m_unbounded_sequence_enum_field; - std::vector m_unbounded_sequence_enum2_field; - std::vector m_unbounded_sequence_struct_field; - - }; - } // namespace test + +namespace test { + +/*! + * @brief This class represents the enumeration Color defined by the user in the IDL file. + * @ingroup test_modules + */ +enum Color : uint32_t +{ + RED, + GREEN, + BLUE, + YELLOW, + MAGENTA +}; +/*! + * @brief This class represents the enumeration Material defined by the user in the IDL file. + * @ingroup test_modules + */ +enum Material : uint32_t +{ + WOOD, + PLASTIC, + METAL, + CONCRETE, + STONE +}; + + +/*! + * @brief This class represents the structure StructType defined by the user in the IDL file. + * @ingroup test_modules + */ +class StructType +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport StructType(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~StructType(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::test::StructType that will be copied. + */ + eProsima_user_DllExport StructType( + const StructType& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::test::StructType that will be copied. + */ + eProsima_user_DllExport StructType( + StructType&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::test::StructType that will be copied. + */ + eProsima_user_DllExport StructType& operator =( + const StructType& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::test::StructType that will be copied. + */ + eProsima_user_DllExport StructType& operator =( + StructType&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::test::StructType object to compare. + */ + eProsima_user_DllExport bool operator ==( + const StructType& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::test::StructType object to compare. + */ + eProsima_user_DllExport bool operator !=( + const StructType& x) const; + + /*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ + eProsima_user_DllExport void char_field( + char _char_field); + + /*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ + eProsima_user_DllExport char char_field() const; + + /*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ + eProsima_user_DllExport char& char_field(); + + + /*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ + eProsima_user_DllExport void uint8_field( + uint8_t _uint8_field); + + /*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ + eProsima_user_DllExport uint8_t uint8_field() const; + + /*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ + eProsima_user_DllExport uint8_t& uint8_field(); + + + /*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ + eProsima_user_DllExport void int16_field( + int16_t _int16_field); + + /*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ + eProsima_user_DllExport int16_t int16_field() const; + + /*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ + eProsima_user_DllExport int16_t& int16_field(); + + + /*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ + eProsima_user_DllExport void uint16_field( + uint16_t _uint16_field); + + /*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ + eProsima_user_DllExport uint16_t uint16_field() const; + + /*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ + eProsima_user_DllExport uint16_t& uint16_field(); + + + /*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ + eProsima_user_DllExport void int32_field( + int32_t _int32_field); + + /*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ + eProsima_user_DllExport int32_t int32_field() const; + + /*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ + eProsima_user_DllExport int32_t& int32_field(); + + + /*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ + eProsima_user_DllExport void uint32_field( + uint32_t _uint32_field); + + /*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ + eProsima_user_DllExport uint32_t uint32_field() const; + + /*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ + eProsima_user_DllExport uint32_t& uint32_field(); + + + /*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ + eProsima_user_DllExport void int64_field( + int64_t _int64_field); + + /*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ + eProsima_user_DllExport int64_t int64_field() const; + + /*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ + eProsima_user_DllExport int64_t& int64_field(); + + + /*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ + eProsima_user_DllExport void uint64_field( + uint64_t _uint64_field); + + /*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ + eProsima_user_DllExport uint64_t uint64_field() const; + + /*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ + eProsima_user_DllExport uint64_t& uint64_field(); + + + /*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ + eProsima_user_DllExport void float_field( + float _float_field); + + /*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ + eProsima_user_DllExport float float_field() const; + + /*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ + eProsima_user_DllExport float& float_field(); + + + /*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ + eProsima_user_DllExport void double_field( + double _double_field); + + /*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ + eProsima_user_DllExport double double_field() const; + + /*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ + eProsima_user_DllExport double& double_field(); + + + /*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ + eProsima_user_DllExport void bool_field( + bool _bool_field); + + /*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ + eProsima_user_DllExport bool bool_field() const; + + /*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ + eProsima_user_DllExport bool& bool_field(); + + + /*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ + eProsima_user_DllExport void string_field( + const std::string& _string_field); + + /*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ + eProsima_user_DllExport void string_field( + std::string&& _string_field); + + /*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ + eProsima_user_DllExport const std::string& string_field() const; + + /*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ + eProsima_user_DllExport std::string& string_field(); + + + /*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ + eProsima_user_DllExport void enum_field( + eprosima::test::Color _enum_field); + + /*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ + eProsima_user_DllExport eprosima::test::Color enum_field() const; + + /*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ + eProsima_user_DllExport eprosima::test::Color& enum_field(); + + + /*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ + eProsima_user_DllExport void enum2_field( + eprosima::test::Material _enum2_field); + + /*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ + eProsima_user_DllExport eprosima::test::Material enum2_field() const; + + /*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ + eProsima_user_DllExport eprosima::test::Material& enum2_field(); + +private: + + char m_char_field{0}; + uint8_t m_uint8_field{0}; + int16_t m_int16_field{0}; + uint16_t m_uint16_field{0}; + int32_t m_int32_field{0}; + uint32_t m_uint32_field{0}; + int64_t m_int64_field{0}; + uint64_t m_uint64_field{0}; + float m_float_field{0.0}; + double m_double_field{0.0}; + bool m_bool_field{false}; + std::string m_string_field; + eprosima::test::Color m_enum_field{eprosima::test::RED}; + eprosima::test::Material m_enum2_field{eprosima::test::WOOD}; + +}; +const uint32_t max_array_size = 3; +const uint32_t max_seq_size = 5; + + + + +/*! + * @brief This class represents the structure CompleteTestType defined by the user in the IDL file. + * @ingroup test_modules + */ +class CompleteTestType +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport CompleteTestType(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~CompleteTestType(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::test::CompleteTestType that will be copied. + */ + eProsima_user_DllExport CompleteTestType( + const CompleteTestType& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::test::CompleteTestType that will be copied. + */ + eProsima_user_DllExport CompleteTestType( + CompleteTestType&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::test::CompleteTestType that will be copied. + */ + eProsima_user_DllExport CompleteTestType& operator =( + const CompleteTestType& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::test::CompleteTestType that will be copied. + */ + eProsima_user_DllExport CompleteTestType& operator =( + CompleteTestType&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::test::CompleteTestType object to compare. + */ + eProsima_user_DllExport bool operator ==( + const CompleteTestType& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::test::CompleteTestType object to compare. + */ + eProsima_user_DllExport bool operator !=( + const CompleteTestType& x) const; + + /*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ + eProsima_user_DllExport void char_field( + char _char_field); + + /*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ + eProsima_user_DllExport char char_field() const; + + /*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ + eProsima_user_DllExport char& char_field(); + + + /*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ + eProsima_user_DllExport void uint8_field( + uint8_t _uint8_field); + + /*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ + eProsima_user_DllExport uint8_t uint8_field() const; + + /*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ + eProsima_user_DllExport uint8_t& uint8_field(); + + + /*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ + eProsima_user_DllExport void int16_field( + int16_t _int16_field); + + /*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ + eProsima_user_DllExport int16_t int16_field() const; + + /*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ + eProsima_user_DllExport int16_t& int16_field(); + + + /*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ + eProsima_user_DllExport void uint16_field( + uint16_t _uint16_field); + + /*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ + eProsima_user_DllExport uint16_t uint16_field() const; + + /*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ + eProsima_user_DllExport uint16_t& uint16_field(); + + + /*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ + eProsima_user_DllExport void int32_field( + int32_t _int32_field); + + /*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ + eProsima_user_DllExport int32_t int32_field() const; + + /*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ + eProsima_user_DllExport int32_t& int32_field(); + + + /*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ + eProsima_user_DllExport void uint32_field( + uint32_t _uint32_field); + + /*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ + eProsima_user_DllExport uint32_t uint32_field() const; + + /*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ + eProsima_user_DllExport uint32_t& uint32_field(); + + + /*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ + eProsima_user_DllExport void int64_field( + int64_t _int64_field); + + /*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ + eProsima_user_DllExport int64_t int64_field() const; + + /*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ + eProsima_user_DllExport int64_t& int64_field(); + + + /*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ + eProsima_user_DllExport void uint64_field( + uint64_t _uint64_field); + + /*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ + eProsima_user_DllExport uint64_t uint64_field() const; + + /*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ + eProsima_user_DllExport uint64_t& uint64_field(); + + + /*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ + eProsima_user_DllExport void float_field( + float _float_field); + + /*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ + eProsima_user_DllExport float float_field() const; + + /*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ + eProsima_user_DllExport float& float_field(); + + + /*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ + eProsima_user_DllExport void double_field( + double _double_field); + + /*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ + eProsima_user_DllExport double double_field() const; + + /*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ + eProsima_user_DllExport double& double_field(); + + + /*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ + eProsima_user_DllExport void bool_field( + bool _bool_field); + + /*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ + eProsima_user_DllExport bool bool_field() const; + + /*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ + eProsima_user_DllExport bool& bool_field(); + + + /*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ + eProsima_user_DllExport void string_field( + const std::string& _string_field); + + /*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ + eProsima_user_DllExport void string_field( + std::string&& _string_field); + + /*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ + eProsima_user_DllExport const std::string& string_field() const; + + /*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ + eProsima_user_DllExport std::string& string_field(); + + + /*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ + eProsima_user_DllExport void enum_field( + eprosima::test::Color _enum_field); + + /*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ + eProsima_user_DllExport eprosima::test::Color enum_field() const; + + /*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ + eProsima_user_DllExport eprosima::test::Color& enum_field(); + + + /*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ + eProsima_user_DllExport void enum2_field( + eprosima::test::Material _enum2_field); + + /*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ + eProsima_user_DllExport eprosima::test::Material enum2_field() const; + + /*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ + eProsima_user_DllExport eprosima::test::Material& enum2_field(); + + + /*! + * @brief This function copies the value in member struct_field + * @param _struct_field New value to be copied in member struct_field + */ + eProsima_user_DllExport void struct_field( + const eprosima::test::StructType& _struct_field); + + /*! + * @brief This function moves the value in member struct_field + * @param _struct_field New value to be moved in member struct_field + */ + eProsima_user_DllExport void struct_field( + eprosima::test::StructType&& _struct_field); + + /*! + * @brief This function returns a constant reference to member struct_field + * @return Constant reference to member struct_field + */ + eProsima_user_DllExport const eprosima::test::StructType& struct_field() const; + + /*! + * @brief This function returns a reference to member struct_field + * @return Reference to member struct_field + */ + eProsima_user_DllExport eprosima::test::StructType& struct_field(); + + + /*! + * @brief This function copies the value in member char_opt_field + * @param _char_opt_field New value to be copied in member char_opt_field + */ + eProsima_user_DllExport void char_opt_field( + const eprosima::fastcdr::optional& _char_opt_field); + + /*! + * @brief This function moves the value in member char_opt_field + * @param _char_opt_field New value to be moved in member char_opt_field + */ + eProsima_user_DllExport void char_opt_field( + eprosima::fastcdr::optional&& _char_opt_field); + + /*! + * @brief This function returns a constant reference to member char_opt_field + * @return Constant reference to member char_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& char_opt_field() const; + + /*! + * @brief This function returns a reference to member char_opt_field + * @return Reference to member char_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& char_opt_field(); + + + /*! + * @brief This function copies the value in member uint8_opt_field + * @param _uint8_opt_field New value to be copied in member uint8_opt_field + */ + eProsima_user_DllExport void uint8_opt_field( + const eprosima::fastcdr::optional& _uint8_opt_field); + + /*! + * @brief This function moves the value in member uint8_opt_field + * @param _uint8_opt_field New value to be moved in member uint8_opt_field + */ + eProsima_user_DllExport void uint8_opt_field( + eprosima::fastcdr::optional&& _uint8_opt_field); + + /*! + * @brief This function returns a constant reference to member uint8_opt_field + * @return Constant reference to member uint8_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& uint8_opt_field() const; + + /*! + * @brief This function returns a reference to member uint8_opt_field + * @return Reference to member uint8_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& uint8_opt_field(); + + + /*! + * @brief This function copies the value in member int16_opt_field + * @param _int16_opt_field New value to be copied in member int16_opt_field + */ + eProsima_user_DllExport void int16_opt_field( + const eprosima::fastcdr::optional& _int16_opt_field); + + /*! + * @brief This function moves the value in member int16_opt_field + * @param _int16_opt_field New value to be moved in member int16_opt_field + */ + eProsima_user_DllExport void int16_opt_field( + eprosima::fastcdr::optional&& _int16_opt_field); + + /*! + * @brief This function returns a constant reference to member int16_opt_field + * @return Constant reference to member int16_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& int16_opt_field() const; + + /*! + * @brief This function returns a reference to member int16_opt_field + * @return Reference to member int16_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& int16_opt_field(); + + + /*! + * @brief This function copies the value in member uint16_opt_field + * @param _uint16_opt_field New value to be copied in member uint16_opt_field + */ + eProsima_user_DllExport void uint16_opt_field( + const eprosima::fastcdr::optional& _uint16_opt_field); + + /*! + * @brief This function moves the value in member uint16_opt_field + * @param _uint16_opt_field New value to be moved in member uint16_opt_field + */ + eProsima_user_DllExport void uint16_opt_field( + eprosima::fastcdr::optional&& _uint16_opt_field); + + /*! + * @brief This function returns a constant reference to member uint16_opt_field + * @return Constant reference to member uint16_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& uint16_opt_field() const; + + /*! + * @brief This function returns a reference to member uint16_opt_field + * @return Reference to member uint16_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& uint16_opt_field(); + + + /*! + * @brief This function copies the value in member int32_opt_field + * @param _int32_opt_field New value to be copied in member int32_opt_field + */ + eProsima_user_DllExport void int32_opt_field( + const eprosima::fastcdr::optional& _int32_opt_field); + + /*! + * @brief This function moves the value in member int32_opt_field + * @param _int32_opt_field New value to be moved in member int32_opt_field + */ + eProsima_user_DllExport void int32_opt_field( + eprosima::fastcdr::optional&& _int32_opt_field); + + /*! + * @brief This function returns a constant reference to member int32_opt_field + * @return Constant reference to member int32_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& int32_opt_field() const; + + /*! + * @brief This function returns a reference to member int32_opt_field + * @return Reference to member int32_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& int32_opt_field(); + + + /*! + * @brief This function copies the value in member uint32_opt_field + * @param _uint32_opt_field New value to be copied in member uint32_opt_field + */ + eProsima_user_DllExport void uint32_opt_field( + const eprosima::fastcdr::optional& _uint32_opt_field); + + /*! + * @brief This function moves the value in member uint32_opt_field + * @param _uint32_opt_field New value to be moved in member uint32_opt_field + */ + eProsima_user_DllExport void uint32_opt_field( + eprosima::fastcdr::optional&& _uint32_opt_field); + + /*! + * @brief This function returns a constant reference to member uint32_opt_field + * @return Constant reference to member uint32_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& uint32_opt_field() const; + + /*! + * @brief This function returns a reference to member uint32_opt_field + * @return Reference to member uint32_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& uint32_opt_field(); + + + /*! + * @brief This function copies the value in member int64_opt_field + * @param _int64_opt_field New value to be copied in member int64_opt_field + */ + eProsima_user_DllExport void int64_opt_field( + const eprosima::fastcdr::optional& _int64_opt_field); + + /*! + * @brief This function moves the value in member int64_opt_field + * @param _int64_opt_field New value to be moved in member int64_opt_field + */ + eProsima_user_DllExport void int64_opt_field( + eprosima::fastcdr::optional&& _int64_opt_field); + + /*! + * @brief This function returns a constant reference to member int64_opt_field + * @return Constant reference to member int64_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& int64_opt_field() const; + + /*! + * @brief This function returns a reference to member int64_opt_field + * @return Reference to member int64_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& int64_opt_field(); + + + /*! + * @brief This function copies the value in member uint64_opt_field + * @param _uint64_opt_field New value to be copied in member uint64_opt_field + */ + eProsima_user_DllExport void uint64_opt_field( + const eprosima::fastcdr::optional& _uint64_opt_field); + + /*! + * @brief This function moves the value in member uint64_opt_field + * @param _uint64_opt_field New value to be moved in member uint64_opt_field + */ + eProsima_user_DllExport void uint64_opt_field( + eprosima::fastcdr::optional&& _uint64_opt_field); + + /*! + * @brief This function returns a constant reference to member uint64_opt_field + * @return Constant reference to member uint64_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& uint64_opt_field() const; + + /*! + * @brief This function returns a reference to member uint64_opt_field + * @return Reference to member uint64_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& uint64_opt_field(); + + + /*! + * @brief This function copies the value in member float_opt_field + * @param _float_opt_field New value to be copied in member float_opt_field + */ + eProsima_user_DllExport void float_opt_field( + const eprosima::fastcdr::optional& _float_opt_field); + + /*! + * @brief This function moves the value in member float_opt_field + * @param _float_opt_field New value to be moved in member float_opt_field + */ + eProsima_user_DllExport void float_opt_field( + eprosima::fastcdr::optional&& _float_opt_field); + + /*! + * @brief This function returns a constant reference to member float_opt_field + * @return Constant reference to member float_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& float_opt_field() const; + + /*! + * @brief This function returns a reference to member float_opt_field + * @return Reference to member float_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& float_opt_field(); + + + /*! + * @brief This function copies the value in member double_opt_field + * @param _double_opt_field New value to be copied in member double_opt_field + */ + eProsima_user_DllExport void double_opt_field( + const eprosima::fastcdr::optional& _double_opt_field); + + /*! + * @brief This function moves the value in member double_opt_field + * @param _double_opt_field New value to be moved in member double_opt_field + */ + eProsima_user_DllExport void double_opt_field( + eprosima::fastcdr::optional&& _double_opt_field); + + /*! + * @brief This function returns a constant reference to member double_opt_field + * @return Constant reference to member double_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& double_opt_field() const; + + /*! + * @brief This function returns a reference to member double_opt_field + * @return Reference to member double_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& double_opt_field(); + + + /*! + * @brief This function copies the value in member bool_opt_field + * @param _bool_opt_field New value to be copied in member bool_opt_field + */ + eProsima_user_DllExport void bool_opt_field( + const eprosima::fastcdr::optional& _bool_opt_field); + + /*! + * @brief This function moves the value in member bool_opt_field + * @param _bool_opt_field New value to be moved in member bool_opt_field + */ + eProsima_user_DllExport void bool_opt_field( + eprosima::fastcdr::optional&& _bool_opt_field); + + /*! + * @brief This function returns a constant reference to member bool_opt_field + * @return Constant reference to member bool_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& bool_opt_field() const; + + /*! + * @brief This function returns a reference to member bool_opt_field + * @return Reference to member bool_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& bool_opt_field(); + + + /*! + * @brief This function copies the value in member string_opt_field + * @param _string_opt_field New value to be copied in member string_opt_field + */ + eProsima_user_DllExport void string_opt_field( + const eprosima::fastcdr::optional& _string_opt_field); + + /*! + * @brief This function moves the value in member string_opt_field + * @param _string_opt_field New value to be moved in member string_opt_field + */ + eProsima_user_DllExport void string_opt_field( + eprosima::fastcdr::optional&& _string_opt_field); + + /*! + * @brief This function returns a constant reference to member string_opt_field + * @return Constant reference to member string_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& string_opt_field() const; + + /*! + * @brief This function returns a reference to member string_opt_field + * @return Reference to member string_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& string_opt_field(); + + + /*! + * @brief This function copies the value in member enum_opt_field + * @param _enum_opt_field New value to be copied in member enum_opt_field + */ + eProsima_user_DllExport void enum_opt_field( + const eprosima::fastcdr::optional& _enum_opt_field); + + /*! + * @brief This function moves the value in member enum_opt_field + * @param _enum_opt_field New value to be moved in member enum_opt_field + */ + eProsima_user_DllExport void enum_opt_field( + eprosima::fastcdr::optional&& _enum_opt_field); + + /*! + * @brief This function returns a constant reference to member enum_opt_field + * @return Constant reference to member enum_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& enum_opt_field() const; + + /*! + * @brief This function returns a reference to member enum_opt_field + * @return Reference to member enum_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& enum_opt_field(); + + + /*! + * @brief This function copies the value in member enum2_opt_field + * @param _enum2_opt_field New value to be copied in member enum2_opt_field + */ + eProsima_user_DllExport void enum2_opt_field( + const eprosima::fastcdr::optional& _enum2_opt_field); + + /*! + * @brief This function moves the value in member enum2_opt_field + * @param _enum2_opt_field New value to be moved in member enum2_opt_field + */ + eProsima_user_DllExport void enum2_opt_field( + eprosima::fastcdr::optional&& _enum2_opt_field); + + /*! + * @brief This function returns a constant reference to member enum2_opt_field + * @return Constant reference to member enum2_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& enum2_opt_field() const; + + /*! + * @brief This function returns a reference to member enum2_opt_field + * @return Reference to member enum2_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& enum2_opt_field(); + + + /*! + * @brief This function copies the value in member struct_opt_field + * @param _struct_opt_field New value to be copied in member struct_opt_field + */ + eProsima_user_DllExport void struct_opt_field( + const eprosima::fastcdr::optional& _struct_opt_field); + + /*! + * @brief This function moves the value in member struct_opt_field + * @param _struct_opt_field New value to be moved in member struct_opt_field + */ + eProsima_user_DllExport void struct_opt_field( + eprosima::fastcdr::optional&& _struct_opt_field); + + /*! + * @brief This function returns a constant reference to member struct_opt_field + * @return Constant reference to member struct_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& struct_opt_field() const; + + /*! + * @brief This function returns a reference to member struct_opt_field + * @return Reference to member struct_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& struct_opt_field(); + + + /*! + * @brief This function copies the value in member array_char_field + * @param _array_char_field New value to be copied in member array_char_field + */ + eProsima_user_DllExport void array_char_field( + const std::array& _array_char_field); + + /*! + * @brief This function moves the value in member array_char_field + * @param _array_char_field New value to be moved in member array_char_field + */ + eProsima_user_DllExport void array_char_field( + std::array&& _array_char_field); + + /*! + * @brief This function returns a constant reference to member array_char_field + * @return Constant reference to member array_char_field + */ + eProsima_user_DllExport const std::array& array_char_field() const; + + /*! + * @brief This function returns a reference to member array_char_field + * @return Reference to member array_char_field + */ + eProsima_user_DllExport std::array& array_char_field(); + + + /*! + * @brief This function copies the value in member array_uint8_field + * @param _array_uint8_field New value to be copied in member array_uint8_field + */ + eProsima_user_DllExport void array_uint8_field( + const std::array& _array_uint8_field); + + /*! + * @brief This function moves the value in member array_uint8_field + * @param _array_uint8_field New value to be moved in member array_uint8_field + */ + eProsima_user_DllExport void array_uint8_field( + std::array&& _array_uint8_field); + + /*! + * @brief This function returns a constant reference to member array_uint8_field + * @return Constant reference to member array_uint8_field + */ + eProsima_user_DllExport const std::array& array_uint8_field() const; + + /*! + * @brief This function returns a reference to member array_uint8_field + * @return Reference to member array_uint8_field + */ + eProsima_user_DllExport std::array& array_uint8_field(); + + + /*! + * @brief This function copies the value in member array_int16_field + * @param _array_int16_field New value to be copied in member array_int16_field + */ + eProsima_user_DllExport void array_int16_field( + const std::array& _array_int16_field); + + /*! + * @brief This function moves the value in member array_int16_field + * @param _array_int16_field New value to be moved in member array_int16_field + */ + eProsima_user_DllExport void array_int16_field( + std::array&& _array_int16_field); + + /*! + * @brief This function returns a constant reference to member array_int16_field + * @return Constant reference to member array_int16_field + */ + eProsima_user_DllExport const std::array& array_int16_field() const; + + /*! + * @brief This function returns a reference to member array_int16_field + * @return Reference to member array_int16_field + */ + eProsima_user_DllExport std::array& array_int16_field(); + + + /*! + * @brief This function copies the value in member array_uint16_field + * @param _array_uint16_field New value to be copied in member array_uint16_field + */ + eProsima_user_DllExport void array_uint16_field( + const std::array& _array_uint16_field); + + /*! + * @brief This function moves the value in member array_uint16_field + * @param _array_uint16_field New value to be moved in member array_uint16_field + */ + eProsima_user_DllExport void array_uint16_field( + std::array&& _array_uint16_field); + + /*! + * @brief This function returns a constant reference to member array_uint16_field + * @return Constant reference to member array_uint16_field + */ + eProsima_user_DllExport const std::array& array_uint16_field() const; + + /*! + * @brief This function returns a reference to member array_uint16_field + * @return Reference to member array_uint16_field + */ + eProsima_user_DllExport std::array& array_uint16_field(); + + + /*! + * @brief This function copies the value in member array_int32_field + * @param _array_int32_field New value to be copied in member array_int32_field + */ + eProsima_user_DllExport void array_int32_field( + const std::array& _array_int32_field); + + /*! + * @brief This function moves the value in member array_int32_field + * @param _array_int32_field New value to be moved in member array_int32_field + */ + eProsima_user_DllExport void array_int32_field( + std::array&& _array_int32_field); + + /*! + * @brief This function returns a constant reference to member array_int32_field + * @return Constant reference to member array_int32_field + */ + eProsima_user_DllExport const std::array& array_int32_field() const; + + /*! + * @brief This function returns a reference to member array_int32_field + * @return Reference to member array_int32_field + */ + eProsima_user_DllExport std::array& array_int32_field(); + + + /*! + * @brief This function copies the value in member array_uint32_field + * @param _array_uint32_field New value to be copied in member array_uint32_field + */ + eProsima_user_DllExport void array_uint32_field( + const std::array& _array_uint32_field); + + /*! + * @brief This function moves the value in member array_uint32_field + * @param _array_uint32_field New value to be moved in member array_uint32_field + */ + eProsima_user_DllExport void array_uint32_field( + std::array&& _array_uint32_field); + + /*! + * @brief This function returns a constant reference to member array_uint32_field + * @return Constant reference to member array_uint32_field + */ + eProsima_user_DllExport const std::array& array_uint32_field() const; + + /*! + * @brief This function returns a reference to member array_uint32_field + * @return Reference to member array_uint32_field + */ + eProsima_user_DllExport std::array& array_uint32_field(); + + + /*! + * @brief This function copies the value in member array_int64_field + * @param _array_int64_field New value to be copied in member array_int64_field + */ + eProsima_user_DllExport void array_int64_field( + const std::array& _array_int64_field); + + /*! + * @brief This function moves the value in member array_int64_field + * @param _array_int64_field New value to be moved in member array_int64_field + */ + eProsima_user_DllExport void array_int64_field( + std::array&& _array_int64_field); + + /*! + * @brief This function returns a constant reference to member array_int64_field + * @return Constant reference to member array_int64_field + */ + eProsima_user_DllExport const std::array& array_int64_field() const; + + /*! + * @brief This function returns a reference to member array_int64_field + * @return Reference to member array_int64_field + */ + eProsima_user_DllExport std::array& array_int64_field(); + + + /*! + * @brief This function copies the value in member array_uint64_field + * @param _array_uint64_field New value to be copied in member array_uint64_field + */ + eProsima_user_DllExport void array_uint64_field( + const std::array& _array_uint64_field); + + /*! + * @brief This function moves the value in member array_uint64_field + * @param _array_uint64_field New value to be moved in member array_uint64_field + */ + eProsima_user_DllExport void array_uint64_field( + std::array&& _array_uint64_field); + + /*! + * @brief This function returns a constant reference to member array_uint64_field + * @return Constant reference to member array_uint64_field + */ + eProsima_user_DllExport const std::array& array_uint64_field() const; + + /*! + * @brief This function returns a reference to member array_uint64_field + * @return Reference to member array_uint64_field + */ + eProsima_user_DllExport std::array& array_uint64_field(); + + + /*! + * @brief This function copies the value in member array_float_field + * @param _array_float_field New value to be copied in member array_float_field + */ + eProsima_user_DllExport void array_float_field( + const std::array& _array_float_field); + + /*! + * @brief This function moves the value in member array_float_field + * @param _array_float_field New value to be moved in member array_float_field + */ + eProsima_user_DllExport void array_float_field( + std::array&& _array_float_field); + + /*! + * @brief This function returns a constant reference to member array_float_field + * @return Constant reference to member array_float_field + */ + eProsima_user_DllExport const std::array& array_float_field() const; + + /*! + * @brief This function returns a reference to member array_float_field + * @return Reference to member array_float_field + */ + eProsima_user_DllExport std::array& array_float_field(); + + + /*! + * @brief This function copies the value in member array_double_field + * @param _array_double_field New value to be copied in member array_double_field + */ + eProsima_user_DllExport void array_double_field( + const std::array& _array_double_field); + + /*! + * @brief This function moves the value in member array_double_field + * @param _array_double_field New value to be moved in member array_double_field + */ + eProsima_user_DllExport void array_double_field( + std::array&& _array_double_field); + + /*! + * @brief This function returns a constant reference to member array_double_field + * @return Constant reference to member array_double_field + */ + eProsima_user_DllExport const std::array& array_double_field() const; + + /*! + * @brief This function returns a reference to member array_double_field + * @return Reference to member array_double_field + */ + eProsima_user_DllExport std::array& array_double_field(); + + + /*! + * @brief This function copies the value in member array_bool_field + * @param _array_bool_field New value to be copied in member array_bool_field + */ + eProsima_user_DllExport void array_bool_field( + const std::array& _array_bool_field); + + /*! + * @brief This function moves the value in member array_bool_field + * @param _array_bool_field New value to be moved in member array_bool_field + */ + eProsima_user_DllExport void array_bool_field( + std::array&& _array_bool_field); + + /*! + * @brief This function returns a constant reference to member array_bool_field + * @return Constant reference to member array_bool_field + */ + eProsima_user_DllExport const std::array& array_bool_field() const; + + /*! + * @brief This function returns a reference to member array_bool_field + * @return Reference to member array_bool_field + */ + eProsima_user_DllExport std::array& array_bool_field(); + + + /*! + * @brief This function copies the value in member array_enum_field + * @param _array_enum_field New value to be copied in member array_enum_field + */ + eProsima_user_DllExport void array_enum_field( + const std::array& _array_enum_field); + + /*! + * @brief This function moves the value in member array_enum_field + * @param _array_enum_field New value to be moved in member array_enum_field + */ + eProsima_user_DllExport void array_enum_field( + std::array&& _array_enum_field); + + /*! + * @brief This function returns a constant reference to member array_enum_field + * @return Constant reference to member array_enum_field + */ + eProsima_user_DllExport const std::array& array_enum_field() const; + + /*! + * @brief This function returns a reference to member array_enum_field + * @return Reference to member array_enum_field + */ + eProsima_user_DllExport std::array& array_enum_field(); + + + /*! + * @brief This function copies the value in member array_enum2_field + * @param _array_enum2_field New value to be copied in member array_enum2_field + */ + eProsima_user_DllExport void array_enum2_field( + const std::array& _array_enum2_field); + + /*! + * @brief This function moves the value in member array_enum2_field + * @param _array_enum2_field New value to be moved in member array_enum2_field + */ + eProsima_user_DllExport void array_enum2_field( + std::array&& _array_enum2_field); + + /*! + * @brief This function returns a constant reference to member array_enum2_field + * @return Constant reference to member array_enum2_field + */ + eProsima_user_DllExport const std::array& array_enum2_field() const; + + /*! + * @brief This function returns a reference to member array_enum2_field + * @return Reference to member array_enum2_field + */ + eProsima_user_DllExport std::array& array_enum2_field(); + + + /*! + * @brief This function copies the value in member array_struct_field + * @param _array_struct_field New value to be copied in member array_struct_field + */ + eProsima_user_DllExport void array_struct_field( + const std::array& _array_struct_field); + + /*! + * @brief This function moves the value in member array_struct_field + * @param _array_struct_field New value to be moved in member array_struct_field + */ + eProsima_user_DllExport void array_struct_field( + std::array&& _array_struct_field); + + /*! + * @brief This function returns a constant reference to member array_struct_field + * @return Constant reference to member array_struct_field + */ + eProsima_user_DllExport const std::array& array_struct_field() const; + + /*! + * @brief This function returns a reference to member array_struct_field + * @return Reference to member array_struct_field + */ + eProsima_user_DllExport std::array& array_struct_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be copied in member bounded_sequence_char_field + */ + eProsima_user_DllExport void bounded_sequence_char_field( + const std::vector& _bounded_sequence_char_field); + + /*! + * @brief This function moves the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be moved in member bounded_sequence_char_field + */ + eProsima_user_DllExport void bounded_sequence_char_field( + std::vector&& _bounded_sequence_char_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_char_field + * @return Constant reference to member bounded_sequence_char_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_char_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_char_field + * @return Reference to member bounded_sequence_char_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_char_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be copied in member bounded_sequence_uint8_field + */ + eProsima_user_DllExport void bounded_sequence_uint8_field( + const std::vector& _bounded_sequence_uint8_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be moved in member bounded_sequence_uint8_field + */ + eProsima_user_DllExport void bounded_sequence_uint8_field( + std::vector&& _bounded_sequence_uint8_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint8_field + * @return Constant reference to member bounded_sequence_uint8_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint8_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint8_field + * @return Reference to member bounded_sequence_uint8_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint8_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be copied in member bounded_sequence_int16_field + */ + eProsima_user_DllExport void bounded_sequence_int16_field( + const std::vector& _bounded_sequence_int16_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be moved in member bounded_sequence_int16_field + */ + eProsima_user_DllExport void bounded_sequence_int16_field( + std::vector&& _bounded_sequence_int16_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int16_field + * @return Constant reference to member bounded_sequence_int16_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int16_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int16_field + * @return Reference to member bounded_sequence_int16_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int16_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be copied in member bounded_sequence_uint16_field + */ + eProsima_user_DllExport void bounded_sequence_uint16_field( + const std::vector& _bounded_sequence_uint16_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be moved in member bounded_sequence_uint16_field + */ + eProsima_user_DllExport void bounded_sequence_uint16_field( + std::vector&& _bounded_sequence_uint16_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint16_field + * @return Constant reference to member bounded_sequence_uint16_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint16_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint16_field + * @return Reference to member bounded_sequence_uint16_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint16_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be copied in member bounded_sequence_int32_field + */ + eProsima_user_DllExport void bounded_sequence_int32_field( + const std::vector& _bounded_sequence_int32_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be moved in member bounded_sequence_int32_field + */ + eProsima_user_DllExport void bounded_sequence_int32_field( + std::vector&& _bounded_sequence_int32_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int32_field + * @return Constant reference to member bounded_sequence_int32_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int32_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int32_field + * @return Reference to member bounded_sequence_int32_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int32_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be copied in member bounded_sequence_uint32_field + */ + eProsima_user_DllExport void bounded_sequence_uint32_field( + const std::vector& _bounded_sequence_uint32_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be moved in member bounded_sequence_uint32_field + */ + eProsima_user_DllExport void bounded_sequence_uint32_field( + std::vector&& _bounded_sequence_uint32_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint32_field + * @return Constant reference to member bounded_sequence_uint32_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint32_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint32_field + * @return Reference to member bounded_sequence_uint32_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint32_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be copied in member bounded_sequence_int64_field + */ + eProsima_user_DllExport void bounded_sequence_int64_field( + const std::vector& _bounded_sequence_int64_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be moved in member bounded_sequence_int64_field + */ + eProsima_user_DllExport void bounded_sequence_int64_field( + std::vector&& _bounded_sequence_int64_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int64_field + * @return Constant reference to member bounded_sequence_int64_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int64_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int64_field + * @return Reference to member bounded_sequence_int64_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int64_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be copied in member bounded_sequence_uint64_field + */ + eProsima_user_DllExport void bounded_sequence_uint64_field( + const std::vector& _bounded_sequence_uint64_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be moved in member bounded_sequence_uint64_field + */ + eProsima_user_DllExport void bounded_sequence_uint64_field( + std::vector&& _bounded_sequence_uint64_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint64_field + * @return Constant reference to member bounded_sequence_uint64_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint64_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint64_field + * @return Reference to member bounded_sequence_uint64_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint64_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be copied in member bounded_sequence_float_field + */ + eProsima_user_DllExport void bounded_sequence_float_field( + const std::vector& _bounded_sequence_float_field); + + /*! + * @brief This function moves the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be moved in member bounded_sequence_float_field + */ + eProsima_user_DllExport void bounded_sequence_float_field( + std::vector&& _bounded_sequence_float_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_float_field + * @return Constant reference to member bounded_sequence_float_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_float_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_float_field + * @return Reference to member bounded_sequence_float_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_float_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be copied in member bounded_sequence_double_field + */ + eProsima_user_DllExport void bounded_sequence_double_field( + const std::vector& _bounded_sequence_double_field); + + /*! + * @brief This function moves the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be moved in member bounded_sequence_double_field + */ + eProsima_user_DllExport void bounded_sequence_double_field( + std::vector&& _bounded_sequence_double_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_double_field + * @return Constant reference to member bounded_sequence_double_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_double_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_double_field + * @return Reference to member bounded_sequence_double_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_double_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be copied in member bounded_sequence_bool_field + */ + eProsima_user_DllExport void bounded_sequence_bool_field( + const std::vector& _bounded_sequence_bool_field); + + /*! + * @brief This function moves the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be moved in member bounded_sequence_bool_field + */ + eProsima_user_DllExport void bounded_sequence_bool_field( + std::vector&& _bounded_sequence_bool_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_bool_field + * @return Constant reference to member bounded_sequence_bool_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_bool_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_bool_field + * @return Reference to member bounded_sequence_bool_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_bool_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be copied in member bounded_sequence_enum_field + */ + eProsima_user_DllExport void bounded_sequence_enum_field( + const std::vector& _bounded_sequence_enum_field); + + /*! + * @brief This function moves the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be moved in member bounded_sequence_enum_field + */ + eProsima_user_DllExport void bounded_sequence_enum_field( + std::vector&& _bounded_sequence_enum_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_enum_field + * @return Constant reference to member bounded_sequence_enum_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_enum_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_enum_field + * @return Reference to member bounded_sequence_enum_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_enum_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be copied in member bounded_sequence_enum2_field + */ + eProsima_user_DllExport void bounded_sequence_enum2_field( + const std::vector& _bounded_sequence_enum2_field); + + /*! + * @brief This function moves the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be moved in member bounded_sequence_enum2_field + */ + eProsima_user_DllExport void bounded_sequence_enum2_field( + std::vector&& _bounded_sequence_enum2_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_enum2_field + * @return Constant reference to member bounded_sequence_enum2_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_enum2_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_enum2_field + * @return Reference to member bounded_sequence_enum2_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_enum2_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be copied in member bounded_sequence_struct_field + */ + eProsima_user_DllExport void bounded_sequence_struct_field( + const std::vector& _bounded_sequence_struct_field); + + /*! + * @brief This function moves the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be moved in member bounded_sequence_struct_field + */ + eProsima_user_DllExport void bounded_sequence_struct_field( + std::vector&& _bounded_sequence_struct_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_struct_field + * @return Constant reference to member bounded_sequence_struct_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_struct_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_struct_field + * @return Reference to member bounded_sequence_struct_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_struct_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be copied in member unbounded_sequence_char_field + */ + eProsima_user_DllExport void unbounded_sequence_char_field( + const std::vector& _unbounded_sequence_char_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be moved in member unbounded_sequence_char_field + */ + eProsima_user_DllExport void unbounded_sequence_char_field( + std::vector&& _unbounded_sequence_char_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_char_field + * @return Constant reference to member unbounded_sequence_char_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_char_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_char_field + * @return Reference to member unbounded_sequence_char_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_char_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be copied in member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport void unbounded_sequence_uint8_field( + const std::vector& _unbounded_sequence_uint8_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be moved in member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport void unbounded_sequence_uint8_field( + std::vector&& _unbounded_sequence_uint8_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint8_field + * @return Constant reference to member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint8_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint8_field + * @return Reference to member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint8_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be copied in member unbounded_sequence_int16_field + */ + eProsima_user_DllExport void unbounded_sequence_int16_field( + const std::vector& _unbounded_sequence_int16_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be moved in member unbounded_sequence_int16_field + */ + eProsima_user_DllExport void unbounded_sequence_int16_field( + std::vector&& _unbounded_sequence_int16_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int16_field + * @return Constant reference to member unbounded_sequence_int16_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int16_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int16_field + * @return Reference to member unbounded_sequence_int16_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int16_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be copied in member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport void unbounded_sequence_uint16_field( + const std::vector& _unbounded_sequence_uint16_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be moved in member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport void unbounded_sequence_uint16_field( + std::vector&& _unbounded_sequence_uint16_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint16_field + * @return Constant reference to member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint16_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint16_field + * @return Reference to member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint16_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be copied in member unbounded_sequence_int32_field + */ + eProsima_user_DllExport void unbounded_sequence_int32_field( + const std::vector& _unbounded_sequence_int32_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be moved in member unbounded_sequence_int32_field + */ + eProsima_user_DllExport void unbounded_sequence_int32_field( + std::vector&& _unbounded_sequence_int32_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int32_field + * @return Constant reference to member unbounded_sequence_int32_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int32_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int32_field + * @return Reference to member unbounded_sequence_int32_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int32_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be copied in member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport void unbounded_sequence_uint32_field( + const std::vector& _unbounded_sequence_uint32_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be moved in member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport void unbounded_sequence_uint32_field( + std::vector&& _unbounded_sequence_uint32_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint32_field + * @return Constant reference to member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint32_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint32_field + * @return Reference to member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint32_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be copied in member unbounded_sequence_int64_field + */ + eProsima_user_DllExport void unbounded_sequence_int64_field( + const std::vector& _unbounded_sequence_int64_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be moved in member unbounded_sequence_int64_field + */ + eProsima_user_DllExport void unbounded_sequence_int64_field( + std::vector&& _unbounded_sequence_int64_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int64_field + * @return Constant reference to member unbounded_sequence_int64_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int64_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int64_field + * @return Reference to member unbounded_sequence_int64_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int64_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be copied in member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport void unbounded_sequence_uint64_field( + const std::vector& _unbounded_sequence_uint64_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be moved in member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport void unbounded_sequence_uint64_field( + std::vector&& _unbounded_sequence_uint64_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint64_field + * @return Constant reference to member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint64_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint64_field + * @return Reference to member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint64_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be copied in member unbounded_sequence_float_field + */ + eProsima_user_DllExport void unbounded_sequence_float_field( + const std::vector& _unbounded_sequence_float_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be moved in member unbounded_sequence_float_field + */ + eProsima_user_DllExport void unbounded_sequence_float_field( + std::vector&& _unbounded_sequence_float_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_float_field + * @return Constant reference to member unbounded_sequence_float_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_float_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_float_field + * @return Reference to member unbounded_sequence_float_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_float_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be copied in member unbounded_sequence_double_field + */ + eProsima_user_DllExport void unbounded_sequence_double_field( + const std::vector& _unbounded_sequence_double_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be moved in member unbounded_sequence_double_field + */ + eProsima_user_DllExport void unbounded_sequence_double_field( + std::vector&& _unbounded_sequence_double_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_double_field + * @return Constant reference to member unbounded_sequence_double_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_double_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_double_field + * @return Reference to member unbounded_sequence_double_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_double_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be copied in member unbounded_sequence_bool_field + */ + eProsima_user_DllExport void unbounded_sequence_bool_field( + const std::vector& _unbounded_sequence_bool_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be moved in member unbounded_sequence_bool_field + */ + eProsima_user_DllExport void unbounded_sequence_bool_field( + std::vector&& _unbounded_sequence_bool_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_bool_field + * @return Constant reference to member unbounded_sequence_bool_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_bool_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_bool_field + * @return Reference to member unbounded_sequence_bool_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_bool_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be copied in member unbounded_sequence_enum_field + */ + eProsima_user_DllExport void unbounded_sequence_enum_field( + const std::vector& _unbounded_sequence_enum_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be moved in member unbounded_sequence_enum_field + */ + eProsima_user_DllExport void unbounded_sequence_enum_field( + std::vector&& _unbounded_sequence_enum_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_enum_field + * @return Constant reference to member unbounded_sequence_enum_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_enum_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_enum_field + * @return Reference to member unbounded_sequence_enum_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_enum_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be copied in member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport void unbounded_sequence_enum2_field( + const std::vector& _unbounded_sequence_enum2_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be moved in member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport void unbounded_sequence_enum2_field( + std::vector&& _unbounded_sequence_enum2_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_enum2_field + * @return Constant reference to member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_enum2_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_enum2_field + * @return Reference to member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_enum2_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be copied in member unbounded_sequence_struct_field + */ + eProsima_user_DllExport void unbounded_sequence_struct_field( + const std::vector& _unbounded_sequence_struct_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be moved in member unbounded_sequence_struct_field + */ + eProsima_user_DllExport void unbounded_sequence_struct_field( + std::vector&& _unbounded_sequence_struct_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_struct_field + * @return Constant reference to member unbounded_sequence_struct_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_struct_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_struct_field + * @return Reference to member unbounded_sequence_struct_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_struct_field(); + +private: + + char m_char_field{0}; + uint8_t m_uint8_field{0}; + int16_t m_int16_field{0}; + uint16_t m_uint16_field{0}; + int32_t m_int32_field{0}; + uint32_t m_uint32_field{0}; + int64_t m_int64_field{0}; + uint64_t m_uint64_field{0}; + float m_float_field{0.0}; + double m_double_field{0.0}; + bool m_bool_field{false}; + std::string m_string_field; + eprosima::test::Color m_enum_field{eprosima::test::RED}; + eprosima::test::Material m_enum2_field{eprosima::test::WOOD}; + eprosima::test::StructType m_struct_field; + eprosima::fastcdr::optional m_char_opt_field; + eprosima::fastcdr::optional m_uint8_opt_field; + eprosima::fastcdr::optional m_int16_opt_field; + eprosima::fastcdr::optional m_uint16_opt_field; + eprosima::fastcdr::optional m_int32_opt_field; + eprosima::fastcdr::optional m_uint32_opt_field; + eprosima::fastcdr::optional m_int64_opt_field; + eprosima::fastcdr::optional m_uint64_opt_field; + eprosima::fastcdr::optional m_float_opt_field; + eprosima::fastcdr::optional m_double_opt_field; + eprosima::fastcdr::optional m_bool_opt_field; + eprosima::fastcdr::optional m_string_opt_field; + eprosima::fastcdr::optional m_enum_opt_field; + eprosima::fastcdr::optional m_enum2_opt_field; + eprosima::fastcdr::optional m_struct_opt_field; + std::array m_array_char_field{0}; + std::array m_array_uint8_field{0}; + std::array m_array_int16_field{0}; + std::array m_array_uint16_field{0}; + std::array m_array_int32_field{0}; + std::array m_array_uint32_field{0}; + std::array m_array_int64_field{0}; + std::array m_array_uint64_field{0}; + std::array m_array_float_field{0.0}; + std::array m_array_double_field{0.0}; + std::array m_array_bool_field{false}; + std::array m_array_enum_field{eprosima::test::RED}; + std::array m_array_enum2_field{eprosima::test::WOOD}; + std::array m_array_struct_field; + std::vector m_bounded_sequence_char_field; + std::vector m_bounded_sequence_uint8_field; + std::vector m_bounded_sequence_int16_field; + std::vector m_bounded_sequence_uint16_field; + std::vector m_bounded_sequence_int32_field; + std::vector m_bounded_sequence_uint32_field; + std::vector m_bounded_sequence_int64_field; + std::vector m_bounded_sequence_uint64_field; + std::vector m_bounded_sequence_float_field; + std::vector m_bounded_sequence_double_field; + std::vector m_bounded_sequence_bool_field; + std::vector m_bounded_sequence_enum_field; + std::vector m_bounded_sequence_enum2_field; + std::vector m_bounded_sequence_struct_field; + std::vector m_unbounded_sequence_char_field; + std::vector m_unbounded_sequence_uint8_field; + std::vector m_unbounded_sequence_int16_field; + std::vector m_unbounded_sequence_uint16_field; + std::vector m_unbounded_sequence_int32_field; + std::vector m_unbounded_sequence_uint32_field; + std::vector m_unbounded_sequence_int64_field; + std::vector m_unbounded_sequence_uint64_field; + std::vector m_unbounded_sequence_float_field; + std::vector m_unbounded_sequence_double_field; + std::vector m_unbounded_sequence_bool_field; + std::vector m_unbounded_sequence_enum_field; + std::vector m_unbounded_sequence_enum2_field; + std::vector m_unbounded_sequence_struct_field; + +}; + + + + +/*! + * @brief This class represents the structure KeyedCompleteTestType defined by the user in the IDL file. + * @ingroup test_modules + */ +class KeyedCompleteTestType +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport KeyedCompleteTestType(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~KeyedCompleteTestType(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::test::KeyedCompleteTestType that will be copied. + */ + eProsima_user_DllExport KeyedCompleteTestType( + const KeyedCompleteTestType& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::test::KeyedCompleteTestType that will be copied. + */ + eProsima_user_DllExport KeyedCompleteTestType( + KeyedCompleteTestType&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::test::KeyedCompleteTestType that will be copied. + */ + eProsima_user_DllExport KeyedCompleteTestType& operator =( + const KeyedCompleteTestType& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::test::KeyedCompleteTestType that will be copied. + */ + eProsima_user_DllExport KeyedCompleteTestType& operator =( + KeyedCompleteTestType&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::test::KeyedCompleteTestType object to compare. + */ + eProsima_user_DllExport bool operator ==( + const KeyedCompleteTestType& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::test::KeyedCompleteTestType object to compare. + */ + eProsima_user_DllExport bool operator !=( + const KeyedCompleteTestType& x) const; + + /*! + * @brief This function sets a value in member id + * @param _id New value for member id + */ + eProsima_user_DllExport void id( + int32_t _id); + + /*! + * @brief This function returns the value of member id + * @return Value of member id + */ + eProsima_user_DllExport int32_t id() const; + + /*! + * @brief This function returns a reference to member id + * @return Reference to member id + */ + eProsima_user_DllExport int32_t& id(); + + + /*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ + eProsima_user_DllExport void char_field( + char _char_field); + + /*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ + eProsima_user_DllExport char char_field() const; + + /*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ + eProsima_user_DllExport char& char_field(); + + + /*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ + eProsima_user_DllExport void uint8_field( + uint8_t _uint8_field); + + /*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ + eProsima_user_DllExport uint8_t uint8_field() const; + + /*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ + eProsima_user_DllExport uint8_t& uint8_field(); + + + /*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ + eProsima_user_DllExport void int16_field( + int16_t _int16_field); + + /*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ + eProsima_user_DllExport int16_t int16_field() const; + + /*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ + eProsima_user_DllExport int16_t& int16_field(); + + + /*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ + eProsima_user_DllExport void uint16_field( + uint16_t _uint16_field); + + /*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ + eProsima_user_DllExport uint16_t uint16_field() const; + + /*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ + eProsima_user_DllExport uint16_t& uint16_field(); + + + /*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ + eProsima_user_DllExport void int32_field( + int32_t _int32_field); + + /*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ + eProsima_user_DllExport int32_t int32_field() const; + + /*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ + eProsima_user_DllExport int32_t& int32_field(); + + + /*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ + eProsima_user_DllExport void uint32_field( + uint32_t _uint32_field); + + /*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ + eProsima_user_DllExport uint32_t uint32_field() const; + + /*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ + eProsima_user_DllExport uint32_t& uint32_field(); + + + /*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ + eProsima_user_DllExport void int64_field( + int64_t _int64_field); + + /*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ + eProsima_user_DllExport int64_t int64_field() const; + + /*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ + eProsima_user_DllExport int64_t& int64_field(); + + + /*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ + eProsima_user_DllExport void uint64_field( + uint64_t _uint64_field); + + /*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ + eProsima_user_DllExport uint64_t uint64_field() const; + + /*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ + eProsima_user_DllExport uint64_t& uint64_field(); + + + /*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ + eProsima_user_DllExport void float_field( + float _float_field); + + /*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ + eProsima_user_DllExport float float_field() const; + + /*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ + eProsima_user_DllExport float& float_field(); + + + /*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ + eProsima_user_DllExport void double_field( + double _double_field); + + /*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ + eProsima_user_DllExport double double_field() const; + + /*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ + eProsima_user_DllExport double& double_field(); + + + /*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ + eProsima_user_DllExport void bool_field( + bool _bool_field); + + /*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ + eProsima_user_DllExport bool bool_field() const; + + /*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ + eProsima_user_DllExport bool& bool_field(); + + + /*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ + eProsima_user_DllExport void string_field( + const std::string& _string_field); + + /*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ + eProsima_user_DllExport void string_field( + std::string&& _string_field); + + /*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ + eProsima_user_DllExport const std::string& string_field() const; + + /*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ + eProsima_user_DllExport std::string& string_field(); + + + /*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ + eProsima_user_DllExport void enum_field( + eprosima::test::Color _enum_field); + + /*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ + eProsima_user_DllExport eprosima::test::Color enum_field() const; + + /*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ + eProsima_user_DllExport eprosima::test::Color& enum_field(); + + + /*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ + eProsima_user_DllExport void enum2_field( + eprosima::test::Material _enum2_field); + + /*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ + eProsima_user_DllExport eprosima::test::Material enum2_field() const; + + /*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ + eProsima_user_DllExport eprosima::test::Material& enum2_field(); + + + /*! + * @brief This function copies the value in member struct_field + * @param _struct_field New value to be copied in member struct_field + */ + eProsima_user_DllExport void struct_field( + const eprosima::test::StructType& _struct_field); + + /*! + * @brief This function moves the value in member struct_field + * @param _struct_field New value to be moved in member struct_field + */ + eProsima_user_DllExport void struct_field( + eprosima::test::StructType&& _struct_field); + + /*! + * @brief This function returns a constant reference to member struct_field + * @return Constant reference to member struct_field + */ + eProsima_user_DllExport const eprosima::test::StructType& struct_field() const; + + /*! + * @brief This function returns a reference to member struct_field + * @return Reference to member struct_field + */ + eProsima_user_DllExport eprosima::test::StructType& struct_field(); + + + /*! + * @brief This function copies the value in member char_opt_field + * @param _char_opt_field New value to be copied in member char_opt_field + */ + eProsima_user_DllExport void char_opt_field( + const eprosima::fastcdr::optional& _char_opt_field); + + /*! + * @brief This function moves the value in member char_opt_field + * @param _char_opt_field New value to be moved in member char_opt_field + */ + eProsima_user_DllExport void char_opt_field( + eprosima::fastcdr::optional&& _char_opt_field); + + /*! + * @brief This function returns a constant reference to member char_opt_field + * @return Constant reference to member char_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& char_opt_field() const; + + /*! + * @brief This function returns a reference to member char_opt_field + * @return Reference to member char_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& char_opt_field(); + + + /*! + * @brief This function copies the value in member uint8_opt_field + * @param _uint8_opt_field New value to be copied in member uint8_opt_field + */ + eProsima_user_DllExport void uint8_opt_field( + const eprosima::fastcdr::optional& _uint8_opt_field); + + /*! + * @brief This function moves the value in member uint8_opt_field + * @param _uint8_opt_field New value to be moved in member uint8_opt_field + */ + eProsima_user_DllExport void uint8_opt_field( + eprosima::fastcdr::optional&& _uint8_opt_field); + + /*! + * @brief This function returns a constant reference to member uint8_opt_field + * @return Constant reference to member uint8_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& uint8_opt_field() const; + + /*! + * @brief This function returns a reference to member uint8_opt_field + * @return Reference to member uint8_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& uint8_opt_field(); + + + /*! + * @brief This function copies the value in member int16_opt_field + * @param _int16_opt_field New value to be copied in member int16_opt_field + */ + eProsima_user_DllExport void int16_opt_field( + const eprosima::fastcdr::optional& _int16_opt_field); + + /*! + * @brief This function moves the value in member int16_opt_field + * @param _int16_opt_field New value to be moved in member int16_opt_field + */ + eProsima_user_DllExport void int16_opt_field( + eprosima::fastcdr::optional&& _int16_opt_field); + + /*! + * @brief This function returns a constant reference to member int16_opt_field + * @return Constant reference to member int16_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& int16_opt_field() const; + + /*! + * @brief This function returns a reference to member int16_opt_field + * @return Reference to member int16_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& int16_opt_field(); + + + /*! + * @brief This function copies the value in member uint16_opt_field + * @param _uint16_opt_field New value to be copied in member uint16_opt_field + */ + eProsima_user_DllExport void uint16_opt_field( + const eprosima::fastcdr::optional& _uint16_opt_field); + + /*! + * @brief This function moves the value in member uint16_opt_field + * @param _uint16_opt_field New value to be moved in member uint16_opt_field + */ + eProsima_user_DllExport void uint16_opt_field( + eprosima::fastcdr::optional&& _uint16_opt_field); + + /*! + * @brief This function returns a constant reference to member uint16_opt_field + * @return Constant reference to member uint16_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& uint16_opt_field() const; + + /*! + * @brief This function returns a reference to member uint16_opt_field + * @return Reference to member uint16_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& uint16_opt_field(); + + + /*! + * @brief This function copies the value in member int32_opt_field + * @param _int32_opt_field New value to be copied in member int32_opt_field + */ + eProsima_user_DllExport void int32_opt_field( + const eprosima::fastcdr::optional& _int32_opt_field); + + /*! + * @brief This function moves the value in member int32_opt_field + * @param _int32_opt_field New value to be moved in member int32_opt_field + */ + eProsima_user_DllExport void int32_opt_field( + eprosima::fastcdr::optional&& _int32_opt_field); + + /*! + * @brief This function returns a constant reference to member int32_opt_field + * @return Constant reference to member int32_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& int32_opt_field() const; + + /*! + * @brief This function returns a reference to member int32_opt_field + * @return Reference to member int32_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& int32_opt_field(); + + + /*! + * @brief This function copies the value in member uint32_opt_field + * @param _uint32_opt_field New value to be copied in member uint32_opt_field + */ + eProsima_user_DllExport void uint32_opt_field( + const eprosima::fastcdr::optional& _uint32_opt_field); + + /*! + * @brief This function moves the value in member uint32_opt_field + * @param _uint32_opt_field New value to be moved in member uint32_opt_field + */ + eProsima_user_DllExport void uint32_opt_field( + eprosima::fastcdr::optional&& _uint32_opt_field); + + /*! + * @brief This function returns a constant reference to member uint32_opt_field + * @return Constant reference to member uint32_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& uint32_opt_field() const; + + /*! + * @brief This function returns a reference to member uint32_opt_field + * @return Reference to member uint32_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& uint32_opt_field(); + + + /*! + * @brief This function copies the value in member int64_opt_field + * @param _int64_opt_field New value to be copied in member int64_opt_field + */ + eProsima_user_DllExport void int64_opt_field( + const eprosima::fastcdr::optional& _int64_opt_field); + + /*! + * @brief This function moves the value in member int64_opt_field + * @param _int64_opt_field New value to be moved in member int64_opt_field + */ + eProsima_user_DllExport void int64_opt_field( + eprosima::fastcdr::optional&& _int64_opt_field); + + /*! + * @brief This function returns a constant reference to member int64_opt_field + * @return Constant reference to member int64_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& int64_opt_field() const; + + /*! + * @brief This function returns a reference to member int64_opt_field + * @return Reference to member int64_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& int64_opt_field(); + + + /*! + * @brief This function copies the value in member uint64_opt_field + * @param _uint64_opt_field New value to be copied in member uint64_opt_field + */ + eProsima_user_DllExport void uint64_opt_field( + const eprosima::fastcdr::optional& _uint64_opt_field); + + /*! + * @brief This function moves the value in member uint64_opt_field + * @param _uint64_opt_field New value to be moved in member uint64_opt_field + */ + eProsima_user_DllExport void uint64_opt_field( + eprosima::fastcdr::optional&& _uint64_opt_field); + + /*! + * @brief This function returns a constant reference to member uint64_opt_field + * @return Constant reference to member uint64_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& uint64_opt_field() const; + + /*! + * @brief This function returns a reference to member uint64_opt_field + * @return Reference to member uint64_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& uint64_opt_field(); + + + /*! + * @brief This function copies the value in member float_opt_field + * @param _float_opt_field New value to be copied in member float_opt_field + */ + eProsima_user_DllExport void float_opt_field( + const eprosima::fastcdr::optional& _float_opt_field); + + /*! + * @brief This function moves the value in member float_opt_field + * @param _float_opt_field New value to be moved in member float_opt_field + */ + eProsima_user_DllExport void float_opt_field( + eprosima::fastcdr::optional&& _float_opt_field); + + /*! + * @brief This function returns a constant reference to member float_opt_field + * @return Constant reference to member float_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& float_opt_field() const; + + /*! + * @brief This function returns a reference to member float_opt_field + * @return Reference to member float_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& float_opt_field(); + + + /*! + * @brief This function copies the value in member double_opt_field + * @param _double_opt_field New value to be copied in member double_opt_field + */ + eProsima_user_DllExport void double_opt_field( + const eprosima::fastcdr::optional& _double_opt_field); + + /*! + * @brief This function moves the value in member double_opt_field + * @param _double_opt_field New value to be moved in member double_opt_field + */ + eProsima_user_DllExport void double_opt_field( + eprosima::fastcdr::optional&& _double_opt_field); + + /*! + * @brief This function returns a constant reference to member double_opt_field + * @return Constant reference to member double_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& double_opt_field() const; + + /*! + * @brief This function returns a reference to member double_opt_field + * @return Reference to member double_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& double_opt_field(); + + + /*! + * @brief This function copies the value in member bool_opt_field + * @param _bool_opt_field New value to be copied in member bool_opt_field + */ + eProsima_user_DllExport void bool_opt_field( + const eprosima::fastcdr::optional& _bool_opt_field); + + /*! + * @brief This function moves the value in member bool_opt_field + * @param _bool_opt_field New value to be moved in member bool_opt_field + */ + eProsima_user_DllExport void bool_opt_field( + eprosima::fastcdr::optional&& _bool_opt_field); + + /*! + * @brief This function returns a constant reference to member bool_opt_field + * @return Constant reference to member bool_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& bool_opt_field() const; + + /*! + * @brief This function returns a reference to member bool_opt_field + * @return Reference to member bool_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& bool_opt_field(); + + + /*! + * @brief This function copies the value in member string_opt_field + * @param _string_opt_field New value to be copied in member string_opt_field + */ + eProsima_user_DllExport void string_opt_field( + const eprosima::fastcdr::optional& _string_opt_field); + + /*! + * @brief This function moves the value in member string_opt_field + * @param _string_opt_field New value to be moved in member string_opt_field + */ + eProsima_user_DllExport void string_opt_field( + eprosima::fastcdr::optional&& _string_opt_field); + + /*! + * @brief This function returns a constant reference to member string_opt_field + * @return Constant reference to member string_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& string_opt_field() const; + + /*! + * @brief This function returns a reference to member string_opt_field + * @return Reference to member string_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& string_opt_field(); + + + /*! + * @brief This function copies the value in member enum_opt_field + * @param _enum_opt_field New value to be copied in member enum_opt_field + */ + eProsima_user_DllExport void enum_opt_field( + const eprosima::fastcdr::optional& _enum_opt_field); + + /*! + * @brief This function moves the value in member enum_opt_field + * @param _enum_opt_field New value to be moved in member enum_opt_field + */ + eProsima_user_DllExport void enum_opt_field( + eprosima::fastcdr::optional&& _enum_opt_field); + + /*! + * @brief This function returns a constant reference to member enum_opt_field + * @return Constant reference to member enum_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& enum_opt_field() const; + + /*! + * @brief This function returns a reference to member enum_opt_field + * @return Reference to member enum_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& enum_opt_field(); + + + /*! + * @brief This function copies the value in member enum2_opt_field + * @param _enum2_opt_field New value to be copied in member enum2_opt_field + */ + eProsima_user_DllExport void enum2_opt_field( + const eprosima::fastcdr::optional& _enum2_opt_field); + + /*! + * @brief This function moves the value in member enum2_opt_field + * @param _enum2_opt_field New value to be moved in member enum2_opt_field + */ + eProsima_user_DllExport void enum2_opt_field( + eprosima::fastcdr::optional&& _enum2_opt_field); + + /*! + * @brief This function returns a constant reference to member enum2_opt_field + * @return Constant reference to member enum2_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& enum2_opt_field() const; + + /*! + * @brief This function returns a reference to member enum2_opt_field + * @return Reference to member enum2_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& enum2_opt_field(); + + + /*! + * @brief This function copies the value in member struct_opt_field + * @param _struct_opt_field New value to be copied in member struct_opt_field + */ + eProsima_user_DllExport void struct_opt_field( + const eprosima::fastcdr::optional& _struct_opt_field); + + /*! + * @brief This function moves the value in member struct_opt_field + * @param _struct_opt_field New value to be moved in member struct_opt_field + */ + eProsima_user_DllExport void struct_opt_field( + eprosima::fastcdr::optional&& _struct_opt_field); + + /*! + * @brief This function returns a constant reference to member struct_opt_field + * @return Constant reference to member struct_opt_field + */ + eProsima_user_DllExport const eprosima::fastcdr::optional& struct_opt_field() const; + + /*! + * @brief This function returns a reference to member struct_opt_field + * @return Reference to member struct_opt_field + */ + eProsima_user_DllExport eprosima::fastcdr::optional& struct_opt_field(); + + + /*! + * @brief This function copies the value in member array_char_field + * @param _array_char_field New value to be copied in member array_char_field + */ + eProsima_user_DllExport void array_char_field( + const std::array& _array_char_field); + + /*! + * @brief This function moves the value in member array_char_field + * @param _array_char_field New value to be moved in member array_char_field + */ + eProsima_user_DllExport void array_char_field( + std::array&& _array_char_field); + + /*! + * @brief This function returns a constant reference to member array_char_field + * @return Constant reference to member array_char_field + */ + eProsima_user_DllExport const std::array& array_char_field() const; + + /*! + * @brief This function returns a reference to member array_char_field + * @return Reference to member array_char_field + */ + eProsima_user_DllExport std::array& array_char_field(); + + + /*! + * @brief This function copies the value in member array_uint8_field + * @param _array_uint8_field New value to be copied in member array_uint8_field + */ + eProsima_user_DllExport void array_uint8_field( + const std::array& _array_uint8_field); + + /*! + * @brief This function moves the value in member array_uint8_field + * @param _array_uint8_field New value to be moved in member array_uint8_field + */ + eProsima_user_DllExport void array_uint8_field( + std::array&& _array_uint8_field); + + /*! + * @brief This function returns a constant reference to member array_uint8_field + * @return Constant reference to member array_uint8_field + */ + eProsima_user_DllExport const std::array& array_uint8_field() const; + + /*! + * @brief This function returns a reference to member array_uint8_field + * @return Reference to member array_uint8_field + */ + eProsima_user_DllExport std::array& array_uint8_field(); + + + /*! + * @brief This function copies the value in member array_int16_field + * @param _array_int16_field New value to be copied in member array_int16_field + */ + eProsima_user_DllExport void array_int16_field( + const std::array& _array_int16_field); + + /*! + * @brief This function moves the value in member array_int16_field + * @param _array_int16_field New value to be moved in member array_int16_field + */ + eProsima_user_DllExport void array_int16_field( + std::array&& _array_int16_field); + + /*! + * @brief This function returns a constant reference to member array_int16_field + * @return Constant reference to member array_int16_field + */ + eProsima_user_DllExport const std::array& array_int16_field() const; + + /*! + * @brief This function returns a reference to member array_int16_field + * @return Reference to member array_int16_field + */ + eProsima_user_DllExport std::array& array_int16_field(); + + + /*! + * @brief This function copies the value in member array_uint16_field + * @param _array_uint16_field New value to be copied in member array_uint16_field + */ + eProsima_user_DllExport void array_uint16_field( + const std::array& _array_uint16_field); + + /*! + * @brief This function moves the value in member array_uint16_field + * @param _array_uint16_field New value to be moved in member array_uint16_field + */ + eProsima_user_DllExport void array_uint16_field( + std::array&& _array_uint16_field); + + /*! + * @brief This function returns a constant reference to member array_uint16_field + * @return Constant reference to member array_uint16_field + */ + eProsima_user_DllExport const std::array& array_uint16_field() const; + + /*! + * @brief This function returns a reference to member array_uint16_field + * @return Reference to member array_uint16_field + */ + eProsima_user_DllExport std::array& array_uint16_field(); + + + /*! + * @brief This function copies the value in member array_int32_field + * @param _array_int32_field New value to be copied in member array_int32_field + */ + eProsima_user_DllExport void array_int32_field( + const std::array& _array_int32_field); + + /*! + * @brief This function moves the value in member array_int32_field + * @param _array_int32_field New value to be moved in member array_int32_field + */ + eProsima_user_DllExport void array_int32_field( + std::array&& _array_int32_field); + + /*! + * @brief This function returns a constant reference to member array_int32_field + * @return Constant reference to member array_int32_field + */ + eProsima_user_DllExport const std::array& array_int32_field() const; + + /*! + * @brief This function returns a reference to member array_int32_field + * @return Reference to member array_int32_field + */ + eProsima_user_DllExport std::array& array_int32_field(); + + + /*! + * @brief This function copies the value in member array_uint32_field + * @param _array_uint32_field New value to be copied in member array_uint32_field + */ + eProsima_user_DllExport void array_uint32_field( + const std::array& _array_uint32_field); + + /*! + * @brief This function moves the value in member array_uint32_field + * @param _array_uint32_field New value to be moved in member array_uint32_field + */ + eProsima_user_DllExport void array_uint32_field( + std::array&& _array_uint32_field); + + /*! + * @brief This function returns a constant reference to member array_uint32_field + * @return Constant reference to member array_uint32_field + */ + eProsima_user_DllExport const std::array& array_uint32_field() const; + + /*! + * @brief This function returns a reference to member array_uint32_field + * @return Reference to member array_uint32_field + */ + eProsima_user_DllExport std::array& array_uint32_field(); + + + /*! + * @brief This function copies the value in member array_int64_field + * @param _array_int64_field New value to be copied in member array_int64_field + */ + eProsima_user_DllExport void array_int64_field( + const std::array& _array_int64_field); + + /*! + * @brief This function moves the value in member array_int64_field + * @param _array_int64_field New value to be moved in member array_int64_field + */ + eProsima_user_DllExport void array_int64_field( + std::array&& _array_int64_field); + + /*! + * @brief This function returns a constant reference to member array_int64_field + * @return Constant reference to member array_int64_field + */ + eProsima_user_DllExport const std::array& array_int64_field() const; + + /*! + * @brief This function returns a reference to member array_int64_field + * @return Reference to member array_int64_field + */ + eProsima_user_DllExport std::array& array_int64_field(); + + + /*! + * @brief This function copies the value in member array_uint64_field + * @param _array_uint64_field New value to be copied in member array_uint64_field + */ + eProsima_user_DllExport void array_uint64_field( + const std::array& _array_uint64_field); + + /*! + * @brief This function moves the value in member array_uint64_field + * @param _array_uint64_field New value to be moved in member array_uint64_field + */ + eProsima_user_DllExport void array_uint64_field( + std::array&& _array_uint64_field); + + /*! + * @brief This function returns a constant reference to member array_uint64_field + * @return Constant reference to member array_uint64_field + */ + eProsima_user_DllExport const std::array& array_uint64_field() const; + + /*! + * @brief This function returns a reference to member array_uint64_field + * @return Reference to member array_uint64_field + */ + eProsima_user_DllExport std::array& array_uint64_field(); + + + /*! + * @brief This function copies the value in member array_float_field + * @param _array_float_field New value to be copied in member array_float_field + */ + eProsima_user_DllExport void array_float_field( + const std::array& _array_float_field); + + /*! + * @brief This function moves the value in member array_float_field + * @param _array_float_field New value to be moved in member array_float_field + */ + eProsima_user_DllExport void array_float_field( + std::array&& _array_float_field); + + /*! + * @brief This function returns a constant reference to member array_float_field + * @return Constant reference to member array_float_field + */ + eProsima_user_DllExport const std::array& array_float_field() const; + + /*! + * @brief This function returns a reference to member array_float_field + * @return Reference to member array_float_field + */ + eProsima_user_DllExport std::array& array_float_field(); + + + /*! + * @brief This function copies the value in member array_double_field + * @param _array_double_field New value to be copied in member array_double_field + */ + eProsima_user_DllExport void array_double_field( + const std::array& _array_double_field); + + /*! + * @brief This function moves the value in member array_double_field + * @param _array_double_field New value to be moved in member array_double_field + */ + eProsima_user_DllExport void array_double_field( + std::array&& _array_double_field); + + /*! + * @brief This function returns a constant reference to member array_double_field + * @return Constant reference to member array_double_field + */ + eProsima_user_DllExport const std::array& array_double_field() const; + + /*! + * @brief This function returns a reference to member array_double_field + * @return Reference to member array_double_field + */ + eProsima_user_DllExport std::array& array_double_field(); + + + /*! + * @brief This function copies the value in member array_bool_field + * @param _array_bool_field New value to be copied in member array_bool_field + */ + eProsima_user_DllExport void array_bool_field( + const std::array& _array_bool_field); + + /*! + * @brief This function moves the value in member array_bool_field + * @param _array_bool_field New value to be moved in member array_bool_field + */ + eProsima_user_DllExport void array_bool_field( + std::array&& _array_bool_field); + + /*! + * @brief This function returns a constant reference to member array_bool_field + * @return Constant reference to member array_bool_field + */ + eProsima_user_DllExport const std::array& array_bool_field() const; + + /*! + * @brief This function returns a reference to member array_bool_field + * @return Reference to member array_bool_field + */ + eProsima_user_DllExport std::array& array_bool_field(); + + + /*! + * @brief This function copies the value in member array_enum_field + * @param _array_enum_field New value to be copied in member array_enum_field + */ + eProsima_user_DllExport void array_enum_field( + const std::array& _array_enum_field); + + /*! + * @brief This function moves the value in member array_enum_field + * @param _array_enum_field New value to be moved in member array_enum_field + */ + eProsima_user_DllExport void array_enum_field( + std::array&& _array_enum_field); + + /*! + * @brief This function returns a constant reference to member array_enum_field + * @return Constant reference to member array_enum_field + */ + eProsima_user_DllExport const std::array& array_enum_field() const; + + /*! + * @brief This function returns a reference to member array_enum_field + * @return Reference to member array_enum_field + */ + eProsima_user_DllExport std::array& array_enum_field(); + + + /*! + * @brief This function copies the value in member array_enum2_field + * @param _array_enum2_field New value to be copied in member array_enum2_field + */ + eProsima_user_DllExport void array_enum2_field( + const std::array& _array_enum2_field); + + /*! + * @brief This function moves the value in member array_enum2_field + * @param _array_enum2_field New value to be moved in member array_enum2_field + */ + eProsima_user_DllExport void array_enum2_field( + std::array&& _array_enum2_field); + + /*! + * @brief This function returns a constant reference to member array_enum2_field + * @return Constant reference to member array_enum2_field + */ + eProsima_user_DllExport const std::array& array_enum2_field() const; + + /*! + * @brief This function returns a reference to member array_enum2_field + * @return Reference to member array_enum2_field + */ + eProsima_user_DllExport std::array& array_enum2_field(); + + + /*! + * @brief This function copies the value in member array_struct_field + * @param _array_struct_field New value to be copied in member array_struct_field + */ + eProsima_user_DllExport void array_struct_field( + const std::array& _array_struct_field); + + /*! + * @brief This function moves the value in member array_struct_field + * @param _array_struct_field New value to be moved in member array_struct_field + */ + eProsima_user_DllExport void array_struct_field( + std::array&& _array_struct_field); + + /*! + * @brief This function returns a constant reference to member array_struct_field + * @return Constant reference to member array_struct_field + */ + eProsima_user_DllExport const std::array& array_struct_field() const; + + /*! + * @brief This function returns a reference to member array_struct_field + * @return Reference to member array_struct_field + */ + eProsima_user_DllExport std::array& array_struct_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be copied in member bounded_sequence_char_field + */ + eProsima_user_DllExport void bounded_sequence_char_field( + const std::vector& _bounded_sequence_char_field); + + /*! + * @brief This function moves the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be moved in member bounded_sequence_char_field + */ + eProsima_user_DllExport void bounded_sequence_char_field( + std::vector&& _bounded_sequence_char_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_char_field + * @return Constant reference to member bounded_sequence_char_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_char_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_char_field + * @return Reference to member bounded_sequence_char_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_char_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be copied in member bounded_sequence_uint8_field + */ + eProsima_user_DllExport void bounded_sequence_uint8_field( + const std::vector& _bounded_sequence_uint8_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be moved in member bounded_sequence_uint8_field + */ + eProsima_user_DllExport void bounded_sequence_uint8_field( + std::vector&& _bounded_sequence_uint8_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint8_field + * @return Constant reference to member bounded_sequence_uint8_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint8_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint8_field + * @return Reference to member bounded_sequence_uint8_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint8_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be copied in member bounded_sequence_int16_field + */ + eProsima_user_DllExport void bounded_sequence_int16_field( + const std::vector& _bounded_sequence_int16_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be moved in member bounded_sequence_int16_field + */ + eProsima_user_DllExport void bounded_sequence_int16_field( + std::vector&& _bounded_sequence_int16_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int16_field + * @return Constant reference to member bounded_sequence_int16_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int16_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int16_field + * @return Reference to member bounded_sequence_int16_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int16_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be copied in member bounded_sequence_uint16_field + */ + eProsima_user_DllExport void bounded_sequence_uint16_field( + const std::vector& _bounded_sequence_uint16_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be moved in member bounded_sequence_uint16_field + */ + eProsima_user_DllExport void bounded_sequence_uint16_field( + std::vector&& _bounded_sequence_uint16_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint16_field + * @return Constant reference to member bounded_sequence_uint16_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint16_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint16_field + * @return Reference to member bounded_sequence_uint16_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint16_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be copied in member bounded_sequence_int32_field + */ + eProsima_user_DllExport void bounded_sequence_int32_field( + const std::vector& _bounded_sequence_int32_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be moved in member bounded_sequence_int32_field + */ + eProsima_user_DllExport void bounded_sequence_int32_field( + std::vector&& _bounded_sequence_int32_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int32_field + * @return Constant reference to member bounded_sequence_int32_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int32_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int32_field + * @return Reference to member bounded_sequence_int32_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int32_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be copied in member bounded_sequence_uint32_field + */ + eProsima_user_DllExport void bounded_sequence_uint32_field( + const std::vector& _bounded_sequence_uint32_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be moved in member bounded_sequence_uint32_field + */ + eProsima_user_DllExport void bounded_sequence_uint32_field( + std::vector&& _bounded_sequence_uint32_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint32_field + * @return Constant reference to member bounded_sequence_uint32_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint32_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint32_field + * @return Reference to member bounded_sequence_uint32_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint32_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be copied in member bounded_sequence_int64_field + */ + eProsima_user_DllExport void bounded_sequence_int64_field( + const std::vector& _bounded_sequence_int64_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be moved in member bounded_sequence_int64_field + */ + eProsima_user_DllExport void bounded_sequence_int64_field( + std::vector&& _bounded_sequence_int64_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int64_field + * @return Constant reference to member bounded_sequence_int64_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int64_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int64_field + * @return Reference to member bounded_sequence_int64_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int64_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be copied in member bounded_sequence_uint64_field + */ + eProsima_user_DllExport void bounded_sequence_uint64_field( + const std::vector& _bounded_sequence_uint64_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be moved in member bounded_sequence_uint64_field + */ + eProsima_user_DllExport void bounded_sequence_uint64_field( + std::vector&& _bounded_sequence_uint64_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint64_field + * @return Constant reference to member bounded_sequence_uint64_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint64_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint64_field + * @return Reference to member bounded_sequence_uint64_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint64_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be copied in member bounded_sequence_float_field + */ + eProsima_user_DllExport void bounded_sequence_float_field( + const std::vector& _bounded_sequence_float_field); + + /*! + * @brief This function moves the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be moved in member bounded_sequence_float_field + */ + eProsima_user_DllExport void bounded_sequence_float_field( + std::vector&& _bounded_sequence_float_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_float_field + * @return Constant reference to member bounded_sequence_float_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_float_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_float_field + * @return Reference to member bounded_sequence_float_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_float_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be copied in member bounded_sequence_double_field + */ + eProsima_user_DllExport void bounded_sequence_double_field( + const std::vector& _bounded_sequence_double_field); + + /*! + * @brief This function moves the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be moved in member bounded_sequence_double_field + */ + eProsima_user_DllExport void bounded_sequence_double_field( + std::vector&& _bounded_sequence_double_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_double_field + * @return Constant reference to member bounded_sequence_double_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_double_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_double_field + * @return Reference to member bounded_sequence_double_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_double_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be copied in member bounded_sequence_bool_field + */ + eProsima_user_DllExport void bounded_sequence_bool_field( + const std::vector& _bounded_sequence_bool_field); + + /*! + * @brief This function moves the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be moved in member bounded_sequence_bool_field + */ + eProsima_user_DllExport void bounded_sequence_bool_field( + std::vector&& _bounded_sequence_bool_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_bool_field + * @return Constant reference to member bounded_sequence_bool_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_bool_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_bool_field + * @return Reference to member bounded_sequence_bool_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_bool_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be copied in member bounded_sequence_enum_field + */ + eProsima_user_DllExport void bounded_sequence_enum_field( + const std::vector& _bounded_sequence_enum_field); + + /*! + * @brief This function moves the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be moved in member bounded_sequence_enum_field + */ + eProsima_user_DllExport void bounded_sequence_enum_field( + std::vector&& _bounded_sequence_enum_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_enum_field + * @return Constant reference to member bounded_sequence_enum_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_enum_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_enum_field + * @return Reference to member bounded_sequence_enum_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_enum_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be copied in member bounded_sequence_enum2_field + */ + eProsima_user_DllExport void bounded_sequence_enum2_field( + const std::vector& _bounded_sequence_enum2_field); + + /*! + * @brief This function moves the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be moved in member bounded_sequence_enum2_field + */ + eProsima_user_DllExport void bounded_sequence_enum2_field( + std::vector&& _bounded_sequence_enum2_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_enum2_field + * @return Constant reference to member bounded_sequence_enum2_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_enum2_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_enum2_field + * @return Reference to member bounded_sequence_enum2_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_enum2_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be copied in member bounded_sequence_struct_field + */ + eProsima_user_DllExport void bounded_sequence_struct_field( + const std::vector& _bounded_sequence_struct_field); + + /*! + * @brief This function moves the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be moved in member bounded_sequence_struct_field + */ + eProsima_user_DllExport void bounded_sequence_struct_field( + std::vector&& _bounded_sequence_struct_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_struct_field + * @return Constant reference to member bounded_sequence_struct_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_struct_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_struct_field + * @return Reference to member bounded_sequence_struct_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_struct_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be copied in member unbounded_sequence_char_field + */ + eProsima_user_DllExport void unbounded_sequence_char_field( + const std::vector& _unbounded_sequence_char_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be moved in member unbounded_sequence_char_field + */ + eProsima_user_DllExport void unbounded_sequence_char_field( + std::vector&& _unbounded_sequence_char_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_char_field + * @return Constant reference to member unbounded_sequence_char_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_char_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_char_field + * @return Reference to member unbounded_sequence_char_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_char_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be copied in member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport void unbounded_sequence_uint8_field( + const std::vector& _unbounded_sequence_uint8_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be moved in member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport void unbounded_sequence_uint8_field( + std::vector&& _unbounded_sequence_uint8_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint8_field + * @return Constant reference to member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint8_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint8_field + * @return Reference to member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint8_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be copied in member unbounded_sequence_int16_field + */ + eProsima_user_DllExport void unbounded_sequence_int16_field( + const std::vector& _unbounded_sequence_int16_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be moved in member unbounded_sequence_int16_field + */ + eProsima_user_DllExport void unbounded_sequence_int16_field( + std::vector&& _unbounded_sequence_int16_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int16_field + * @return Constant reference to member unbounded_sequence_int16_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int16_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int16_field + * @return Reference to member unbounded_sequence_int16_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int16_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be copied in member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport void unbounded_sequence_uint16_field( + const std::vector& _unbounded_sequence_uint16_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be moved in member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport void unbounded_sequence_uint16_field( + std::vector&& _unbounded_sequence_uint16_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint16_field + * @return Constant reference to member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint16_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint16_field + * @return Reference to member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint16_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be copied in member unbounded_sequence_int32_field + */ + eProsima_user_DllExport void unbounded_sequence_int32_field( + const std::vector& _unbounded_sequence_int32_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be moved in member unbounded_sequence_int32_field + */ + eProsima_user_DllExport void unbounded_sequence_int32_field( + std::vector&& _unbounded_sequence_int32_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int32_field + * @return Constant reference to member unbounded_sequence_int32_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int32_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int32_field + * @return Reference to member unbounded_sequence_int32_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int32_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be copied in member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport void unbounded_sequence_uint32_field( + const std::vector& _unbounded_sequence_uint32_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be moved in member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport void unbounded_sequence_uint32_field( + std::vector&& _unbounded_sequence_uint32_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint32_field + * @return Constant reference to member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint32_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint32_field + * @return Reference to member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint32_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be copied in member unbounded_sequence_int64_field + */ + eProsima_user_DllExport void unbounded_sequence_int64_field( + const std::vector& _unbounded_sequence_int64_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be moved in member unbounded_sequence_int64_field + */ + eProsima_user_DllExport void unbounded_sequence_int64_field( + std::vector&& _unbounded_sequence_int64_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int64_field + * @return Constant reference to member unbounded_sequence_int64_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int64_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int64_field + * @return Reference to member unbounded_sequence_int64_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int64_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be copied in member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport void unbounded_sequence_uint64_field( + const std::vector& _unbounded_sequence_uint64_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be moved in member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport void unbounded_sequence_uint64_field( + std::vector&& _unbounded_sequence_uint64_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint64_field + * @return Constant reference to member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint64_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint64_field + * @return Reference to member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint64_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be copied in member unbounded_sequence_float_field + */ + eProsima_user_DllExport void unbounded_sequence_float_field( + const std::vector& _unbounded_sequence_float_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be moved in member unbounded_sequence_float_field + */ + eProsima_user_DllExport void unbounded_sequence_float_field( + std::vector&& _unbounded_sequence_float_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_float_field + * @return Constant reference to member unbounded_sequence_float_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_float_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_float_field + * @return Reference to member unbounded_sequence_float_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_float_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be copied in member unbounded_sequence_double_field + */ + eProsima_user_DllExport void unbounded_sequence_double_field( + const std::vector& _unbounded_sequence_double_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be moved in member unbounded_sequence_double_field + */ + eProsima_user_DllExport void unbounded_sequence_double_field( + std::vector&& _unbounded_sequence_double_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_double_field + * @return Constant reference to member unbounded_sequence_double_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_double_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_double_field + * @return Reference to member unbounded_sequence_double_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_double_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be copied in member unbounded_sequence_bool_field + */ + eProsima_user_DllExport void unbounded_sequence_bool_field( + const std::vector& _unbounded_sequence_bool_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be moved in member unbounded_sequence_bool_field + */ + eProsima_user_DllExport void unbounded_sequence_bool_field( + std::vector&& _unbounded_sequence_bool_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_bool_field + * @return Constant reference to member unbounded_sequence_bool_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_bool_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_bool_field + * @return Reference to member unbounded_sequence_bool_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_bool_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be copied in member unbounded_sequence_enum_field + */ + eProsima_user_DllExport void unbounded_sequence_enum_field( + const std::vector& _unbounded_sequence_enum_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be moved in member unbounded_sequence_enum_field + */ + eProsima_user_DllExport void unbounded_sequence_enum_field( + std::vector&& _unbounded_sequence_enum_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_enum_field + * @return Constant reference to member unbounded_sequence_enum_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_enum_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_enum_field + * @return Reference to member unbounded_sequence_enum_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_enum_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be copied in member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport void unbounded_sequence_enum2_field( + const std::vector& _unbounded_sequence_enum2_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be moved in member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport void unbounded_sequence_enum2_field( + std::vector&& _unbounded_sequence_enum2_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_enum2_field + * @return Constant reference to member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_enum2_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_enum2_field + * @return Reference to member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_enum2_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be copied in member unbounded_sequence_struct_field + */ + eProsima_user_DllExport void unbounded_sequence_struct_field( + const std::vector& _unbounded_sequence_struct_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be moved in member unbounded_sequence_struct_field + */ + eProsima_user_DllExport void unbounded_sequence_struct_field( + std::vector&& _unbounded_sequence_struct_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_struct_field + * @return Constant reference to member unbounded_sequence_struct_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_struct_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_struct_field + * @return Reference to member unbounded_sequence_struct_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_struct_field(); + +private: + + int32_t m_id{0}; + char m_char_field{0}; + uint8_t m_uint8_field{0}; + int16_t m_int16_field{0}; + uint16_t m_uint16_field{0}; + int32_t m_int32_field{0}; + uint32_t m_uint32_field{0}; + int64_t m_int64_field{0}; + uint64_t m_uint64_field{0}; + float m_float_field{0.0}; + double m_double_field{0.0}; + bool m_bool_field{false}; + std::string m_string_field; + eprosima::test::Color m_enum_field{eprosima::test::RED}; + eprosima::test::Material m_enum2_field{eprosima::test::WOOD}; + eprosima::test::StructType m_struct_field; + eprosima::fastcdr::optional m_char_opt_field; + eprosima::fastcdr::optional m_uint8_opt_field; + eprosima::fastcdr::optional m_int16_opt_field; + eprosima::fastcdr::optional m_uint16_opt_field; + eprosima::fastcdr::optional m_int32_opt_field; + eprosima::fastcdr::optional m_uint32_opt_field; + eprosima::fastcdr::optional m_int64_opt_field; + eprosima::fastcdr::optional m_uint64_opt_field; + eprosima::fastcdr::optional m_float_opt_field; + eprosima::fastcdr::optional m_double_opt_field; + eprosima::fastcdr::optional m_bool_opt_field; + eprosima::fastcdr::optional m_string_opt_field; + eprosima::fastcdr::optional m_enum_opt_field; + eprosima::fastcdr::optional m_enum2_opt_field; + eprosima::fastcdr::optional m_struct_opt_field; + std::array m_array_char_field{0}; + std::array m_array_uint8_field{0}; + std::array m_array_int16_field{0}; + std::array m_array_uint16_field{0}; + std::array m_array_int32_field{0}; + std::array m_array_uint32_field{0}; + std::array m_array_int64_field{0}; + std::array m_array_uint64_field{0}; + std::array m_array_float_field{0.0}; + std::array m_array_double_field{0.0}; + std::array m_array_bool_field{false}; + std::array m_array_enum_field{eprosima::test::RED}; + std::array m_array_enum2_field{eprosima::test::WOOD}; + std::array m_array_struct_field; + std::vector m_bounded_sequence_char_field; + std::vector m_bounded_sequence_uint8_field; + std::vector m_bounded_sequence_int16_field; + std::vector m_bounded_sequence_uint16_field; + std::vector m_bounded_sequence_int32_field; + std::vector m_bounded_sequence_uint32_field; + std::vector m_bounded_sequence_int64_field; + std::vector m_bounded_sequence_uint64_field; + std::vector m_bounded_sequence_float_field; + std::vector m_bounded_sequence_double_field; + std::vector m_bounded_sequence_bool_field; + std::vector m_bounded_sequence_enum_field; + std::vector m_bounded_sequence_enum2_field; + std::vector m_bounded_sequence_struct_field; + std::vector m_unbounded_sequence_char_field; + std::vector m_unbounded_sequence_uint8_field; + std::vector m_unbounded_sequence_int16_field; + std::vector m_unbounded_sequence_uint16_field; + std::vector m_unbounded_sequence_int32_field; + std::vector m_unbounded_sequence_uint32_field; + std::vector m_unbounded_sequence_int64_field; + std::vector m_unbounded_sequence_uint64_field; + std::vector m_unbounded_sequence_float_field; + std::vector m_unbounded_sequence_double_field; + std::vector m_unbounded_sequence_bool_field; + std::vector m_unbounded_sequence_enum_field; + std::vector m_unbounded_sequence_enum2_field; + std::vector m_unbounded_sequence_struct_field; + +}; + +} // namespace test + } // namespace eprosima #endif // _FAST_DDS_GENERATED_EPROSIMA_TEST_TEST_MODULES_H_ + + +#endif // FASTCDR_VERSION_MAJOR > 1 diff --git a/fastdds_python/test/types/test_modules.i b/fastdds_python/test/types/test_modules.i index 790133f4..e657eb75 100644 --- a/fastdds_python/test/types/test_modules.i +++ b/fastdds_python/test/types/test_modules.i @@ -45,7 +45,10 @@ #include %} +%include +#if FASTCDR_VERSION_MAJOR > 1 %import(module="fastdds") "fastcdr/xcdr/optional.hpp" +#endif %import(module="fastdds") "fastdds/dds/core/LoanableCollection.hpp" %import(module="fastdds") "fastdds/dds/core/LoanableTypedCollection.hpp" %import(module="fastdds") "fastdds/dds/core/LoanableSequence.hpp" @@ -64,6 +67,8 @@ namespace swig { %traits_penumn(enum eprosima::test::Color); %traits_penumn(enum eprosima::test::Material); + + //////////////////////////////////////////////////////// // Binding for class eprosima::test::StructType //////////////////////////////////////////////////////// @@ -231,6 +236,12 @@ namespace swig { + + + + + + //////////////////////////////////////////////////////// // Binding for class eprosima::test::CompleteTestType //////////////////////////////////////////////////////// @@ -736,14 +747,14 @@ namespace swig { -%ignore eprosima::test::CompleteTestType::array_char_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_char_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_char_field() const; -%template(char_3_array) std::array; -%extend std::array +%template(char_3_array) std::array; +%extend std::array { const char* get_buffer() const { @@ -752,14 +763,14 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_uint8_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_uint8_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_uint8_field() const; -%template(uint8_t_3_array) std::array; -%extend std::array +%template(uint8_t_3_array) std::array; +%extend std::array { const uint8_t* get_buffer() const { @@ -768,14 +779,14 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_int16_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_int16_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_int16_field() const; -%template(int16_t_3_array) std::array; -%extend std::array +%template(int16_t_3_array) std::array; +%extend std::array { const int16_t* get_buffer() const { @@ -784,14 +795,14 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_uint16_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_uint16_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_uint16_field() const; -%template(uint16_t_3_array) std::array; -%extend std::array +%template(uint16_t_3_array) std::array; +%extend std::array { const uint16_t* get_buffer() const { @@ -800,14 +811,14 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_int32_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_int32_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_int32_field() const; -%template(int32_t_3_array) std::array; -%extend std::array +%template(int32_t_3_array) std::array; +%extend std::array { const int32_t* get_buffer() const { @@ -816,14 +827,14 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_uint32_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_uint32_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_uint32_field() const; -%template(uint32_t_3_array) std::array; -%extend std::array +%template(uint32_t_3_array) std::array; +%extend std::array { const uint32_t* get_buffer() const { @@ -832,14 +843,14 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_int64_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_int64_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_int64_field() const; -%template(int64_t_3_array) std::array; -%extend std::array +%template(int64_t_3_array) std::array; +%extend std::array { const int64_t* get_buffer() const { @@ -848,14 +859,14 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_uint64_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_uint64_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_uint64_field() const; -%template(uint64_t_3_array) std::array; -%extend std::array +%template(uint64_t_3_array) std::array; +%extend std::array { const uint64_t* get_buffer() const { @@ -864,14 +875,14 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_float_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_float_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_float_field() const; -%template(float_3_array) std::array; -%extend std::array +%template(float_3_array) std::array; +%extend std::array { const float* get_buffer() const { @@ -880,14 +891,14 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_double_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_double_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_double_field() const; -%template(double_3_array) std::array; -%extend std::array +%template(double_3_array) std::array; +%extend std::array { const double* get_buffer() const { @@ -896,14 +907,14 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_bool_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_bool_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_bool_field() const; -%template(bool_3_array) std::array; -%extend std::array +%template(bool_3_array) std::array; +%extend std::array { const bool* get_buffer() const { @@ -912,14 +923,14 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_enum_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_enum_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_enum_field() const; -%template(Color_3_array) std::array; -%extend std::array +%template(Color_3_array) std::array; +%extend std::array { const enum eprosima::test::Color* get_buffer() const { @@ -928,14 +939,14 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_enum2_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_enum2_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_enum2_field() const; -%template(Material_3_array) std::array; -%extend std::array +%template(Material_3_array) std::array; +%extend std::array { const enum eprosima::test::Material* get_buffer() const { @@ -944,13 +955,13 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_struct_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_struct_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_struct_field() const; -%template(StructType_3_array) std::array; +%template(StructType_3_array) std::array; %ignore eprosima::test::CompleteTestType::bounded_sequence_char_field(std::vector&&); @@ -1412,6 +1423,10 @@ namespace swig { } } + + + + //////////////////////////////////////////////////////// // Binding for class eprosima::test::KeyedCompleteTestType //////////////////////////////////////////////////////// @@ -1927,14 +1942,14 @@ namespace swig { -%ignore eprosima::test::KeyedCompleteTestType::array_char_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_char_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_char_field() const; -%template(char_3_array) std::array; -%extend std::array +%template(char_3_array) std::array; +%extend std::array { const char* get_buffer() const { @@ -1943,14 +1958,14 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_uint8_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_uint8_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_uint8_field() const; -%template(uint8_t_3_array) std::array; -%extend std::array +%template(uint8_t_3_array) std::array; +%extend std::array { const uint8_t* get_buffer() const { @@ -1959,14 +1974,14 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_int16_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_int16_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_int16_field() const; -%template(int16_t_3_array) std::array; -%extend std::array +%template(int16_t_3_array) std::array; +%extend std::array { const int16_t* get_buffer() const { @@ -1975,14 +1990,14 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_uint16_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_uint16_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_uint16_field() const; -%template(uint16_t_3_array) std::array; -%extend std::array +%template(uint16_t_3_array) std::array; +%extend std::array { const uint16_t* get_buffer() const { @@ -1991,14 +2006,14 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_int32_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_int32_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_int32_field() const; -%template(int32_t_3_array) std::array; -%extend std::array +%template(int32_t_3_array) std::array; +%extend std::array { const int32_t* get_buffer() const { @@ -2007,14 +2022,14 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_uint32_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_uint32_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_uint32_field() const; -%template(uint32_t_3_array) std::array; -%extend std::array +%template(uint32_t_3_array) std::array; +%extend std::array { const uint32_t* get_buffer() const { @@ -2023,14 +2038,14 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_int64_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_int64_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_int64_field() const; -%template(int64_t_3_array) std::array; -%extend std::array +%template(int64_t_3_array) std::array; +%extend std::array { const int64_t* get_buffer() const { @@ -2039,14 +2054,14 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_uint64_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_uint64_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_uint64_field() const; -%template(uint64_t_3_array) std::array; -%extend std::array +%template(uint64_t_3_array) std::array; +%extend std::array { const uint64_t* get_buffer() const { @@ -2055,14 +2070,14 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_float_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_float_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_float_field() const; -%template(float_3_array) std::array; -%extend std::array +%template(float_3_array) std::array; +%extend std::array { const float* get_buffer() const { @@ -2071,14 +2086,14 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_double_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_double_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_double_field() const; -%template(double_3_array) std::array; -%extend std::array +%template(double_3_array) std::array; +%extend std::array { const double* get_buffer() const { @@ -2087,14 +2102,14 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_bool_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_bool_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_bool_field() const; -%template(bool_3_array) std::array; -%extend std::array +%template(bool_3_array) std::array; +%extend std::array { const bool* get_buffer() const { @@ -2103,14 +2118,14 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_enum_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_enum_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_enum_field() const; -%template(Color_3_array) std::array; -%extend std::array +%template(Color_3_array) std::array; +%extend std::array { const enum eprosima::test::Color* get_buffer() const { @@ -2119,14 +2134,14 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_enum2_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_enum2_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_enum2_field() const; -%template(Material_3_array) std::array; -%extend std::array +%template(Material_3_array) std::array; +%extend std::array { const enum eprosima::test::Material* get_buffer() const { @@ -2135,13 +2150,13 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_struct_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_struct_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_struct_field() const; -%template(StructType_3_array) std::array; +%template(StructType_3_array) std::array; %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_char_field(std::vector&&); diff --git a/fastdds_python/test/types/test_modules.idl b/fastdds_python/test/types/test_modules.idl index 4b674cdf..e0b64543 100644 --- a/fastdds_python/test/types/test_modules.idl +++ b/fastdds_python/test/types/test_modules.idl @@ -81,40 +81,40 @@ module eprosima @optional StructType struct_opt_field; // Array fields - char array_char_field[max_array_size]; - octet array_uint8_field[max_array_size]; - short array_int16_field[max_array_size]; - unsigned short array_uint16_field[max_array_size]; - long array_int32_field[max_array_size]; - unsigned long array_uint32_field[max_array_size]; - long long array_int64_field[max_array_size]; - unsigned long long array_uint64_field[max_array_size]; - float array_float_field[max_array_size]; - double array_double_field[max_array_size]; - //long double array_long_double_field[max_array_size]; - boolean array_bool_field[max_array_size]; - //string array_string_field[max_array_size]; - Color array_enum_field[max_array_size]; - Material array_enum2_field[max_array_size]; - StructType array_struct_field[max_array_size]; + char array_char_field[eprosima::test::max_array_size]; + octet array_uint8_field[eprosima::test::max_array_size]; + short array_int16_field[eprosima::test::max_array_size]; + unsigned short array_uint16_field[eprosima::test::max_array_size]; + long array_int32_field[eprosima::test::max_array_size]; + unsigned long array_uint32_field[eprosima::test::max_array_size]; + long long array_int64_field[eprosima::test::max_array_size]; + unsigned long long array_uint64_field[eprosima::test::max_array_size]; + float array_float_field[eprosima::test::max_array_size]; + double array_double_field[eprosima::test::max_array_size]; + //long double array_long_double_field[eprosima::test::max_array_size]; + boolean array_bool_field[eprosima::test::max_array_size]; + //string array_string_field[eprosima::test::max_array_size]; + Color array_enum_field[eprosima::test::max_array_size]; + Material array_enum2_field[eprosima::test::max_array_size]; + StructType array_struct_field[eprosima::test::max_array_size]; // Bounded sequence fields - sequence bounded_sequence_char_field; - sequence bounded_sequence_uint8_field; - sequence bounded_sequence_int16_field; - sequence bounded_sequence_uint16_field; - sequence bounded_sequence_int32_field; - sequence bounded_sequence_uint32_field; - sequence bounded_sequence_int64_field; - sequence bounded_sequence_uint64_field; - sequence bounded_sequence_float_field; - sequence bounded_sequence_double_field; - //sequence bounded_sequence_long_double_field; - sequence bounded_sequence_bool_field; - //sequence bounded_sequence_string_field; - sequence bounded_sequence_enum_field; - sequence bounded_sequence_enum2_field; - sequence bounded_sequence_struct_field; + sequence bounded_sequence_char_field; + sequence bounded_sequence_uint8_field; + sequence bounded_sequence_int16_field; + sequence bounded_sequence_uint16_field; + sequence bounded_sequence_int32_field; + sequence bounded_sequence_uint32_field; + sequence bounded_sequence_int64_field; + sequence bounded_sequence_uint64_field; + sequence bounded_sequence_float_field; + sequence bounded_sequence_double_field; + //sequence bounded_sequence_long_double_field; + sequence bounded_sequence_bool_field; + //sequence bounded_sequence_string_field; + sequence bounded_sequence_enum_field; + sequence bounded_sequence_enum2_field; + sequence bounded_sequence_struct_field; // Unbounded sequence fields sequence unbounded_sequence_char_field; @@ -177,40 +177,40 @@ module eprosima @optional StructType struct_opt_field; // Array fields - char array_char_field[max_array_size]; - octet array_uint8_field[max_array_size]; - short array_int16_field[max_array_size]; - unsigned short array_uint16_field[max_array_size]; - long array_int32_field[max_array_size]; - unsigned long array_uint32_field[max_array_size]; - long long array_int64_field[max_array_size]; - unsigned long long array_uint64_field[max_array_size]; - float array_float_field[max_array_size]; - double array_double_field[max_array_size]; - //long double array_long_double_field[max_array_size]; - boolean array_bool_field[max_array_size]; - //string array_string_field[max_array_size]; - Color array_enum_field[max_array_size]; - Material array_enum2_field[max_array_size]; - StructType array_struct_field[max_array_size]; + char array_char_field[eprosima::test::max_array_size]; + octet array_uint8_field[eprosima::test::max_array_size]; + short array_int16_field[eprosima::test::max_array_size]; + unsigned short array_uint16_field[eprosima::test::max_array_size]; + long array_int32_field[eprosima::test::max_array_size]; + unsigned long array_uint32_field[eprosima::test::max_array_size]; + long long array_int64_field[eprosima::test::max_array_size]; + unsigned long long array_uint64_field[eprosima::test::max_array_size]; + float array_float_field[eprosima::test::max_array_size]; + double array_double_field[eprosima::test::max_array_size]; + //long double array_long_double_field[eprosima::test::max_array_size]; + boolean array_bool_field[eprosima::test::max_array_size]; + //string array_string_field[eprosima::test::max_array_size]; + Color array_enum_field[eprosima::test::max_array_size]; + Material array_enum2_field[eprosima::test::max_array_size]; + StructType array_struct_field[eprosima::test::max_array_size]; // Bounded sequence fields - sequence bounded_sequence_char_field; - sequence bounded_sequence_uint8_field; - sequence bounded_sequence_int16_field; - sequence bounded_sequence_uint16_field; - sequence bounded_sequence_int32_field; - sequence bounded_sequence_uint32_field; - sequence bounded_sequence_int64_field; - sequence bounded_sequence_uint64_field; - sequence bounded_sequence_float_field; - sequence bounded_sequence_double_field; - //sequence bounded_sequence_long_double_field; - sequence bounded_sequence_bool_field; - //sequence bounded_sequence_string_field; - sequence bounded_sequence_enum_field; - sequence bounded_sequence_enum2_field; - sequence bounded_sequence_struct_field; + sequence bounded_sequence_char_field; + sequence bounded_sequence_uint8_field; + sequence bounded_sequence_int16_field; + sequence bounded_sequence_uint16_field; + sequence bounded_sequence_int32_field; + sequence bounded_sequence_uint32_field; + sequence bounded_sequence_int64_field; + sequence bounded_sequence_uint64_field; + sequence bounded_sequence_float_field; + sequence bounded_sequence_double_field; + //sequence bounded_sequence_long_double_field; + sequence bounded_sequence_bool_field; + //sequence bounded_sequence_string_field; + sequence bounded_sequence_enum_field; + sequence bounded_sequence_enum2_field; + sequence bounded_sequence_struct_field; // Unbounded sequence fields sequence unbounded_sequence_char_field; diff --git a/fastdds_python/test/types/test_modulesCdrAux.hpp b/fastdds_python/test/types/test_modulesCdrAux.hpp index 335f0a65..f591f9ec 100644 --- a/fastdds_python/test/types/test_modulesCdrAux.hpp +++ b/fastdds_python/test/types/test_modulesCdrAux.hpp @@ -41,16 +41,28 @@ namespace fastcdr { class Cdr; class CdrSizeCalculator; + + eProsima_user_DllExport void serialize_key( eprosima::fastcdr::Cdr& scdr, const eprosima::test::StructType& data); + + + + + + eProsima_user_DllExport void serialize_key( eprosima::fastcdr::Cdr& scdr, const eprosima::test::CompleteTestType& data); + + + + eProsima_user_DllExport void serialize_key( eprosima::fastcdr::Cdr& scdr, const eprosima::test::KeyedCompleteTestType& data); diff --git a/fastdds_python/test/types/test_modulesCdrAux.ipp b/fastdds_python/test/types/test_modulesCdrAux.ipp index 12936858..1ae1d7f7 100644 --- a/fastdds_python/test/types/test_modulesCdrAux.ipp +++ b/fastdds_python/test/types/test_modulesCdrAux.ipp @@ -34,12 +34,16 @@ using namespace eprosima::fastcdr::exception; namespace eprosima { namespace fastcdr { + + template<> eProsima_user_DllExport size_t calculate_serialized_size( eprosima::fastcdr::CdrSizeCalculator& calculator, const eprosima::test::StructType& data, size_t& current_alignment) { + using namespace eprosima::test; + static_cast(data); eprosima::fastcdr::EncodingAlgorithmFlag previous_encoding = calculator.get_encoding(); @@ -103,6 +107,8 @@ eProsima_user_DllExport void serialize( eprosima::fastcdr::Cdr& scdr, const eprosima::test::StructType& data) { + using namespace eprosima::test; + eprosima::fastcdr::Cdr::state current_state(scdr); scdr.begin_serialize_type(current_state, eprosima::fastcdr::CdrVersion::XCDRv2 == scdr.get_cdr_version() ? @@ -125,7 +131,6 @@ eProsima_user_DllExport void serialize( << eprosima::fastcdr::MemberId(12) << data.enum_field() << eprosima::fastcdr::MemberId(13) << data.enum2_field() ; - scdr.end_serialize_type(current_state); } @@ -134,6 +139,8 @@ eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr, eprosima::test::StructType& data) { + using namespace eprosima::test; + cdr.deserialize_type(eprosima::fastcdr::CdrVersion::XCDRv2 == cdr.get_cdr_version() ? eprosima::fastcdr::EncodingAlgorithmFlag::DELIMIT_CDR2 : eprosima::fastcdr::EncodingAlgorithmFlag::PLAIN_CDR, @@ -210,6 +217,8 @@ void serialize_key( eprosima::fastcdr::Cdr& scdr, const eprosima::test::StructType& data) { + using namespace eprosima::test; + static_cast(scdr); static_cast(data); } @@ -217,12 +226,20 @@ void serialize_key( + + + + + + template<> eProsima_user_DllExport size_t calculate_serialized_size( eprosima::fastcdr::CdrSizeCalculator& calculator, const eprosima::test::CompleteTestType& data, size_t& current_alignment) { + using namespace eprosima::test; + static_cast(data); eprosima::fastcdr::EncodingAlgorithmFlag previous_encoding = calculator.get_encoding(); @@ -460,6 +477,8 @@ eProsima_user_DllExport void serialize( eprosima::fastcdr::Cdr& scdr, const eprosima::test::CompleteTestType& data) { + using namespace eprosima::test; + eprosima::fastcdr::Cdr::state current_state(scdr); scdr.begin_serialize_type(current_state, eprosima::fastcdr::CdrVersion::XCDRv2 == scdr.get_cdr_version() ? @@ -540,7 +559,6 @@ eProsima_user_DllExport void serialize( << eprosima::fastcdr::MemberId(70) << data.unbounded_sequence_enum2_field() << eprosima::fastcdr::MemberId(71) << data.unbounded_sequence_struct_field() ; - scdr.end_serialize_type(current_state); } @@ -549,6 +567,8 @@ eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr, eprosima::test::CompleteTestType& data) { + using namespace eprosima::test; + cdr.deserialize_type(eprosima::fastcdr::CdrVersion::XCDRv2 == cdr.get_cdr_version() ? eprosima::fastcdr::EncodingAlgorithmFlag::DELIMIT_CDR2 : eprosima::fastcdr::EncodingAlgorithmFlag::PLAIN_CDR, @@ -857,17 +877,25 @@ void serialize_key( eprosima::fastcdr::Cdr& scdr, const eprosima::test::CompleteTestType& data) { + using namespace eprosima::test; + static_cast(scdr); static_cast(data); } + + + + template<> eProsima_user_DllExport size_t calculate_serialized_size( eprosima::fastcdr::CdrSizeCalculator& calculator, const eprosima::test::KeyedCompleteTestType& data, size_t& current_alignment) { + using namespace eprosima::test; + static_cast(data); eprosima::fastcdr::EncodingAlgorithmFlag previous_encoding = calculator.get_encoding(); @@ -1108,6 +1136,8 @@ eProsima_user_DllExport void serialize( eprosima::fastcdr::Cdr& scdr, const eprosima::test::KeyedCompleteTestType& data) { + using namespace eprosima::test; + eprosima::fastcdr::Cdr::state current_state(scdr); scdr.begin_serialize_type(current_state, eprosima::fastcdr::CdrVersion::XCDRv2 == scdr.get_cdr_version() ? @@ -1189,7 +1219,6 @@ eProsima_user_DllExport void serialize( << eprosima::fastcdr::MemberId(71) << data.unbounded_sequence_enum2_field() << eprosima::fastcdr::MemberId(72) << data.unbounded_sequence_struct_field() ; - scdr.end_serialize_type(current_state); } @@ -1198,6 +1227,8 @@ eProsima_user_DllExport void deserialize( eprosima::fastcdr::Cdr& cdr, eprosima::test::KeyedCompleteTestType& data) { + using namespace eprosima::test; + cdr.deserialize_type(eprosima::fastcdr::CdrVersion::XCDRv2 == cdr.get_cdr_version() ? eprosima::fastcdr::EncodingAlgorithmFlag::DELIMIT_CDR2 : eprosima::fastcdr::EncodingAlgorithmFlag::PLAIN_CDR, @@ -1510,6 +1541,8 @@ void serialize_key( eprosima::fastcdr::Cdr& scdr, const eprosima::test::KeyedCompleteTestType& data) { + using namespace eprosima::test; + static_cast(scdr); static_cast(data); scdr << data.id(); diff --git a/fastdds_python/test/types/test_modulesPubSubTypes.cxx b/fastdds_python/test/types/test_modulesPubSubTypes.cxx index 180db69b..00621ba4 100644 --- a/fastdds_python/test/types/test_modulesPubSubTypes.cxx +++ b/fastdds_python/test/types/test_modulesPubSubTypes.cxx @@ -20,9 +20,7 @@ */ -#include -#include -#include +#include #include "test_modulesPubSubTypes.h" #include "test_modulesCdrAux.hpp" @@ -33,10 +31,17 @@ using DataRepresentationId_t = eprosima::fastdds::dds::DataRepresentationId_t; namespace eprosima { namespace test { + + StructTypePubSubType::StructTypePubSubType() { setName("eprosima::test::StructType"); - uint32_t type_size = eprosima_test_StructType_max_cdr_typesize; + uint32_t type_size = + #if FASTCDR_VERSION_MAJOR == 1 + StructType::getMaxCdrSerializedSize(); + #else + eprosima_test_StructType_max_cdr_typesize; + #endif type_size += static_cast(eprosima::fastcdr::Cdr::alignment(type_size, 4)); /* possible submessage alignment */ m_typeSize = type_size + 4; /*encapsulation*/ m_isGetKeyDefined = false; @@ -67,10 +72,12 @@ namespace eprosima { data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::CdrVersion::XCDRv1 : eprosima::fastcdr::CdrVersion::XCDRv2); payload->encapsulation = ser.endianness() == eprosima::fastcdr::Cdr::BIG_ENDIANNESS ? CDR_BE : CDR_LE; + #if FASTCDR_VERSION_MAJOR > 1 ser.set_encoding_flag( data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::EncodingAlgorithmFlag::PLAIN_CDR : eprosima::fastcdr::EncodingAlgorithmFlag::DELIMIT_CDR2); + #endif // FASTCDR_VERSION_MAJOR > 1 try { @@ -85,7 +92,11 @@ namespace eprosima { } // Get the serialized length + #if FASTCDR_VERSION_MAJOR == 1 + payload->length = static_cast(ser.getSerializedDataLength()); + #else payload->length = static_cast(ser.get_serialized_data_length()); + #endif // FASTCDR_VERSION_MAJOR == 1 return true; } @@ -102,7 +113,11 @@ namespace eprosima { eprosima::fastcdr::FastBuffer fastbuffer(reinterpret_cast(payload->data), payload->length); // Object that deserializes the data. - eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN); + eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN + #if FASTCDR_VERSION_MAJOR == 1 + , eprosima::fastcdr::Cdr::CdrType::DDS_CDR + #endif // FASTCDR_VERSION_MAJOR == 1 + ); // Deserialize encapsulation. deser.read_encapsulation(); @@ -125,13 +140,25 @@ namespace eprosima { { return [data, data_representation]() -> uint32_t { - eprosima::fastcdr::CdrSizeCalculator calculator( - data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? - eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); - size_t current_alignment {0}; - return static_cast(calculator.calculate_serialized_size( - *static_cast(data), current_alignment)) + - 4u /*encapsulation*/; + #if FASTCDR_VERSION_MAJOR == 1 + return static_cast(type::getCdrSerializedSize(*static_cast(data))) + + 4u /*encapsulation*/; + #else + try + { + eprosima::fastcdr::CdrSizeCalculator calculator( + data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? + eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); + size_t current_alignment {0}; + return static_cast(calculator.calculate_serialized_size( + *static_cast(data), current_alignment)) + + 4u /*encapsulation*/; + } + catch (eprosima::fastcdr::exception::Exception& /*exception*/) + { + return 0; + } + #endif // FASTCDR_VERSION_MAJOR == 1 }; } @@ -163,12 +190,20 @@ namespace eprosima { eprosima_test_StructType_max_key_cdr_typesize); // Object that serializes the data. - eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS); + eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS, eprosima::fastcdr::CdrVersion::XCDRv1); + #if FASTCDR_VERSION_MAJOR == 1 + p_type->serializeKey(ser); + #else eprosima::fastcdr::serialize_key(ser, *p_type); + #endif // FASTCDR_VERSION_MAJOR == 1 if (force_md5 || eprosima_test_StructType_max_key_cdr_typesize > 16) { m_md5.init(); + #if FASTCDR_VERSION_MAJOR == 1 + m_md5.update(m_keyBuffer, static_cast(ser.getSerializedDataLength())); + #else m_md5.update(m_keyBuffer, static_cast(ser.get_serialized_data_length())); + #endif // FASTCDR_VERSION_MAJOR == 1 m_md5.finalize(); for (uint8_t i = 0; i < 16; ++i) { @@ -187,10 +222,21 @@ namespace eprosima { + + + + + + CompleteTestTypePubSubType::CompleteTestTypePubSubType() { setName("eprosima::test::CompleteTestType"); - uint32_t type_size = eprosima_test_CompleteTestType_max_cdr_typesize; + uint32_t type_size = + #if FASTCDR_VERSION_MAJOR == 1 + CompleteTestType::getMaxCdrSerializedSize(); + #else + eprosima_test_CompleteTestType_max_cdr_typesize; + #endif type_size += static_cast(eprosima::fastcdr::Cdr::alignment(type_size, 4)); /* possible submessage alignment */ m_typeSize = type_size + 4; /*encapsulation*/ m_isGetKeyDefined = false; @@ -221,10 +267,12 @@ namespace eprosima { data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::CdrVersion::XCDRv1 : eprosima::fastcdr::CdrVersion::XCDRv2); payload->encapsulation = ser.endianness() == eprosima::fastcdr::Cdr::BIG_ENDIANNESS ? CDR_BE : CDR_LE; + #if FASTCDR_VERSION_MAJOR > 1 ser.set_encoding_flag( data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::EncodingAlgorithmFlag::PLAIN_CDR : eprosima::fastcdr::EncodingAlgorithmFlag::DELIMIT_CDR2); + #endif // FASTCDR_VERSION_MAJOR > 1 try { @@ -239,7 +287,11 @@ namespace eprosima { } // Get the serialized length + #if FASTCDR_VERSION_MAJOR == 1 + payload->length = static_cast(ser.getSerializedDataLength()); + #else payload->length = static_cast(ser.get_serialized_data_length()); + #endif // FASTCDR_VERSION_MAJOR == 1 return true; } @@ -256,7 +308,11 @@ namespace eprosima { eprosima::fastcdr::FastBuffer fastbuffer(reinterpret_cast(payload->data), payload->length); // Object that deserializes the data. - eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN); + eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN + #if FASTCDR_VERSION_MAJOR == 1 + , eprosima::fastcdr::Cdr::CdrType::DDS_CDR + #endif // FASTCDR_VERSION_MAJOR == 1 + ); // Deserialize encapsulation. deser.read_encapsulation(); @@ -279,13 +335,25 @@ namespace eprosima { { return [data, data_representation]() -> uint32_t { - eprosima::fastcdr::CdrSizeCalculator calculator( - data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? - eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); - size_t current_alignment {0}; - return static_cast(calculator.calculate_serialized_size( - *static_cast(data), current_alignment)) + - 4u /*encapsulation*/; + #if FASTCDR_VERSION_MAJOR == 1 + return static_cast(type::getCdrSerializedSize(*static_cast(data))) + + 4u /*encapsulation*/; + #else + try + { + eprosima::fastcdr::CdrSizeCalculator calculator( + data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? + eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); + size_t current_alignment {0}; + return static_cast(calculator.calculate_serialized_size( + *static_cast(data), current_alignment)) + + 4u /*encapsulation*/; + } + catch (eprosima::fastcdr::exception::Exception& /*exception*/) + { + return 0; + } + #endif // FASTCDR_VERSION_MAJOR == 1 }; } @@ -317,12 +385,20 @@ namespace eprosima { eprosima_test_CompleteTestType_max_key_cdr_typesize); // Object that serializes the data. - eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS); + eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS, eprosima::fastcdr::CdrVersion::XCDRv1); + #if FASTCDR_VERSION_MAJOR == 1 + p_type->serializeKey(ser); + #else eprosima::fastcdr::serialize_key(ser, *p_type); + #endif // FASTCDR_VERSION_MAJOR == 1 if (force_md5 || eprosima_test_CompleteTestType_max_key_cdr_typesize > 16) { m_md5.init(); + #if FASTCDR_VERSION_MAJOR == 1 + m_md5.update(m_keyBuffer, static_cast(ser.getSerializedDataLength())); + #else m_md5.update(m_keyBuffer, static_cast(ser.get_serialized_data_length())); + #endif // FASTCDR_VERSION_MAJOR == 1 m_md5.finalize(); for (uint8_t i = 0; i < 16; ++i) { @@ -339,10 +415,19 @@ namespace eprosima { return true; } + + + + KeyedCompleteTestTypePubSubType::KeyedCompleteTestTypePubSubType() { setName("eprosima::test::KeyedCompleteTestType"); - uint32_t type_size = eprosima_test_KeyedCompleteTestType_max_cdr_typesize; + uint32_t type_size = + #if FASTCDR_VERSION_MAJOR == 1 + KeyedCompleteTestType::getMaxCdrSerializedSize(); + #else + eprosima_test_KeyedCompleteTestType_max_cdr_typesize; + #endif type_size += static_cast(eprosima::fastcdr::Cdr::alignment(type_size, 4)); /* possible submessage alignment */ m_typeSize = type_size + 4; /*encapsulation*/ m_isGetKeyDefined = true; @@ -373,10 +458,12 @@ namespace eprosima { data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::CdrVersion::XCDRv1 : eprosima::fastcdr::CdrVersion::XCDRv2); payload->encapsulation = ser.endianness() == eprosima::fastcdr::Cdr::BIG_ENDIANNESS ? CDR_BE : CDR_LE; + #if FASTCDR_VERSION_MAJOR > 1 ser.set_encoding_flag( data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::EncodingAlgorithmFlag::PLAIN_CDR : eprosima::fastcdr::EncodingAlgorithmFlag::DELIMIT_CDR2); + #endif // FASTCDR_VERSION_MAJOR > 1 try { @@ -391,7 +478,11 @@ namespace eprosima { } // Get the serialized length + #if FASTCDR_VERSION_MAJOR == 1 + payload->length = static_cast(ser.getSerializedDataLength()); + #else payload->length = static_cast(ser.get_serialized_data_length()); + #endif // FASTCDR_VERSION_MAJOR == 1 return true; } @@ -408,7 +499,11 @@ namespace eprosima { eprosima::fastcdr::FastBuffer fastbuffer(reinterpret_cast(payload->data), payload->length); // Object that deserializes the data. - eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN); + eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN + #if FASTCDR_VERSION_MAJOR == 1 + , eprosima::fastcdr::Cdr::CdrType::DDS_CDR + #endif // FASTCDR_VERSION_MAJOR == 1 + ); // Deserialize encapsulation. deser.read_encapsulation(); @@ -431,13 +526,25 @@ namespace eprosima { { return [data, data_representation]() -> uint32_t { - eprosima::fastcdr::CdrSizeCalculator calculator( - data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? - eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); - size_t current_alignment {0}; - return static_cast(calculator.calculate_serialized_size( - *static_cast(data), current_alignment)) + - 4u /*encapsulation*/; + #if FASTCDR_VERSION_MAJOR == 1 + return static_cast(type::getCdrSerializedSize(*static_cast(data))) + + 4u /*encapsulation*/; + #else + try + { + eprosima::fastcdr::CdrSizeCalculator calculator( + data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? + eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); + size_t current_alignment {0}; + return static_cast(calculator.calculate_serialized_size( + *static_cast(data), current_alignment)) + + 4u /*encapsulation*/; + } + catch (eprosima::fastcdr::exception::Exception& /*exception*/) + { + return 0; + } + #endif // FASTCDR_VERSION_MAJOR == 1 }; } @@ -469,12 +576,20 @@ namespace eprosima { eprosima_test_KeyedCompleteTestType_max_key_cdr_typesize); // Object that serializes the data. - eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS); + eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS, eprosima::fastcdr::CdrVersion::XCDRv1); + #if FASTCDR_VERSION_MAJOR == 1 + p_type->serializeKey(ser); + #else eprosima::fastcdr::serialize_key(ser, *p_type); + #endif // FASTCDR_VERSION_MAJOR == 1 if (force_md5 || eprosima_test_KeyedCompleteTestType_max_key_cdr_typesize > 16) { m_md5.init(); + #if FASTCDR_VERSION_MAJOR == 1 + m_md5.update(m_keyBuffer, static_cast(ser.getSerializedDataLength())); + #else m_md5.update(m_keyBuffer, static_cast(ser.get_serialized_data_length())); + #endif // FASTCDR_VERSION_MAJOR == 1 m_md5.finalize(); for (uint8_t i = 0; i < 16; ++i) { diff --git a/fastdds_python/test/types/test_modulesPubSubTypes.h b/fastdds_python/test/types/test_modulesPubSubTypes.h index 22e91227..50415835 100644 --- a/fastdds_python/test/types/test_modulesPubSubTypes.h +++ b/fastdds_python/test/types/test_modulesPubSubTypes.h @@ -42,6 +42,8 @@ namespace eprosima namespace test { + + /*! * @brief This class represents the TopicDataType of the type StructType defined by the user in the IDL file. * @ingroup test_modules @@ -132,6 +134,12 @@ namespace eprosima + + + + + + /*! * @brief This class represents the TopicDataType of the type CompleteTestType defined by the user in the IDL file. * @ingroup test_modules @@ -220,6 +228,10 @@ namespace eprosima }; + + + + /*! * @brief This class represents the TopicDataType of the type KeyedCompleteTestType defined by the user in the IDL file. * @ingroup test_modules diff --git a/fastdds_python/test/types/test_modulesv1.cxx b/fastdds_python/test/types/test_modulesv1.cxx new file mode 100644 index 00000000..d3384d61 --- /dev/null +++ b/fastdds_python/test/types/test_modulesv1.cxx @@ -0,0 +1,10383 @@ +// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/*! + * @file test_modules.cpp + * This source file contains the implementation of the described types in the IDL file. + * + * This file was generated by the tool fastddsgen. + */ + +#ifdef _WIN32 +// Remove linker warning LNK4221 on Visual Studio +namespace { +char dummy; +} // namespace +#endif // _WIN32 + +#include "test_modules.h" + +#if FASTCDR_VERSION_MAJOR == 1 + +#include + + +#include +using namespace eprosima::fastcdr::exception; + +#include + +namespace helper { namespace internal { + +enum class Size { + UInt8, + UInt16, + UInt32, + UInt64, +}; + +constexpr Size get_size(int s) { + return (s <= 8 ) ? Size::UInt8: + (s <= 16) ? Size::UInt16: + (s <= 32) ? Size::UInt32: Size::UInt64; +} + +template +struct FindTypeH; + +template<> +struct FindTypeH { + using type = std::uint8_t; +}; + +template<> +struct FindTypeH { + using type = std::uint16_t; +}; + +template<> +struct FindTypeH { + using type = std::uint32_t; +}; + +template<> +struct FindTypeH { + using type = std::uint64_t; +}; +} + +template +struct FindType { + using type = typename internal::FindTypeH::type; +}; +} + +#define eprosima_test_KeyedCompleteTestType_max_cdr_typesize 42528ULL; + +#define eprosima_test_CompleteTestType_max_cdr_typesize 42528ULL; +#define eprosima_test_StructType_max_cdr_typesize 328ULL; + + +namespace eprosima { + +namespace test { + + + +StructType::StructType() +{ + // char m_char_field + m_char_field = 0; + // octet m_uint8_field + m_uint8_field = 0; + // short m_int16_field + m_int16_field = 0; + // unsigned short m_uint16_field + m_uint16_field = 0; + // long m_int32_field + m_int32_field = 0; + // unsigned long m_uint32_field + m_uint32_field = 0; + // long long m_int64_field + m_int64_field = 0; + // unsigned long long m_uint64_field + m_uint64_field = 0; + // float m_float_field + m_float_field = 0.0; + // double m_double_field + m_double_field = 0.0; + // boolean m_bool_field + m_bool_field = false; + // /type_d() m_string_field + + // eprosima::test::Color m_enum_field + m_enum_field = eprosima::test::RED; + // eprosima::test::Material m_enum2_field + m_enum2_field = eprosima::test::WOOD; + +} + +StructType::~StructType() +{ +} + +StructType::StructType( + const StructType& x) +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = x.m_string_field; + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + +} + +StructType::StructType( + StructType&& x) noexcept +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = std::move(x.m_string_field); + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + +} + +StructType& StructType::operator =( + const StructType& x) +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = x.m_string_field; + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + return *this; +} + +StructType& StructType::operator =( + StructType&& x) noexcept +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = std::move(x.m_string_field); + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + return *this; +} + +bool StructType::operator ==( + const StructType& x) const +{ + return (m_char_field == x.m_char_field && + m_uint8_field == x.m_uint8_field && + m_int16_field == x.m_int16_field && + m_uint16_field == x.m_uint16_field && + m_int32_field == x.m_int32_field && + m_uint32_field == x.m_uint32_field && + m_int64_field == x.m_int64_field && + m_uint64_field == x.m_uint64_field && + m_float_field == x.m_float_field && + m_double_field == x.m_double_field && + m_bool_field == x.m_bool_field && + m_string_field == x.m_string_field && + m_enum_field == x.m_enum_field && + m_enum2_field == x.m_enum2_field); +} + +bool StructType::operator !=( + const StructType& x) const +{ + return !(*this == x); +} + +size_t StructType::getMaxCdrSerializedSize( + size_t current_alignment) +{ + static_cast(current_alignment); + return eprosima_test_StructType_max_cdr_typesize; +} + +size_t StructType::getCdrSerializedSize( + const StructType& data, + size_t current_alignment) +{ + (void)data; + size_t initial_alignment = current_alignment; + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4) + data.string_field().size() + 1; + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + return current_alignment - initial_alignment; +} + + +void StructType::serialize( + eprosima::fastcdr::Cdr& scdr) const +{ + scdr << m_char_field; + + scdr << m_uint8_field; + + scdr << m_int16_field; + + scdr << m_uint16_field; + + scdr << m_int32_field; + + scdr << m_uint32_field; + + scdr << m_int64_field; + + scdr << m_uint64_field; + + scdr << m_float_field; + + scdr << m_double_field; + + scdr << m_bool_field; + + scdr << m_string_field.c_str(); + + scdr << (uint32_t)m_enum_field; + + scdr << (uint32_t)m_enum2_field; + +} + +void StructType::deserialize( + eprosima::fastcdr::Cdr& dcdr) +{ + dcdr >> m_char_field; + + + + dcdr >> m_uint8_field; + + + + dcdr >> m_int16_field; + + + + dcdr >> m_uint16_field; + + + + dcdr >> m_int32_field; + + + + dcdr >> m_uint32_field; + + + + dcdr >> m_int64_field; + + + + dcdr >> m_uint64_field; + + + + dcdr >> m_float_field; + + + + dcdr >> m_double_field; + + + + dcdr >> m_bool_field; + + + + dcdr >> m_string_field; + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum_field = (eprosima::test::Color)enum_value; + } + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum2_field = (eprosima::test::Material)enum_value; + } + + +} + + +bool StructType::isKeyDefined() +{ + return false; +} + +void StructType::serializeKey( + eprosima::fastcdr::Cdr& scdr) const +{ + (void) scdr; +} + +/*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ +void StructType::char_field( + char _char_field) +{ + m_char_field = _char_field; +} + +/*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ +char StructType::char_field() const +{ + return m_char_field; +} + +/*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ +char& StructType::char_field() +{ + return m_char_field; +} + + +/*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ +void StructType::uint8_field( + uint8_t _uint8_field) +{ + m_uint8_field = _uint8_field; +} + +/*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ +uint8_t StructType::uint8_field() const +{ + return m_uint8_field; +} + +/*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ +uint8_t& StructType::uint8_field() +{ + return m_uint8_field; +} + + +/*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ +void StructType::int16_field( + int16_t _int16_field) +{ + m_int16_field = _int16_field; +} + +/*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ +int16_t StructType::int16_field() const +{ + return m_int16_field; +} + +/*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ +int16_t& StructType::int16_field() +{ + return m_int16_field; +} + + +/*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ +void StructType::uint16_field( + uint16_t _uint16_field) +{ + m_uint16_field = _uint16_field; +} + +/*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ +uint16_t StructType::uint16_field() const +{ + return m_uint16_field; +} + +/*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ +uint16_t& StructType::uint16_field() +{ + return m_uint16_field; +} + + +/*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ +void StructType::int32_field( + int32_t _int32_field) +{ + m_int32_field = _int32_field; +} + +/*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ +int32_t StructType::int32_field() const +{ + return m_int32_field; +} + +/*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ +int32_t& StructType::int32_field() +{ + return m_int32_field; +} + + +/*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ +void StructType::uint32_field( + uint32_t _uint32_field) +{ + m_uint32_field = _uint32_field; +} + +/*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ +uint32_t StructType::uint32_field() const +{ + return m_uint32_field; +} + +/*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ +uint32_t& StructType::uint32_field() +{ + return m_uint32_field; +} + + +/*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ +void StructType::int64_field( + int64_t _int64_field) +{ + m_int64_field = _int64_field; +} + +/*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ +int64_t StructType::int64_field() const +{ + return m_int64_field; +} + +/*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ +int64_t& StructType::int64_field() +{ + return m_int64_field; +} + + +/*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ +void StructType::uint64_field( + uint64_t _uint64_field) +{ + m_uint64_field = _uint64_field; +} + +/*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ +uint64_t StructType::uint64_field() const +{ + return m_uint64_field; +} + +/*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ +uint64_t& StructType::uint64_field() +{ + return m_uint64_field; +} + + +/*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ +void StructType::float_field( + float _float_field) +{ + m_float_field = _float_field; +} + +/*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ +float StructType::float_field() const +{ + return m_float_field; +} + +/*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ +float& StructType::float_field() +{ + return m_float_field; +} + + +/*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ +void StructType::double_field( + double _double_field) +{ + m_double_field = _double_field; +} + +/*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ +double StructType::double_field() const +{ + return m_double_field; +} + +/*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ +double& StructType::double_field() +{ + return m_double_field; +} + + +/*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ +void StructType::bool_field( + bool _bool_field) +{ + m_bool_field = _bool_field; +} + +/*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ +bool StructType::bool_field() const +{ + return m_bool_field; +} + +/*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ +bool& StructType::bool_field() +{ + return m_bool_field; +} + + +/*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ +void StructType::string_field( + const std::string& _string_field) +{ + m_string_field = _string_field; +} + +/*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ +void StructType::string_field( + std::string&& _string_field) +{ + m_string_field = std::move(_string_field); +} + +/*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ +const std::string& StructType::string_field() const +{ + return m_string_field; +} + +/*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ +std::string& StructType::string_field() +{ + return m_string_field; +} + + +/*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ +void StructType::enum_field( + eprosima::test::Color _enum_field) +{ + m_enum_field = _enum_field; +} + +/*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ +eprosima::test::Color StructType::enum_field() const +{ + return m_enum_field; +} + +/*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ +eprosima::test::Color& StructType::enum_field() +{ + return m_enum_field; +} + + +/*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ +void StructType::enum2_field( + eprosima::test::Material _enum2_field) +{ + m_enum2_field = _enum2_field; +} + +/*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ +eprosima::test::Material StructType::enum2_field() const +{ + return m_enum2_field; +} + +/*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ +eprosima::test::Material& StructType::enum2_field() +{ + return m_enum2_field; +} + + + + + + + + + +CompleteTestType::CompleteTestType() +{ + // char m_char_field + m_char_field = 0; + // octet m_uint8_field + m_uint8_field = 0; + // short m_int16_field + m_int16_field = 0; + // unsigned short m_uint16_field + m_uint16_field = 0; + // long m_int32_field + m_int32_field = 0; + // unsigned long m_uint32_field + m_uint32_field = 0; + // long long m_int64_field + m_int64_field = 0; + // unsigned long long m_uint64_field + m_uint64_field = 0; + // float m_float_field + m_float_field = 0.0; + // double m_double_field + m_double_field = 0.0; + // boolean m_bool_field + m_bool_field = false; + // /type_d() m_string_field + + // eprosima::test::Color m_enum_field + m_enum_field = eprosima::test::RED; + // eprosima::test::Material m_enum2_field + m_enum2_field = eprosima::test::WOOD; + // eprosima::test::StructType m_struct_field + + // char m_char_opt_field + m_char_opt_field = 0; + // octet m_uint8_opt_field + m_uint8_opt_field = 0; + // short m_int16_opt_field + m_int16_opt_field = 0; + // unsigned short m_uint16_opt_field + m_uint16_opt_field = 0; + // long m_int32_opt_field + m_int32_opt_field = 0; + // unsigned long m_uint32_opt_field + m_uint32_opt_field = 0; + // long long m_int64_opt_field + m_int64_opt_field = 0; + // unsigned long long m_uint64_opt_field + m_uint64_opt_field = 0; + // float m_float_opt_field + m_float_opt_field = 0.0; + // double m_double_opt_field + m_double_opt_field = 0.0; + // boolean m_bool_opt_field + m_bool_opt_field = false; + // /type_d() m_string_opt_field + + // eprosima::test::Color m_enum_opt_field + m_enum_opt_field = eprosima::test::RED; + // eprosima::test::Material m_enum2_opt_field + m_enum2_opt_field = eprosima::test::WOOD; + // eprosima::test::StructType m_struct_opt_field + + // char m_array_char_field + memset(&m_array_char_field, 0, ((eprosima::test::max_array_size)) * 1); + // octet m_array_uint8_field + memset(&m_array_uint8_field, 0, ((eprosima::test::max_array_size)) * 1); + // short m_array_int16_field + memset(&m_array_int16_field, 0, ((eprosima::test::max_array_size)) * 2); + // unsigned short m_array_uint16_field + memset(&m_array_uint16_field, 0, ((eprosima::test::max_array_size)) * 2); + // long m_array_int32_field + memset(&m_array_int32_field, 0, ((eprosima::test::max_array_size)) * 4); + // unsigned long m_array_uint32_field + memset(&m_array_uint32_field, 0, ((eprosima::test::max_array_size)) * 4); + // long long m_array_int64_field + memset(&m_array_int64_field, 0, ((eprosima::test::max_array_size)) * 8); + // unsigned long long m_array_uint64_field + memset(&m_array_uint64_field, 0, ((eprosima::test::max_array_size)) * 8); + // float m_array_float_field + memset(&m_array_float_field, 0, ((eprosima::test::max_array_size)) * 4); + // double m_array_double_field + memset(&m_array_double_field, 0, ((eprosima::test::max_array_size)) * 8); + // boolean m_array_bool_field + memset(&m_array_bool_field, 0, ((eprosima::test::max_array_size)) * 1); + // eprosima::test::Color m_array_enum_field + memset(&m_array_enum_field, 0, ((eprosima::test::max_array_size)) * 4); + // eprosima::test::Material m_array_enum2_field + memset(&m_array_enum2_field, 0, ((eprosima::test::max_array_size)) * 4); + // eprosima::test::StructType m_array_struct_field + + // sequence m_bounded_sequence_char_field + + // sequence m_bounded_sequence_uint8_field + + // sequence m_bounded_sequence_int16_field + + // sequence m_bounded_sequence_uint16_field + + // sequence m_bounded_sequence_int32_field + + // sequence m_bounded_sequence_uint32_field + + // sequence m_bounded_sequence_int64_field + + // sequence m_bounded_sequence_uint64_field + + // sequence m_bounded_sequence_float_field + + // sequence m_bounded_sequence_double_field + + // sequence m_bounded_sequence_bool_field + + // sequence m_bounded_sequence_enum_field + + // sequence m_bounded_sequence_enum2_field + + // sequence m_bounded_sequence_struct_field + + // sequence m_unbounded_sequence_char_field + + // sequence m_unbounded_sequence_uint8_field + + // sequence m_unbounded_sequence_int16_field + + // sequence m_unbounded_sequence_uint16_field + + // sequence m_unbounded_sequence_int32_field + + // sequence m_unbounded_sequence_uint32_field + + // sequence m_unbounded_sequence_int64_field + + // sequence m_unbounded_sequence_uint64_field + + // sequence m_unbounded_sequence_float_field + + // sequence m_unbounded_sequence_double_field + + // sequence m_unbounded_sequence_bool_field + + // sequence m_unbounded_sequence_enum_field + + // sequence m_unbounded_sequence_enum2_field + + // sequence m_unbounded_sequence_struct_field + + +} + +CompleteTestType::~CompleteTestType() +{ +} + +CompleteTestType::CompleteTestType( + const CompleteTestType& x) +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = x.m_string_field; + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = x.m_struct_field; + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = x.m_string_opt_field; + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = x.m_struct_opt_field; + + + m_array_char_field = x.m_array_char_field; + + + m_array_uint8_field = x.m_array_uint8_field; + + + m_array_int16_field = x.m_array_int16_field; + + + m_array_uint16_field = x.m_array_uint16_field; + + + m_array_int32_field = x.m_array_int32_field; + + + m_array_uint32_field = x.m_array_uint32_field; + + + m_array_int64_field = x.m_array_int64_field; + + + m_array_uint64_field = x.m_array_uint64_field; + + + m_array_float_field = x.m_array_float_field; + + + m_array_double_field = x.m_array_double_field; + + + m_array_bool_field = x.m_array_bool_field; + + + m_array_enum_field = x.m_array_enum_field; + + + m_array_enum2_field = x.m_array_enum2_field; + + + m_array_struct_field = x.m_array_struct_field; + + + m_bounded_sequence_char_field = x.m_bounded_sequence_char_field; + + + m_bounded_sequence_uint8_field = x.m_bounded_sequence_uint8_field; + + + m_bounded_sequence_int16_field = x.m_bounded_sequence_int16_field; + + + m_bounded_sequence_uint16_field = x.m_bounded_sequence_uint16_field; + + + m_bounded_sequence_int32_field = x.m_bounded_sequence_int32_field; + + + m_bounded_sequence_uint32_field = x.m_bounded_sequence_uint32_field; + + + m_bounded_sequence_int64_field = x.m_bounded_sequence_int64_field; + + + m_bounded_sequence_uint64_field = x.m_bounded_sequence_uint64_field; + + + m_bounded_sequence_float_field = x.m_bounded_sequence_float_field; + + + m_bounded_sequence_double_field = x.m_bounded_sequence_double_field; + + + m_bounded_sequence_bool_field = x.m_bounded_sequence_bool_field; + + + m_bounded_sequence_enum_field = x.m_bounded_sequence_enum_field; + + + m_bounded_sequence_enum2_field = x.m_bounded_sequence_enum2_field; + + + m_bounded_sequence_struct_field = x.m_bounded_sequence_struct_field; + + + m_unbounded_sequence_char_field = x.m_unbounded_sequence_char_field; + + + m_unbounded_sequence_uint8_field = x.m_unbounded_sequence_uint8_field; + + + m_unbounded_sequence_int16_field = x.m_unbounded_sequence_int16_field; + + + m_unbounded_sequence_uint16_field = x.m_unbounded_sequence_uint16_field; + + + m_unbounded_sequence_int32_field = x.m_unbounded_sequence_int32_field; + + + m_unbounded_sequence_uint32_field = x.m_unbounded_sequence_uint32_field; + + + m_unbounded_sequence_int64_field = x.m_unbounded_sequence_int64_field; + + + m_unbounded_sequence_uint64_field = x.m_unbounded_sequence_uint64_field; + + + m_unbounded_sequence_float_field = x.m_unbounded_sequence_float_field; + + + m_unbounded_sequence_double_field = x.m_unbounded_sequence_double_field; + + + m_unbounded_sequence_bool_field = x.m_unbounded_sequence_bool_field; + + + m_unbounded_sequence_enum_field = x.m_unbounded_sequence_enum_field; + + + m_unbounded_sequence_enum2_field = x.m_unbounded_sequence_enum2_field; + + + m_unbounded_sequence_struct_field = x.m_unbounded_sequence_struct_field; + +} + +CompleteTestType::CompleteTestType( + CompleteTestType&& x) noexcept +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = std::move(x.m_string_field); + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = std::move(x.m_struct_field); + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = std::move(x.m_string_opt_field); + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = std::move(x.m_struct_opt_field); + + + m_array_char_field = std::move(x.m_array_char_field); + + + m_array_uint8_field = std::move(x.m_array_uint8_field); + + + m_array_int16_field = std::move(x.m_array_int16_field); + + + m_array_uint16_field = std::move(x.m_array_uint16_field); + + + m_array_int32_field = std::move(x.m_array_int32_field); + + + m_array_uint32_field = std::move(x.m_array_uint32_field); + + + m_array_int64_field = std::move(x.m_array_int64_field); + + + m_array_uint64_field = std::move(x.m_array_uint64_field); + + + m_array_float_field = std::move(x.m_array_float_field); + + + m_array_double_field = std::move(x.m_array_double_field); + + + m_array_bool_field = std::move(x.m_array_bool_field); + + + m_array_enum_field = std::move(x.m_array_enum_field); + + + m_array_enum2_field = std::move(x.m_array_enum2_field); + + + m_array_struct_field = std::move(x.m_array_struct_field); + + + m_bounded_sequence_char_field = std::move(x.m_bounded_sequence_char_field); + + + m_bounded_sequence_uint8_field = std::move(x.m_bounded_sequence_uint8_field); + + + m_bounded_sequence_int16_field = std::move(x.m_bounded_sequence_int16_field); + + + m_bounded_sequence_uint16_field = std::move(x.m_bounded_sequence_uint16_field); + + + m_bounded_sequence_int32_field = std::move(x.m_bounded_sequence_int32_field); + + + m_bounded_sequence_uint32_field = std::move(x.m_bounded_sequence_uint32_field); + + + m_bounded_sequence_int64_field = std::move(x.m_bounded_sequence_int64_field); + + + m_bounded_sequence_uint64_field = std::move(x.m_bounded_sequence_uint64_field); + + + m_bounded_sequence_float_field = std::move(x.m_bounded_sequence_float_field); + + + m_bounded_sequence_double_field = std::move(x.m_bounded_sequence_double_field); + + + m_bounded_sequence_bool_field = std::move(x.m_bounded_sequence_bool_field); + + + m_bounded_sequence_enum_field = std::move(x.m_bounded_sequence_enum_field); + + + m_bounded_sequence_enum2_field = std::move(x.m_bounded_sequence_enum2_field); + + + m_bounded_sequence_struct_field = std::move(x.m_bounded_sequence_struct_field); + + + m_unbounded_sequence_char_field = std::move(x.m_unbounded_sequence_char_field); + + + m_unbounded_sequence_uint8_field = std::move(x.m_unbounded_sequence_uint8_field); + + + m_unbounded_sequence_int16_field = std::move(x.m_unbounded_sequence_int16_field); + + + m_unbounded_sequence_uint16_field = std::move(x.m_unbounded_sequence_uint16_field); + + + m_unbounded_sequence_int32_field = std::move(x.m_unbounded_sequence_int32_field); + + + m_unbounded_sequence_uint32_field = std::move(x.m_unbounded_sequence_uint32_field); + + + m_unbounded_sequence_int64_field = std::move(x.m_unbounded_sequence_int64_field); + + + m_unbounded_sequence_uint64_field = std::move(x.m_unbounded_sequence_uint64_field); + + + m_unbounded_sequence_float_field = std::move(x.m_unbounded_sequence_float_field); + + + m_unbounded_sequence_double_field = std::move(x.m_unbounded_sequence_double_field); + + + m_unbounded_sequence_bool_field = std::move(x.m_unbounded_sequence_bool_field); + + + m_unbounded_sequence_enum_field = std::move(x.m_unbounded_sequence_enum_field); + + + m_unbounded_sequence_enum2_field = std::move(x.m_unbounded_sequence_enum2_field); + + + m_unbounded_sequence_struct_field = std::move(x.m_unbounded_sequence_struct_field); + +} + +CompleteTestType& CompleteTestType::operator =( + const CompleteTestType& x) +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = x.m_string_field; + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = x.m_struct_field; + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = x.m_string_opt_field; + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = x.m_struct_opt_field; + + + m_array_char_field = x.m_array_char_field; + + + m_array_uint8_field = x.m_array_uint8_field; + + + m_array_int16_field = x.m_array_int16_field; + + + m_array_uint16_field = x.m_array_uint16_field; + + + m_array_int32_field = x.m_array_int32_field; + + + m_array_uint32_field = x.m_array_uint32_field; + + + m_array_int64_field = x.m_array_int64_field; + + + m_array_uint64_field = x.m_array_uint64_field; + + + m_array_float_field = x.m_array_float_field; + + + m_array_double_field = x.m_array_double_field; + + + m_array_bool_field = x.m_array_bool_field; + + + m_array_enum_field = x.m_array_enum_field; + + + m_array_enum2_field = x.m_array_enum2_field; + + + m_array_struct_field = x.m_array_struct_field; + + + m_bounded_sequence_char_field = x.m_bounded_sequence_char_field; + + + m_bounded_sequence_uint8_field = x.m_bounded_sequence_uint8_field; + + + m_bounded_sequence_int16_field = x.m_bounded_sequence_int16_field; + + + m_bounded_sequence_uint16_field = x.m_bounded_sequence_uint16_field; + + + m_bounded_sequence_int32_field = x.m_bounded_sequence_int32_field; + + + m_bounded_sequence_uint32_field = x.m_bounded_sequence_uint32_field; + + + m_bounded_sequence_int64_field = x.m_bounded_sequence_int64_field; + + + m_bounded_sequence_uint64_field = x.m_bounded_sequence_uint64_field; + + + m_bounded_sequence_float_field = x.m_bounded_sequence_float_field; + + + m_bounded_sequence_double_field = x.m_bounded_sequence_double_field; + + + m_bounded_sequence_bool_field = x.m_bounded_sequence_bool_field; + + + m_bounded_sequence_enum_field = x.m_bounded_sequence_enum_field; + + + m_bounded_sequence_enum2_field = x.m_bounded_sequence_enum2_field; + + + m_bounded_sequence_struct_field = x.m_bounded_sequence_struct_field; + + + m_unbounded_sequence_char_field = x.m_unbounded_sequence_char_field; + + + m_unbounded_sequence_uint8_field = x.m_unbounded_sequence_uint8_field; + + + m_unbounded_sequence_int16_field = x.m_unbounded_sequence_int16_field; + + + m_unbounded_sequence_uint16_field = x.m_unbounded_sequence_uint16_field; + + + m_unbounded_sequence_int32_field = x.m_unbounded_sequence_int32_field; + + + m_unbounded_sequence_uint32_field = x.m_unbounded_sequence_uint32_field; + + + m_unbounded_sequence_int64_field = x.m_unbounded_sequence_int64_field; + + + m_unbounded_sequence_uint64_field = x.m_unbounded_sequence_uint64_field; + + + m_unbounded_sequence_float_field = x.m_unbounded_sequence_float_field; + + + m_unbounded_sequence_double_field = x.m_unbounded_sequence_double_field; + + + m_unbounded_sequence_bool_field = x.m_unbounded_sequence_bool_field; + + + m_unbounded_sequence_enum_field = x.m_unbounded_sequence_enum_field; + + + m_unbounded_sequence_enum2_field = x.m_unbounded_sequence_enum2_field; + + + m_unbounded_sequence_struct_field = x.m_unbounded_sequence_struct_field; + + return *this; +} + +CompleteTestType& CompleteTestType::operator =( + CompleteTestType&& x) noexcept +{ + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = std::move(x.m_string_field); + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = std::move(x.m_struct_field); + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = std::move(x.m_string_opt_field); + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = std::move(x.m_struct_opt_field); + + + m_array_char_field = std::move(x.m_array_char_field); + + + m_array_uint8_field = std::move(x.m_array_uint8_field); + + + m_array_int16_field = std::move(x.m_array_int16_field); + + + m_array_uint16_field = std::move(x.m_array_uint16_field); + + + m_array_int32_field = std::move(x.m_array_int32_field); + + + m_array_uint32_field = std::move(x.m_array_uint32_field); + + + m_array_int64_field = std::move(x.m_array_int64_field); + + + m_array_uint64_field = std::move(x.m_array_uint64_field); + + + m_array_float_field = std::move(x.m_array_float_field); + + + m_array_double_field = std::move(x.m_array_double_field); + + + m_array_bool_field = std::move(x.m_array_bool_field); + + + m_array_enum_field = std::move(x.m_array_enum_field); + + + m_array_enum2_field = std::move(x.m_array_enum2_field); + + + m_array_struct_field = std::move(x.m_array_struct_field); + + + m_bounded_sequence_char_field = std::move(x.m_bounded_sequence_char_field); + + + m_bounded_sequence_uint8_field = std::move(x.m_bounded_sequence_uint8_field); + + + m_bounded_sequence_int16_field = std::move(x.m_bounded_sequence_int16_field); + + + m_bounded_sequence_uint16_field = std::move(x.m_bounded_sequence_uint16_field); + + + m_bounded_sequence_int32_field = std::move(x.m_bounded_sequence_int32_field); + + + m_bounded_sequence_uint32_field = std::move(x.m_bounded_sequence_uint32_field); + + + m_bounded_sequence_int64_field = std::move(x.m_bounded_sequence_int64_field); + + + m_bounded_sequence_uint64_field = std::move(x.m_bounded_sequence_uint64_field); + + + m_bounded_sequence_float_field = std::move(x.m_bounded_sequence_float_field); + + + m_bounded_sequence_double_field = std::move(x.m_bounded_sequence_double_field); + + + m_bounded_sequence_bool_field = std::move(x.m_bounded_sequence_bool_field); + + + m_bounded_sequence_enum_field = std::move(x.m_bounded_sequence_enum_field); + + + m_bounded_sequence_enum2_field = std::move(x.m_bounded_sequence_enum2_field); + + + m_bounded_sequence_struct_field = std::move(x.m_bounded_sequence_struct_field); + + + m_unbounded_sequence_char_field = std::move(x.m_unbounded_sequence_char_field); + + + m_unbounded_sequence_uint8_field = std::move(x.m_unbounded_sequence_uint8_field); + + + m_unbounded_sequence_int16_field = std::move(x.m_unbounded_sequence_int16_field); + + + m_unbounded_sequence_uint16_field = std::move(x.m_unbounded_sequence_uint16_field); + + + m_unbounded_sequence_int32_field = std::move(x.m_unbounded_sequence_int32_field); + + + m_unbounded_sequence_uint32_field = std::move(x.m_unbounded_sequence_uint32_field); + + + m_unbounded_sequence_int64_field = std::move(x.m_unbounded_sequence_int64_field); + + + m_unbounded_sequence_uint64_field = std::move(x.m_unbounded_sequence_uint64_field); + + + m_unbounded_sequence_float_field = std::move(x.m_unbounded_sequence_float_field); + + + m_unbounded_sequence_double_field = std::move(x.m_unbounded_sequence_double_field); + + + m_unbounded_sequence_bool_field = std::move(x.m_unbounded_sequence_bool_field); + + + m_unbounded_sequence_enum_field = std::move(x.m_unbounded_sequence_enum_field); + + + m_unbounded_sequence_enum2_field = std::move(x.m_unbounded_sequence_enum2_field); + + + m_unbounded_sequence_struct_field = std::move(x.m_unbounded_sequence_struct_field); + + return *this; +} + +bool CompleteTestType::operator ==( + const CompleteTestType& x) const +{ + return (m_char_field == x.m_char_field && + m_uint8_field == x.m_uint8_field && + m_int16_field == x.m_int16_field && + m_uint16_field == x.m_uint16_field && + m_int32_field == x.m_int32_field && + m_uint32_field == x.m_uint32_field && + m_int64_field == x.m_int64_field && + m_uint64_field == x.m_uint64_field && + m_float_field == x.m_float_field && + m_double_field == x.m_double_field && + m_bool_field == x.m_bool_field && + m_string_field == x.m_string_field && + m_enum_field == x.m_enum_field && + m_enum2_field == x.m_enum2_field && + m_struct_field == x.m_struct_field && + m_char_opt_field == x.m_char_opt_field && + m_uint8_opt_field == x.m_uint8_opt_field && + m_int16_opt_field == x.m_int16_opt_field && + m_uint16_opt_field == x.m_uint16_opt_field && + m_int32_opt_field == x.m_int32_opt_field && + m_uint32_opt_field == x.m_uint32_opt_field && + m_int64_opt_field == x.m_int64_opt_field && + m_uint64_opt_field == x.m_uint64_opt_field && + m_float_opt_field == x.m_float_opt_field && + m_double_opt_field == x.m_double_opt_field && + m_bool_opt_field == x.m_bool_opt_field && + m_string_opt_field == x.m_string_opt_field && + m_enum_opt_field == x.m_enum_opt_field && + m_enum2_opt_field == x.m_enum2_opt_field && + m_struct_opt_field == x.m_struct_opt_field && + m_array_char_field == x.m_array_char_field && + m_array_uint8_field == x.m_array_uint8_field && + m_array_int16_field == x.m_array_int16_field && + m_array_uint16_field == x.m_array_uint16_field && + m_array_int32_field == x.m_array_int32_field && + m_array_uint32_field == x.m_array_uint32_field && + m_array_int64_field == x.m_array_int64_field && + m_array_uint64_field == x.m_array_uint64_field && + m_array_float_field == x.m_array_float_field && + m_array_double_field == x.m_array_double_field && + m_array_bool_field == x.m_array_bool_field && + m_array_enum_field == x.m_array_enum_field && + m_array_enum2_field == x.m_array_enum2_field && + m_array_struct_field == x.m_array_struct_field && + m_bounded_sequence_char_field == x.m_bounded_sequence_char_field && + m_bounded_sequence_uint8_field == x.m_bounded_sequence_uint8_field && + m_bounded_sequence_int16_field == x.m_bounded_sequence_int16_field && + m_bounded_sequence_uint16_field == x.m_bounded_sequence_uint16_field && + m_bounded_sequence_int32_field == x.m_bounded_sequence_int32_field && + m_bounded_sequence_uint32_field == x.m_bounded_sequence_uint32_field && + m_bounded_sequence_int64_field == x.m_bounded_sequence_int64_field && + m_bounded_sequence_uint64_field == x.m_bounded_sequence_uint64_field && + m_bounded_sequence_float_field == x.m_bounded_sequence_float_field && + m_bounded_sequence_double_field == x.m_bounded_sequence_double_field && + m_bounded_sequence_bool_field == x.m_bounded_sequence_bool_field && + m_bounded_sequence_enum_field == x.m_bounded_sequence_enum_field && + m_bounded_sequence_enum2_field == x.m_bounded_sequence_enum2_field && + m_bounded_sequence_struct_field == x.m_bounded_sequence_struct_field && + m_unbounded_sequence_char_field == x.m_unbounded_sequence_char_field && + m_unbounded_sequence_uint8_field == x.m_unbounded_sequence_uint8_field && + m_unbounded_sequence_int16_field == x.m_unbounded_sequence_int16_field && + m_unbounded_sequence_uint16_field == x.m_unbounded_sequence_uint16_field && + m_unbounded_sequence_int32_field == x.m_unbounded_sequence_int32_field && + m_unbounded_sequence_uint32_field == x.m_unbounded_sequence_uint32_field && + m_unbounded_sequence_int64_field == x.m_unbounded_sequence_int64_field && + m_unbounded_sequence_uint64_field == x.m_unbounded_sequence_uint64_field && + m_unbounded_sequence_float_field == x.m_unbounded_sequence_float_field && + m_unbounded_sequence_double_field == x.m_unbounded_sequence_double_field && + m_unbounded_sequence_bool_field == x.m_unbounded_sequence_bool_field && + m_unbounded_sequence_enum_field == x.m_unbounded_sequence_enum_field && + m_unbounded_sequence_enum2_field == x.m_unbounded_sequence_enum2_field && + m_unbounded_sequence_struct_field == x.m_unbounded_sequence_struct_field); +} + +bool CompleteTestType::operator !=( + const CompleteTestType& x) const +{ + return !(*this == x); +} + +size_t CompleteTestType::getMaxCdrSerializedSize( + size_t current_alignment) +{ + static_cast(current_alignment); + return eprosima_test_CompleteTestType_max_cdr_typesize; +} + +size_t CompleteTestType::getCdrSerializedSize( + const CompleteTestType& data, + size_t current_alignment) +{ + (void)data; + size_t initial_alignment = current_alignment; + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4) + data.string_field().size() + 1; + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += eprosima::test::StructType::getCdrSerializedSize(data.struct_field(), current_alignment); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4) + data.string_opt_field().size() + 1; + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += eprosima::test::StructType::getCdrSerializedSize(data.struct_opt_field(), current_alignment); + + + current_alignment += (((eprosima::test::max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + + current_alignment += (((eprosima::test::max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + + current_alignment += (((eprosima::test::max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + + current_alignment += (((eprosima::test::max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + + current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((eprosima::test::max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + + current_alignment += (((eprosima::test::max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + + current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((eprosima::test::max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + + current_alignment += (((eprosima::test::max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + + current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + + for(size_t a = 0; a < data.array_struct_field().size(); ++a) + { + current_alignment += eprosima::test::StructType::getCdrSerializedSize(data.array_struct_field().at(a), current_alignment); + + } + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_char_field().size() > 0) + { + current_alignment += (data.bounded_sequence_char_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint8_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint8_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_int16_field().size() > 0) + { + current_alignment += (data.bounded_sequence_int16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint16_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_int32_field().size() > 0) + { + current_alignment += (data.bounded_sequence_int32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint32_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_int64_field().size() > 0) + { + current_alignment += (data.bounded_sequence_int64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint64_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_float_field().size() > 0) + { + current_alignment += (data.bounded_sequence_float_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_double_field().size() > 0) + { + current_alignment += (data.bounded_sequence_double_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_bool_field().size() > 0) + { + current_alignment += (data.bounded_sequence_bool_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_enum_field().size() > 0) + { + current_alignment += (data.bounded_sequence_enum_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_enum2_field().size() > 0) + { + current_alignment += (data.bounded_sequence_enum2_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + for(size_t a = 0; a < data.bounded_sequence_struct_field().size(); ++a) + { + current_alignment += eprosima::test::StructType::getCdrSerializedSize(data.bounded_sequence_struct_field().at(a), current_alignment); + } + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_char_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_char_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint8_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint8_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_int16_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_int16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint16_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_int32_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_int32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint32_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_int64_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_int64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint64_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_float_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_float_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_double_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_double_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_bool_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_bool_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_enum_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_enum_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_enum2_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_enum2_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + for(size_t a = 0; a < data.unbounded_sequence_struct_field().size(); ++a) + { + current_alignment += eprosima::test::StructType::getCdrSerializedSize(data.unbounded_sequence_struct_field().at(a), current_alignment); + } + + + + return current_alignment - initial_alignment; +} + + +void CompleteTestType::serialize( + eprosima::fastcdr::Cdr& scdr) const +{ + scdr << m_char_field; + + scdr << m_uint8_field; + + scdr << m_int16_field; + + scdr << m_uint16_field; + + scdr << m_int32_field; + + scdr << m_uint32_field; + + scdr << m_int64_field; + + scdr << m_uint64_field; + + scdr << m_float_field; + + scdr << m_double_field; + + scdr << m_bool_field; + + scdr << m_string_field.c_str(); + + scdr << (uint32_t)m_enum_field; + + scdr << (uint32_t)m_enum2_field; + + scdr << m_struct_field; + + scdr << m_char_opt_field; + + scdr << m_uint8_opt_field; + + scdr << m_int16_opt_field; + + scdr << m_uint16_opt_field; + + scdr << m_int32_opt_field; + + scdr << m_uint32_opt_field; + + scdr << m_int64_opt_field; + + scdr << m_uint64_opt_field; + + scdr << m_float_opt_field; + + scdr << m_double_opt_field; + + scdr << m_bool_opt_field; + + scdr << m_string_opt_field.c_str(); + + scdr << (uint32_t)m_enum_opt_field; + + scdr << (uint32_t)m_enum2_opt_field; + + scdr << m_struct_opt_field; + + scdr << m_array_char_field; + + + scdr << m_array_uint8_field; + + + scdr << m_array_int16_field; + + + scdr << m_array_uint16_field; + + + scdr << m_array_int32_field; + + + scdr << m_array_uint32_field; + + + scdr << m_array_int64_field; + + + scdr << m_array_uint64_field; + + + scdr << m_array_float_field; + + + scdr << m_array_double_field; + + + scdr << m_array_bool_field; + + + scdr.serializeArray(reinterpret_cast(m_array_enum_field.data()), m_array_enum_field.size()); + + + scdr.serializeArray(reinterpret_cast(m_array_enum2_field.data()), m_array_enum2_field.size()); + + + scdr << m_array_struct_field; + + + scdr << m_bounded_sequence_char_field; + + + scdr << m_bounded_sequence_uint8_field; + + + scdr << m_bounded_sequence_int16_field; + + + scdr << m_bounded_sequence_uint16_field; + + + scdr << m_bounded_sequence_int32_field; + + + scdr << m_bounded_sequence_uint32_field; + + + scdr << m_bounded_sequence_int64_field; + + + scdr << m_bounded_sequence_uint64_field; + + + scdr << m_bounded_sequence_float_field; + + + scdr << m_bounded_sequence_double_field; + + + scdr << m_bounded_sequence_bool_field; + + + scdr << static_cast(m_bounded_sequence_enum_field.size()); + scdr.serializeArray(reinterpret_cast(m_bounded_sequence_enum_field.data()), m_bounded_sequence_enum_field.size()); + + + scdr << static_cast(m_bounded_sequence_enum2_field.size()); + scdr.serializeArray(reinterpret_cast(m_bounded_sequence_enum2_field.data()), m_bounded_sequence_enum2_field.size()); + + + scdr << m_bounded_sequence_struct_field; + + + scdr << m_unbounded_sequence_char_field; + + + scdr << m_unbounded_sequence_uint8_field; + + + scdr << m_unbounded_sequence_int16_field; + + + scdr << m_unbounded_sequence_uint16_field; + + + scdr << m_unbounded_sequence_int32_field; + + + scdr << m_unbounded_sequence_uint32_field; + + + scdr << m_unbounded_sequence_int64_field; + + + scdr << m_unbounded_sequence_uint64_field; + + + scdr << m_unbounded_sequence_float_field; + + + scdr << m_unbounded_sequence_double_field; + + + scdr << m_unbounded_sequence_bool_field; + + + scdr << static_cast(m_unbounded_sequence_enum_field.size()); + scdr.serializeArray(reinterpret_cast(m_unbounded_sequence_enum_field.data()), m_unbounded_sequence_enum_field.size()); + + + scdr << static_cast(m_unbounded_sequence_enum2_field.size()); + scdr.serializeArray(reinterpret_cast(m_unbounded_sequence_enum2_field.data()), m_unbounded_sequence_enum2_field.size()); + + + scdr << m_unbounded_sequence_struct_field; + + +} + +void CompleteTestType::deserialize( + eprosima::fastcdr::Cdr& dcdr) +{ + dcdr >> m_char_field; + + + + dcdr >> m_uint8_field; + + + + dcdr >> m_int16_field; + + + + dcdr >> m_uint16_field; + + + + dcdr >> m_int32_field; + + + + dcdr >> m_uint32_field; + + + + dcdr >> m_int64_field; + + + + dcdr >> m_uint64_field; + + + + dcdr >> m_float_field; + + + + dcdr >> m_double_field; + + + + dcdr >> m_bool_field; + + + + dcdr >> m_string_field; + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum_field = (eprosima::test::Color)enum_value; + } + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum2_field = (eprosima::test::Material)enum_value; + } + + + + dcdr >> m_struct_field; + + + + dcdr >> m_char_opt_field; + + + + dcdr >> m_uint8_opt_field; + + + + dcdr >> m_int16_opt_field; + + + + dcdr >> m_uint16_opt_field; + + + + dcdr >> m_int32_opt_field; + + + + dcdr >> m_uint32_opt_field; + + + + dcdr >> m_int64_opt_field; + + + + dcdr >> m_uint64_opt_field; + + + + dcdr >> m_float_opt_field; + + + + dcdr >> m_double_opt_field; + + + + dcdr >> m_bool_opt_field; + + + + dcdr >> m_string_opt_field; + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum_opt_field = (eprosima::test::Color)enum_value; + } + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum2_opt_field = (eprosima::test::Material)enum_value; + } + + + + dcdr >> m_struct_opt_field; + + + + dcdr >> m_array_char_field; + + + + dcdr >> m_array_uint8_field; + + + + dcdr >> m_array_int16_field; + + + + dcdr >> m_array_uint16_field; + + + + dcdr >> m_array_int32_field; + + + + dcdr >> m_array_uint32_field; + + + + dcdr >> m_array_int64_field; + + + + dcdr >> m_array_uint64_field; + + + + dcdr >> m_array_float_field; + + + + dcdr >> m_array_double_field; + + + + dcdr >> m_array_bool_field; + + + + dcdr.deserializeArray(reinterpret_cast(m_array_enum_field.data()), m_array_enum_field.size()); + + + + dcdr.deserializeArray(reinterpret_cast(m_array_enum2_field.data()), m_array_enum2_field.size()); + + + + dcdr >> m_array_struct_field; + + + + dcdr >> m_bounded_sequence_char_field; + + + + dcdr >> m_bounded_sequence_uint8_field; + + + + dcdr >> m_bounded_sequence_int16_field; + + + + dcdr >> m_bounded_sequence_uint16_field; + + + + dcdr >> m_bounded_sequence_int32_field; + + + + dcdr >> m_bounded_sequence_uint32_field; + + + + dcdr >> m_bounded_sequence_int64_field; + + + + dcdr >> m_bounded_sequence_uint64_field; + + + + dcdr >> m_bounded_sequence_float_field; + + + + dcdr >> m_bounded_sequence_double_field; + + + + dcdr >> m_bounded_sequence_bool_field; + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_bounded_sequence_enum_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_bounded_sequence_enum_field.data()), seq_length); + } + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_bounded_sequence_enum2_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_bounded_sequence_enum2_field.data()), seq_length); + } + + + + dcdr >> m_bounded_sequence_struct_field; + + + + dcdr >> m_unbounded_sequence_char_field; + + + + dcdr >> m_unbounded_sequence_uint8_field; + + + + dcdr >> m_unbounded_sequence_int16_field; + + + + dcdr >> m_unbounded_sequence_uint16_field; + + + + dcdr >> m_unbounded_sequence_int32_field; + + + + dcdr >> m_unbounded_sequence_uint32_field; + + + + dcdr >> m_unbounded_sequence_int64_field; + + + + dcdr >> m_unbounded_sequence_uint64_field; + + + + dcdr >> m_unbounded_sequence_float_field; + + + + dcdr >> m_unbounded_sequence_double_field; + + + + dcdr >> m_unbounded_sequence_bool_field; + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_unbounded_sequence_enum_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_unbounded_sequence_enum_field.data()), seq_length); + } + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_unbounded_sequence_enum2_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_unbounded_sequence_enum2_field.data()), seq_length); + } + + + + dcdr >> m_unbounded_sequence_struct_field; + + +} + + +bool CompleteTestType::isKeyDefined() +{ + return false; +} + +void CompleteTestType::serializeKey( + eprosima::fastcdr::Cdr& scdr) const +{ + (void) scdr; +} + +/*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ +void CompleteTestType::char_field( + char _char_field) +{ + m_char_field = _char_field; +} + +/*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ +char CompleteTestType::char_field() const +{ + return m_char_field; +} + +/*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ +char& CompleteTestType::char_field() +{ + return m_char_field; +} + + +/*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ +void CompleteTestType::uint8_field( + uint8_t _uint8_field) +{ + m_uint8_field = _uint8_field; +} + +/*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ +uint8_t CompleteTestType::uint8_field() const +{ + return m_uint8_field; +} + +/*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ +uint8_t& CompleteTestType::uint8_field() +{ + return m_uint8_field; +} + + +/*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ +void CompleteTestType::int16_field( + int16_t _int16_field) +{ + m_int16_field = _int16_field; +} + +/*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ +int16_t CompleteTestType::int16_field() const +{ + return m_int16_field; +} + +/*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ +int16_t& CompleteTestType::int16_field() +{ + return m_int16_field; +} + + +/*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ +void CompleteTestType::uint16_field( + uint16_t _uint16_field) +{ + m_uint16_field = _uint16_field; +} + +/*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ +uint16_t CompleteTestType::uint16_field() const +{ + return m_uint16_field; +} + +/*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ +uint16_t& CompleteTestType::uint16_field() +{ + return m_uint16_field; +} + + +/*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ +void CompleteTestType::int32_field( + int32_t _int32_field) +{ + m_int32_field = _int32_field; +} + +/*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ +int32_t CompleteTestType::int32_field() const +{ + return m_int32_field; +} + +/*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ +int32_t& CompleteTestType::int32_field() +{ + return m_int32_field; +} + + +/*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ +void CompleteTestType::uint32_field( + uint32_t _uint32_field) +{ + m_uint32_field = _uint32_field; +} + +/*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ +uint32_t CompleteTestType::uint32_field() const +{ + return m_uint32_field; +} + +/*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ +uint32_t& CompleteTestType::uint32_field() +{ + return m_uint32_field; +} + + +/*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ +void CompleteTestType::int64_field( + int64_t _int64_field) +{ + m_int64_field = _int64_field; +} + +/*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ +int64_t CompleteTestType::int64_field() const +{ + return m_int64_field; +} + +/*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ +int64_t& CompleteTestType::int64_field() +{ + return m_int64_field; +} + + +/*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ +void CompleteTestType::uint64_field( + uint64_t _uint64_field) +{ + m_uint64_field = _uint64_field; +} + +/*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ +uint64_t CompleteTestType::uint64_field() const +{ + return m_uint64_field; +} + +/*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ +uint64_t& CompleteTestType::uint64_field() +{ + return m_uint64_field; +} + + +/*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ +void CompleteTestType::float_field( + float _float_field) +{ + m_float_field = _float_field; +} + +/*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ +float CompleteTestType::float_field() const +{ + return m_float_field; +} + +/*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ +float& CompleteTestType::float_field() +{ + return m_float_field; +} + + +/*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ +void CompleteTestType::double_field( + double _double_field) +{ + m_double_field = _double_field; +} + +/*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ +double CompleteTestType::double_field() const +{ + return m_double_field; +} + +/*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ +double& CompleteTestType::double_field() +{ + return m_double_field; +} + + +/*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ +void CompleteTestType::bool_field( + bool _bool_field) +{ + m_bool_field = _bool_field; +} + +/*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ +bool CompleteTestType::bool_field() const +{ + return m_bool_field; +} + +/*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ +bool& CompleteTestType::bool_field() +{ + return m_bool_field; +} + + +/*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ +void CompleteTestType::string_field( + const std::string& _string_field) +{ + m_string_field = _string_field; +} + +/*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ +void CompleteTestType::string_field( + std::string&& _string_field) +{ + m_string_field = std::move(_string_field); +} + +/*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ +const std::string& CompleteTestType::string_field() const +{ + return m_string_field; +} + +/*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ +std::string& CompleteTestType::string_field() +{ + return m_string_field; +} + + +/*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ +void CompleteTestType::enum_field( + eprosima::test::Color _enum_field) +{ + m_enum_field = _enum_field; +} + +/*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ +eprosima::test::Color CompleteTestType::enum_field() const +{ + return m_enum_field; +} + +/*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ +eprosima::test::Color& CompleteTestType::enum_field() +{ + return m_enum_field; +} + + +/*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ +void CompleteTestType::enum2_field( + eprosima::test::Material _enum2_field) +{ + m_enum2_field = _enum2_field; +} + +/*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ +eprosima::test::Material CompleteTestType::enum2_field() const +{ + return m_enum2_field; +} + +/*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ +eprosima::test::Material& CompleteTestType::enum2_field() +{ + return m_enum2_field; +} + + +/*! + * @brief This function copies the value in member struct_field + * @param _struct_field New value to be copied in member struct_field + */ +void CompleteTestType::struct_field( + const eprosima::test::StructType& _struct_field) +{ + m_struct_field = _struct_field; +} + +/*! + * @brief This function moves the value in member struct_field + * @param _struct_field New value to be moved in member struct_field + */ +void CompleteTestType::struct_field( + eprosima::test::StructType&& _struct_field) +{ + m_struct_field = std::move(_struct_field); +} + +/*! + * @brief This function returns a constant reference to member struct_field + * @return Constant reference to member struct_field + */ +const eprosima::test::StructType& CompleteTestType::struct_field() const +{ + return m_struct_field; +} + +/*! + * @brief This function returns a reference to member struct_field + * @return Reference to member struct_field + */ +eprosima::test::StructType& CompleteTestType::struct_field() +{ + return m_struct_field; +} + + +/*! + * @brief This function sets a value in member char_opt_field + * @param _char_opt_field New value for member char_opt_field + */ +void CompleteTestType::char_opt_field( + char _char_opt_field) +{ + m_char_opt_field = _char_opt_field; +} + +/*! + * @brief This function returns the value of member char_opt_field + * @return Value of member char_opt_field + */ +char CompleteTestType::char_opt_field() const +{ + return m_char_opt_field; +} + +/*! + * @brief This function returns a reference to member char_opt_field + * @return Reference to member char_opt_field + */ +char& CompleteTestType::char_opt_field() +{ + return m_char_opt_field; +} + + +/*! + * @brief This function sets a value in member uint8_opt_field + * @param _uint8_opt_field New value for member uint8_opt_field + */ +void CompleteTestType::uint8_opt_field( + uint8_t _uint8_opt_field) +{ + m_uint8_opt_field = _uint8_opt_field; +} + +/*! + * @brief This function returns the value of member uint8_opt_field + * @return Value of member uint8_opt_field + */ +uint8_t CompleteTestType::uint8_opt_field() const +{ + return m_uint8_opt_field; +} + +/*! + * @brief This function returns a reference to member uint8_opt_field + * @return Reference to member uint8_opt_field + */ +uint8_t& CompleteTestType::uint8_opt_field() +{ + return m_uint8_opt_field; +} + + +/*! + * @brief This function sets a value in member int16_opt_field + * @param _int16_opt_field New value for member int16_opt_field + */ +void CompleteTestType::int16_opt_field( + int16_t _int16_opt_field) +{ + m_int16_opt_field = _int16_opt_field; +} + +/*! + * @brief This function returns the value of member int16_opt_field + * @return Value of member int16_opt_field + */ +int16_t CompleteTestType::int16_opt_field() const +{ + return m_int16_opt_field; +} + +/*! + * @brief This function returns a reference to member int16_opt_field + * @return Reference to member int16_opt_field + */ +int16_t& CompleteTestType::int16_opt_field() +{ + return m_int16_opt_field; +} + + +/*! + * @brief This function sets a value in member uint16_opt_field + * @param _uint16_opt_field New value for member uint16_opt_field + */ +void CompleteTestType::uint16_opt_field( + uint16_t _uint16_opt_field) +{ + m_uint16_opt_field = _uint16_opt_field; +} + +/*! + * @brief This function returns the value of member uint16_opt_field + * @return Value of member uint16_opt_field + */ +uint16_t CompleteTestType::uint16_opt_field() const +{ + return m_uint16_opt_field; +} + +/*! + * @brief This function returns a reference to member uint16_opt_field + * @return Reference to member uint16_opt_field + */ +uint16_t& CompleteTestType::uint16_opt_field() +{ + return m_uint16_opt_field; +} + + +/*! + * @brief This function sets a value in member int32_opt_field + * @param _int32_opt_field New value for member int32_opt_field + */ +void CompleteTestType::int32_opt_field( + int32_t _int32_opt_field) +{ + m_int32_opt_field = _int32_opt_field; +} + +/*! + * @brief This function returns the value of member int32_opt_field + * @return Value of member int32_opt_field + */ +int32_t CompleteTestType::int32_opt_field() const +{ + return m_int32_opt_field; +} + +/*! + * @brief This function returns a reference to member int32_opt_field + * @return Reference to member int32_opt_field + */ +int32_t& CompleteTestType::int32_opt_field() +{ + return m_int32_opt_field; +} + + +/*! + * @brief This function sets a value in member uint32_opt_field + * @param _uint32_opt_field New value for member uint32_opt_field + */ +void CompleteTestType::uint32_opt_field( + uint32_t _uint32_opt_field) +{ + m_uint32_opt_field = _uint32_opt_field; +} + +/*! + * @brief This function returns the value of member uint32_opt_field + * @return Value of member uint32_opt_field + */ +uint32_t CompleteTestType::uint32_opt_field() const +{ + return m_uint32_opt_field; +} + +/*! + * @brief This function returns a reference to member uint32_opt_field + * @return Reference to member uint32_opt_field + */ +uint32_t& CompleteTestType::uint32_opt_field() +{ + return m_uint32_opt_field; +} + + +/*! + * @brief This function sets a value in member int64_opt_field + * @param _int64_opt_field New value for member int64_opt_field + */ +void CompleteTestType::int64_opt_field( + int64_t _int64_opt_field) +{ + m_int64_opt_field = _int64_opt_field; +} + +/*! + * @brief This function returns the value of member int64_opt_field + * @return Value of member int64_opt_field + */ +int64_t CompleteTestType::int64_opt_field() const +{ + return m_int64_opt_field; +} + +/*! + * @brief This function returns a reference to member int64_opt_field + * @return Reference to member int64_opt_field + */ +int64_t& CompleteTestType::int64_opt_field() +{ + return m_int64_opt_field; +} + + +/*! + * @brief This function sets a value in member uint64_opt_field + * @param _uint64_opt_field New value for member uint64_opt_field + */ +void CompleteTestType::uint64_opt_field( + uint64_t _uint64_opt_field) +{ + m_uint64_opt_field = _uint64_opt_field; +} + +/*! + * @brief This function returns the value of member uint64_opt_field + * @return Value of member uint64_opt_field + */ +uint64_t CompleteTestType::uint64_opt_field() const +{ + return m_uint64_opt_field; +} + +/*! + * @brief This function returns a reference to member uint64_opt_field + * @return Reference to member uint64_opt_field + */ +uint64_t& CompleteTestType::uint64_opt_field() +{ + return m_uint64_opt_field; +} + + +/*! + * @brief This function sets a value in member float_opt_field + * @param _float_opt_field New value for member float_opt_field + */ +void CompleteTestType::float_opt_field( + float _float_opt_field) +{ + m_float_opt_field = _float_opt_field; +} + +/*! + * @brief This function returns the value of member float_opt_field + * @return Value of member float_opt_field + */ +float CompleteTestType::float_opt_field() const +{ + return m_float_opt_field; +} + +/*! + * @brief This function returns a reference to member float_opt_field + * @return Reference to member float_opt_field + */ +float& CompleteTestType::float_opt_field() +{ + return m_float_opt_field; +} + + +/*! + * @brief This function sets a value in member double_opt_field + * @param _double_opt_field New value for member double_opt_field + */ +void CompleteTestType::double_opt_field( + double _double_opt_field) +{ + m_double_opt_field = _double_opt_field; +} + +/*! + * @brief This function returns the value of member double_opt_field + * @return Value of member double_opt_field + */ +double CompleteTestType::double_opt_field() const +{ + return m_double_opt_field; +} + +/*! + * @brief This function returns a reference to member double_opt_field + * @return Reference to member double_opt_field + */ +double& CompleteTestType::double_opt_field() +{ + return m_double_opt_field; +} + + +/*! + * @brief This function sets a value in member bool_opt_field + * @param _bool_opt_field New value for member bool_opt_field + */ +void CompleteTestType::bool_opt_field( + bool _bool_opt_field) +{ + m_bool_opt_field = _bool_opt_field; +} + +/*! + * @brief This function returns the value of member bool_opt_field + * @return Value of member bool_opt_field + */ +bool CompleteTestType::bool_opt_field() const +{ + return m_bool_opt_field; +} + +/*! + * @brief This function returns a reference to member bool_opt_field + * @return Reference to member bool_opt_field + */ +bool& CompleteTestType::bool_opt_field() +{ + return m_bool_opt_field; +} + + +/*! + * @brief This function copies the value in member string_opt_field + * @param _string_opt_field New value to be copied in member string_opt_field + */ +void CompleteTestType::string_opt_field( + const std::string& _string_opt_field) +{ + m_string_opt_field = _string_opt_field; +} + +/*! + * @brief This function moves the value in member string_opt_field + * @param _string_opt_field New value to be moved in member string_opt_field + */ +void CompleteTestType::string_opt_field( + std::string&& _string_opt_field) +{ + m_string_opt_field = std::move(_string_opt_field); +} + +/*! + * @brief This function returns a constant reference to member string_opt_field + * @return Constant reference to member string_opt_field + */ +const std::string& CompleteTestType::string_opt_field() const +{ + return m_string_opt_field; +} + +/*! + * @brief This function returns a reference to member string_opt_field + * @return Reference to member string_opt_field + */ +std::string& CompleteTestType::string_opt_field() +{ + return m_string_opt_field; +} + + +/*! + * @brief This function sets a value in member enum_opt_field + * @param _enum_opt_field New value for member enum_opt_field + */ +void CompleteTestType::enum_opt_field( + eprosima::test::Color _enum_opt_field) +{ + m_enum_opt_field = _enum_opt_field; +} + +/*! + * @brief This function returns the value of member enum_opt_field + * @return Value of member enum_opt_field + */ +eprosima::test::Color CompleteTestType::enum_opt_field() const +{ + return m_enum_opt_field; +} + +/*! + * @brief This function returns a reference to member enum_opt_field + * @return Reference to member enum_opt_field + */ +eprosima::test::Color& CompleteTestType::enum_opt_field() +{ + return m_enum_opt_field; +} + + +/*! + * @brief This function sets a value in member enum2_opt_field + * @param _enum2_opt_field New value for member enum2_opt_field + */ +void CompleteTestType::enum2_opt_field( + eprosima::test::Material _enum2_opt_field) +{ + m_enum2_opt_field = _enum2_opt_field; +} + +/*! + * @brief This function returns the value of member enum2_opt_field + * @return Value of member enum2_opt_field + */ +eprosima::test::Material CompleteTestType::enum2_opt_field() const +{ + return m_enum2_opt_field; +} + +/*! + * @brief This function returns a reference to member enum2_opt_field + * @return Reference to member enum2_opt_field + */ +eprosima::test::Material& CompleteTestType::enum2_opt_field() +{ + return m_enum2_opt_field; +} + + +/*! + * @brief This function copies the value in member struct_opt_field + * @param _struct_opt_field New value to be copied in member struct_opt_field + */ +void CompleteTestType::struct_opt_field( + const eprosima::test::StructType& _struct_opt_field) +{ + m_struct_opt_field = _struct_opt_field; +} + +/*! + * @brief This function moves the value in member struct_opt_field + * @param _struct_opt_field New value to be moved in member struct_opt_field + */ +void CompleteTestType::struct_opt_field( + eprosima::test::StructType&& _struct_opt_field) +{ + m_struct_opt_field = std::move(_struct_opt_field); +} + +/*! + * @brief This function returns a constant reference to member struct_opt_field + * @return Constant reference to member struct_opt_field + */ +const eprosima::test::StructType& CompleteTestType::struct_opt_field() const +{ + return m_struct_opt_field; +} + +/*! + * @brief This function returns a reference to member struct_opt_field + * @return Reference to member struct_opt_field + */ +eprosima::test::StructType& CompleteTestType::struct_opt_field() +{ + return m_struct_opt_field; +} + + +/*! + * @brief This function copies the value in member array_char_field + * @param _array_char_field New value to be copied in member array_char_field + */ +void CompleteTestType::array_char_field( + const std::array& _array_char_field) +{ + m_array_char_field = _array_char_field; +} + +/*! + * @brief This function moves the value in member array_char_field + * @param _array_char_field New value to be moved in member array_char_field + */ +void CompleteTestType::array_char_field( + std::array&& _array_char_field) +{ + m_array_char_field = std::move(_array_char_field); +} + +/*! + * @brief This function returns a constant reference to member array_char_field + * @return Constant reference to member array_char_field + */ +const std::array& CompleteTestType::array_char_field() const +{ + return m_array_char_field; +} + +/*! + * @brief This function returns a reference to member array_char_field + * @return Reference to member array_char_field + */ +std::array& CompleteTestType::array_char_field() +{ + return m_array_char_field; +} + + +/*! + * @brief This function copies the value in member array_uint8_field + * @param _array_uint8_field New value to be copied in member array_uint8_field + */ +void CompleteTestType::array_uint8_field( + const std::array& _array_uint8_field) +{ + m_array_uint8_field = _array_uint8_field; +} + +/*! + * @brief This function moves the value in member array_uint8_field + * @param _array_uint8_field New value to be moved in member array_uint8_field + */ +void CompleteTestType::array_uint8_field( + std::array&& _array_uint8_field) +{ + m_array_uint8_field = std::move(_array_uint8_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint8_field + * @return Constant reference to member array_uint8_field + */ +const std::array& CompleteTestType::array_uint8_field() const +{ + return m_array_uint8_field; +} + +/*! + * @brief This function returns a reference to member array_uint8_field + * @return Reference to member array_uint8_field + */ +std::array& CompleteTestType::array_uint8_field() +{ + return m_array_uint8_field; +} + + +/*! + * @brief This function copies the value in member array_int16_field + * @param _array_int16_field New value to be copied in member array_int16_field + */ +void CompleteTestType::array_int16_field( + const std::array& _array_int16_field) +{ + m_array_int16_field = _array_int16_field; +} + +/*! + * @brief This function moves the value in member array_int16_field + * @param _array_int16_field New value to be moved in member array_int16_field + */ +void CompleteTestType::array_int16_field( + std::array&& _array_int16_field) +{ + m_array_int16_field = std::move(_array_int16_field); +} + +/*! + * @brief This function returns a constant reference to member array_int16_field + * @return Constant reference to member array_int16_field + */ +const std::array& CompleteTestType::array_int16_field() const +{ + return m_array_int16_field; +} + +/*! + * @brief This function returns a reference to member array_int16_field + * @return Reference to member array_int16_field + */ +std::array& CompleteTestType::array_int16_field() +{ + return m_array_int16_field; +} + + +/*! + * @brief This function copies the value in member array_uint16_field + * @param _array_uint16_field New value to be copied in member array_uint16_field + */ +void CompleteTestType::array_uint16_field( + const std::array& _array_uint16_field) +{ + m_array_uint16_field = _array_uint16_field; +} + +/*! + * @brief This function moves the value in member array_uint16_field + * @param _array_uint16_field New value to be moved in member array_uint16_field + */ +void CompleteTestType::array_uint16_field( + std::array&& _array_uint16_field) +{ + m_array_uint16_field = std::move(_array_uint16_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint16_field + * @return Constant reference to member array_uint16_field + */ +const std::array& CompleteTestType::array_uint16_field() const +{ + return m_array_uint16_field; +} + +/*! + * @brief This function returns a reference to member array_uint16_field + * @return Reference to member array_uint16_field + */ +std::array& CompleteTestType::array_uint16_field() +{ + return m_array_uint16_field; +} + + +/*! + * @brief This function copies the value in member array_int32_field + * @param _array_int32_field New value to be copied in member array_int32_field + */ +void CompleteTestType::array_int32_field( + const std::array& _array_int32_field) +{ + m_array_int32_field = _array_int32_field; +} + +/*! + * @brief This function moves the value in member array_int32_field + * @param _array_int32_field New value to be moved in member array_int32_field + */ +void CompleteTestType::array_int32_field( + std::array&& _array_int32_field) +{ + m_array_int32_field = std::move(_array_int32_field); +} + +/*! + * @brief This function returns a constant reference to member array_int32_field + * @return Constant reference to member array_int32_field + */ +const std::array& CompleteTestType::array_int32_field() const +{ + return m_array_int32_field; +} + +/*! + * @brief This function returns a reference to member array_int32_field + * @return Reference to member array_int32_field + */ +std::array& CompleteTestType::array_int32_field() +{ + return m_array_int32_field; +} + + +/*! + * @brief This function copies the value in member array_uint32_field + * @param _array_uint32_field New value to be copied in member array_uint32_field + */ +void CompleteTestType::array_uint32_field( + const std::array& _array_uint32_field) +{ + m_array_uint32_field = _array_uint32_field; +} + +/*! + * @brief This function moves the value in member array_uint32_field + * @param _array_uint32_field New value to be moved in member array_uint32_field + */ +void CompleteTestType::array_uint32_field( + std::array&& _array_uint32_field) +{ + m_array_uint32_field = std::move(_array_uint32_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint32_field + * @return Constant reference to member array_uint32_field + */ +const std::array& CompleteTestType::array_uint32_field() const +{ + return m_array_uint32_field; +} + +/*! + * @brief This function returns a reference to member array_uint32_field + * @return Reference to member array_uint32_field + */ +std::array& CompleteTestType::array_uint32_field() +{ + return m_array_uint32_field; +} + + +/*! + * @brief This function copies the value in member array_int64_field + * @param _array_int64_field New value to be copied in member array_int64_field + */ +void CompleteTestType::array_int64_field( + const std::array& _array_int64_field) +{ + m_array_int64_field = _array_int64_field; +} + +/*! + * @brief This function moves the value in member array_int64_field + * @param _array_int64_field New value to be moved in member array_int64_field + */ +void CompleteTestType::array_int64_field( + std::array&& _array_int64_field) +{ + m_array_int64_field = std::move(_array_int64_field); +} + +/*! + * @brief This function returns a constant reference to member array_int64_field + * @return Constant reference to member array_int64_field + */ +const std::array& CompleteTestType::array_int64_field() const +{ + return m_array_int64_field; +} + +/*! + * @brief This function returns a reference to member array_int64_field + * @return Reference to member array_int64_field + */ +std::array& CompleteTestType::array_int64_field() +{ + return m_array_int64_field; +} + + +/*! + * @brief This function copies the value in member array_uint64_field + * @param _array_uint64_field New value to be copied in member array_uint64_field + */ +void CompleteTestType::array_uint64_field( + const std::array& _array_uint64_field) +{ + m_array_uint64_field = _array_uint64_field; +} + +/*! + * @brief This function moves the value in member array_uint64_field + * @param _array_uint64_field New value to be moved in member array_uint64_field + */ +void CompleteTestType::array_uint64_field( + std::array&& _array_uint64_field) +{ + m_array_uint64_field = std::move(_array_uint64_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint64_field + * @return Constant reference to member array_uint64_field + */ +const std::array& CompleteTestType::array_uint64_field() const +{ + return m_array_uint64_field; +} + +/*! + * @brief This function returns a reference to member array_uint64_field + * @return Reference to member array_uint64_field + */ +std::array& CompleteTestType::array_uint64_field() +{ + return m_array_uint64_field; +} + + +/*! + * @brief This function copies the value in member array_float_field + * @param _array_float_field New value to be copied in member array_float_field + */ +void CompleteTestType::array_float_field( + const std::array& _array_float_field) +{ + m_array_float_field = _array_float_field; +} + +/*! + * @brief This function moves the value in member array_float_field + * @param _array_float_field New value to be moved in member array_float_field + */ +void CompleteTestType::array_float_field( + std::array&& _array_float_field) +{ + m_array_float_field = std::move(_array_float_field); +} + +/*! + * @brief This function returns a constant reference to member array_float_field + * @return Constant reference to member array_float_field + */ +const std::array& CompleteTestType::array_float_field() const +{ + return m_array_float_field; +} + +/*! + * @brief This function returns a reference to member array_float_field + * @return Reference to member array_float_field + */ +std::array& CompleteTestType::array_float_field() +{ + return m_array_float_field; +} + + +/*! + * @brief This function copies the value in member array_double_field + * @param _array_double_field New value to be copied in member array_double_field + */ +void CompleteTestType::array_double_field( + const std::array& _array_double_field) +{ + m_array_double_field = _array_double_field; +} + +/*! + * @brief This function moves the value in member array_double_field + * @param _array_double_field New value to be moved in member array_double_field + */ +void CompleteTestType::array_double_field( + std::array&& _array_double_field) +{ + m_array_double_field = std::move(_array_double_field); +} + +/*! + * @brief This function returns a constant reference to member array_double_field + * @return Constant reference to member array_double_field + */ +const std::array& CompleteTestType::array_double_field() const +{ + return m_array_double_field; +} + +/*! + * @brief This function returns a reference to member array_double_field + * @return Reference to member array_double_field + */ +std::array& CompleteTestType::array_double_field() +{ + return m_array_double_field; +} + + +/*! + * @brief This function copies the value in member array_bool_field + * @param _array_bool_field New value to be copied in member array_bool_field + */ +void CompleteTestType::array_bool_field( + const std::array& _array_bool_field) +{ + m_array_bool_field = _array_bool_field; +} + +/*! + * @brief This function moves the value in member array_bool_field + * @param _array_bool_field New value to be moved in member array_bool_field + */ +void CompleteTestType::array_bool_field( + std::array&& _array_bool_field) +{ + m_array_bool_field = std::move(_array_bool_field); +} + +/*! + * @brief This function returns a constant reference to member array_bool_field + * @return Constant reference to member array_bool_field + */ +const std::array& CompleteTestType::array_bool_field() const +{ + return m_array_bool_field; +} + +/*! + * @brief This function returns a reference to member array_bool_field + * @return Reference to member array_bool_field + */ +std::array& CompleteTestType::array_bool_field() +{ + return m_array_bool_field; +} + + +/*! + * @brief This function copies the value in member array_enum_field + * @param _array_enum_field New value to be copied in member array_enum_field + */ +void CompleteTestType::array_enum_field( + const std::array& _array_enum_field) +{ + m_array_enum_field = _array_enum_field; +} + +/*! + * @brief This function moves the value in member array_enum_field + * @param _array_enum_field New value to be moved in member array_enum_field + */ +void CompleteTestType::array_enum_field( + std::array&& _array_enum_field) +{ + m_array_enum_field = std::move(_array_enum_field); +} + +/*! + * @brief This function returns a constant reference to member array_enum_field + * @return Constant reference to member array_enum_field + */ +const std::array& CompleteTestType::array_enum_field() const +{ + return m_array_enum_field; +} + +/*! + * @brief This function returns a reference to member array_enum_field + * @return Reference to member array_enum_field + */ +std::array& CompleteTestType::array_enum_field() +{ + return m_array_enum_field; +} + + +/*! + * @brief This function copies the value in member array_enum2_field + * @param _array_enum2_field New value to be copied in member array_enum2_field + */ +void CompleteTestType::array_enum2_field( + const std::array& _array_enum2_field) +{ + m_array_enum2_field = _array_enum2_field; +} + +/*! + * @brief This function moves the value in member array_enum2_field + * @param _array_enum2_field New value to be moved in member array_enum2_field + */ +void CompleteTestType::array_enum2_field( + std::array&& _array_enum2_field) +{ + m_array_enum2_field = std::move(_array_enum2_field); +} + +/*! + * @brief This function returns a constant reference to member array_enum2_field + * @return Constant reference to member array_enum2_field + */ +const std::array& CompleteTestType::array_enum2_field() const +{ + return m_array_enum2_field; +} + +/*! + * @brief This function returns a reference to member array_enum2_field + * @return Reference to member array_enum2_field + */ +std::array& CompleteTestType::array_enum2_field() +{ + return m_array_enum2_field; +} + + +/*! + * @brief This function copies the value in member array_struct_field + * @param _array_struct_field New value to be copied in member array_struct_field + */ +void CompleteTestType::array_struct_field( + const std::array& _array_struct_field) +{ + m_array_struct_field = _array_struct_field; +} + +/*! + * @brief This function moves the value in member array_struct_field + * @param _array_struct_field New value to be moved in member array_struct_field + */ +void CompleteTestType::array_struct_field( + std::array&& _array_struct_field) +{ + m_array_struct_field = std::move(_array_struct_field); +} + +/*! + * @brief This function returns a constant reference to member array_struct_field + * @return Constant reference to member array_struct_field + */ +const std::array& CompleteTestType::array_struct_field() const +{ + return m_array_struct_field; +} + +/*! + * @brief This function returns a reference to member array_struct_field + * @return Reference to member array_struct_field + */ +std::array& CompleteTestType::array_struct_field() +{ + return m_array_struct_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be copied in member bounded_sequence_char_field + */ +void CompleteTestType::bounded_sequence_char_field( + const std::vector& _bounded_sequence_char_field) +{ + m_bounded_sequence_char_field = _bounded_sequence_char_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be moved in member bounded_sequence_char_field + */ +void CompleteTestType::bounded_sequence_char_field( + std::vector&& _bounded_sequence_char_field) +{ + m_bounded_sequence_char_field = std::move(_bounded_sequence_char_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_char_field + * @return Constant reference to member bounded_sequence_char_field + */ +const std::vector& CompleteTestType::bounded_sequence_char_field() const +{ + return m_bounded_sequence_char_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_char_field + * @return Reference to member bounded_sequence_char_field + */ +std::vector& CompleteTestType::bounded_sequence_char_field() +{ + return m_bounded_sequence_char_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be copied in member bounded_sequence_uint8_field + */ +void CompleteTestType::bounded_sequence_uint8_field( + const std::vector& _bounded_sequence_uint8_field) +{ + m_bounded_sequence_uint8_field = _bounded_sequence_uint8_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be moved in member bounded_sequence_uint8_field + */ +void CompleteTestType::bounded_sequence_uint8_field( + std::vector&& _bounded_sequence_uint8_field) +{ + m_bounded_sequence_uint8_field = std::move(_bounded_sequence_uint8_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint8_field + * @return Constant reference to member bounded_sequence_uint8_field + */ +const std::vector& CompleteTestType::bounded_sequence_uint8_field() const +{ + return m_bounded_sequence_uint8_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint8_field + * @return Reference to member bounded_sequence_uint8_field + */ +std::vector& CompleteTestType::bounded_sequence_uint8_field() +{ + return m_bounded_sequence_uint8_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be copied in member bounded_sequence_int16_field + */ +void CompleteTestType::bounded_sequence_int16_field( + const std::vector& _bounded_sequence_int16_field) +{ + m_bounded_sequence_int16_field = _bounded_sequence_int16_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be moved in member bounded_sequence_int16_field + */ +void CompleteTestType::bounded_sequence_int16_field( + std::vector&& _bounded_sequence_int16_field) +{ + m_bounded_sequence_int16_field = std::move(_bounded_sequence_int16_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_int16_field + * @return Constant reference to member bounded_sequence_int16_field + */ +const std::vector& CompleteTestType::bounded_sequence_int16_field() const +{ + return m_bounded_sequence_int16_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_int16_field + * @return Reference to member bounded_sequence_int16_field + */ +std::vector& CompleteTestType::bounded_sequence_int16_field() +{ + return m_bounded_sequence_int16_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be copied in member bounded_sequence_uint16_field + */ +void CompleteTestType::bounded_sequence_uint16_field( + const std::vector& _bounded_sequence_uint16_field) +{ + m_bounded_sequence_uint16_field = _bounded_sequence_uint16_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be moved in member bounded_sequence_uint16_field + */ +void CompleteTestType::bounded_sequence_uint16_field( + std::vector&& _bounded_sequence_uint16_field) +{ + m_bounded_sequence_uint16_field = std::move(_bounded_sequence_uint16_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint16_field + * @return Constant reference to member bounded_sequence_uint16_field + */ +const std::vector& CompleteTestType::bounded_sequence_uint16_field() const +{ + return m_bounded_sequence_uint16_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint16_field + * @return Reference to member bounded_sequence_uint16_field + */ +std::vector& CompleteTestType::bounded_sequence_uint16_field() +{ + return m_bounded_sequence_uint16_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be copied in member bounded_sequence_int32_field + */ +void CompleteTestType::bounded_sequence_int32_field( + const std::vector& _bounded_sequence_int32_field) +{ + m_bounded_sequence_int32_field = _bounded_sequence_int32_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be moved in member bounded_sequence_int32_field + */ +void CompleteTestType::bounded_sequence_int32_field( + std::vector&& _bounded_sequence_int32_field) +{ + m_bounded_sequence_int32_field = std::move(_bounded_sequence_int32_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_int32_field + * @return Constant reference to member bounded_sequence_int32_field + */ +const std::vector& CompleteTestType::bounded_sequence_int32_field() const +{ + return m_bounded_sequence_int32_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_int32_field + * @return Reference to member bounded_sequence_int32_field + */ +std::vector& CompleteTestType::bounded_sequence_int32_field() +{ + return m_bounded_sequence_int32_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be copied in member bounded_sequence_uint32_field + */ +void CompleteTestType::bounded_sequence_uint32_field( + const std::vector& _bounded_sequence_uint32_field) +{ + m_bounded_sequence_uint32_field = _bounded_sequence_uint32_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be moved in member bounded_sequence_uint32_field + */ +void CompleteTestType::bounded_sequence_uint32_field( + std::vector&& _bounded_sequence_uint32_field) +{ + m_bounded_sequence_uint32_field = std::move(_bounded_sequence_uint32_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint32_field + * @return Constant reference to member bounded_sequence_uint32_field + */ +const std::vector& CompleteTestType::bounded_sequence_uint32_field() const +{ + return m_bounded_sequence_uint32_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint32_field + * @return Reference to member bounded_sequence_uint32_field + */ +std::vector& CompleteTestType::bounded_sequence_uint32_field() +{ + return m_bounded_sequence_uint32_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be copied in member bounded_sequence_int64_field + */ +void CompleteTestType::bounded_sequence_int64_field( + const std::vector& _bounded_sequence_int64_field) +{ + m_bounded_sequence_int64_field = _bounded_sequence_int64_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be moved in member bounded_sequence_int64_field + */ +void CompleteTestType::bounded_sequence_int64_field( + std::vector&& _bounded_sequence_int64_field) +{ + m_bounded_sequence_int64_field = std::move(_bounded_sequence_int64_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_int64_field + * @return Constant reference to member bounded_sequence_int64_field + */ +const std::vector& CompleteTestType::bounded_sequence_int64_field() const +{ + return m_bounded_sequence_int64_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_int64_field + * @return Reference to member bounded_sequence_int64_field + */ +std::vector& CompleteTestType::bounded_sequence_int64_field() +{ + return m_bounded_sequence_int64_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be copied in member bounded_sequence_uint64_field + */ +void CompleteTestType::bounded_sequence_uint64_field( + const std::vector& _bounded_sequence_uint64_field) +{ + m_bounded_sequence_uint64_field = _bounded_sequence_uint64_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be moved in member bounded_sequence_uint64_field + */ +void CompleteTestType::bounded_sequence_uint64_field( + std::vector&& _bounded_sequence_uint64_field) +{ + m_bounded_sequence_uint64_field = std::move(_bounded_sequence_uint64_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint64_field + * @return Constant reference to member bounded_sequence_uint64_field + */ +const std::vector& CompleteTestType::bounded_sequence_uint64_field() const +{ + return m_bounded_sequence_uint64_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint64_field + * @return Reference to member bounded_sequence_uint64_field + */ +std::vector& CompleteTestType::bounded_sequence_uint64_field() +{ + return m_bounded_sequence_uint64_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be copied in member bounded_sequence_float_field + */ +void CompleteTestType::bounded_sequence_float_field( + const std::vector& _bounded_sequence_float_field) +{ + m_bounded_sequence_float_field = _bounded_sequence_float_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be moved in member bounded_sequence_float_field + */ +void CompleteTestType::bounded_sequence_float_field( + std::vector&& _bounded_sequence_float_field) +{ + m_bounded_sequence_float_field = std::move(_bounded_sequence_float_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_float_field + * @return Constant reference to member bounded_sequence_float_field + */ +const std::vector& CompleteTestType::bounded_sequence_float_field() const +{ + return m_bounded_sequence_float_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_float_field + * @return Reference to member bounded_sequence_float_field + */ +std::vector& CompleteTestType::bounded_sequence_float_field() +{ + return m_bounded_sequence_float_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be copied in member bounded_sequence_double_field + */ +void CompleteTestType::bounded_sequence_double_field( + const std::vector& _bounded_sequence_double_field) +{ + m_bounded_sequence_double_field = _bounded_sequence_double_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be moved in member bounded_sequence_double_field + */ +void CompleteTestType::bounded_sequence_double_field( + std::vector&& _bounded_sequence_double_field) +{ + m_bounded_sequence_double_field = std::move(_bounded_sequence_double_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_double_field + * @return Constant reference to member bounded_sequence_double_field + */ +const std::vector& CompleteTestType::bounded_sequence_double_field() const +{ + return m_bounded_sequence_double_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_double_field + * @return Reference to member bounded_sequence_double_field + */ +std::vector& CompleteTestType::bounded_sequence_double_field() +{ + return m_bounded_sequence_double_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be copied in member bounded_sequence_bool_field + */ +void CompleteTestType::bounded_sequence_bool_field( + const std::vector& _bounded_sequence_bool_field) +{ + m_bounded_sequence_bool_field = _bounded_sequence_bool_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be moved in member bounded_sequence_bool_field + */ +void CompleteTestType::bounded_sequence_bool_field( + std::vector&& _bounded_sequence_bool_field) +{ + m_bounded_sequence_bool_field = std::move(_bounded_sequence_bool_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_bool_field + * @return Constant reference to member bounded_sequence_bool_field + */ +const std::vector& CompleteTestType::bounded_sequence_bool_field() const +{ + return m_bounded_sequence_bool_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_bool_field + * @return Reference to member bounded_sequence_bool_field + */ +std::vector& CompleteTestType::bounded_sequence_bool_field() +{ + return m_bounded_sequence_bool_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be copied in member bounded_sequence_enum_field + */ +void CompleteTestType::bounded_sequence_enum_field( + const std::vector& _bounded_sequence_enum_field) +{ + m_bounded_sequence_enum_field = _bounded_sequence_enum_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be moved in member bounded_sequence_enum_field + */ +void CompleteTestType::bounded_sequence_enum_field( + std::vector&& _bounded_sequence_enum_field) +{ + m_bounded_sequence_enum_field = std::move(_bounded_sequence_enum_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_enum_field + * @return Constant reference to member bounded_sequence_enum_field + */ +const std::vector& CompleteTestType::bounded_sequence_enum_field() const +{ + return m_bounded_sequence_enum_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_enum_field + * @return Reference to member bounded_sequence_enum_field + */ +std::vector& CompleteTestType::bounded_sequence_enum_field() +{ + return m_bounded_sequence_enum_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be copied in member bounded_sequence_enum2_field + */ +void CompleteTestType::bounded_sequence_enum2_field( + const std::vector& _bounded_sequence_enum2_field) +{ + m_bounded_sequence_enum2_field = _bounded_sequence_enum2_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be moved in member bounded_sequence_enum2_field + */ +void CompleteTestType::bounded_sequence_enum2_field( + std::vector&& _bounded_sequence_enum2_field) +{ + m_bounded_sequence_enum2_field = std::move(_bounded_sequence_enum2_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_enum2_field + * @return Constant reference to member bounded_sequence_enum2_field + */ +const std::vector& CompleteTestType::bounded_sequence_enum2_field() const +{ + return m_bounded_sequence_enum2_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_enum2_field + * @return Reference to member bounded_sequence_enum2_field + */ +std::vector& CompleteTestType::bounded_sequence_enum2_field() +{ + return m_bounded_sequence_enum2_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be copied in member bounded_sequence_struct_field + */ +void CompleteTestType::bounded_sequence_struct_field( + const std::vector& _bounded_sequence_struct_field) +{ + m_bounded_sequence_struct_field = _bounded_sequence_struct_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be moved in member bounded_sequence_struct_field + */ +void CompleteTestType::bounded_sequence_struct_field( + std::vector&& _bounded_sequence_struct_field) +{ + m_bounded_sequence_struct_field = std::move(_bounded_sequence_struct_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_struct_field + * @return Constant reference to member bounded_sequence_struct_field + */ +const std::vector& CompleteTestType::bounded_sequence_struct_field() const +{ + return m_bounded_sequence_struct_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_struct_field + * @return Reference to member bounded_sequence_struct_field + */ +std::vector& CompleteTestType::bounded_sequence_struct_field() +{ + return m_bounded_sequence_struct_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be copied in member unbounded_sequence_char_field + */ +void CompleteTestType::unbounded_sequence_char_field( + const std::vector& _unbounded_sequence_char_field) +{ + m_unbounded_sequence_char_field = _unbounded_sequence_char_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be moved in member unbounded_sequence_char_field + */ +void CompleteTestType::unbounded_sequence_char_field( + std::vector&& _unbounded_sequence_char_field) +{ + m_unbounded_sequence_char_field = std::move(_unbounded_sequence_char_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_char_field + * @return Constant reference to member unbounded_sequence_char_field + */ +const std::vector& CompleteTestType::unbounded_sequence_char_field() const +{ + return m_unbounded_sequence_char_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_char_field + * @return Reference to member unbounded_sequence_char_field + */ +std::vector& CompleteTestType::unbounded_sequence_char_field() +{ + return m_unbounded_sequence_char_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be copied in member unbounded_sequence_uint8_field + */ +void CompleteTestType::unbounded_sequence_uint8_field( + const std::vector& _unbounded_sequence_uint8_field) +{ + m_unbounded_sequence_uint8_field = _unbounded_sequence_uint8_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be moved in member unbounded_sequence_uint8_field + */ +void CompleteTestType::unbounded_sequence_uint8_field( + std::vector&& _unbounded_sequence_uint8_field) +{ + m_unbounded_sequence_uint8_field = std::move(_unbounded_sequence_uint8_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint8_field + * @return Constant reference to member unbounded_sequence_uint8_field + */ +const std::vector& CompleteTestType::unbounded_sequence_uint8_field() const +{ + return m_unbounded_sequence_uint8_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint8_field + * @return Reference to member unbounded_sequence_uint8_field + */ +std::vector& CompleteTestType::unbounded_sequence_uint8_field() +{ + return m_unbounded_sequence_uint8_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be copied in member unbounded_sequence_int16_field + */ +void CompleteTestType::unbounded_sequence_int16_field( + const std::vector& _unbounded_sequence_int16_field) +{ + m_unbounded_sequence_int16_field = _unbounded_sequence_int16_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be moved in member unbounded_sequence_int16_field + */ +void CompleteTestType::unbounded_sequence_int16_field( + std::vector&& _unbounded_sequence_int16_field) +{ + m_unbounded_sequence_int16_field = std::move(_unbounded_sequence_int16_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_int16_field + * @return Constant reference to member unbounded_sequence_int16_field + */ +const std::vector& CompleteTestType::unbounded_sequence_int16_field() const +{ + return m_unbounded_sequence_int16_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_int16_field + * @return Reference to member unbounded_sequence_int16_field + */ +std::vector& CompleteTestType::unbounded_sequence_int16_field() +{ + return m_unbounded_sequence_int16_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be copied in member unbounded_sequence_uint16_field + */ +void CompleteTestType::unbounded_sequence_uint16_field( + const std::vector& _unbounded_sequence_uint16_field) +{ + m_unbounded_sequence_uint16_field = _unbounded_sequence_uint16_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be moved in member unbounded_sequence_uint16_field + */ +void CompleteTestType::unbounded_sequence_uint16_field( + std::vector&& _unbounded_sequence_uint16_field) +{ + m_unbounded_sequence_uint16_field = std::move(_unbounded_sequence_uint16_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint16_field + * @return Constant reference to member unbounded_sequence_uint16_field + */ +const std::vector& CompleteTestType::unbounded_sequence_uint16_field() const +{ + return m_unbounded_sequence_uint16_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint16_field + * @return Reference to member unbounded_sequence_uint16_field + */ +std::vector& CompleteTestType::unbounded_sequence_uint16_field() +{ + return m_unbounded_sequence_uint16_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be copied in member unbounded_sequence_int32_field + */ +void CompleteTestType::unbounded_sequence_int32_field( + const std::vector& _unbounded_sequence_int32_field) +{ + m_unbounded_sequence_int32_field = _unbounded_sequence_int32_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be moved in member unbounded_sequence_int32_field + */ +void CompleteTestType::unbounded_sequence_int32_field( + std::vector&& _unbounded_sequence_int32_field) +{ + m_unbounded_sequence_int32_field = std::move(_unbounded_sequence_int32_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_int32_field + * @return Constant reference to member unbounded_sequence_int32_field + */ +const std::vector& CompleteTestType::unbounded_sequence_int32_field() const +{ + return m_unbounded_sequence_int32_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_int32_field + * @return Reference to member unbounded_sequence_int32_field + */ +std::vector& CompleteTestType::unbounded_sequence_int32_field() +{ + return m_unbounded_sequence_int32_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be copied in member unbounded_sequence_uint32_field + */ +void CompleteTestType::unbounded_sequence_uint32_field( + const std::vector& _unbounded_sequence_uint32_field) +{ + m_unbounded_sequence_uint32_field = _unbounded_sequence_uint32_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be moved in member unbounded_sequence_uint32_field + */ +void CompleteTestType::unbounded_sequence_uint32_field( + std::vector&& _unbounded_sequence_uint32_field) +{ + m_unbounded_sequence_uint32_field = std::move(_unbounded_sequence_uint32_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint32_field + * @return Constant reference to member unbounded_sequence_uint32_field + */ +const std::vector& CompleteTestType::unbounded_sequence_uint32_field() const +{ + return m_unbounded_sequence_uint32_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint32_field + * @return Reference to member unbounded_sequence_uint32_field + */ +std::vector& CompleteTestType::unbounded_sequence_uint32_field() +{ + return m_unbounded_sequence_uint32_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be copied in member unbounded_sequence_int64_field + */ +void CompleteTestType::unbounded_sequence_int64_field( + const std::vector& _unbounded_sequence_int64_field) +{ + m_unbounded_sequence_int64_field = _unbounded_sequence_int64_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be moved in member unbounded_sequence_int64_field + */ +void CompleteTestType::unbounded_sequence_int64_field( + std::vector&& _unbounded_sequence_int64_field) +{ + m_unbounded_sequence_int64_field = std::move(_unbounded_sequence_int64_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_int64_field + * @return Constant reference to member unbounded_sequence_int64_field + */ +const std::vector& CompleteTestType::unbounded_sequence_int64_field() const +{ + return m_unbounded_sequence_int64_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_int64_field + * @return Reference to member unbounded_sequence_int64_field + */ +std::vector& CompleteTestType::unbounded_sequence_int64_field() +{ + return m_unbounded_sequence_int64_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be copied in member unbounded_sequence_uint64_field + */ +void CompleteTestType::unbounded_sequence_uint64_field( + const std::vector& _unbounded_sequence_uint64_field) +{ + m_unbounded_sequence_uint64_field = _unbounded_sequence_uint64_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be moved in member unbounded_sequence_uint64_field + */ +void CompleteTestType::unbounded_sequence_uint64_field( + std::vector&& _unbounded_sequence_uint64_field) +{ + m_unbounded_sequence_uint64_field = std::move(_unbounded_sequence_uint64_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint64_field + * @return Constant reference to member unbounded_sequence_uint64_field + */ +const std::vector& CompleteTestType::unbounded_sequence_uint64_field() const +{ + return m_unbounded_sequence_uint64_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint64_field + * @return Reference to member unbounded_sequence_uint64_field + */ +std::vector& CompleteTestType::unbounded_sequence_uint64_field() +{ + return m_unbounded_sequence_uint64_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be copied in member unbounded_sequence_float_field + */ +void CompleteTestType::unbounded_sequence_float_field( + const std::vector& _unbounded_sequence_float_field) +{ + m_unbounded_sequence_float_field = _unbounded_sequence_float_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be moved in member unbounded_sequence_float_field + */ +void CompleteTestType::unbounded_sequence_float_field( + std::vector&& _unbounded_sequence_float_field) +{ + m_unbounded_sequence_float_field = std::move(_unbounded_sequence_float_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_float_field + * @return Constant reference to member unbounded_sequence_float_field + */ +const std::vector& CompleteTestType::unbounded_sequence_float_field() const +{ + return m_unbounded_sequence_float_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_float_field + * @return Reference to member unbounded_sequence_float_field + */ +std::vector& CompleteTestType::unbounded_sequence_float_field() +{ + return m_unbounded_sequence_float_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be copied in member unbounded_sequence_double_field + */ +void CompleteTestType::unbounded_sequence_double_field( + const std::vector& _unbounded_sequence_double_field) +{ + m_unbounded_sequence_double_field = _unbounded_sequence_double_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be moved in member unbounded_sequence_double_field + */ +void CompleteTestType::unbounded_sequence_double_field( + std::vector&& _unbounded_sequence_double_field) +{ + m_unbounded_sequence_double_field = std::move(_unbounded_sequence_double_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_double_field + * @return Constant reference to member unbounded_sequence_double_field + */ +const std::vector& CompleteTestType::unbounded_sequence_double_field() const +{ + return m_unbounded_sequence_double_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_double_field + * @return Reference to member unbounded_sequence_double_field + */ +std::vector& CompleteTestType::unbounded_sequence_double_field() +{ + return m_unbounded_sequence_double_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be copied in member unbounded_sequence_bool_field + */ +void CompleteTestType::unbounded_sequence_bool_field( + const std::vector& _unbounded_sequence_bool_field) +{ + m_unbounded_sequence_bool_field = _unbounded_sequence_bool_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be moved in member unbounded_sequence_bool_field + */ +void CompleteTestType::unbounded_sequence_bool_field( + std::vector&& _unbounded_sequence_bool_field) +{ + m_unbounded_sequence_bool_field = std::move(_unbounded_sequence_bool_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_bool_field + * @return Constant reference to member unbounded_sequence_bool_field + */ +const std::vector& CompleteTestType::unbounded_sequence_bool_field() const +{ + return m_unbounded_sequence_bool_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_bool_field + * @return Reference to member unbounded_sequence_bool_field + */ +std::vector& CompleteTestType::unbounded_sequence_bool_field() +{ + return m_unbounded_sequence_bool_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be copied in member unbounded_sequence_enum_field + */ +void CompleteTestType::unbounded_sequence_enum_field( + const std::vector& _unbounded_sequence_enum_field) +{ + m_unbounded_sequence_enum_field = _unbounded_sequence_enum_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be moved in member unbounded_sequence_enum_field + */ +void CompleteTestType::unbounded_sequence_enum_field( + std::vector&& _unbounded_sequence_enum_field) +{ + m_unbounded_sequence_enum_field = std::move(_unbounded_sequence_enum_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_enum_field + * @return Constant reference to member unbounded_sequence_enum_field + */ +const std::vector& CompleteTestType::unbounded_sequence_enum_field() const +{ + return m_unbounded_sequence_enum_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_enum_field + * @return Reference to member unbounded_sequence_enum_field + */ +std::vector& CompleteTestType::unbounded_sequence_enum_field() +{ + return m_unbounded_sequence_enum_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be copied in member unbounded_sequence_enum2_field + */ +void CompleteTestType::unbounded_sequence_enum2_field( + const std::vector& _unbounded_sequence_enum2_field) +{ + m_unbounded_sequence_enum2_field = _unbounded_sequence_enum2_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be moved in member unbounded_sequence_enum2_field + */ +void CompleteTestType::unbounded_sequence_enum2_field( + std::vector&& _unbounded_sequence_enum2_field) +{ + m_unbounded_sequence_enum2_field = std::move(_unbounded_sequence_enum2_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_enum2_field + * @return Constant reference to member unbounded_sequence_enum2_field + */ +const std::vector& CompleteTestType::unbounded_sequence_enum2_field() const +{ + return m_unbounded_sequence_enum2_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_enum2_field + * @return Reference to member unbounded_sequence_enum2_field + */ +std::vector& CompleteTestType::unbounded_sequence_enum2_field() +{ + return m_unbounded_sequence_enum2_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be copied in member unbounded_sequence_struct_field + */ +void CompleteTestType::unbounded_sequence_struct_field( + const std::vector& _unbounded_sequence_struct_field) +{ + m_unbounded_sequence_struct_field = _unbounded_sequence_struct_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be moved in member unbounded_sequence_struct_field + */ +void CompleteTestType::unbounded_sequence_struct_field( + std::vector&& _unbounded_sequence_struct_field) +{ + m_unbounded_sequence_struct_field = std::move(_unbounded_sequence_struct_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_struct_field + * @return Constant reference to member unbounded_sequence_struct_field + */ +const std::vector& CompleteTestType::unbounded_sequence_struct_field() const +{ + return m_unbounded_sequence_struct_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_struct_field + * @return Reference to member unbounded_sequence_struct_field + */ +std::vector& CompleteTestType::unbounded_sequence_struct_field() +{ + return m_unbounded_sequence_struct_field; +} + + + + + + + +KeyedCompleteTestType::KeyedCompleteTestType() +{ + // long m_id + m_id = 0; + // char m_char_field + m_char_field = 0; + // octet m_uint8_field + m_uint8_field = 0; + // short m_int16_field + m_int16_field = 0; + // unsigned short m_uint16_field + m_uint16_field = 0; + // long m_int32_field + m_int32_field = 0; + // unsigned long m_uint32_field + m_uint32_field = 0; + // long long m_int64_field + m_int64_field = 0; + // unsigned long long m_uint64_field + m_uint64_field = 0; + // float m_float_field + m_float_field = 0.0; + // double m_double_field + m_double_field = 0.0; + // boolean m_bool_field + m_bool_field = false; + // /type_d() m_string_field + + // eprosima::test::Color m_enum_field + m_enum_field = eprosima::test::RED; + // eprosima::test::Material m_enum2_field + m_enum2_field = eprosima::test::WOOD; + // eprosima::test::StructType m_struct_field + + // char m_char_opt_field + m_char_opt_field = 0; + // octet m_uint8_opt_field + m_uint8_opt_field = 0; + // short m_int16_opt_field + m_int16_opt_field = 0; + // unsigned short m_uint16_opt_field + m_uint16_opt_field = 0; + // long m_int32_opt_field + m_int32_opt_field = 0; + // unsigned long m_uint32_opt_field + m_uint32_opt_field = 0; + // long long m_int64_opt_field + m_int64_opt_field = 0; + // unsigned long long m_uint64_opt_field + m_uint64_opt_field = 0; + // float m_float_opt_field + m_float_opt_field = 0.0; + // double m_double_opt_field + m_double_opt_field = 0.0; + // boolean m_bool_opt_field + m_bool_opt_field = false; + // /type_d() m_string_opt_field + + // eprosima::test::Color m_enum_opt_field + m_enum_opt_field = eprosima::test::RED; + // eprosima::test::Material m_enum2_opt_field + m_enum2_opt_field = eprosima::test::WOOD; + // eprosima::test::StructType m_struct_opt_field + + // char m_array_char_field + memset(&m_array_char_field, 0, ((eprosima::test::max_array_size)) * 1); + // octet m_array_uint8_field + memset(&m_array_uint8_field, 0, ((eprosima::test::max_array_size)) * 1); + // short m_array_int16_field + memset(&m_array_int16_field, 0, ((eprosima::test::max_array_size)) * 2); + // unsigned short m_array_uint16_field + memset(&m_array_uint16_field, 0, ((eprosima::test::max_array_size)) * 2); + // long m_array_int32_field + memset(&m_array_int32_field, 0, ((eprosima::test::max_array_size)) * 4); + // unsigned long m_array_uint32_field + memset(&m_array_uint32_field, 0, ((eprosima::test::max_array_size)) * 4); + // long long m_array_int64_field + memset(&m_array_int64_field, 0, ((eprosima::test::max_array_size)) * 8); + // unsigned long long m_array_uint64_field + memset(&m_array_uint64_field, 0, ((eprosima::test::max_array_size)) * 8); + // float m_array_float_field + memset(&m_array_float_field, 0, ((eprosima::test::max_array_size)) * 4); + // double m_array_double_field + memset(&m_array_double_field, 0, ((eprosima::test::max_array_size)) * 8); + // boolean m_array_bool_field + memset(&m_array_bool_field, 0, ((eprosima::test::max_array_size)) * 1); + // eprosima::test::Color m_array_enum_field + memset(&m_array_enum_field, 0, ((eprosima::test::max_array_size)) * 4); + // eprosima::test::Material m_array_enum2_field + memset(&m_array_enum2_field, 0, ((eprosima::test::max_array_size)) * 4); + // eprosima::test::StructType m_array_struct_field + + // sequence m_bounded_sequence_char_field + + // sequence m_bounded_sequence_uint8_field + + // sequence m_bounded_sequence_int16_field + + // sequence m_bounded_sequence_uint16_field + + // sequence m_bounded_sequence_int32_field + + // sequence m_bounded_sequence_uint32_field + + // sequence m_bounded_sequence_int64_field + + // sequence m_bounded_sequence_uint64_field + + // sequence m_bounded_sequence_float_field + + // sequence m_bounded_sequence_double_field + + // sequence m_bounded_sequence_bool_field + + // sequence m_bounded_sequence_enum_field + + // sequence m_bounded_sequence_enum2_field + + // sequence m_bounded_sequence_struct_field + + // sequence m_unbounded_sequence_char_field + + // sequence m_unbounded_sequence_uint8_field + + // sequence m_unbounded_sequence_int16_field + + // sequence m_unbounded_sequence_uint16_field + + // sequence m_unbounded_sequence_int32_field + + // sequence m_unbounded_sequence_uint32_field + + // sequence m_unbounded_sequence_int64_field + + // sequence m_unbounded_sequence_uint64_field + + // sequence m_unbounded_sequence_float_field + + // sequence m_unbounded_sequence_double_field + + // sequence m_unbounded_sequence_bool_field + + // sequence m_unbounded_sequence_enum_field + + // sequence m_unbounded_sequence_enum2_field + + // sequence m_unbounded_sequence_struct_field + + +} + +KeyedCompleteTestType::~KeyedCompleteTestType() +{ +} + +KeyedCompleteTestType::KeyedCompleteTestType( + const KeyedCompleteTestType& x) +{ + m_id = x.m_id; + + + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = x.m_string_field; + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = x.m_struct_field; + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = x.m_string_opt_field; + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = x.m_struct_opt_field; + + + m_array_char_field = x.m_array_char_field; + + + m_array_uint8_field = x.m_array_uint8_field; + + + m_array_int16_field = x.m_array_int16_field; + + + m_array_uint16_field = x.m_array_uint16_field; + + + m_array_int32_field = x.m_array_int32_field; + + + m_array_uint32_field = x.m_array_uint32_field; + + + m_array_int64_field = x.m_array_int64_field; + + + m_array_uint64_field = x.m_array_uint64_field; + + + m_array_float_field = x.m_array_float_field; + + + m_array_double_field = x.m_array_double_field; + + + m_array_bool_field = x.m_array_bool_field; + + + m_array_enum_field = x.m_array_enum_field; + + + m_array_enum2_field = x.m_array_enum2_field; + + + m_array_struct_field = x.m_array_struct_field; + + + m_bounded_sequence_char_field = x.m_bounded_sequence_char_field; + + + m_bounded_sequence_uint8_field = x.m_bounded_sequence_uint8_field; + + + m_bounded_sequence_int16_field = x.m_bounded_sequence_int16_field; + + + m_bounded_sequence_uint16_field = x.m_bounded_sequence_uint16_field; + + + m_bounded_sequence_int32_field = x.m_bounded_sequence_int32_field; + + + m_bounded_sequence_uint32_field = x.m_bounded_sequence_uint32_field; + + + m_bounded_sequence_int64_field = x.m_bounded_sequence_int64_field; + + + m_bounded_sequence_uint64_field = x.m_bounded_sequence_uint64_field; + + + m_bounded_sequence_float_field = x.m_bounded_sequence_float_field; + + + m_bounded_sequence_double_field = x.m_bounded_sequence_double_field; + + + m_bounded_sequence_bool_field = x.m_bounded_sequence_bool_field; + + + m_bounded_sequence_enum_field = x.m_bounded_sequence_enum_field; + + + m_bounded_sequence_enum2_field = x.m_bounded_sequence_enum2_field; + + + m_bounded_sequence_struct_field = x.m_bounded_sequence_struct_field; + + + m_unbounded_sequence_char_field = x.m_unbounded_sequence_char_field; + + + m_unbounded_sequence_uint8_field = x.m_unbounded_sequence_uint8_field; + + + m_unbounded_sequence_int16_field = x.m_unbounded_sequence_int16_field; + + + m_unbounded_sequence_uint16_field = x.m_unbounded_sequence_uint16_field; + + + m_unbounded_sequence_int32_field = x.m_unbounded_sequence_int32_field; + + + m_unbounded_sequence_uint32_field = x.m_unbounded_sequence_uint32_field; + + + m_unbounded_sequence_int64_field = x.m_unbounded_sequence_int64_field; + + + m_unbounded_sequence_uint64_field = x.m_unbounded_sequence_uint64_field; + + + m_unbounded_sequence_float_field = x.m_unbounded_sequence_float_field; + + + m_unbounded_sequence_double_field = x.m_unbounded_sequence_double_field; + + + m_unbounded_sequence_bool_field = x.m_unbounded_sequence_bool_field; + + + m_unbounded_sequence_enum_field = x.m_unbounded_sequence_enum_field; + + + m_unbounded_sequence_enum2_field = x.m_unbounded_sequence_enum2_field; + + + m_unbounded_sequence_struct_field = x.m_unbounded_sequence_struct_field; + +} + +KeyedCompleteTestType::KeyedCompleteTestType( + KeyedCompleteTestType&& x) noexcept +{ + m_id = x.m_id; + + + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = std::move(x.m_string_field); + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = std::move(x.m_struct_field); + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = std::move(x.m_string_opt_field); + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = std::move(x.m_struct_opt_field); + + + m_array_char_field = std::move(x.m_array_char_field); + + + m_array_uint8_field = std::move(x.m_array_uint8_field); + + + m_array_int16_field = std::move(x.m_array_int16_field); + + + m_array_uint16_field = std::move(x.m_array_uint16_field); + + + m_array_int32_field = std::move(x.m_array_int32_field); + + + m_array_uint32_field = std::move(x.m_array_uint32_field); + + + m_array_int64_field = std::move(x.m_array_int64_field); + + + m_array_uint64_field = std::move(x.m_array_uint64_field); + + + m_array_float_field = std::move(x.m_array_float_field); + + + m_array_double_field = std::move(x.m_array_double_field); + + + m_array_bool_field = std::move(x.m_array_bool_field); + + + m_array_enum_field = std::move(x.m_array_enum_field); + + + m_array_enum2_field = std::move(x.m_array_enum2_field); + + + m_array_struct_field = std::move(x.m_array_struct_field); + + + m_bounded_sequence_char_field = std::move(x.m_bounded_sequence_char_field); + + + m_bounded_sequence_uint8_field = std::move(x.m_bounded_sequence_uint8_field); + + + m_bounded_sequence_int16_field = std::move(x.m_bounded_sequence_int16_field); + + + m_bounded_sequence_uint16_field = std::move(x.m_bounded_sequence_uint16_field); + + + m_bounded_sequence_int32_field = std::move(x.m_bounded_sequence_int32_field); + + + m_bounded_sequence_uint32_field = std::move(x.m_bounded_sequence_uint32_field); + + + m_bounded_sequence_int64_field = std::move(x.m_bounded_sequence_int64_field); + + + m_bounded_sequence_uint64_field = std::move(x.m_bounded_sequence_uint64_field); + + + m_bounded_sequence_float_field = std::move(x.m_bounded_sequence_float_field); + + + m_bounded_sequence_double_field = std::move(x.m_bounded_sequence_double_field); + + + m_bounded_sequence_bool_field = std::move(x.m_bounded_sequence_bool_field); + + + m_bounded_sequence_enum_field = std::move(x.m_bounded_sequence_enum_field); + + + m_bounded_sequence_enum2_field = std::move(x.m_bounded_sequence_enum2_field); + + + m_bounded_sequence_struct_field = std::move(x.m_bounded_sequence_struct_field); + + + m_unbounded_sequence_char_field = std::move(x.m_unbounded_sequence_char_field); + + + m_unbounded_sequence_uint8_field = std::move(x.m_unbounded_sequence_uint8_field); + + + m_unbounded_sequence_int16_field = std::move(x.m_unbounded_sequence_int16_field); + + + m_unbounded_sequence_uint16_field = std::move(x.m_unbounded_sequence_uint16_field); + + + m_unbounded_sequence_int32_field = std::move(x.m_unbounded_sequence_int32_field); + + + m_unbounded_sequence_uint32_field = std::move(x.m_unbounded_sequence_uint32_field); + + + m_unbounded_sequence_int64_field = std::move(x.m_unbounded_sequence_int64_field); + + + m_unbounded_sequence_uint64_field = std::move(x.m_unbounded_sequence_uint64_field); + + + m_unbounded_sequence_float_field = std::move(x.m_unbounded_sequence_float_field); + + + m_unbounded_sequence_double_field = std::move(x.m_unbounded_sequence_double_field); + + + m_unbounded_sequence_bool_field = std::move(x.m_unbounded_sequence_bool_field); + + + m_unbounded_sequence_enum_field = std::move(x.m_unbounded_sequence_enum_field); + + + m_unbounded_sequence_enum2_field = std::move(x.m_unbounded_sequence_enum2_field); + + + m_unbounded_sequence_struct_field = std::move(x.m_unbounded_sequence_struct_field); + +} + +KeyedCompleteTestType& KeyedCompleteTestType::operator =( + const KeyedCompleteTestType& x) +{ + m_id = x.m_id; + + + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = x.m_string_field; + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = x.m_struct_field; + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = x.m_string_opt_field; + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = x.m_struct_opt_field; + + + m_array_char_field = x.m_array_char_field; + + + m_array_uint8_field = x.m_array_uint8_field; + + + m_array_int16_field = x.m_array_int16_field; + + + m_array_uint16_field = x.m_array_uint16_field; + + + m_array_int32_field = x.m_array_int32_field; + + + m_array_uint32_field = x.m_array_uint32_field; + + + m_array_int64_field = x.m_array_int64_field; + + + m_array_uint64_field = x.m_array_uint64_field; + + + m_array_float_field = x.m_array_float_field; + + + m_array_double_field = x.m_array_double_field; + + + m_array_bool_field = x.m_array_bool_field; + + + m_array_enum_field = x.m_array_enum_field; + + + m_array_enum2_field = x.m_array_enum2_field; + + + m_array_struct_field = x.m_array_struct_field; + + + m_bounded_sequence_char_field = x.m_bounded_sequence_char_field; + + + m_bounded_sequence_uint8_field = x.m_bounded_sequence_uint8_field; + + + m_bounded_sequence_int16_field = x.m_bounded_sequence_int16_field; + + + m_bounded_sequence_uint16_field = x.m_bounded_sequence_uint16_field; + + + m_bounded_sequence_int32_field = x.m_bounded_sequence_int32_field; + + + m_bounded_sequence_uint32_field = x.m_bounded_sequence_uint32_field; + + + m_bounded_sequence_int64_field = x.m_bounded_sequence_int64_field; + + + m_bounded_sequence_uint64_field = x.m_bounded_sequence_uint64_field; + + + m_bounded_sequence_float_field = x.m_bounded_sequence_float_field; + + + m_bounded_sequence_double_field = x.m_bounded_sequence_double_field; + + + m_bounded_sequence_bool_field = x.m_bounded_sequence_bool_field; + + + m_bounded_sequence_enum_field = x.m_bounded_sequence_enum_field; + + + m_bounded_sequence_enum2_field = x.m_bounded_sequence_enum2_field; + + + m_bounded_sequence_struct_field = x.m_bounded_sequence_struct_field; + + + m_unbounded_sequence_char_field = x.m_unbounded_sequence_char_field; + + + m_unbounded_sequence_uint8_field = x.m_unbounded_sequence_uint8_field; + + + m_unbounded_sequence_int16_field = x.m_unbounded_sequence_int16_field; + + + m_unbounded_sequence_uint16_field = x.m_unbounded_sequence_uint16_field; + + + m_unbounded_sequence_int32_field = x.m_unbounded_sequence_int32_field; + + + m_unbounded_sequence_uint32_field = x.m_unbounded_sequence_uint32_field; + + + m_unbounded_sequence_int64_field = x.m_unbounded_sequence_int64_field; + + + m_unbounded_sequence_uint64_field = x.m_unbounded_sequence_uint64_field; + + + m_unbounded_sequence_float_field = x.m_unbounded_sequence_float_field; + + + m_unbounded_sequence_double_field = x.m_unbounded_sequence_double_field; + + + m_unbounded_sequence_bool_field = x.m_unbounded_sequence_bool_field; + + + m_unbounded_sequence_enum_field = x.m_unbounded_sequence_enum_field; + + + m_unbounded_sequence_enum2_field = x.m_unbounded_sequence_enum2_field; + + + m_unbounded_sequence_struct_field = x.m_unbounded_sequence_struct_field; + + return *this; +} + +KeyedCompleteTestType& KeyedCompleteTestType::operator =( + KeyedCompleteTestType&& x) noexcept +{ + m_id = x.m_id; + + + m_char_field = x.m_char_field; + + + m_uint8_field = x.m_uint8_field; + + + m_int16_field = x.m_int16_field; + + + m_uint16_field = x.m_uint16_field; + + + m_int32_field = x.m_int32_field; + + + m_uint32_field = x.m_uint32_field; + + + m_int64_field = x.m_int64_field; + + + m_uint64_field = x.m_uint64_field; + + + m_float_field = x.m_float_field; + + + m_double_field = x.m_double_field; + + + m_bool_field = x.m_bool_field; + + + m_string_field = std::move(x.m_string_field); + + + m_enum_field = x.m_enum_field; + + + m_enum2_field = x.m_enum2_field; + + + m_struct_field = std::move(x.m_struct_field); + + + m_char_opt_field = x.m_char_opt_field; + + + m_uint8_opt_field = x.m_uint8_opt_field; + + + m_int16_opt_field = x.m_int16_opt_field; + + + m_uint16_opt_field = x.m_uint16_opt_field; + + + m_int32_opt_field = x.m_int32_opt_field; + + + m_uint32_opt_field = x.m_uint32_opt_field; + + + m_int64_opt_field = x.m_int64_opt_field; + + + m_uint64_opt_field = x.m_uint64_opt_field; + + + m_float_opt_field = x.m_float_opt_field; + + + m_double_opt_field = x.m_double_opt_field; + + + m_bool_opt_field = x.m_bool_opt_field; + + + m_string_opt_field = std::move(x.m_string_opt_field); + + + m_enum_opt_field = x.m_enum_opt_field; + + + m_enum2_opt_field = x.m_enum2_opt_field; + + + m_struct_opt_field = std::move(x.m_struct_opt_field); + + + m_array_char_field = std::move(x.m_array_char_field); + + + m_array_uint8_field = std::move(x.m_array_uint8_field); + + + m_array_int16_field = std::move(x.m_array_int16_field); + + + m_array_uint16_field = std::move(x.m_array_uint16_field); + + + m_array_int32_field = std::move(x.m_array_int32_field); + + + m_array_uint32_field = std::move(x.m_array_uint32_field); + + + m_array_int64_field = std::move(x.m_array_int64_field); + + + m_array_uint64_field = std::move(x.m_array_uint64_field); + + + m_array_float_field = std::move(x.m_array_float_field); + + + m_array_double_field = std::move(x.m_array_double_field); + + + m_array_bool_field = std::move(x.m_array_bool_field); + + + m_array_enum_field = std::move(x.m_array_enum_field); + + + m_array_enum2_field = std::move(x.m_array_enum2_field); + + + m_array_struct_field = std::move(x.m_array_struct_field); + + + m_bounded_sequence_char_field = std::move(x.m_bounded_sequence_char_field); + + + m_bounded_sequence_uint8_field = std::move(x.m_bounded_sequence_uint8_field); + + + m_bounded_sequence_int16_field = std::move(x.m_bounded_sequence_int16_field); + + + m_bounded_sequence_uint16_field = std::move(x.m_bounded_sequence_uint16_field); + + + m_bounded_sequence_int32_field = std::move(x.m_bounded_sequence_int32_field); + + + m_bounded_sequence_uint32_field = std::move(x.m_bounded_sequence_uint32_field); + + + m_bounded_sequence_int64_field = std::move(x.m_bounded_sequence_int64_field); + + + m_bounded_sequence_uint64_field = std::move(x.m_bounded_sequence_uint64_field); + + + m_bounded_sequence_float_field = std::move(x.m_bounded_sequence_float_field); + + + m_bounded_sequence_double_field = std::move(x.m_bounded_sequence_double_field); + + + m_bounded_sequence_bool_field = std::move(x.m_bounded_sequence_bool_field); + + + m_bounded_sequence_enum_field = std::move(x.m_bounded_sequence_enum_field); + + + m_bounded_sequence_enum2_field = std::move(x.m_bounded_sequence_enum2_field); + + + m_bounded_sequence_struct_field = std::move(x.m_bounded_sequence_struct_field); + + + m_unbounded_sequence_char_field = std::move(x.m_unbounded_sequence_char_field); + + + m_unbounded_sequence_uint8_field = std::move(x.m_unbounded_sequence_uint8_field); + + + m_unbounded_sequence_int16_field = std::move(x.m_unbounded_sequence_int16_field); + + + m_unbounded_sequence_uint16_field = std::move(x.m_unbounded_sequence_uint16_field); + + + m_unbounded_sequence_int32_field = std::move(x.m_unbounded_sequence_int32_field); + + + m_unbounded_sequence_uint32_field = std::move(x.m_unbounded_sequence_uint32_field); + + + m_unbounded_sequence_int64_field = std::move(x.m_unbounded_sequence_int64_field); + + + m_unbounded_sequence_uint64_field = std::move(x.m_unbounded_sequence_uint64_field); + + + m_unbounded_sequence_float_field = std::move(x.m_unbounded_sequence_float_field); + + + m_unbounded_sequence_double_field = std::move(x.m_unbounded_sequence_double_field); + + + m_unbounded_sequence_bool_field = std::move(x.m_unbounded_sequence_bool_field); + + + m_unbounded_sequence_enum_field = std::move(x.m_unbounded_sequence_enum_field); + + + m_unbounded_sequence_enum2_field = std::move(x.m_unbounded_sequence_enum2_field); + + + m_unbounded_sequence_struct_field = std::move(x.m_unbounded_sequence_struct_field); + + return *this; +} + +bool KeyedCompleteTestType::operator ==( + const KeyedCompleteTestType& x) const +{ + return (m_id == x.m_id && + m_char_field == x.m_char_field && + m_uint8_field == x.m_uint8_field && + m_int16_field == x.m_int16_field && + m_uint16_field == x.m_uint16_field && + m_int32_field == x.m_int32_field && + m_uint32_field == x.m_uint32_field && + m_int64_field == x.m_int64_field && + m_uint64_field == x.m_uint64_field && + m_float_field == x.m_float_field && + m_double_field == x.m_double_field && + m_bool_field == x.m_bool_field && + m_string_field == x.m_string_field && + m_enum_field == x.m_enum_field && + m_enum2_field == x.m_enum2_field && + m_struct_field == x.m_struct_field && + m_char_opt_field == x.m_char_opt_field && + m_uint8_opt_field == x.m_uint8_opt_field && + m_int16_opt_field == x.m_int16_opt_field && + m_uint16_opt_field == x.m_uint16_opt_field && + m_int32_opt_field == x.m_int32_opt_field && + m_uint32_opt_field == x.m_uint32_opt_field && + m_int64_opt_field == x.m_int64_opt_field && + m_uint64_opt_field == x.m_uint64_opt_field && + m_float_opt_field == x.m_float_opt_field && + m_double_opt_field == x.m_double_opt_field && + m_bool_opt_field == x.m_bool_opt_field && + m_string_opt_field == x.m_string_opt_field && + m_enum_opt_field == x.m_enum_opt_field && + m_enum2_opt_field == x.m_enum2_opt_field && + m_struct_opt_field == x.m_struct_opt_field && + m_array_char_field == x.m_array_char_field && + m_array_uint8_field == x.m_array_uint8_field && + m_array_int16_field == x.m_array_int16_field && + m_array_uint16_field == x.m_array_uint16_field && + m_array_int32_field == x.m_array_int32_field && + m_array_uint32_field == x.m_array_uint32_field && + m_array_int64_field == x.m_array_int64_field && + m_array_uint64_field == x.m_array_uint64_field && + m_array_float_field == x.m_array_float_field && + m_array_double_field == x.m_array_double_field && + m_array_bool_field == x.m_array_bool_field && + m_array_enum_field == x.m_array_enum_field && + m_array_enum2_field == x.m_array_enum2_field && + m_array_struct_field == x.m_array_struct_field && + m_bounded_sequence_char_field == x.m_bounded_sequence_char_field && + m_bounded_sequence_uint8_field == x.m_bounded_sequence_uint8_field && + m_bounded_sequence_int16_field == x.m_bounded_sequence_int16_field && + m_bounded_sequence_uint16_field == x.m_bounded_sequence_uint16_field && + m_bounded_sequence_int32_field == x.m_bounded_sequence_int32_field && + m_bounded_sequence_uint32_field == x.m_bounded_sequence_uint32_field && + m_bounded_sequence_int64_field == x.m_bounded_sequence_int64_field && + m_bounded_sequence_uint64_field == x.m_bounded_sequence_uint64_field && + m_bounded_sequence_float_field == x.m_bounded_sequence_float_field && + m_bounded_sequence_double_field == x.m_bounded_sequence_double_field && + m_bounded_sequence_bool_field == x.m_bounded_sequence_bool_field && + m_bounded_sequence_enum_field == x.m_bounded_sequence_enum_field && + m_bounded_sequence_enum2_field == x.m_bounded_sequence_enum2_field && + m_bounded_sequence_struct_field == x.m_bounded_sequence_struct_field && + m_unbounded_sequence_char_field == x.m_unbounded_sequence_char_field && + m_unbounded_sequence_uint8_field == x.m_unbounded_sequence_uint8_field && + m_unbounded_sequence_int16_field == x.m_unbounded_sequence_int16_field && + m_unbounded_sequence_uint16_field == x.m_unbounded_sequence_uint16_field && + m_unbounded_sequence_int32_field == x.m_unbounded_sequence_int32_field && + m_unbounded_sequence_uint32_field == x.m_unbounded_sequence_uint32_field && + m_unbounded_sequence_int64_field == x.m_unbounded_sequence_int64_field && + m_unbounded_sequence_uint64_field == x.m_unbounded_sequence_uint64_field && + m_unbounded_sequence_float_field == x.m_unbounded_sequence_float_field && + m_unbounded_sequence_double_field == x.m_unbounded_sequence_double_field && + m_unbounded_sequence_bool_field == x.m_unbounded_sequence_bool_field && + m_unbounded_sequence_enum_field == x.m_unbounded_sequence_enum_field && + m_unbounded_sequence_enum2_field == x.m_unbounded_sequence_enum2_field && + m_unbounded_sequence_struct_field == x.m_unbounded_sequence_struct_field); +} + +bool KeyedCompleteTestType::operator !=( + const KeyedCompleteTestType& x) const +{ + return !(*this == x); +} + +size_t KeyedCompleteTestType::getMaxCdrSerializedSize( + size_t current_alignment) +{ + static_cast(current_alignment); + return eprosima_test_KeyedCompleteTestType_max_cdr_typesize; +} + +size_t KeyedCompleteTestType::getCdrSerializedSize( + const KeyedCompleteTestType& data, + size_t current_alignment) +{ + (void)data; + size_t initial_alignment = current_alignment; + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4) + data.string_field().size() + 1; + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += eprosima::test::StructType::getCdrSerializedSize(data.struct_field(), current_alignment); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 2 + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 8 + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + current_alignment += 1 + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4) + data.string_opt_field().size() + 1; + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += eprosima::test::StructType::getCdrSerializedSize(data.struct_opt_field(), current_alignment); + + + current_alignment += (((eprosima::test::max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + + current_alignment += (((eprosima::test::max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + + current_alignment += (((eprosima::test::max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + + current_alignment += (((eprosima::test::max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + + + + current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((eprosima::test::max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + + current_alignment += (((eprosima::test::max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + + current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((eprosima::test::max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + + + + current_alignment += (((eprosima::test::max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + + + + current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + + + for(size_t a = 0; a < data.array_struct_field().size(); ++a) + { + current_alignment += eprosima::test::StructType::getCdrSerializedSize(data.array_struct_field().at(a), current_alignment); + + } + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_char_field().size() > 0) + { + current_alignment += (data.bounded_sequence_char_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint8_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint8_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_int16_field().size() > 0) + { + current_alignment += (data.bounded_sequence_int16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint16_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_int32_field().size() > 0) + { + current_alignment += (data.bounded_sequence_int32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint32_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_int64_field().size() > 0) + { + current_alignment += (data.bounded_sequence_int64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_uint64_field().size() > 0) + { + current_alignment += (data.bounded_sequence_uint64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_float_field().size() > 0) + { + current_alignment += (data.bounded_sequence_float_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_double_field().size() > 0) + { + current_alignment += (data.bounded_sequence_double_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_bool_field().size() > 0) + { + current_alignment += (data.bounded_sequence_bool_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_enum_field().size() > 0) + { + current_alignment += (data.bounded_sequence_enum_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.bounded_sequence_enum2_field().size() > 0) + { + current_alignment += (data.bounded_sequence_enum2_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + for(size_t a = 0; a < data.bounded_sequence_struct_field().size(); ++a) + { + current_alignment += eprosima::test::StructType::getCdrSerializedSize(data.bounded_sequence_struct_field().at(a), current_alignment); + } + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_char_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_char_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint8_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint8_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_int16_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_int16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint16_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint16_field().size() * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_int32_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_int32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint32_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint32_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_int64_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_int64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_uint64_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_uint64_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_float_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_float_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_double_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_double_field().size() * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_bool_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_bool_field().size() * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_enum_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_enum_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + if (data.unbounded_sequence_enum2_field().size() > 0) + { + current_alignment += (data.unbounded_sequence_enum2_field().size() * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + } + + + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + for(size_t a = 0; a < data.unbounded_sequence_struct_field().size(); ++a) + { + current_alignment += eprosima::test::StructType::getCdrSerializedSize(data.unbounded_sequence_struct_field().at(a), current_alignment); + } + + + + return current_alignment - initial_alignment; +} + + +void KeyedCompleteTestType::serialize( + eprosima::fastcdr::Cdr& scdr) const +{ + scdr << m_id; + + scdr << m_char_field; + + scdr << m_uint8_field; + + scdr << m_int16_field; + + scdr << m_uint16_field; + + scdr << m_int32_field; + + scdr << m_uint32_field; + + scdr << m_int64_field; + + scdr << m_uint64_field; + + scdr << m_float_field; + + scdr << m_double_field; + + scdr << m_bool_field; + + scdr << m_string_field.c_str(); + + scdr << (uint32_t)m_enum_field; + + scdr << (uint32_t)m_enum2_field; + + scdr << m_struct_field; + + scdr << m_char_opt_field; + + scdr << m_uint8_opt_field; + + scdr << m_int16_opt_field; + + scdr << m_uint16_opt_field; + + scdr << m_int32_opt_field; + + scdr << m_uint32_opt_field; + + scdr << m_int64_opt_field; + + scdr << m_uint64_opt_field; + + scdr << m_float_opt_field; + + scdr << m_double_opt_field; + + scdr << m_bool_opt_field; + + scdr << m_string_opt_field.c_str(); + + scdr << (uint32_t)m_enum_opt_field; + + scdr << (uint32_t)m_enum2_opt_field; + + scdr << m_struct_opt_field; + + scdr << m_array_char_field; + + + scdr << m_array_uint8_field; + + + scdr << m_array_int16_field; + + + scdr << m_array_uint16_field; + + + scdr << m_array_int32_field; + + + scdr << m_array_uint32_field; + + + scdr << m_array_int64_field; + + + scdr << m_array_uint64_field; + + + scdr << m_array_float_field; + + + scdr << m_array_double_field; + + + scdr << m_array_bool_field; + + + scdr.serializeArray(reinterpret_cast(m_array_enum_field.data()), m_array_enum_field.size()); + + + scdr.serializeArray(reinterpret_cast(m_array_enum2_field.data()), m_array_enum2_field.size()); + + + scdr << m_array_struct_field; + + + scdr << m_bounded_sequence_char_field; + + + scdr << m_bounded_sequence_uint8_field; + + + scdr << m_bounded_sequence_int16_field; + + + scdr << m_bounded_sequence_uint16_field; + + + scdr << m_bounded_sequence_int32_field; + + + scdr << m_bounded_sequence_uint32_field; + + + scdr << m_bounded_sequence_int64_field; + + + scdr << m_bounded_sequence_uint64_field; + + + scdr << m_bounded_sequence_float_field; + + + scdr << m_bounded_sequence_double_field; + + + scdr << m_bounded_sequence_bool_field; + + + scdr << static_cast(m_bounded_sequence_enum_field.size()); + scdr.serializeArray(reinterpret_cast(m_bounded_sequence_enum_field.data()), m_bounded_sequence_enum_field.size()); + + + scdr << static_cast(m_bounded_sequence_enum2_field.size()); + scdr.serializeArray(reinterpret_cast(m_bounded_sequence_enum2_field.data()), m_bounded_sequence_enum2_field.size()); + + + scdr << m_bounded_sequence_struct_field; + + + scdr << m_unbounded_sequence_char_field; + + + scdr << m_unbounded_sequence_uint8_field; + + + scdr << m_unbounded_sequence_int16_field; + + + scdr << m_unbounded_sequence_uint16_field; + + + scdr << m_unbounded_sequence_int32_field; + + + scdr << m_unbounded_sequence_uint32_field; + + + scdr << m_unbounded_sequence_int64_field; + + + scdr << m_unbounded_sequence_uint64_field; + + + scdr << m_unbounded_sequence_float_field; + + + scdr << m_unbounded_sequence_double_field; + + + scdr << m_unbounded_sequence_bool_field; + + + scdr << static_cast(m_unbounded_sequence_enum_field.size()); + scdr.serializeArray(reinterpret_cast(m_unbounded_sequence_enum_field.data()), m_unbounded_sequence_enum_field.size()); + + + scdr << static_cast(m_unbounded_sequence_enum2_field.size()); + scdr.serializeArray(reinterpret_cast(m_unbounded_sequence_enum2_field.data()), m_unbounded_sequence_enum2_field.size()); + + + scdr << m_unbounded_sequence_struct_field; + + +} + +void KeyedCompleteTestType::deserialize( + eprosima::fastcdr::Cdr& dcdr) +{ + dcdr >> m_id; + + + + dcdr >> m_char_field; + + + + dcdr >> m_uint8_field; + + + + dcdr >> m_int16_field; + + + + dcdr >> m_uint16_field; + + + + dcdr >> m_int32_field; + + + + dcdr >> m_uint32_field; + + + + dcdr >> m_int64_field; + + + + dcdr >> m_uint64_field; + + + + dcdr >> m_float_field; + + + + dcdr >> m_double_field; + + + + dcdr >> m_bool_field; + + + + dcdr >> m_string_field; + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum_field = (eprosima::test::Color)enum_value; + } + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum2_field = (eprosima::test::Material)enum_value; + } + + + + dcdr >> m_struct_field; + + + + dcdr >> m_char_opt_field; + + + + dcdr >> m_uint8_opt_field; + + + + dcdr >> m_int16_opt_field; + + + + dcdr >> m_uint16_opt_field; + + + + dcdr >> m_int32_opt_field; + + + + dcdr >> m_uint32_opt_field; + + + + dcdr >> m_int64_opt_field; + + + + dcdr >> m_uint64_opt_field; + + + + dcdr >> m_float_opt_field; + + + + dcdr >> m_double_opt_field; + + + + dcdr >> m_bool_opt_field; + + + + dcdr >> m_string_opt_field; + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum_opt_field = (eprosima::test::Color)enum_value; + } + + + + { + uint32_t enum_value = 0; + dcdr >> enum_value; + m_enum2_opt_field = (eprosima::test::Material)enum_value; + } + + + + dcdr >> m_struct_opt_field; + + + + dcdr >> m_array_char_field; + + + + dcdr >> m_array_uint8_field; + + + + dcdr >> m_array_int16_field; + + + + dcdr >> m_array_uint16_field; + + + + dcdr >> m_array_int32_field; + + + + dcdr >> m_array_uint32_field; + + + + dcdr >> m_array_int64_field; + + + + dcdr >> m_array_uint64_field; + + + + dcdr >> m_array_float_field; + + + + dcdr >> m_array_double_field; + + + + dcdr >> m_array_bool_field; + + + + dcdr.deserializeArray(reinterpret_cast(m_array_enum_field.data()), m_array_enum_field.size()); + + + + dcdr.deserializeArray(reinterpret_cast(m_array_enum2_field.data()), m_array_enum2_field.size()); + + + + dcdr >> m_array_struct_field; + + + + dcdr >> m_bounded_sequence_char_field; + + + + dcdr >> m_bounded_sequence_uint8_field; + + + + dcdr >> m_bounded_sequence_int16_field; + + + + dcdr >> m_bounded_sequence_uint16_field; + + + + dcdr >> m_bounded_sequence_int32_field; + + + + dcdr >> m_bounded_sequence_uint32_field; + + + + dcdr >> m_bounded_sequence_int64_field; + + + + dcdr >> m_bounded_sequence_uint64_field; + + + + dcdr >> m_bounded_sequence_float_field; + + + + dcdr >> m_bounded_sequence_double_field; + + + + dcdr >> m_bounded_sequence_bool_field; + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_bounded_sequence_enum_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_bounded_sequence_enum_field.data()), seq_length); + } + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_bounded_sequence_enum2_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_bounded_sequence_enum2_field.data()), seq_length); + } + + + + dcdr >> m_bounded_sequence_struct_field; + + + + dcdr >> m_unbounded_sequence_char_field; + + + + dcdr >> m_unbounded_sequence_uint8_field; + + + + dcdr >> m_unbounded_sequence_int16_field; + + + + dcdr >> m_unbounded_sequence_uint16_field; + + + + dcdr >> m_unbounded_sequence_int32_field; + + + + dcdr >> m_unbounded_sequence_uint32_field; + + + + dcdr >> m_unbounded_sequence_int64_field; + + + + dcdr >> m_unbounded_sequence_uint64_field; + + + + dcdr >> m_unbounded_sequence_float_field; + + + + dcdr >> m_unbounded_sequence_double_field; + + + + dcdr >> m_unbounded_sequence_bool_field; + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_unbounded_sequence_enum_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_unbounded_sequence_enum_field.data()), seq_length); + } + + + + { + uint32_t seq_length = 0; + dcdr >> seq_length; + m_unbounded_sequence_enum2_field.resize(seq_length); + dcdr.deserializeArray(reinterpret_cast(m_unbounded_sequence_enum2_field.data()), seq_length); + } + + + + dcdr >> m_unbounded_sequence_struct_field; + + +} + + +bool KeyedCompleteTestType::isKeyDefined() +{ + return true; +} + +void KeyedCompleteTestType::serializeKey( + eprosima::fastcdr::Cdr& scdr) const +{ + (void) scdr; + + scdr << m_id; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +} + +/*! + * @brief This function sets a value in member id + * @param _id New value for member id + */ +void KeyedCompleteTestType::id( + int32_t _id) +{ + m_id = _id; +} + +/*! + * @brief This function returns the value of member id + * @return Value of member id + */ +int32_t KeyedCompleteTestType::id() const +{ + return m_id; +} + +/*! + * @brief This function returns a reference to member id + * @return Reference to member id + */ +int32_t& KeyedCompleteTestType::id() +{ + return m_id; +} + + +/*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ +void KeyedCompleteTestType::char_field( + char _char_field) +{ + m_char_field = _char_field; +} + +/*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ +char KeyedCompleteTestType::char_field() const +{ + return m_char_field; +} + +/*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ +char& KeyedCompleteTestType::char_field() +{ + return m_char_field; +} + + +/*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ +void KeyedCompleteTestType::uint8_field( + uint8_t _uint8_field) +{ + m_uint8_field = _uint8_field; +} + +/*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ +uint8_t KeyedCompleteTestType::uint8_field() const +{ + return m_uint8_field; +} + +/*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ +uint8_t& KeyedCompleteTestType::uint8_field() +{ + return m_uint8_field; +} + + +/*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ +void KeyedCompleteTestType::int16_field( + int16_t _int16_field) +{ + m_int16_field = _int16_field; +} + +/*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ +int16_t KeyedCompleteTestType::int16_field() const +{ + return m_int16_field; +} + +/*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ +int16_t& KeyedCompleteTestType::int16_field() +{ + return m_int16_field; +} + + +/*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ +void KeyedCompleteTestType::uint16_field( + uint16_t _uint16_field) +{ + m_uint16_field = _uint16_field; +} + +/*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ +uint16_t KeyedCompleteTestType::uint16_field() const +{ + return m_uint16_field; +} + +/*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ +uint16_t& KeyedCompleteTestType::uint16_field() +{ + return m_uint16_field; +} + + +/*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ +void KeyedCompleteTestType::int32_field( + int32_t _int32_field) +{ + m_int32_field = _int32_field; +} + +/*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ +int32_t KeyedCompleteTestType::int32_field() const +{ + return m_int32_field; +} + +/*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ +int32_t& KeyedCompleteTestType::int32_field() +{ + return m_int32_field; +} + + +/*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ +void KeyedCompleteTestType::uint32_field( + uint32_t _uint32_field) +{ + m_uint32_field = _uint32_field; +} + +/*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ +uint32_t KeyedCompleteTestType::uint32_field() const +{ + return m_uint32_field; +} + +/*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ +uint32_t& KeyedCompleteTestType::uint32_field() +{ + return m_uint32_field; +} + + +/*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ +void KeyedCompleteTestType::int64_field( + int64_t _int64_field) +{ + m_int64_field = _int64_field; +} + +/*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ +int64_t KeyedCompleteTestType::int64_field() const +{ + return m_int64_field; +} + +/*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ +int64_t& KeyedCompleteTestType::int64_field() +{ + return m_int64_field; +} + + +/*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ +void KeyedCompleteTestType::uint64_field( + uint64_t _uint64_field) +{ + m_uint64_field = _uint64_field; +} + +/*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ +uint64_t KeyedCompleteTestType::uint64_field() const +{ + return m_uint64_field; +} + +/*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ +uint64_t& KeyedCompleteTestType::uint64_field() +{ + return m_uint64_field; +} + + +/*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ +void KeyedCompleteTestType::float_field( + float _float_field) +{ + m_float_field = _float_field; +} + +/*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ +float KeyedCompleteTestType::float_field() const +{ + return m_float_field; +} + +/*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ +float& KeyedCompleteTestType::float_field() +{ + return m_float_field; +} + + +/*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ +void KeyedCompleteTestType::double_field( + double _double_field) +{ + m_double_field = _double_field; +} + +/*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ +double KeyedCompleteTestType::double_field() const +{ + return m_double_field; +} + +/*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ +double& KeyedCompleteTestType::double_field() +{ + return m_double_field; +} + + +/*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ +void KeyedCompleteTestType::bool_field( + bool _bool_field) +{ + m_bool_field = _bool_field; +} + +/*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ +bool KeyedCompleteTestType::bool_field() const +{ + return m_bool_field; +} + +/*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ +bool& KeyedCompleteTestType::bool_field() +{ + return m_bool_field; +} + + +/*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ +void KeyedCompleteTestType::string_field( + const std::string& _string_field) +{ + m_string_field = _string_field; +} + +/*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ +void KeyedCompleteTestType::string_field( + std::string&& _string_field) +{ + m_string_field = std::move(_string_field); +} + +/*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ +const std::string& KeyedCompleteTestType::string_field() const +{ + return m_string_field; +} + +/*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ +std::string& KeyedCompleteTestType::string_field() +{ + return m_string_field; +} + + +/*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ +void KeyedCompleteTestType::enum_field( + eprosima::test::Color _enum_field) +{ + m_enum_field = _enum_field; +} + +/*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ +eprosima::test::Color KeyedCompleteTestType::enum_field() const +{ + return m_enum_field; +} + +/*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ +eprosima::test::Color& KeyedCompleteTestType::enum_field() +{ + return m_enum_field; +} + + +/*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ +void KeyedCompleteTestType::enum2_field( + eprosima::test::Material _enum2_field) +{ + m_enum2_field = _enum2_field; +} + +/*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ +eprosima::test::Material KeyedCompleteTestType::enum2_field() const +{ + return m_enum2_field; +} + +/*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ +eprosima::test::Material& KeyedCompleteTestType::enum2_field() +{ + return m_enum2_field; +} + + +/*! + * @brief This function copies the value in member struct_field + * @param _struct_field New value to be copied in member struct_field + */ +void KeyedCompleteTestType::struct_field( + const eprosima::test::StructType& _struct_field) +{ + m_struct_field = _struct_field; +} + +/*! + * @brief This function moves the value in member struct_field + * @param _struct_field New value to be moved in member struct_field + */ +void KeyedCompleteTestType::struct_field( + eprosima::test::StructType&& _struct_field) +{ + m_struct_field = std::move(_struct_field); +} + +/*! + * @brief This function returns a constant reference to member struct_field + * @return Constant reference to member struct_field + */ +const eprosima::test::StructType& KeyedCompleteTestType::struct_field() const +{ + return m_struct_field; +} + +/*! + * @brief This function returns a reference to member struct_field + * @return Reference to member struct_field + */ +eprosima::test::StructType& KeyedCompleteTestType::struct_field() +{ + return m_struct_field; +} + + +/*! + * @brief This function sets a value in member char_opt_field + * @param _char_opt_field New value for member char_opt_field + */ +void KeyedCompleteTestType::char_opt_field( + char _char_opt_field) +{ + m_char_opt_field = _char_opt_field; +} + +/*! + * @brief This function returns the value of member char_opt_field + * @return Value of member char_opt_field + */ +char KeyedCompleteTestType::char_opt_field() const +{ + return m_char_opt_field; +} + +/*! + * @brief This function returns a reference to member char_opt_field + * @return Reference to member char_opt_field + */ +char& KeyedCompleteTestType::char_opt_field() +{ + return m_char_opt_field; +} + + +/*! + * @brief This function sets a value in member uint8_opt_field + * @param _uint8_opt_field New value for member uint8_opt_field + */ +void KeyedCompleteTestType::uint8_opt_field( + uint8_t _uint8_opt_field) +{ + m_uint8_opt_field = _uint8_opt_field; +} + +/*! + * @brief This function returns the value of member uint8_opt_field + * @return Value of member uint8_opt_field + */ +uint8_t KeyedCompleteTestType::uint8_opt_field() const +{ + return m_uint8_opt_field; +} + +/*! + * @brief This function returns a reference to member uint8_opt_field + * @return Reference to member uint8_opt_field + */ +uint8_t& KeyedCompleteTestType::uint8_opt_field() +{ + return m_uint8_opt_field; +} + + +/*! + * @brief This function sets a value in member int16_opt_field + * @param _int16_opt_field New value for member int16_opt_field + */ +void KeyedCompleteTestType::int16_opt_field( + int16_t _int16_opt_field) +{ + m_int16_opt_field = _int16_opt_field; +} + +/*! + * @brief This function returns the value of member int16_opt_field + * @return Value of member int16_opt_field + */ +int16_t KeyedCompleteTestType::int16_opt_field() const +{ + return m_int16_opt_field; +} + +/*! + * @brief This function returns a reference to member int16_opt_field + * @return Reference to member int16_opt_field + */ +int16_t& KeyedCompleteTestType::int16_opt_field() +{ + return m_int16_opt_field; +} + + +/*! + * @brief This function sets a value in member uint16_opt_field + * @param _uint16_opt_field New value for member uint16_opt_field + */ +void KeyedCompleteTestType::uint16_opt_field( + uint16_t _uint16_opt_field) +{ + m_uint16_opt_field = _uint16_opt_field; +} + +/*! + * @brief This function returns the value of member uint16_opt_field + * @return Value of member uint16_opt_field + */ +uint16_t KeyedCompleteTestType::uint16_opt_field() const +{ + return m_uint16_opt_field; +} + +/*! + * @brief This function returns a reference to member uint16_opt_field + * @return Reference to member uint16_opt_field + */ +uint16_t& KeyedCompleteTestType::uint16_opt_field() +{ + return m_uint16_opt_field; +} + + +/*! + * @brief This function sets a value in member int32_opt_field + * @param _int32_opt_field New value for member int32_opt_field + */ +void KeyedCompleteTestType::int32_opt_field( + int32_t _int32_opt_field) +{ + m_int32_opt_field = _int32_opt_field; +} + +/*! + * @brief This function returns the value of member int32_opt_field + * @return Value of member int32_opt_field + */ +int32_t KeyedCompleteTestType::int32_opt_field() const +{ + return m_int32_opt_field; +} + +/*! + * @brief This function returns a reference to member int32_opt_field + * @return Reference to member int32_opt_field + */ +int32_t& KeyedCompleteTestType::int32_opt_field() +{ + return m_int32_opt_field; +} + + +/*! + * @brief This function sets a value in member uint32_opt_field + * @param _uint32_opt_field New value for member uint32_opt_field + */ +void KeyedCompleteTestType::uint32_opt_field( + uint32_t _uint32_opt_field) +{ + m_uint32_opt_field = _uint32_opt_field; +} + +/*! + * @brief This function returns the value of member uint32_opt_field + * @return Value of member uint32_opt_field + */ +uint32_t KeyedCompleteTestType::uint32_opt_field() const +{ + return m_uint32_opt_field; +} + +/*! + * @brief This function returns a reference to member uint32_opt_field + * @return Reference to member uint32_opt_field + */ +uint32_t& KeyedCompleteTestType::uint32_opt_field() +{ + return m_uint32_opt_field; +} + + +/*! + * @brief This function sets a value in member int64_opt_field + * @param _int64_opt_field New value for member int64_opt_field + */ +void KeyedCompleteTestType::int64_opt_field( + int64_t _int64_opt_field) +{ + m_int64_opt_field = _int64_opt_field; +} + +/*! + * @brief This function returns the value of member int64_opt_field + * @return Value of member int64_opt_field + */ +int64_t KeyedCompleteTestType::int64_opt_field() const +{ + return m_int64_opt_field; +} + +/*! + * @brief This function returns a reference to member int64_opt_field + * @return Reference to member int64_opt_field + */ +int64_t& KeyedCompleteTestType::int64_opt_field() +{ + return m_int64_opt_field; +} + + +/*! + * @brief This function sets a value in member uint64_opt_field + * @param _uint64_opt_field New value for member uint64_opt_field + */ +void KeyedCompleteTestType::uint64_opt_field( + uint64_t _uint64_opt_field) +{ + m_uint64_opt_field = _uint64_opt_field; +} + +/*! + * @brief This function returns the value of member uint64_opt_field + * @return Value of member uint64_opt_field + */ +uint64_t KeyedCompleteTestType::uint64_opt_field() const +{ + return m_uint64_opt_field; +} + +/*! + * @brief This function returns a reference to member uint64_opt_field + * @return Reference to member uint64_opt_field + */ +uint64_t& KeyedCompleteTestType::uint64_opt_field() +{ + return m_uint64_opt_field; +} + + +/*! + * @brief This function sets a value in member float_opt_field + * @param _float_opt_field New value for member float_opt_field + */ +void KeyedCompleteTestType::float_opt_field( + float _float_opt_field) +{ + m_float_opt_field = _float_opt_field; +} + +/*! + * @brief This function returns the value of member float_opt_field + * @return Value of member float_opt_field + */ +float KeyedCompleteTestType::float_opt_field() const +{ + return m_float_opt_field; +} + +/*! + * @brief This function returns a reference to member float_opt_field + * @return Reference to member float_opt_field + */ +float& KeyedCompleteTestType::float_opt_field() +{ + return m_float_opt_field; +} + + +/*! + * @brief This function sets a value in member double_opt_field + * @param _double_opt_field New value for member double_opt_field + */ +void KeyedCompleteTestType::double_opt_field( + double _double_opt_field) +{ + m_double_opt_field = _double_opt_field; +} + +/*! + * @brief This function returns the value of member double_opt_field + * @return Value of member double_opt_field + */ +double KeyedCompleteTestType::double_opt_field() const +{ + return m_double_opt_field; +} + +/*! + * @brief This function returns a reference to member double_opt_field + * @return Reference to member double_opt_field + */ +double& KeyedCompleteTestType::double_opt_field() +{ + return m_double_opt_field; +} + + +/*! + * @brief This function sets a value in member bool_opt_field + * @param _bool_opt_field New value for member bool_opt_field + */ +void KeyedCompleteTestType::bool_opt_field( + bool _bool_opt_field) +{ + m_bool_opt_field = _bool_opt_field; +} + +/*! + * @brief This function returns the value of member bool_opt_field + * @return Value of member bool_opt_field + */ +bool KeyedCompleteTestType::bool_opt_field() const +{ + return m_bool_opt_field; +} + +/*! + * @brief This function returns a reference to member bool_opt_field + * @return Reference to member bool_opt_field + */ +bool& KeyedCompleteTestType::bool_opt_field() +{ + return m_bool_opt_field; +} + + +/*! + * @brief This function copies the value in member string_opt_field + * @param _string_opt_field New value to be copied in member string_opt_field + */ +void KeyedCompleteTestType::string_opt_field( + const std::string& _string_opt_field) +{ + m_string_opt_field = _string_opt_field; +} + +/*! + * @brief This function moves the value in member string_opt_field + * @param _string_opt_field New value to be moved in member string_opt_field + */ +void KeyedCompleteTestType::string_opt_field( + std::string&& _string_opt_field) +{ + m_string_opt_field = std::move(_string_opt_field); +} + +/*! + * @brief This function returns a constant reference to member string_opt_field + * @return Constant reference to member string_opt_field + */ +const std::string& KeyedCompleteTestType::string_opt_field() const +{ + return m_string_opt_field; +} + +/*! + * @brief This function returns a reference to member string_opt_field + * @return Reference to member string_opt_field + */ +std::string& KeyedCompleteTestType::string_opt_field() +{ + return m_string_opt_field; +} + + +/*! + * @brief This function sets a value in member enum_opt_field + * @param _enum_opt_field New value for member enum_opt_field + */ +void KeyedCompleteTestType::enum_opt_field( + eprosima::test::Color _enum_opt_field) +{ + m_enum_opt_field = _enum_opt_field; +} + +/*! + * @brief This function returns the value of member enum_opt_field + * @return Value of member enum_opt_field + */ +eprosima::test::Color KeyedCompleteTestType::enum_opt_field() const +{ + return m_enum_opt_field; +} + +/*! + * @brief This function returns a reference to member enum_opt_field + * @return Reference to member enum_opt_field + */ +eprosima::test::Color& KeyedCompleteTestType::enum_opt_field() +{ + return m_enum_opt_field; +} + + +/*! + * @brief This function sets a value in member enum2_opt_field + * @param _enum2_opt_field New value for member enum2_opt_field + */ +void KeyedCompleteTestType::enum2_opt_field( + eprosima::test::Material _enum2_opt_field) +{ + m_enum2_opt_field = _enum2_opt_field; +} + +/*! + * @brief This function returns the value of member enum2_opt_field + * @return Value of member enum2_opt_field + */ +eprosima::test::Material KeyedCompleteTestType::enum2_opt_field() const +{ + return m_enum2_opt_field; +} + +/*! + * @brief This function returns a reference to member enum2_opt_field + * @return Reference to member enum2_opt_field + */ +eprosima::test::Material& KeyedCompleteTestType::enum2_opt_field() +{ + return m_enum2_opt_field; +} + + +/*! + * @brief This function copies the value in member struct_opt_field + * @param _struct_opt_field New value to be copied in member struct_opt_field + */ +void KeyedCompleteTestType::struct_opt_field( + const eprosima::test::StructType& _struct_opt_field) +{ + m_struct_opt_field = _struct_opt_field; +} + +/*! + * @brief This function moves the value in member struct_opt_field + * @param _struct_opt_field New value to be moved in member struct_opt_field + */ +void KeyedCompleteTestType::struct_opt_field( + eprosima::test::StructType&& _struct_opt_field) +{ + m_struct_opt_field = std::move(_struct_opt_field); +} + +/*! + * @brief This function returns a constant reference to member struct_opt_field + * @return Constant reference to member struct_opt_field + */ +const eprosima::test::StructType& KeyedCompleteTestType::struct_opt_field() const +{ + return m_struct_opt_field; +} + +/*! + * @brief This function returns a reference to member struct_opt_field + * @return Reference to member struct_opt_field + */ +eprosima::test::StructType& KeyedCompleteTestType::struct_opt_field() +{ + return m_struct_opt_field; +} + + +/*! + * @brief This function copies the value in member array_char_field + * @param _array_char_field New value to be copied in member array_char_field + */ +void KeyedCompleteTestType::array_char_field( + const std::array& _array_char_field) +{ + m_array_char_field = _array_char_field; +} + +/*! + * @brief This function moves the value in member array_char_field + * @param _array_char_field New value to be moved in member array_char_field + */ +void KeyedCompleteTestType::array_char_field( + std::array&& _array_char_field) +{ + m_array_char_field = std::move(_array_char_field); +} + +/*! + * @brief This function returns a constant reference to member array_char_field + * @return Constant reference to member array_char_field + */ +const std::array& KeyedCompleteTestType::array_char_field() const +{ + return m_array_char_field; +} + +/*! + * @brief This function returns a reference to member array_char_field + * @return Reference to member array_char_field + */ +std::array& KeyedCompleteTestType::array_char_field() +{ + return m_array_char_field; +} + + +/*! + * @brief This function copies the value in member array_uint8_field + * @param _array_uint8_field New value to be copied in member array_uint8_field + */ +void KeyedCompleteTestType::array_uint8_field( + const std::array& _array_uint8_field) +{ + m_array_uint8_field = _array_uint8_field; +} + +/*! + * @brief This function moves the value in member array_uint8_field + * @param _array_uint8_field New value to be moved in member array_uint8_field + */ +void KeyedCompleteTestType::array_uint8_field( + std::array&& _array_uint8_field) +{ + m_array_uint8_field = std::move(_array_uint8_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint8_field + * @return Constant reference to member array_uint8_field + */ +const std::array& KeyedCompleteTestType::array_uint8_field() const +{ + return m_array_uint8_field; +} + +/*! + * @brief This function returns a reference to member array_uint8_field + * @return Reference to member array_uint8_field + */ +std::array& KeyedCompleteTestType::array_uint8_field() +{ + return m_array_uint8_field; +} + + +/*! + * @brief This function copies the value in member array_int16_field + * @param _array_int16_field New value to be copied in member array_int16_field + */ +void KeyedCompleteTestType::array_int16_field( + const std::array& _array_int16_field) +{ + m_array_int16_field = _array_int16_field; +} + +/*! + * @brief This function moves the value in member array_int16_field + * @param _array_int16_field New value to be moved in member array_int16_field + */ +void KeyedCompleteTestType::array_int16_field( + std::array&& _array_int16_field) +{ + m_array_int16_field = std::move(_array_int16_field); +} + +/*! + * @brief This function returns a constant reference to member array_int16_field + * @return Constant reference to member array_int16_field + */ +const std::array& KeyedCompleteTestType::array_int16_field() const +{ + return m_array_int16_field; +} + +/*! + * @brief This function returns a reference to member array_int16_field + * @return Reference to member array_int16_field + */ +std::array& KeyedCompleteTestType::array_int16_field() +{ + return m_array_int16_field; +} + + +/*! + * @brief This function copies the value in member array_uint16_field + * @param _array_uint16_field New value to be copied in member array_uint16_field + */ +void KeyedCompleteTestType::array_uint16_field( + const std::array& _array_uint16_field) +{ + m_array_uint16_field = _array_uint16_field; +} + +/*! + * @brief This function moves the value in member array_uint16_field + * @param _array_uint16_field New value to be moved in member array_uint16_field + */ +void KeyedCompleteTestType::array_uint16_field( + std::array&& _array_uint16_field) +{ + m_array_uint16_field = std::move(_array_uint16_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint16_field + * @return Constant reference to member array_uint16_field + */ +const std::array& KeyedCompleteTestType::array_uint16_field() const +{ + return m_array_uint16_field; +} + +/*! + * @brief This function returns a reference to member array_uint16_field + * @return Reference to member array_uint16_field + */ +std::array& KeyedCompleteTestType::array_uint16_field() +{ + return m_array_uint16_field; +} + + +/*! + * @brief This function copies the value in member array_int32_field + * @param _array_int32_field New value to be copied in member array_int32_field + */ +void KeyedCompleteTestType::array_int32_field( + const std::array& _array_int32_field) +{ + m_array_int32_field = _array_int32_field; +} + +/*! + * @brief This function moves the value in member array_int32_field + * @param _array_int32_field New value to be moved in member array_int32_field + */ +void KeyedCompleteTestType::array_int32_field( + std::array&& _array_int32_field) +{ + m_array_int32_field = std::move(_array_int32_field); +} + +/*! + * @brief This function returns a constant reference to member array_int32_field + * @return Constant reference to member array_int32_field + */ +const std::array& KeyedCompleteTestType::array_int32_field() const +{ + return m_array_int32_field; +} + +/*! + * @brief This function returns a reference to member array_int32_field + * @return Reference to member array_int32_field + */ +std::array& KeyedCompleteTestType::array_int32_field() +{ + return m_array_int32_field; +} + + +/*! + * @brief This function copies the value in member array_uint32_field + * @param _array_uint32_field New value to be copied in member array_uint32_field + */ +void KeyedCompleteTestType::array_uint32_field( + const std::array& _array_uint32_field) +{ + m_array_uint32_field = _array_uint32_field; +} + +/*! + * @brief This function moves the value in member array_uint32_field + * @param _array_uint32_field New value to be moved in member array_uint32_field + */ +void KeyedCompleteTestType::array_uint32_field( + std::array&& _array_uint32_field) +{ + m_array_uint32_field = std::move(_array_uint32_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint32_field + * @return Constant reference to member array_uint32_field + */ +const std::array& KeyedCompleteTestType::array_uint32_field() const +{ + return m_array_uint32_field; +} + +/*! + * @brief This function returns a reference to member array_uint32_field + * @return Reference to member array_uint32_field + */ +std::array& KeyedCompleteTestType::array_uint32_field() +{ + return m_array_uint32_field; +} + + +/*! + * @brief This function copies the value in member array_int64_field + * @param _array_int64_field New value to be copied in member array_int64_field + */ +void KeyedCompleteTestType::array_int64_field( + const std::array& _array_int64_field) +{ + m_array_int64_field = _array_int64_field; +} + +/*! + * @brief This function moves the value in member array_int64_field + * @param _array_int64_field New value to be moved in member array_int64_field + */ +void KeyedCompleteTestType::array_int64_field( + std::array&& _array_int64_field) +{ + m_array_int64_field = std::move(_array_int64_field); +} + +/*! + * @brief This function returns a constant reference to member array_int64_field + * @return Constant reference to member array_int64_field + */ +const std::array& KeyedCompleteTestType::array_int64_field() const +{ + return m_array_int64_field; +} + +/*! + * @brief This function returns a reference to member array_int64_field + * @return Reference to member array_int64_field + */ +std::array& KeyedCompleteTestType::array_int64_field() +{ + return m_array_int64_field; +} + + +/*! + * @brief This function copies the value in member array_uint64_field + * @param _array_uint64_field New value to be copied in member array_uint64_field + */ +void KeyedCompleteTestType::array_uint64_field( + const std::array& _array_uint64_field) +{ + m_array_uint64_field = _array_uint64_field; +} + +/*! + * @brief This function moves the value in member array_uint64_field + * @param _array_uint64_field New value to be moved in member array_uint64_field + */ +void KeyedCompleteTestType::array_uint64_field( + std::array&& _array_uint64_field) +{ + m_array_uint64_field = std::move(_array_uint64_field); +} + +/*! + * @brief This function returns a constant reference to member array_uint64_field + * @return Constant reference to member array_uint64_field + */ +const std::array& KeyedCompleteTestType::array_uint64_field() const +{ + return m_array_uint64_field; +} + +/*! + * @brief This function returns a reference to member array_uint64_field + * @return Reference to member array_uint64_field + */ +std::array& KeyedCompleteTestType::array_uint64_field() +{ + return m_array_uint64_field; +} + + +/*! + * @brief This function copies the value in member array_float_field + * @param _array_float_field New value to be copied in member array_float_field + */ +void KeyedCompleteTestType::array_float_field( + const std::array& _array_float_field) +{ + m_array_float_field = _array_float_field; +} + +/*! + * @brief This function moves the value in member array_float_field + * @param _array_float_field New value to be moved in member array_float_field + */ +void KeyedCompleteTestType::array_float_field( + std::array&& _array_float_field) +{ + m_array_float_field = std::move(_array_float_field); +} + +/*! + * @brief This function returns a constant reference to member array_float_field + * @return Constant reference to member array_float_field + */ +const std::array& KeyedCompleteTestType::array_float_field() const +{ + return m_array_float_field; +} + +/*! + * @brief This function returns a reference to member array_float_field + * @return Reference to member array_float_field + */ +std::array& KeyedCompleteTestType::array_float_field() +{ + return m_array_float_field; +} + + +/*! + * @brief This function copies the value in member array_double_field + * @param _array_double_field New value to be copied in member array_double_field + */ +void KeyedCompleteTestType::array_double_field( + const std::array& _array_double_field) +{ + m_array_double_field = _array_double_field; +} + +/*! + * @brief This function moves the value in member array_double_field + * @param _array_double_field New value to be moved in member array_double_field + */ +void KeyedCompleteTestType::array_double_field( + std::array&& _array_double_field) +{ + m_array_double_field = std::move(_array_double_field); +} + +/*! + * @brief This function returns a constant reference to member array_double_field + * @return Constant reference to member array_double_field + */ +const std::array& KeyedCompleteTestType::array_double_field() const +{ + return m_array_double_field; +} + +/*! + * @brief This function returns a reference to member array_double_field + * @return Reference to member array_double_field + */ +std::array& KeyedCompleteTestType::array_double_field() +{ + return m_array_double_field; +} + + +/*! + * @brief This function copies the value in member array_bool_field + * @param _array_bool_field New value to be copied in member array_bool_field + */ +void KeyedCompleteTestType::array_bool_field( + const std::array& _array_bool_field) +{ + m_array_bool_field = _array_bool_field; +} + +/*! + * @brief This function moves the value in member array_bool_field + * @param _array_bool_field New value to be moved in member array_bool_field + */ +void KeyedCompleteTestType::array_bool_field( + std::array&& _array_bool_field) +{ + m_array_bool_field = std::move(_array_bool_field); +} + +/*! + * @brief This function returns a constant reference to member array_bool_field + * @return Constant reference to member array_bool_field + */ +const std::array& KeyedCompleteTestType::array_bool_field() const +{ + return m_array_bool_field; +} + +/*! + * @brief This function returns a reference to member array_bool_field + * @return Reference to member array_bool_field + */ +std::array& KeyedCompleteTestType::array_bool_field() +{ + return m_array_bool_field; +} + + +/*! + * @brief This function copies the value in member array_enum_field + * @param _array_enum_field New value to be copied in member array_enum_field + */ +void KeyedCompleteTestType::array_enum_field( + const std::array& _array_enum_field) +{ + m_array_enum_field = _array_enum_field; +} + +/*! + * @brief This function moves the value in member array_enum_field + * @param _array_enum_field New value to be moved in member array_enum_field + */ +void KeyedCompleteTestType::array_enum_field( + std::array&& _array_enum_field) +{ + m_array_enum_field = std::move(_array_enum_field); +} + +/*! + * @brief This function returns a constant reference to member array_enum_field + * @return Constant reference to member array_enum_field + */ +const std::array& KeyedCompleteTestType::array_enum_field() const +{ + return m_array_enum_field; +} + +/*! + * @brief This function returns a reference to member array_enum_field + * @return Reference to member array_enum_field + */ +std::array& KeyedCompleteTestType::array_enum_field() +{ + return m_array_enum_field; +} + + +/*! + * @brief This function copies the value in member array_enum2_field + * @param _array_enum2_field New value to be copied in member array_enum2_field + */ +void KeyedCompleteTestType::array_enum2_field( + const std::array& _array_enum2_field) +{ + m_array_enum2_field = _array_enum2_field; +} + +/*! + * @brief This function moves the value in member array_enum2_field + * @param _array_enum2_field New value to be moved in member array_enum2_field + */ +void KeyedCompleteTestType::array_enum2_field( + std::array&& _array_enum2_field) +{ + m_array_enum2_field = std::move(_array_enum2_field); +} + +/*! + * @brief This function returns a constant reference to member array_enum2_field + * @return Constant reference to member array_enum2_field + */ +const std::array& KeyedCompleteTestType::array_enum2_field() const +{ + return m_array_enum2_field; +} + +/*! + * @brief This function returns a reference to member array_enum2_field + * @return Reference to member array_enum2_field + */ +std::array& KeyedCompleteTestType::array_enum2_field() +{ + return m_array_enum2_field; +} + + +/*! + * @brief This function copies the value in member array_struct_field + * @param _array_struct_field New value to be copied in member array_struct_field + */ +void KeyedCompleteTestType::array_struct_field( + const std::array& _array_struct_field) +{ + m_array_struct_field = _array_struct_field; +} + +/*! + * @brief This function moves the value in member array_struct_field + * @param _array_struct_field New value to be moved in member array_struct_field + */ +void KeyedCompleteTestType::array_struct_field( + std::array&& _array_struct_field) +{ + m_array_struct_field = std::move(_array_struct_field); +} + +/*! + * @brief This function returns a constant reference to member array_struct_field + * @return Constant reference to member array_struct_field + */ +const std::array& KeyedCompleteTestType::array_struct_field() const +{ + return m_array_struct_field; +} + +/*! + * @brief This function returns a reference to member array_struct_field + * @return Reference to member array_struct_field + */ +std::array& KeyedCompleteTestType::array_struct_field() +{ + return m_array_struct_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be copied in member bounded_sequence_char_field + */ +void KeyedCompleteTestType::bounded_sequence_char_field( + const std::vector& _bounded_sequence_char_field) +{ + m_bounded_sequence_char_field = _bounded_sequence_char_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be moved in member bounded_sequence_char_field + */ +void KeyedCompleteTestType::bounded_sequence_char_field( + std::vector&& _bounded_sequence_char_field) +{ + m_bounded_sequence_char_field = std::move(_bounded_sequence_char_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_char_field + * @return Constant reference to member bounded_sequence_char_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_char_field() const +{ + return m_bounded_sequence_char_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_char_field + * @return Reference to member bounded_sequence_char_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_char_field() +{ + return m_bounded_sequence_char_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be copied in member bounded_sequence_uint8_field + */ +void KeyedCompleteTestType::bounded_sequence_uint8_field( + const std::vector& _bounded_sequence_uint8_field) +{ + m_bounded_sequence_uint8_field = _bounded_sequence_uint8_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be moved in member bounded_sequence_uint8_field + */ +void KeyedCompleteTestType::bounded_sequence_uint8_field( + std::vector&& _bounded_sequence_uint8_field) +{ + m_bounded_sequence_uint8_field = std::move(_bounded_sequence_uint8_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint8_field + * @return Constant reference to member bounded_sequence_uint8_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_uint8_field() const +{ + return m_bounded_sequence_uint8_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint8_field + * @return Reference to member bounded_sequence_uint8_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_uint8_field() +{ + return m_bounded_sequence_uint8_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be copied in member bounded_sequence_int16_field + */ +void KeyedCompleteTestType::bounded_sequence_int16_field( + const std::vector& _bounded_sequence_int16_field) +{ + m_bounded_sequence_int16_field = _bounded_sequence_int16_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be moved in member bounded_sequence_int16_field + */ +void KeyedCompleteTestType::bounded_sequence_int16_field( + std::vector&& _bounded_sequence_int16_field) +{ + m_bounded_sequence_int16_field = std::move(_bounded_sequence_int16_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_int16_field + * @return Constant reference to member bounded_sequence_int16_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_int16_field() const +{ + return m_bounded_sequence_int16_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_int16_field + * @return Reference to member bounded_sequence_int16_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_int16_field() +{ + return m_bounded_sequence_int16_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be copied in member bounded_sequence_uint16_field + */ +void KeyedCompleteTestType::bounded_sequence_uint16_field( + const std::vector& _bounded_sequence_uint16_field) +{ + m_bounded_sequence_uint16_field = _bounded_sequence_uint16_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be moved in member bounded_sequence_uint16_field + */ +void KeyedCompleteTestType::bounded_sequence_uint16_field( + std::vector&& _bounded_sequence_uint16_field) +{ + m_bounded_sequence_uint16_field = std::move(_bounded_sequence_uint16_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint16_field + * @return Constant reference to member bounded_sequence_uint16_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_uint16_field() const +{ + return m_bounded_sequence_uint16_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint16_field + * @return Reference to member bounded_sequence_uint16_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_uint16_field() +{ + return m_bounded_sequence_uint16_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be copied in member bounded_sequence_int32_field + */ +void KeyedCompleteTestType::bounded_sequence_int32_field( + const std::vector& _bounded_sequence_int32_field) +{ + m_bounded_sequence_int32_field = _bounded_sequence_int32_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be moved in member bounded_sequence_int32_field + */ +void KeyedCompleteTestType::bounded_sequence_int32_field( + std::vector&& _bounded_sequence_int32_field) +{ + m_bounded_sequence_int32_field = std::move(_bounded_sequence_int32_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_int32_field + * @return Constant reference to member bounded_sequence_int32_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_int32_field() const +{ + return m_bounded_sequence_int32_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_int32_field + * @return Reference to member bounded_sequence_int32_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_int32_field() +{ + return m_bounded_sequence_int32_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be copied in member bounded_sequence_uint32_field + */ +void KeyedCompleteTestType::bounded_sequence_uint32_field( + const std::vector& _bounded_sequence_uint32_field) +{ + m_bounded_sequence_uint32_field = _bounded_sequence_uint32_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be moved in member bounded_sequence_uint32_field + */ +void KeyedCompleteTestType::bounded_sequence_uint32_field( + std::vector&& _bounded_sequence_uint32_field) +{ + m_bounded_sequence_uint32_field = std::move(_bounded_sequence_uint32_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint32_field + * @return Constant reference to member bounded_sequence_uint32_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_uint32_field() const +{ + return m_bounded_sequence_uint32_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint32_field + * @return Reference to member bounded_sequence_uint32_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_uint32_field() +{ + return m_bounded_sequence_uint32_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be copied in member bounded_sequence_int64_field + */ +void KeyedCompleteTestType::bounded_sequence_int64_field( + const std::vector& _bounded_sequence_int64_field) +{ + m_bounded_sequence_int64_field = _bounded_sequence_int64_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be moved in member bounded_sequence_int64_field + */ +void KeyedCompleteTestType::bounded_sequence_int64_field( + std::vector&& _bounded_sequence_int64_field) +{ + m_bounded_sequence_int64_field = std::move(_bounded_sequence_int64_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_int64_field + * @return Constant reference to member bounded_sequence_int64_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_int64_field() const +{ + return m_bounded_sequence_int64_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_int64_field + * @return Reference to member bounded_sequence_int64_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_int64_field() +{ + return m_bounded_sequence_int64_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be copied in member bounded_sequence_uint64_field + */ +void KeyedCompleteTestType::bounded_sequence_uint64_field( + const std::vector& _bounded_sequence_uint64_field) +{ + m_bounded_sequence_uint64_field = _bounded_sequence_uint64_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be moved in member bounded_sequence_uint64_field + */ +void KeyedCompleteTestType::bounded_sequence_uint64_field( + std::vector&& _bounded_sequence_uint64_field) +{ + m_bounded_sequence_uint64_field = std::move(_bounded_sequence_uint64_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_uint64_field + * @return Constant reference to member bounded_sequence_uint64_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_uint64_field() const +{ + return m_bounded_sequence_uint64_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_uint64_field + * @return Reference to member bounded_sequence_uint64_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_uint64_field() +{ + return m_bounded_sequence_uint64_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be copied in member bounded_sequence_float_field + */ +void KeyedCompleteTestType::bounded_sequence_float_field( + const std::vector& _bounded_sequence_float_field) +{ + m_bounded_sequence_float_field = _bounded_sequence_float_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be moved in member bounded_sequence_float_field + */ +void KeyedCompleteTestType::bounded_sequence_float_field( + std::vector&& _bounded_sequence_float_field) +{ + m_bounded_sequence_float_field = std::move(_bounded_sequence_float_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_float_field + * @return Constant reference to member bounded_sequence_float_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_float_field() const +{ + return m_bounded_sequence_float_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_float_field + * @return Reference to member bounded_sequence_float_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_float_field() +{ + return m_bounded_sequence_float_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be copied in member bounded_sequence_double_field + */ +void KeyedCompleteTestType::bounded_sequence_double_field( + const std::vector& _bounded_sequence_double_field) +{ + m_bounded_sequence_double_field = _bounded_sequence_double_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be moved in member bounded_sequence_double_field + */ +void KeyedCompleteTestType::bounded_sequence_double_field( + std::vector&& _bounded_sequence_double_field) +{ + m_bounded_sequence_double_field = std::move(_bounded_sequence_double_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_double_field + * @return Constant reference to member bounded_sequence_double_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_double_field() const +{ + return m_bounded_sequence_double_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_double_field + * @return Reference to member bounded_sequence_double_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_double_field() +{ + return m_bounded_sequence_double_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be copied in member bounded_sequence_bool_field + */ +void KeyedCompleteTestType::bounded_sequence_bool_field( + const std::vector& _bounded_sequence_bool_field) +{ + m_bounded_sequence_bool_field = _bounded_sequence_bool_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be moved in member bounded_sequence_bool_field + */ +void KeyedCompleteTestType::bounded_sequence_bool_field( + std::vector&& _bounded_sequence_bool_field) +{ + m_bounded_sequence_bool_field = std::move(_bounded_sequence_bool_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_bool_field + * @return Constant reference to member bounded_sequence_bool_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_bool_field() const +{ + return m_bounded_sequence_bool_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_bool_field + * @return Reference to member bounded_sequence_bool_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_bool_field() +{ + return m_bounded_sequence_bool_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be copied in member bounded_sequence_enum_field + */ +void KeyedCompleteTestType::bounded_sequence_enum_field( + const std::vector& _bounded_sequence_enum_field) +{ + m_bounded_sequence_enum_field = _bounded_sequence_enum_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be moved in member bounded_sequence_enum_field + */ +void KeyedCompleteTestType::bounded_sequence_enum_field( + std::vector&& _bounded_sequence_enum_field) +{ + m_bounded_sequence_enum_field = std::move(_bounded_sequence_enum_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_enum_field + * @return Constant reference to member bounded_sequence_enum_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_enum_field() const +{ + return m_bounded_sequence_enum_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_enum_field + * @return Reference to member bounded_sequence_enum_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_enum_field() +{ + return m_bounded_sequence_enum_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be copied in member bounded_sequence_enum2_field + */ +void KeyedCompleteTestType::bounded_sequence_enum2_field( + const std::vector& _bounded_sequence_enum2_field) +{ + m_bounded_sequence_enum2_field = _bounded_sequence_enum2_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be moved in member bounded_sequence_enum2_field + */ +void KeyedCompleteTestType::bounded_sequence_enum2_field( + std::vector&& _bounded_sequence_enum2_field) +{ + m_bounded_sequence_enum2_field = std::move(_bounded_sequence_enum2_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_enum2_field + * @return Constant reference to member bounded_sequence_enum2_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_enum2_field() const +{ + return m_bounded_sequence_enum2_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_enum2_field + * @return Reference to member bounded_sequence_enum2_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_enum2_field() +{ + return m_bounded_sequence_enum2_field; +} + + +/*! + * @brief This function copies the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be copied in member bounded_sequence_struct_field + */ +void KeyedCompleteTestType::bounded_sequence_struct_field( + const std::vector& _bounded_sequence_struct_field) +{ + m_bounded_sequence_struct_field = _bounded_sequence_struct_field; +} + +/*! + * @brief This function moves the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be moved in member bounded_sequence_struct_field + */ +void KeyedCompleteTestType::bounded_sequence_struct_field( + std::vector&& _bounded_sequence_struct_field) +{ + m_bounded_sequence_struct_field = std::move(_bounded_sequence_struct_field); +} + +/*! + * @brief This function returns a constant reference to member bounded_sequence_struct_field + * @return Constant reference to member bounded_sequence_struct_field + */ +const std::vector& KeyedCompleteTestType::bounded_sequence_struct_field() const +{ + return m_bounded_sequence_struct_field; +} + +/*! + * @brief This function returns a reference to member bounded_sequence_struct_field + * @return Reference to member bounded_sequence_struct_field + */ +std::vector& KeyedCompleteTestType::bounded_sequence_struct_field() +{ + return m_bounded_sequence_struct_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be copied in member unbounded_sequence_char_field + */ +void KeyedCompleteTestType::unbounded_sequence_char_field( + const std::vector& _unbounded_sequence_char_field) +{ + m_unbounded_sequence_char_field = _unbounded_sequence_char_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be moved in member unbounded_sequence_char_field + */ +void KeyedCompleteTestType::unbounded_sequence_char_field( + std::vector&& _unbounded_sequence_char_field) +{ + m_unbounded_sequence_char_field = std::move(_unbounded_sequence_char_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_char_field + * @return Constant reference to member unbounded_sequence_char_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_char_field() const +{ + return m_unbounded_sequence_char_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_char_field + * @return Reference to member unbounded_sequence_char_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_char_field() +{ + return m_unbounded_sequence_char_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be copied in member unbounded_sequence_uint8_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint8_field( + const std::vector& _unbounded_sequence_uint8_field) +{ + m_unbounded_sequence_uint8_field = _unbounded_sequence_uint8_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be moved in member unbounded_sequence_uint8_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint8_field( + std::vector&& _unbounded_sequence_uint8_field) +{ + m_unbounded_sequence_uint8_field = std::move(_unbounded_sequence_uint8_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint8_field + * @return Constant reference to member unbounded_sequence_uint8_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_uint8_field() const +{ + return m_unbounded_sequence_uint8_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint8_field + * @return Reference to member unbounded_sequence_uint8_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_uint8_field() +{ + return m_unbounded_sequence_uint8_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be copied in member unbounded_sequence_int16_field + */ +void KeyedCompleteTestType::unbounded_sequence_int16_field( + const std::vector& _unbounded_sequence_int16_field) +{ + m_unbounded_sequence_int16_field = _unbounded_sequence_int16_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be moved in member unbounded_sequence_int16_field + */ +void KeyedCompleteTestType::unbounded_sequence_int16_field( + std::vector&& _unbounded_sequence_int16_field) +{ + m_unbounded_sequence_int16_field = std::move(_unbounded_sequence_int16_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_int16_field + * @return Constant reference to member unbounded_sequence_int16_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_int16_field() const +{ + return m_unbounded_sequence_int16_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_int16_field + * @return Reference to member unbounded_sequence_int16_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_int16_field() +{ + return m_unbounded_sequence_int16_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be copied in member unbounded_sequence_uint16_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint16_field( + const std::vector& _unbounded_sequence_uint16_field) +{ + m_unbounded_sequence_uint16_field = _unbounded_sequence_uint16_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be moved in member unbounded_sequence_uint16_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint16_field( + std::vector&& _unbounded_sequence_uint16_field) +{ + m_unbounded_sequence_uint16_field = std::move(_unbounded_sequence_uint16_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint16_field + * @return Constant reference to member unbounded_sequence_uint16_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_uint16_field() const +{ + return m_unbounded_sequence_uint16_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint16_field + * @return Reference to member unbounded_sequence_uint16_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_uint16_field() +{ + return m_unbounded_sequence_uint16_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be copied in member unbounded_sequence_int32_field + */ +void KeyedCompleteTestType::unbounded_sequence_int32_field( + const std::vector& _unbounded_sequence_int32_field) +{ + m_unbounded_sequence_int32_field = _unbounded_sequence_int32_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be moved in member unbounded_sequence_int32_field + */ +void KeyedCompleteTestType::unbounded_sequence_int32_field( + std::vector&& _unbounded_sequence_int32_field) +{ + m_unbounded_sequence_int32_field = std::move(_unbounded_sequence_int32_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_int32_field + * @return Constant reference to member unbounded_sequence_int32_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_int32_field() const +{ + return m_unbounded_sequence_int32_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_int32_field + * @return Reference to member unbounded_sequence_int32_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_int32_field() +{ + return m_unbounded_sequence_int32_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be copied in member unbounded_sequence_uint32_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint32_field( + const std::vector& _unbounded_sequence_uint32_field) +{ + m_unbounded_sequence_uint32_field = _unbounded_sequence_uint32_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be moved in member unbounded_sequence_uint32_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint32_field( + std::vector&& _unbounded_sequence_uint32_field) +{ + m_unbounded_sequence_uint32_field = std::move(_unbounded_sequence_uint32_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint32_field + * @return Constant reference to member unbounded_sequence_uint32_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_uint32_field() const +{ + return m_unbounded_sequence_uint32_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint32_field + * @return Reference to member unbounded_sequence_uint32_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_uint32_field() +{ + return m_unbounded_sequence_uint32_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be copied in member unbounded_sequence_int64_field + */ +void KeyedCompleteTestType::unbounded_sequence_int64_field( + const std::vector& _unbounded_sequence_int64_field) +{ + m_unbounded_sequence_int64_field = _unbounded_sequence_int64_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be moved in member unbounded_sequence_int64_field + */ +void KeyedCompleteTestType::unbounded_sequence_int64_field( + std::vector&& _unbounded_sequence_int64_field) +{ + m_unbounded_sequence_int64_field = std::move(_unbounded_sequence_int64_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_int64_field + * @return Constant reference to member unbounded_sequence_int64_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_int64_field() const +{ + return m_unbounded_sequence_int64_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_int64_field + * @return Reference to member unbounded_sequence_int64_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_int64_field() +{ + return m_unbounded_sequence_int64_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be copied in member unbounded_sequence_uint64_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint64_field( + const std::vector& _unbounded_sequence_uint64_field) +{ + m_unbounded_sequence_uint64_field = _unbounded_sequence_uint64_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be moved in member unbounded_sequence_uint64_field + */ +void KeyedCompleteTestType::unbounded_sequence_uint64_field( + std::vector&& _unbounded_sequence_uint64_field) +{ + m_unbounded_sequence_uint64_field = std::move(_unbounded_sequence_uint64_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_uint64_field + * @return Constant reference to member unbounded_sequence_uint64_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_uint64_field() const +{ + return m_unbounded_sequence_uint64_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_uint64_field + * @return Reference to member unbounded_sequence_uint64_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_uint64_field() +{ + return m_unbounded_sequence_uint64_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be copied in member unbounded_sequence_float_field + */ +void KeyedCompleteTestType::unbounded_sequence_float_field( + const std::vector& _unbounded_sequence_float_field) +{ + m_unbounded_sequence_float_field = _unbounded_sequence_float_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be moved in member unbounded_sequence_float_field + */ +void KeyedCompleteTestType::unbounded_sequence_float_field( + std::vector&& _unbounded_sequence_float_field) +{ + m_unbounded_sequence_float_field = std::move(_unbounded_sequence_float_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_float_field + * @return Constant reference to member unbounded_sequence_float_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_float_field() const +{ + return m_unbounded_sequence_float_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_float_field + * @return Reference to member unbounded_sequence_float_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_float_field() +{ + return m_unbounded_sequence_float_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be copied in member unbounded_sequence_double_field + */ +void KeyedCompleteTestType::unbounded_sequence_double_field( + const std::vector& _unbounded_sequence_double_field) +{ + m_unbounded_sequence_double_field = _unbounded_sequence_double_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be moved in member unbounded_sequence_double_field + */ +void KeyedCompleteTestType::unbounded_sequence_double_field( + std::vector&& _unbounded_sequence_double_field) +{ + m_unbounded_sequence_double_field = std::move(_unbounded_sequence_double_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_double_field + * @return Constant reference to member unbounded_sequence_double_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_double_field() const +{ + return m_unbounded_sequence_double_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_double_field + * @return Reference to member unbounded_sequence_double_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_double_field() +{ + return m_unbounded_sequence_double_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be copied in member unbounded_sequence_bool_field + */ +void KeyedCompleteTestType::unbounded_sequence_bool_field( + const std::vector& _unbounded_sequence_bool_field) +{ + m_unbounded_sequence_bool_field = _unbounded_sequence_bool_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be moved in member unbounded_sequence_bool_field + */ +void KeyedCompleteTestType::unbounded_sequence_bool_field( + std::vector&& _unbounded_sequence_bool_field) +{ + m_unbounded_sequence_bool_field = std::move(_unbounded_sequence_bool_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_bool_field + * @return Constant reference to member unbounded_sequence_bool_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_bool_field() const +{ + return m_unbounded_sequence_bool_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_bool_field + * @return Reference to member unbounded_sequence_bool_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_bool_field() +{ + return m_unbounded_sequence_bool_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be copied in member unbounded_sequence_enum_field + */ +void KeyedCompleteTestType::unbounded_sequence_enum_field( + const std::vector& _unbounded_sequence_enum_field) +{ + m_unbounded_sequence_enum_field = _unbounded_sequence_enum_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be moved in member unbounded_sequence_enum_field + */ +void KeyedCompleteTestType::unbounded_sequence_enum_field( + std::vector&& _unbounded_sequence_enum_field) +{ + m_unbounded_sequence_enum_field = std::move(_unbounded_sequence_enum_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_enum_field + * @return Constant reference to member unbounded_sequence_enum_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_enum_field() const +{ + return m_unbounded_sequence_enum_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_enum_field + * @return Reference to member unbounded_sequence_enum_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_enum_field() +{ + return m_unbounded_sequence_enum_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be copied in member unbounded_sequence_enum2_field + */ +void KeyedCompleteTestType::unbounded_sequence_enum2_field( + const std::vector& _unbounded_sequence_enum2_field) +{ + m_unbounded_sequence_enum2_field = _unbounded_sequence_enum2_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be moved in member unbounded_sequence_enum2_field + */ +void KeyedCompleteTestType::unbounded_sequence_enum2_field( + std::vector&& _unbounded_sequence_enum2_field) +{ + m_unbounded_sequence_enum2_field = std::move(_unbounded_sequence_enum2_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_enum2_field + * @return Constant reference to member unbounded_sequence_enum2_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_enum2_field() const +{ + return m_unbounded_sequence_enum2_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_enum2_field + * @return Reference to member unbounded_sequence_enum2_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_enum2_field() +{ + return m_unbounded_sequence_enum2_field; +} + + +/*! + * @brief This function copies the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be copied in member unbounded_sequence_struct_field + */ +void KeyedCompleteTestType::unbounded_sequence_struct_field( + const std::vector& _unbounded_sequence_struct_field) +{ + m_unbounded_sequence_struct_field = _unbounded_sequence_struct_field; +} + +/*! + * @brief This function moves the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be moved in member unbounded_sequence_struct_field + */ +void KeyedCompleteTestType::unbounded_sequence_struct_field( + std::vector&& _unbounded_sequence_struct_field) +{ + m_unbounded_sequence_struct_field = std::move(_unbounded_sequence_struct_field); +} + +/*! + * @brief This function returns a constant reference to member unbounded_sequence_struct_field + * @return Constant reference to member unbounded_sequence_struct_field + */ +const std::vector& KeyedCompleteTestType::unbounded_sequence_struct_field() const +{ + return m_unbounded_sequence_struct_field; +} + +/*! + * @brief This function returns a reference to member unbounded_sequence_struct_field + * @return Reference to member unbounded_sequence_struct_field + */ +std::vector& KeyedCompleteTestType::unbounded_sequence_struct_field() +{ + return m_unbounded_sequence_struct_field; +} + + + + + +} // namespace test + + +} // namespace eprosima + +#endif // FASTCDR_VERSION_MAJOR == 1 diff --git a/fastdds_python/test/types/test_modulesv1.h b/fastdds_python/test/types/test_modulesv1.h new file mode 100644 index 00000000..c7812c30 --- /dev/null +++ b/fastdds_python/test/types/test_modulesv1.h @@ -0,0 +1,4456 @@ +// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/*! + * @file test_modules.h + * This header file contains the declaration of the described types in the IDL file. + * + * This file was generated by the tool fastddsgen. + */ + +#include + +#if FASTCDR_VERSION_MAJOR == 1 + +#ifndef _FAST_DDS_GENERATED_EPROSIMA_TEST_TEST_MODULES_H_ +#define _FAST_DDS_GENERATED_EPROSIMA_TEST_TEST_MODULES_H_ + + +#include + +#include +#include +#include +#include +#include +#include + +#if defined(_WIN32) +#if defined(EPROSIMA_USER_DLL_EXPORT) +#define eProsima_user_DllExport __declspec( dllexport ) +#else +#define eProsima_user_DllExport +#endif // EPROSIMA_USER_DLL_EXPORT +#else +#define eProsima_user_DllExport +#endif // _WIN32 + +#if defined(_WIN32) +#if defined(EPROSIMA_USER_DLL_EXPORT) +#if defined(TEST_MODULES_SOURCE) +#define TEST_MODULES_DllAPI __declspec( dllexport ) +#else +#define TEST_MODULES_DllAPI __declspec( dllimport ) +#endif // TEST_MODULES_SOURCE +#else +#define TEST_MODULES_DllAPI +#endif // EPROSIMA_USER_DLL_EXPORT +#else +#define TEST_MODULES_DllAPI +#endif // _WIN32 + +namespace eprosima { +namespace fastcdr { +class Cdr; +} // namespace fastcdr +} // namespace eprosima + + + +namespace eprosima { + namespace test { + /*! + * @brief This class represents the enumeration Color defined by the user in the IDL file. + * @ingroup test_modules + */ + enum Color : uint32_t + { + RED, + GREEN, + BLUE, + YELLOW, + MAGENTA + }; + /*! + * @brief This class represents the enumeration Material defined by the user in the IDL file. + * @ingroup test_modules + */ + enum Material : uint32_t + { + WOOD, + PLASTIC, + METAL, + CONCRETE, + STONE + }; + + + /*! + * @brief This class represents the structure StructType defined by the user in the IDL file. + * @ingroup test_modules + */ + class StructType + { + public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport StructType(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~StructType(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::test::StructType that will be copied. + */ + eProsima_user_DllExport StructType( + const StructType& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::test::StructType that will be copied. + */ + eProsima_user_DllExport StructType( + StructType&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::test::StructType that will be copied. + */ + eProsima_user_DllExport StructType& operator =( + const StructType& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::test::StructType that will be copied. + */ + eProsima_user_DllExport StructType& operator =( + StructType&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::test::StructType object to compare. + */ + eProsima_user_DllExport bool operator ==( + const StructType& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::test::StructType object to compare. + */ + eProsima_user_DllExport bool operator !=( + const StructType& x) const; + + /*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ + eProsima_user_DllExport void char_field( + char _char_field); + + /*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ + eProsima_user_DllExport char char_field() const; + + /*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ + eProsima_user_DllExport char& char_field(); + + + /*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ + eProsima_user_DllExport void uint8_field( + uint8_t _uint8_field); + + /*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ + eProsima_user_DllExport uint8_t uint8_field() const; + + /*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ + eProsima_user_DllExport uint8_t& uint8_field(); + + + /*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ + eProsima_user_DllExport void int16_field( + int16_t _int16_field); + + /*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ + eProsima_user_DllExport int16_t int16_field() const; + + /*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ + eProsima_user_DllExport int16_t& int16_field(); + + + /*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ + eProsima_user_DllExport void uint16_field( + uint16_t _uint16_field); + + /*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ + eProsima_user_DllExport uint16_t uint16_field() const; + + /*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ + eProsima_user_DllExport uint16_t& uint16_field(); + + + /*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ + eProsima_user_DllExport void int32_field( + int32_t _int32_field); + + /*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ + eProsima_user_DllExport int32_t int32_field() const; + + /*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ + eProsima_user_DllExport int32_t& int32_field(); + + + /*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ + eProsima_user_DllExport void uint32_field( + uint32_t _uint32_field); + + /*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ + eProsima_user_DllExport uint32_t uint32_field() const; + + /*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ + eProsima_user_DllExport uint32_t& uint32_field(); + + + /*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ + eProsima_user_DllExport void int64_field( + int64_t _int64_field); + + /*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ + eProsima_user_DllExport int64_t int64_field() const; + + /*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ + eProsima_user_DllExport int64_t& int64_field(); + + + /*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ + eProsima_user_DllExport void uint64_field( + uint64_t _uint64_field); + + /*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ + eProsima_user_DllExport uint64_t uint64_field() const; + + /*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ + eProsima_user_DllExport uint64_t& uint64_field(); + + + /*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ + eProsima_user_DllExport void float_field( + float _float_field); + + /*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ + eProsima_user_DllExport float float_field() const; + + /*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ + eProsima_user_DllExport float& float_field(); + + + /*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ + eProsima_user_DllExport void double_field( + double _double_field); + + /*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ + eProsima_user_DllExport double double_field() const; + + /*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ + eProsima_user_DllExport double& double_field(); + + + /*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ + eProsima_user_DllExport void bool_field( + bool _bool_field); + + /*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ + eProsima_user_DllExport bool bool_field() const; + + /*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ + eProsima_user_DllExport bool& bool_field(); + + + /*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ + eProsima_user_DllExport void string_field( + const std::string& _string_field); + + /*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ + eProsima_user_DllExport void string_field( + std::string&& _string_field); + + /*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ + eProsima_user_DllExport const std::string& string_field() const; + + /*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ + eProsima_user_DllExport std::string& string_field(); + + + /*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ + eProsima_user_DllExport void enum_field( + eprosima::test::Color _enum_field); + + /*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ + eProsima_user_DllExport eprosima::test::Color enum_field() const; + + /*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ + eProsima_user_DllExport eprosima::test::Color& enum_field(); + + + /*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ + eProsima_user_DllExport void enum2_field( + eprosima::test::Material _enum2_field); + + /*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ + eProsima_user_DllExport eprosima::test::Material enum2_field() const; + + /*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ + eProsima_user_DllExport eprosima::test::Material& enum2_field(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::test::StructType& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + + + private: + + char m_char_field; + uint8_t m_uint8_field; + int16_t m_int16_field; + uint16_t m_uint16_field; + int32_t m_int32_field; + uint32_t m_uint32_field; + int64_t m_int64_field; + uint64_t m_uint64_field; + float m_float_field; + double m_double_field; + bool m_bool_field; + std::string m_string_field; + eprosima::test::Color m_enum_field; + eprosima::test::Material m_enum2_field; + + }; + + const uint32_t max_array_size = 3; + + const uint32_t max_seq_size = 5; + + + + + + /*! + * @brief This class represents the structure CompleteTestType defined by the user in the IDL file. + * @ingroup test_modules + */ + class CompleteTestType + { + public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport CompleteTestType(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~CompleteTestType(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::test::CompleteTestType that will be copied. + */ + eProsima_user_DllExport CompleteTestType( + const CompleteTestType& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::test::CompleteTestType that will be copied. + */ + eProsima_user_DllExport CompleteTestType( + CompleteTestType&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::test::CompleteTestType that will be copied. + */ + eProsima_user_DllExport CompleteTestType& operator =( + const CompleteTestType& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::test::CompleteTestType that will be copied. + */ + eProsima_user_DllExport CompleteTestType& operator =( + CompleteTestType&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::test::CompleteTestType object to compare. + */ + eProsima_user_DllExport bool operator ==( + const CompleteTestType& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::test::CompleteTestType object to compare. + */ + eProsima_user_DllExport bool operator !=( + const CompleteTestType& x) const; + + /*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ + eProsima_user_DllExport void char_field( + char _char_field); + + /*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ + eProsima_user_DllExport char char_field() const; + + /*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ + eProsima_user_DllExport char& char_field(); + + + /*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ + eProsima_user_DllExport void uint8_field( + uint8_t _uint8_field); + + /*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ + eProsima_user_DllExport uint8_t uint8_field() const; + + /*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ + eProsima_user_DllExport uint8_t& uint8_field(); + + + /*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ + eProsima_user_DllExport void int16_field( + int16_t _int16_field); + + /*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ + eProsima_user_DllExport int16_t int16_field() const; + + /*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ + eProsima_user_DllExport int16_t& int16_field(); + + + /*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ + eProsima_user_DllExport void uint16_field( + uint16_t _uint16_field); + + /*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ + eProsima_user_DllExport uint16_t uint16_field() const; + + /*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ + eProsima_user_DllExport uint16_t& uint16_field(); + + + /*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ + eProsima_user_DllExport void int32_field( + int32_t _int32_field); + + /*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ + eProsima_user_DllExport int32_t int32_field() const; + + /*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ + eProsima_user_DllExport int32_t& int32_field(); + + + /*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ + eProsima_user_DllExport void uint32_field( + uint32_t _uint32_field); + + /*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ + eProsima_user_DllExport uint32_t uint32_field() const; + + /*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ + eProsima_user_DllExport uint32_t& uint32_field(); + + + /*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ + eProsima_user_DllExport void int64_field( + int64_t _int64_field); + + /*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ + eProsima_user_DllExport int64_t int64_field() const; + + /*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ + eProsima_user_DllExport int64_t& int64_field(); + + + /*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ + eProsima_user_DllExport void uint64_field( + uint64_t _uint64_field); + + /*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ + eProsima_user_DllExport uint64_t uint64_field() const; + + /*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ + eProsima_user_DllExport uint64_t& uint64_field(); + + + /*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ + eProsima_user_DllExport void float_field( + float _float_field); + + /*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ + eProsima_user_DllExport float float_field() const; + + /*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ + eProsima_user_DllExport float& float_field(); + + + /*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ + eProsima_user_DllExport void double_field( + double _double_field); + + /*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ + eProsima_user_DllExport double double_field() const; + + /*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ + eProsima_user_DllExport double& double_field(); + + + /*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ + eProsima_user_DllExport void bool_field( + bool _bool_field); + + /*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ + eProsima_user_DllExport bool bool_field() const; + + /*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ + eProsima_user_DllExport bool& bool_field(); + + + /*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ + eProsima_user_DllExport void string_field( + const std::string& _string_field); + + /*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ + eProsima_user_DllExport void string_field( + std::string&& _string_field); + + /*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ + eProsima_user_DllExport const std::string& string_field() const; + + /*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ + eProsima_user_DllExport std::string& string_field(); + + + /*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ + eProsima_user_DllExport void enum_field( + eprosima::test::Color _enum_field); + + /*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ + eProsima_user_DllExport eprosima::test::Color enum_field() const; + + /*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ + eProsima_user_DllExport eprosima::test::Color& enum_field(); + + + /*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ + eProsima_user_DllExport void enum2_field( + eprosima::test::Material _enum2_field); + + /*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ + eProsima_user_DllExport eprosima::test::Material enum2_field() const; + + /*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ + eProsima_user_DllExport eprosima::test::Material& enum2_field(); + + + /*! + * @brief This function copies the value in member struct_field + * @param _struct_field New value to be copied in member struct_field + */ + eProsima_user_DllExport void struct_field( + const eprosima::test::StructType& _struct_field); + + /*! + * @brief This function moves the value in member struct_field + * @param _struct_field New value to be moved in member struct_field + */ + eProsima_user_DllExport void struct_field( + eprosima::test::StructType&& _struct_field); + + /*! + * @brief This function returns a constant reference to member struct_field + * @return Constant reference to member struct_field + */ + eProsima_user_DllExport const eprosima::test::StructType& struct_field() const; + + /*! + * @brief This function returns a reference to member struct_field + * @return Reference to member struct_field + */ + eProsima_user_DllExport eprosima::test::StructType& struct_field(); + + + /*! + * @brief This function sets a value in member char_opt_field + * @param _char_opt_field New value for member char_opt_field + */ + eProsima_user_DllExport void char_opt_field( + char _char_opt_field); + + /*! + * @brief This function returns the value of member char_opt_field + * @return Value of member char_opt_field + */ + eProsima_user_DllExport char char_opt_field() const; + + /*! + * @brief This function returns a reference to member char_opt_field + * @return Reference to member char_opt_field + */ + eProsima_user_DllExport char& char_opt_field(); + + + /*! + * @brief This function sets a value in member uint8_opt_field + * @param _uint8_opt_field New value for member uint8_opt_field + */ + eProsima_user_DllExport void uint8_opt_field( + uint8_t _uint8_opt_field); + + /*! + * @brief This function returns the value of member uint8_opt_field + * @return Value of member uint8_opt_field + */ + eProsima_user_DllExport uint8_t uint8_opt_field() const; + + /*! + * @brief This function returns a reference to member uint8_opt_field + * @return Reference to member uint8_opt_field + */ + eProsima_user_DllExport uint8_t& uint8_opt_field(); + + + /*! + * @brief This function sets a value in member int16_opt_field + * @param _int16_opt_field New value for member int16_opt_field + */ + eProsima_user_DllExport void int16_opt_field( + int16_t _int16_opt_field); + + /*! + * @brief This function returns the value of member int16_opt_field + * @return Value of member int16_opt_field + */ + eProsima_user_DllExport int16_t int16_opt_field() const; + + /*! + * @brief This function returns a reference to member int16_opt_field + * @return Reference to member int16_opt_field + */ + eProsima_user_DllExport int16_t& int16_opt_field(); + + + /*! + * @brief This function sets a value in member uint16_opt_field + * @param _uint16_opt_field New value for member uint16_opt_field + */ + eProsima_user_DllExport void uint16_opt_field( + uint16_t _uint16_opt_field); + + /*! + * @brief This function returns the value of member uint16_opt_field + * @return Value of member uint16_opt_field + */ + eProsima_user_DllExport uint16_t uint16_opt_field() const; + + /*! + * @brief This function returns a reference to member uint16_opt_field + * @return Reference to member uint16_opt_field + */ + eProsima_user_DllExport uint16_t& uint16_opt_field(); + + + /*! + * @brief This function sets a value in member int32_opt_field + * @param _int32_opt_field New value for member int32_opt_field + */ + eProsima_user_DllExport void int32_opt_field( + int32_t _int32_opt_field); + + /*! + * @brief This function returns the value of member int32_opt_field + * @return Value of member int32_opt_field + */ + eProsima_user_DllExport int32_t int32_opt_field() const; + + /*! + * @brief This function returns a reference to member int32_opt_field + * @return Reference to member int32_opt_field + */ + eProsima_user_DllExport int32_t& int32_opt_field(); + + + /*! + * @brief This function sets a value in member uint32_opt_field + * @param _uint32_opt_field New value for member uint32_opt_field + */ + eProsima_user_DllExport void uint32_opt_field( + uint32_t _uint32_opt_field); + + /*! + * @brief This function returns the value of member uint32_opt_field + * @return Value of member uint32_opt_field + */ + eProsima_user_DllExport uint32_t uint32_opt_field() const; + + /*! + * @brief This function returns a reference to member uint32_opt_field + * @return Reference to member uint32_opt_field + */ + eProsima_user_DllExport uint32_t& uint32_opt_field(); + + + /*! + * @brief This function sets a value in member int64_opt_field + * @param _int64_opt_field New value for member int64_opt_field + */ + eProsima_user_DllExport void int64_opt_field( + int64_t _int64_opt_field); + + /*! + * @brief This function returns the value of member int64_opt_field + * @return Value of member int64_opt_field + */ + eProsima_user_DllExport int64_t int64_opt_field() const; + + /*! + * @brief This function returns a reference to member int64_opt_field + * @return Reference to member int64_opt_field + */ + eProsima_user_DllExport int64_t& int64_opt_field(); + + + /*! + * @brief This function sets a value in member uint64_opt_field + * @param _uint64_opt_field New value for member uint64_opt_field + */ + eProsima_user_DllExport void uint64_opt_field( + uint64_t _uint64_opt_field); + + /*! + * @brief This function returns the value of member uint64_opt_field + * @return Value of member uint64_opt_field + */ + eProsima_user_DllExport uint64_t uint64_opt_field() const; + + /*! + * @brief This function returns a reference to member uint64_opt_field + * @return Reference to member uint64_opt_field + */ + eProsima_user_DllExport uint64_t& uint64_opt_field(); + + + /*! + * @brief This function sets a value in member float_opt_field + * @param _float_opt_field New value for member float_opt_field + */ + eProsima_user_DllExport void float_opt_field( + float _float_opt_field); + + /*! + * @brief This function returns the value of member float_opt_field + * @return Value of member float_opt_field + */ + eProsima_user_DllExport float float_opt_field() const; + + /*! + * @brief This function returns a reference to member float_opt_field + * @return Reference to member float_opt_field + */ + eProsima_user_DllExport float& float_opt_field(); + + + /*! + * @brief This function sets a value in member double_opt_field + * @param _double_opt_field New value for member double_opt_field + */ + eProsima_user_DllExport void double_opt_field( + double _double_opt_field); + + /*! + * @brief This function returns the value of member double_opt_field + * @return Value of member double_opt_field + */ + eProsima_user_DllExport double double_opt_field() const; + + /*! + * @brief This function returns a reference to member double_opt_field + * @return Reference to member double_opt_field + */ + eProsima_user_DllExport double& double_opt_field(); + + + /*! + * @brief This function sets a value in member bool_opt_field + * @param _bool_opt_field New value for member bool_opt_field + */ + eProsima_user_DllExport void bool_opt_field( + bool _bool_opt_field); + + /*! + * @brief This function returns the value of member bool_opt_field + * @return Value of member bool_opt_field + */ + eProsima_user_DllExport bool bool_opt_field() const; + + /*! + * @brief This function returns a reference to member bool_opt_field + * @return Reference to member bool_opt_field + */ + eProsima_user_DllExport bool& bool_opt_field(); + + + /*! + * @brief This function copies the value in member string_opt_field + * @param _string_opt_field New value to be copied in member string_opt_field + */ + eProsima_user_DllExport void string_opt_field( + const std::string& _string_opt_field); + + /*! + * @brief This function moves the value in member string_opt_field + * @param _string_opt_field New value to be moved in member string_opt_field + */ + eProsima_user_DllExport void string_opt_field( + std::string&& _string_opt_field); + + /*! + * @brief This function returns a constant reference to member string_opt_field + * @return Constant reference to member string_opt_field + */ + eProsima_user_DllExport const std::string& string_opt_field() const; + + /*! + * @brief This function returns a reference to member string_opt_field + * @return Reference to member string_opt_field + */ + eProsima_user_DllExport std::string& string_opt_field(); + + + /*! + * @brief This function sets a value in member enum_opt_field + * @param _enum_opt_field New value for member enum_opt_field + */ + eProsima_user_DllExport void enum_opt_field( + eprosima::test::Color _enum_opt_field); + + /*! + * @brief This function returns the value of member enum_opt_field + * @return Value of member enum_opt_field + */ + eProsima_user_DllExport eprosima::test::Color enum_opt_field() const; + + /*! + * @brief This function returns a reference to member enum_opt_field + * @return Reference to member enum_opt_field + */ + eProsima_user_DllExport eprosima::test::Color& enum_opt_field(); + + + /*! + * @brief This function sets a value in member enum2_opt_field + * @param _enum2_opt_field New value for member enum2_opt_field + */ + eProsima_user_DllExport void enum2_opt_field( + eprosima::test::Material _enum2_opt_field); + + /*! + * @brief This function returns the value of member enum2_opt_field + * @return Value of member enum2_opt_field + */ + eProsima_user_DllExport eprosima::test::Material enum2_opt_field() const; + + /*! + * @brief This function returns a reference to member enum2_opt_field + * @return Reference to member enum2_opt_field + */ + eProsima_user_DllExport eprosima::test::Material& enum2_opt_field(); + + + /*! + * @brief This function copies the value in member struct_opt_field + * @param _struct_opt_field New value to be copied in member struct_opt_field + */ + eProsima_user_DllExport void struct_opt_field( + const eprosima::test::StructType& _struct_opt_field); + + /*! + * @brief This function moves the value in member struct_opt_field + * @param _struct_opt_field New value to be moved in member struct_opt_field + */ + eProsima_user_DllExport void struct_opt_field( + eprosima::test::StructType&& _struct_opt_field); + + /*! + * @brief This function returns a constant reference to member struct_opt_field + * @return Constant reference to member struct_opt_field + */ + eProsima_user_DllExport const eprosima::test::StructType& struct_opt_field() const; + + /*! + * @brief This function returns a reference to member struct_opt_field + * @return Reference to member struct_opt_field + */ + eProsima_user_DllExport eprosima::test::StructType& struct_opt_field(); + + + /*! + * @brief This function copies the value in member array_char_field + * @param _array_char_field New value to be copied in member array_char_field + */ + eProsima_user_DllExport void array_char_field( + const std::array& _array_char_field); + + /*! + * @brief This function moves the value in member array_char_field + * @param _array_char_field New value to be moved in member array_char_field + */ + eProsima_user_DllExport void array_char_field( + std::array&& _array_char_field); + + /*! + * @brief This function returns a constant reference to member array_char_field + * @return Constant reference to member array_char_field + */ + eProsima_user_DllExport const std::array& array_char_field() const; + + /*! + * @brief This function returns a reference to member array_char_field + * @return Reference to member array_char_field + */ + eProsima_user_DllExport std::array& array_char_field(); + + + /*! + * @brief This function copies the value in member array_uint8_field + * @param _array_uint8_field New value to be copied in member array_uint8_field + */ + eProsima_user_DllExport void array_uint8_field( + const std::array& _array_uint8_field); + + /*! + * @brief This function moves the value in member array_uint8_field + * @param _array_uint8_field New value to be moved in member array_uint8_field + */ + eProsima_user_DllExport void array_uint8_field( + std::array&& _array_uint8_field); + + /*! + * @brief This function returns a constant reference to member array_uint8_field + * @return Constant reference to member array_uint8_field + */ + eProsima_user_DllExport const std::array& array_uint8_field() const; + + /*! + * @brief This function returns a reference to member array_uint8_field + * @return Reference to member array_uint8_field + */ + eProsima_user_DllExport std::array& array_uint8_field(); + + + /*! + * @brief This function copies the value in member array_int16_field + * @param _array_int16_field New value to be copied in member array_int16_field + */ + eProsima_user_DllExport void array_int16_field( + const std::array& _array_int16_field); + + /*! + * @brief This function moves the value in member array_int16_field + * @param _array_int16_field New value to be moved in member array_int16_field + */ + eProsima_user_DllExport void array_int16_field( + std::array&& _array_int16_field); + + /*! + * @brief This function returns a constant reference to member array_int16_field + * @return Constant reference to member array_int16_field + */ + eProsima_user_DllExport const std::array& array_int16_field() const; + + /*! + * @brief This function returns a reference to member array_int16_field + * @return Reference to member array_int16_field + */ + eProsima_user_DllExport std::array& array_int16_field(); + + + /*! + * @brief This function copies the value in member array_uint16_field + * @param _array_uint16_field New value to be copied in member array_uint16_field + */ + eProsima_user_DllExport void array_uint16_field( + const std::array& _array_uint16_field); + + /*! + * @brief This function moves the value in member array_uint16_field + * @param _array_uint16_field New value to be moved in member array_uint16_field + */ + eProsima_user_DllExport void array_uint16_field( + std::array&& _array_uint16_field); + + /*! + * @brief This function returns a constant reference to member array_uint16_field + * @return Constant reference to member array_uint16_field + */ + eProsima_user_DllExport const std::array& array_uint16_field() const; + + /*! + * @brief This function returns a reference to member array_uint16_field + * @return Reference to member array_uint16_field + */ + eProsima_user_DllExport std::array& array_uint16_field(); + + + /*! + * @brief This function copies the value in member array_int32_field + * @param _array_int32_field New value to be copied in member array_int32_field + */ + eProsima_user_DllExport void array_int32_field( + const std::array& _array_int32_field); + + /*! + * @brief This function moves the value in member array_int32_field + * @param _array_int32_field New value to be moved in member array_int32_field + */ + eProsima_user_DllExport void array_int32_field( + std::array&& _array_int32_field); + + /*! + * @brief This function returns a constant reference to member array_int32_field + * @return Constant reference to member array_int32_field + */ + eProsima_user_DllExport const std::array& array_int32_field() const; + + /*! + * @brief This function returns a reference to member array_int32_field + * @return Reference to member array_int32_field + */ + eProsima_user_DllExport std::array& array_int32_field(); + + + /*! + * @brief This function copies the value in member array_uint32_field + * @param _array_uint32_field New value to be copied in member array_uint32_field + */ + eProsima_user_DllExport void array_uint32_field( + const std::array& _array_uint32_field); + + /*! + * @brief This function moves the value in member array_uint32_field + * @param _array_uint32_field New value to be moved in member array_uint32_field + */ + eProsima_user_DllExport void array_uint32_field( + std::array&& _array_uint32_field); + + /*! + * @brief This function returns a constant reference to member array_uint32_field + * @return Constant reference to member array_uint32_field + */ + eProsima_user_DllExport const std::array& array_uint32_field() const; + + /*! + * @brief This function returns a reference to member array_uint32_field + * @return Reference to member array_uint32_field + */ + eProsima_user_DllExport std::array& array_uint32_field(); + + + /*! + * @brief This function copies the value in member array_int64_field + * @param _array_int64_field New value to be copied in member array_int64_field + */ + eProsima_user_DllExport void array_int64_field( + const std::array& _array_int64_field); + + /*! + * @brief This function moves the value in member array_int64_field + * @param _array_int64_field New value to be moved in member array_int64_field + */ + eProsima_user_DllExport void array_int64_field( + std::array&& _array_int64_field); + + /*! + * @brief This function returns a constant reference to member array_int64_field + * @return Constant reference to member array_int64_field + */ + eProsima_user_DllExport const std::array& array_int64_field() const; + + /*! + * @brief This function returns a reference to member array_int64_field + * @return Reference to member array_int64_field + */ + eProsima_user_DllExport std::array& array_int64_field(); + + + /*! + * @brief This function copies the value in member array_uint64_field + * @param _array_uint64_field New value to be copied in member array_uint64_field + */ + eProsima_user_DllExport void array_uint64_field( + const std::array& _array_uint64_field); + + /*! + * @brief This function moves the value in member array_uint64_field + * @param _array_uint64_field New value to be moved in member array_uint64_field + */ + eProsima_user_DllExport void array_uint64_field( + std::array&& _array_uint64_field); + + /*! + * @brief This function returns a constant reference to member array_uint64_field + * @return Constant reference to member array_uint64_field + */ + eProsima_user_DllExport const std::array& array_uint64_field() const; + + /*! + * @brief This function returns a reference to member array_uint64_field + * @return Reference to member array_uint64_field + */ + eProsima_user_DllExport std::array& array_uint64_field(); + + + /*! + * @brief This function copies the value in member array_float_field + * @param _array_float_field New value to be copied in member array_float_field + */ + eProsima_user_DllExport void array_float_field( + const std::array& _array_float_field); + + /*! + * @brief This function moves the value in member array_float_field + * @param _array_float_field New value to be moved in member array_float_field + */ + eProsima_user_DllExport void array_float_field( + std::array&& _array_float_field); + + /*! + * @brief This function returns a constant reference to member array_float_field + * @return Constant reference to member array_float_field + */ + eProsima_user_DllExport const std::array& array_float_field() const; + + /*! + * @brief This function returns a reference to member array_float_field + * @return Reference to member array_float_field + */ + eProsima_user_DllExport std::array& array_float_field(); + + + /*! + * @brief This function copies the value in member array_double_field + * @param _array_double_field New value to be copied in member array_double_field + */ + eProsima_user_DllExport void array_double_field( + const std::array& _array_double_field); + + /*! + * @brief This function moves the value in member array_double_field + * @param _array_double_field New value to be moved in member array_double_field + */ + eProsima_user_DllExport void array_double_field( + std::array&& _array_double_field); + + /*! + * @brief This function returns a constant reference to member array_double_field + * @return Constant reference to member array_double_field + */ + eProsima_user_DllExport const std::array& array_double_field() const; + + /*! + * @brief This function returns a reference to member array_double_field + * @return Reference to member array_double_field + */ + eProsima_user_DllExport std::array& array_double_field(); + + + /*! + * @brief This function copies the value in member array_bool_field + * @param _array_bool_field New value to be copied in member array_bool_field + */ + eProsima_user_DllExport void array_bool_field( + const std::array& _array_bool_field); + + /*! + * @brief This function moves the value in member array_bool_field + * @param _array_bool_field New value to be moved in member array_bool_field + */ + eProsima_user_DllExport void array_bool_field( + std::array&& _array_bool_field); + + /*! + * @brief This function returns a constant reference to member array_bool_field + * @return Constant reference to member array_bool_field + */ + eProsima_user_DllExport const std::array& array_bool_field() const; + + /*! + * @brief This function returns a reference to member array_bool_field + * @return Reference to member array_bool_field + */ + eProsima_user_DllExport std::array& array_bool_field(); + + + /*! + * @brief This function copies the value in member array_enum_field + * @param _array_enum_field New value to be copied in member array_enum_field + */ + eProsima_user_DllExport void array_enum_field( + const std::array& _array_enum_field); + + /*! + * @brief This function moves the value in member array_enum_field + * @param _array_enum_field New value to be moved in member array_enum_field + */ + eProsima_user_DllExport void array_enum_field( + std::array&& _array_enum_field); + + /*! + * @brief This function returns a constant reference to member array_enum_field + * @return Constant reference to member array_enum_field + */ + eProsima_user_DllExport const std::array& array_enum_field() const; + + /*! + * @brief This function returns a reference to member array_enum_field + * @return Reference to member array_enum_field + */ + eProsima_user_DllExport std::array& array_enum_field(); + + + /*! + * @brief This function copies the value in member array_enum2_field + * @param _array_enum2_field New value to be copied in member array_enum2_field + */ + eProsima_user_DllExport void array_enum2_field( + const std::array& _array_enum2_field); + + /*! + * @brief This function moves the value in member array_enum2_field + * @param _array_enum2_field New value to be moved in member array_enum2_field + */ + eProsima_user_DllExport void array_enum2_field( + std::array&& _array_enum2_field); + + /*! + * @brief This function returns a constant reference to member array_enum2_field + * @return Constant reference to member array_enum2_field + */ + eProsima_user_DllExport const std::array& array_enum2_field() const; + + /*! + * @brief This function returns a reference to member array_enum2_field + * @return Reference to member array_enum2_field + */ + eProsima_user_DllExport std::array& array_enum2_field(); + + + /*! + * @brief This function copies the value in member array_struct_field + * @param _array_struct_field New value to be copied in member array_struct_field + */ + eProsima_user_DllExport void array_struct_field( + const std::array& _array_struct_field); + + /*! + * @brief This function moves the value in member array_struct_field + * @param _array_struct_field New value to be moved in member array_struct_field + */ + eProsima_user_DllExport void array_struct_field( + std::array&& _array_struct_field); + + /*! + * @brief This function returns a constant reference to member array_struct_field + * @return Constant reference to member array_struct_field + */ + eProsima_user_DllExport const std::array& array_struct_field() const; + + /*! + * @brief This function returns a reference to member array_struct_field + * @return Reference to member array_struct_field + */ + eProsima_user_DllExport std::array& array_struct_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be copied in member bounded_sequence_char_field + */ + eProsima_user_DllExport void bounded_sequence_char_field( + const std::vector& _bounded_sequence_char_field); + + /*! + * @brief This function moves the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be moved in member bounded_sequence_char_field + */ + eProsima_user_DllExport void bounded_sequence_char_field( + std::vector&& _bounded_sequence_char_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_char_field + * @return Constant reference to member bounded_sequence_char_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_char_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_char_field + * @return Reference to member bounded_sequence_char_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_char_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be copied in member bounded_sequence_uint8_field + */ + eProsima_user_DllExport void bounded_sequence_uint8_field( + const std::vector& _bounded_sequence_uint8_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be moved in member bounded_sequence_uint8_field + */ + eProsima_user_DllExport void bounded_sequence_uint8_field( + std::vector&& _bounded_sequence_uint8_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint8_field + * @return Constant reference to member bounded_sequence_uint8_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint8_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint8_field + * @return Reference to member bounded_sequence_uint8_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint8_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be copied in member bounded_sequence_int16_field + */ + eProsima_user_DllExport void bounded_sequence_int16_field( + const std::vector& _bounded_sequence_int16_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be moved in member bounded_sequence_int16_field + */ + eProsima_user_DllExport void bounded_sequence_int16_field( + std::vector&& _bounded_sequence_int16_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int16_field + * @return Constant reference to member bounded_sequence_int16_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int16_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int16_field + * @return Reference to member bounded_sequence_int16_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int16_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be copied in member bounded_sequence_uint16_field + */ + eProsima_user_DllExport void bounded_sequence_uint16_field( + const std::vector& _bounded_sequence_uint16_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be moved in member bounded_sequence_uint16_field + */ + eProsima_user_DllExport void bounded_sequence_uint16_field( + std::vector&& _bounded_sequence_uint16_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint16_field + * @return Constant reference to member bounded_sequence_uint16_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint16_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint16_field + * @return Reference to member bounded_sequence_uint16_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint16_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be copied in member bounded_sequence_int32_field + */ + eProsima_user_DllExport void bounded_sequence_int32_field( + const std::vector& _bounded_sequence_int32_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be moved in member bounded_sequence_int32_field + */ + eProsima_user_DllExport void bounded_sequence_int32_field( + std::vector&& _bounded_sequence_int32_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int32_field + * @return Constant reference to member bounded_sequence_int32_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int32_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int32_field + * @return Reference to member bounded_sequence_int32_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int32_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be copied in member bounded_sequence_uint32_field + */ + eProsima_user_DllExport void bounded_sequence_uint32_field( + const std::vector& _bounded_sequence_uint32_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be moved in member bounded_sequence_uint32_field + */ + eProsima_user_DllExport void bounded_sequence_uint32_field( + std::vector&& _bounded_sequence_uint32_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint32_field + * @return Constant reference to member bounded_sequence_uint32_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint32_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint32_field + * @return Reference to member bounded_sequence_uint32_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint32_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be copied in member bounded_sequence_int64_field + */ + eProsima_user_DllExport void bounded_sequence_int64_field( + const std::vector& _bounded_sequence_int64_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be moved in member bounded_sequence_int64_field + */ + eProsima_user_DllExport void bounded_sequence_int64_field( + std::vector&& _bounded_sequence_int64_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int64_field + * @return Constant reference to member bounded_sequence_int64_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int64_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int64_field + * @return Reference to member bounded_sequence_int64_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int64_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be copied in member bounded_sequence_uint64_field + */ + eProsima_user_DllExport void bounded_sequence_uint64_field( + const std::vector& _bounded_sequence_uint64_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be moved in member bounded_sequence_uint64_field + */ + eProsima_user_DllExport void bounded_sequence_uint64_field( + std::vector&& _bounded_sequence_uint64_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint64_field + * @return Constant reference to member bounded_sequence_uint64_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint64_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint64_field + * @return Reference to member bounded_sequence_uint64_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint64_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be copied in member bounded_sequence_float_field + */ + eProsima_user_DllExport void bounded_sequence_float_field( + const std::vector& _bounded_sequence_float_field); + + /*! + * @brief This function moves the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be moved in member bounded_sequence_float_field + */ + eProsima_user_DllExport void bounded_sequence_float_field( + std::vector&& _bounded_sequence_float_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_float_field + * @return Constant reference to member bounded_sequence_float_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_float_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_float_field + * @return Reference to member bounded_sequence_float_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_float_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be copied in member bounded_sequence_double_field + */ + eProsima_user_DllExport void bounded_sequence_double_field( + const std::vector& _bounded_sequence_double_field); + + /*! + * @brief This function moves the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be moved in member bounded_sequence_double_field + */ + eProsima_user_DllExport void bounded_sequence_double_field( + std::vector&& _bounded_sequence_double_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_double_field + * @return Constant reference to member bounded_sequence_double_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_double_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_double_field + * @return Reference to member bounded_sequence_double_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_double_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be copied in member bounded_sequence_bool_field + */ + eProsima_user_DllExport void bounded_sequence_bool_field( + const std::vector& _bounded_sequence_bool_field); + + /*! + * @brief This function moves the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be moved in member bounded_sequence_bool_field + */ + eProsima_user_DllExport void bounded_sequence_bool_field( + std::vector&& _bounded_sequence_bool_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_bool_field + * @return Constant reference to member bounded_sequence_bool_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_bool_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_bool_field + * @return Reference to member bounded_sequence_bool_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_bool_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be copied in member bounded_sequence_enum_field + */ + eProsima_user_DllExport void bounded_sequence_enum_field( + const std::vector& _bounded_sequence_enum_field); + + /*! + * @brief This function moves the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be moved in member bounded_sequence_enum_field + */ + eProsima_user_DllExport void bounded_sequence_enum_field( + std::vector&& _bounded_sequence_enum_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_enum_field + * @return Constant reference to member bounded_sequence_enum_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_enum_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_enum_field + * @return Reference to member bounded_sequence_enum_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_enum_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be copied in member bounded_sequence_enum2_field + */ + eProsima_user_DllExport void bounded_sequence_enum2_field( + const std::vector& _bounded_sequence_enum2_field); + + /*! + * @brief This function moves the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be moved in member bounded_sequence_enum2_field + */ + eProsima_user_DllExport void bounded_sequence_enum2_field( + std::vector&& _bounded_sequence_enum2_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_enum2_field + * @return Constant reference to member bounded_sequence_enum2_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_enum2_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_enum2_field + * @return Reference to member bounded_sequence_enum2_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_enum2_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be copied in member bounded_sequence_struct_field + */ + eProsima_user_DllExport void bounded_sequence_struct_field( + const std::vector& _bounded_sequence_struct_field); + + /*! + * @brief This function moves the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be moved in member bounded_sequence_struct_field + */ + eProsima_user_DllExport void bounded_sequence_struct_field( + std::vector&& _bounded_sequence_struct_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_struct_field + * @return Constant reference to member bounded_sequence_struct_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_struct_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_struct_field + * @return Reference to member bounded_sequence_struct_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_struct_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be copied in member unbounded_sequence_char_field + */ + eProsima_user_DllExport void unbounded_sequence_char_field( + const std::vector& _unbounded_sequence_char_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be moved in member unbounded_sequence_char_field + */ + eProsima_user_DllExport void unbounded_sequence_char_field( + std::vector&& _unbounded_sequence_char_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_char_field + * @return Constant reference to member unbounded_sequence_char_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_char_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_char_field + * @return Reference to member unbounded_sequence_char_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_char_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be copied in member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport void unbounded_sequence_uint8_field( + const std::vector& _unbounded_sequence_uint8_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be moved in member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport void unbounded_sequence_uint8_field( + std::vector&& _unbounded_sequence_uint8_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint8_field + * @return Constant reference to member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint8_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint8_field + * @return Reference to member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint8_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be copied in member unbounded_sequence_int16_field + */ + eProsima_user_DllExport void unbounded_sequence_int16_field( + const std::vector& _unbounded_sequence_int16_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be moved in member unbounded_sequence_int16_field + */ + eProsima_user_DllExport void unbounded_sequence_int16_field( + std::vector&& _unbounded_sequence_int16_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int16_field + * @return Constant reference to member unbounded_sequence_int16_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int16_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int16_field + * @return Reference to member unbounded_sequence_int16_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int16_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be copied in member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport void unbounded_sequence_uint16_field( + const std::vector& _unbounded_sequence_uint16_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be moved in member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport void unbounded_sequence_uint16_field( + std::vector&& _unbounded_sequence_uint16_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint16_field + * @return Constant reference to member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint16_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint16_field + * @return Reference to member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint16_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be copied in member unbounded_sequence_int32_field + */ + eProsima_user_DllExport void unbounded_sequence_int32_field( + const std::vector& _unbounded_sequence_int32_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be moved in member unbounded_sequence_int32_field + */ + eProsima_user_DllExport void unbounded_sequence_int32_field( + std::vector&& _unbounded_sequence_int32_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int32_field + * @return Constant reference to member unbounded_sequence_int32_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int32_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int32_field + * @return Reference to member unbounded_sequence_int32_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int32_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be copied in member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport void unbounded_sequence_uint32_field( + const std::vector& _unbounded_sequence_uint32_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be moved in member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport void unbounded_sequence_uint32_field( + std::vector&& _unbounded_sequence_uint32_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint32_field + * @return Constant reference to member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint32_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint32_field + * @return Reference to member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint32_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be copied in member unbounded_sequence_int64_field + */ + eProsima_user_DllExport void unbounded_sequence_int64_field( + const std::vector& _unbounded_sequence_int64_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be moved in member unbounded_sequence_int64_field + */ + eProsima_user_DllExport void unbounded_sequence_int64_field( + std::vector&& _unbounded_sequence_int64_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int64_field + * @return Constant reference to member unbounded_sequence_int64_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int64_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int64_field + * @return Reference to member unbounded_sequence_int64_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int64_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be copied in member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport void unbounded_sequence_uint64_field( + const std::vector& _unbounded_sequence_uint64_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be moved in member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport void unbounded_sequence_uint64_field( + std::vector&& _unbounded_sequence_uint64_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint64_field + * @return Constant reference to member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint64_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint64_field + * @return Reference to member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint64_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be copied in member unbounded_sequence_float_field + */ + eProsima_user_DllExport void unbounded_sequence_float_field( + const std::vector& _unbounded_sequence_float_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be moved in member unbounded_sequence_float_field + */ + eProsima_user_DllExport void unbounded_sequence_float_field( + std::vector&& _unbounded_sequence_float_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_float_field + * @return Constant reference to member unbounded_sequence_float_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_float_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_float_field + * @return Reference to member unbounded_sequence_float_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_float_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be copied in member unbounded_sequence_double_field + */ + eProsima_user_DllExport void unbounded_sequence_double_field( + const std::vector& _unbounded_sequence_double_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be moved in member unbounded_sequence_double_field + */ + eProsima_user_DllExport void unbounded_sequence_double_field( + std::vector&& _unbounded_sequence_double_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_double_field + * @return Constant reference to member unbounded_sequence_double_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_double_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_double_field + * @return Reference to member unbounded_sequence_double_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_double_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be copied in member unbounded_sequence_bool_field + */ + eProsima_user_DllExport void unbounded_sequence_bool_field( + const std::vector& _unbounded_sequence_bool_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be moved in member unbounded_sequence_bool_field + */ + eProsima_user_DllExport void unbounded_sequence_bool_field( + std::vector&& _unbounded_sequence_bool_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_bool_field + * @return Constant reference to member unbounded_sequence_bool_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_bool_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_bool_field + * @return Reference to member unbounded_sequence_bool_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_bool_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be copied in member unbounded_sequence_enum_field + */ + eProsima_user_DllExport void unbounded_sequence_enum_field( + const std::vector& _unbounded_sequence_enum_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be moved in member unbounded_sequence_enum_field + */ + eProsima_user_DllExport void unbounded_sequence_enum_field( + std::vector&& _unbounded_sequence_enum_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_enum_field + * @return Constant reference to member unbounded_sequence_enum_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_enum_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_enum_field + * @return Reference to member unbounded_sequence_enum_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_enum_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be copied in member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport void unbounded_sequence_enum2_field( + const std::vector& _unbounded_sequence_enum2_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be moved in member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport void unbounded_sequence_enum2_field( + std::vector&& _unbounded_sequence_enum2_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_enum2_field + * @return Constant reference to member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_enum2_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_enum2_field + * @return Reference to member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_enum2_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be copied in member unbounded_sequence_struct_field + */ + eProsima_user_DllExport void unbounded_sequence_struct_field( + const std::vector& _unbounded_sequence_struct_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be moved in member unbounded_sequence_struct_field + */ + eProsima_user_DllExport void unbounded_sequence_struct_field( + std::vector&& _unbounded_sequence_struct_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_struct_field + * @return Constant reference to member unbounded_sequence_struct_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_struct_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_struct_field + * @return Reference to member unbounded_sequence_struct_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_struct_field(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::test::CompleteTestType& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + + + private: + + char m_char_field; + uint8_t m_uint8_field; + int16_t m_int16_field; + uint16_t m_uint16_field; + int32_t m_int32_field; + uint32_t m_uint32_field; + int64_t m_int64_field; + uint64_t m_uint64_field; + float m_float_field; + double m_double_field; + bool m_bool_field; + std::string m_string_field; + eprosima::test::Color m_enum_field; + eprosima::test::Material m_enum2_field; + eprosima::test::StructType m_struct_field; + char m_char_opt_field; + uint8_t m_uint8_opt_field; + int16_t m_int16_opt_field; + uint16_t m_uint16_opt_field; + int32_t m_int32_opt_field; + uint32_t m_uint32_opt_field; + int64_t m_int64_opt_field; + uint64_t m_uint64_opt_field; + float m_float_opt_field; + double m_double_opt_field; + bool m_bool_opt_field; + std::string m_string_opt_field; + eprosima::test::Color m_enum_opt_field; + eprosima::test::Material m_enum2_opt_field; + eprosima::test::StructType m_struct_opt_field; + std::array m_array_char_field; + std::array m_array_uint8_field; + std::array m_array_int16_field; + std::array m_array_uint16_field; + std::array m_array_int32_field; + std::array m_array_uint32_field; + std::array m_array_int64_field; + std::array m_array_uint64_field; + std::array m_array_float_field; + std::array m_array_double_field; + std::array m_array_bool_field; + std::array m_array_enum_field; + std::array m_array_enum2_field; + std::array m_array_struct_field; + std::vector m_bounded_sequence_char_field; + std::vector m_bounded_sequence_uint8_field; + std::vector m_bounded_sequence_int16_field; + std::vector m_bounded_sequence_uint16_field; + std::vector m_bounded_sequence_int32_field; + std::vector m_bounded_sequence_uint32_field; + std::vector m_bounded_sequence_int64_field; + std::vector m_bounded_sequence_uint64_field; + std::vector m_bounded_sequence_float_field; + std::vector m_bounded_sequence_double_field; + std::vector m_bounded_sequence_bool_field; + std::vector m_bounded_sequence_enum_field; + std::vector m_bounded_sequence_enum2_field; + std::vector m_bounded_sequence_struct_field; + std::vector m_unbounded_sequence_char_field; + std::vector m_unbounded_sequence_uint8_field; + std::vector m_unbounded_sequence_int16_field; + std::vector m_unbounded_sequence_uint16_field; + std::vector m_unbounded_sequence_int32_field; + std::vector m_unbounded_sequence_uint32_field; + std::vector m_unbounded_sequence_int64_field; + std::vector m_unbounded_sequence_uint64_field; + std::vector m_unbounded_sequence_float_field; + std::vector m_unbounded_sequence_double_field; + std::vector m_unbounded_sequence_bool_field; + std::vector m_unbounded_sequence_enum_field; + std::vector m_unbounded_sequence_enum2_field; + std::vector m_unbounded_sequence_struct_field; + + }; + + + + + + /*! + * @brief This class represents the structure KeyedCompleteTestType defined by the user in the IDL file. + * @ingroup test_modules + */ + class KeyedCompleteTestType + { + public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport KeyedCompleteTestType(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~KeyedCompleteTestType(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object eprosima::test::KeyedCompleteTestType that will be copied. + */ + eProsima_user_DllExport KeyedCompleteTestType( + const KeyedCompleteTestType& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object eprosima::test::KeyedCompleteTestType that will be copied. + */ + eProsima_user_DllExport KeyedCompleteTestType( + KeyedCompleteTestType&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object eprosima::test::KeyedCompleteTestType that will be copied. + */ + eProsima_user_DllExport KeyedCompleteTestType& operator =( + const KeyedCompleteTestType& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object eprosima::test::KeyedCompleteTestType that will be copied. + */ + eProsima_user_DllExport KeyedCompleteTestType& operator =( + KeyedCompleteTestType&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x eprosima::test::KeyedCompleteTestType object to compare. + */ + eProsima_user_DllExport bool operator ==( + const KeyedCompleteTestType& x) const; + + /*! + * @brief Comparison operator. + * @param x eprosima::test::KeyedCompleteTestType object to compare. + */ + eProsima_user_DllExport bool operator !=( + const KeyedCompleteTestType& x) const; + + /*! + * @brief This function sets a value in member id + * @param _id New value for member id + */ + eProsima_user_DllExport void id( + int32_t _id); + + /*! + * @brief This function returns the value of member id + * @return Value of member id + */ + eProsima_user_DllExport int32_t id() const; + + /*! + * @brief This function returns a reference to member id + * @return Reference to member id + */ + eProsima_user_DllExport int32_t& id(); + + + /*! + * @brief This function sets a value in member char_field + * @param _char_field New value for member char_field + */ + eProsima_user_DllExport void char_field( + char _char_field); + + /*! + * @brief This function returns the value of member char_field + * @return Value of member char_field + */ + eProsima_user_DllExport char char_field() const; + + /*! + * @brief This function returns a reference to member char_field + * @return Reference to member char_field + */ + eProsima_user_DllExport char& char_field(); + + + /*! + * @brief This function sets a value in member uint8_field + * @param _uint8_field New value for member uint8_field + */ + eProsima_user_DllExport void uint8_field( + uint8_t _uint8_field); + + /*! + * @brief This function returns the value of member uint8_field + * @return Value of member uint8_field + */ + eProsima_user_DllExport uint8_t uint8_field() const; + + /*! + * @brief This function returns a reference to member uint8_field + * @return Reference to member uint8_field + */ + eProsima_user_DllExport uint8_t& uint8_field(); + + + /*! + * @brief This function sets a value in member int16_field + * @param _int16_field New value for member int16_field + */ + eProsima_user_DllExport void int16_field( + int16_t _int16_field); + + /*! + * @brief This function returns the value of member int16_field + * @return Value of member int16_field + */ + eProsima_user_DllExport int16_t int16_field() const; + + /*! + * @brief This function returns a reference to member int16_field + * @return Reference to member int16_field + */ + eProsima_user_DllExport int16_t& int16_field(); + + + /*! + * @brief This function sets a value in member uint16_field + * @param _uint16_field New value for member uint16_field + */ + eProsima_user_DllExport void uint16_field( + uint16_t _uint16_field); + + /*! + * @brief This function returns the value of member uint16_field + * @return Value of member uint16_field + */ + eProsima_user_DllExport uint16_t uint16_field() const; + + /*! + * @brief This function returns a reference to member uint16_field + * @return Reference to member uint16_field + */ + eProsima_user_DllExport uint16_t& uint16_field(); + + + /*! + * @brief This function sets a value in member int32_field + * @param _int32_field New value for member int32_field + */ + eProsima_user_DllExport void int32_field( + int32_t _int32_field); + + /*! + * @brief This function returns the value of member int32_field + * @return Value of member int32_field + */ + eProsima_user_DllExport int32_t int32_field() const; + + /*! + * @brief This function returns a reference to member int32_field + * @return Reference to member int32_field + */ + eProsima_user_DllExport int32_t& int32_field(); + + + /*! + * @brief This function sets a value in member uint32_field + * @param _uint32_field New value for member uint32_field + */ + eProsima_user_DllExport void uint32_field( + uint32_t _uint32_field); + + /*! + * @brief This function returns the value of member uint32_field + * @return Value of member uint32_field + */ + eProsima_user_DllExport uint32_t uint32_field() const; + + /*! + * @brief This function returns a reference to member uint32_field + * @return Reference to member uint32_field + */ + eProsima_user_DllExport uint32_t& uint32_field(); + + + /*! + * @brief This function sets a value in member int64_field + * @param _int64_field New value for member int64_field + */ + eProsima_user_DllExport void int64_field( + int64_t _int64_field); + + /*! + * @brief This function returns the value of member int64_field + * @return Value of member int64_field + */ + eProsima_user_DllExport int64_t int64_field() const; + + /*! + * @brief This function returns a reference to member int64_field + * @return Reference to member int64_field + */ + eProsima_user_DllExport int64_t& int64_field(); + + + /*! + * @brief This function sets a value in member uint64_field + * @param _uint64_field New value for member uint64_field + */ + eProsima_user_DllExport void uint64_field( + uint64_t _uint64_field); + + /*! + * @brief This function returns the value of member uint64_field + * @return Value of member uint64_field + */ + eProsima_user_DllExport uint64_t uint64_field() const; + + /*! + * @brief This function returns a reference to member uint64_field + * @return Reference to member uint64_field + */ + eProsima_user_DllExport uint64_t& uint64_field(); + + + /*! + * @brief This function sets a value in member float_field + * @param _float_field New value for member float_field + */ + eProsima_user_DllExport void float_field( + float _float_field); + + /*! + * @brief This function returns the value of member float_field + * @return Value of member float_field + */ + eProsima_user_DllExport float float_field() const; + + /*! + * @brief This function returns a reference to member float_field + * @return Reference to member float_field + */ + eProsima_user_DllExport float& float_field(); + + + /*! + * @brief This function sets a value in member double_field + * @param _double_field New value for member double_field + */ + eProsima_user_DllExport void double_field( + double _double_field); + + /*! + * @brief This function returns the value of member double_field + * @return Value of member double_field + */ + eProsima_user_DllExport double double_field() const; + + /*! + * @brief This function returns a reference to member double_field + * @return Reference to member double_field + */ + eProsima_user_DllExport double& double_field(); + + + /*! + * @brief This function sets a value in member bool_field + * @param _bool_field New value for member bool_field + */ + eProsima_user_DllExport void bool_field( + bool _bool_field); + + /*! + * @brief This function returns the value of member bool_field + * @return Value of member bool_field + */ + eProsima_user_DllExport bool bool_field() const; + + /*! + * @brief This function returns a reference to member bool_field + * @return Reference to member bool_field + */ + eProsima_user_DllExport bool& bool_field(); + + + /*! + * @brief This function copies the value in member string_field + * @param _string_field New value to be copied in member string_field + */ + eProsima_user_DllExport void string_field( + const std::string& _string_field); + + /*! + * @brief This function moves the value in member string_field + * @param _string_field New value to be moved in member string_field + */ + eProsima_user_DllExport void string_field( + std::string&& _string_field); + + /*! + * @brief This function returns a constant reference to member string_field + * @return Constant reference to member string_field + */ + eProsima_user_DllExport const std::string& string_field() const; + + /*! + * @brief This function returns a reference to member string_field + * @return Reference to member string_field + */ + eProsima_user_DllExport std::string& string_field(); + + + /*! + * @brief This function sets a value in member enum_field + * @param _enum_field New value for member enum_field + */ + eProsima_user_DllExport void enum_field( + eprosima::test::Color _enum_field); + + /*! + * @brief This function returns the value of member enum_field + * @return Value of member enum_field + */ + eProsima_user_DllExport eprosima::test::Color enum_field() const; + + /*! + * @brief This function returns a reference to member enum_field + * @return Reference to member enum_field + */ + eProsima_user_DllExport eprosima::test::Color& enum_field(); + + + /*! + * @brief This function sets a value in member enum2_field + * @param _enum2_field New value for member enum2_field + */ + eProsima_user_DllExport void enum2_field( + eprosima::test::Material _enum2_field); + + /*! + * @brief This function returns the value of member enum2_field + * @return Value of member enum2_field + */ + eProsima_user_DllExport eprosima::test::Material enum2_field() const; + + /*! + * @brief This function returns a reference to member enum2_field + * @return Reference to member enum2_field + */ + eProsima_user_DllExport eprosima::test::Material& enum2_field(); + + + /*! + * @brief This function copies the value in member struct_field + * @param _struct_field New value to be copied in member struct_field + */ + eProsima_user_DllExport void struct_field( + const eprosima::test::StructType& _struct_field); + + /*! + * @brief This function moves the value in member struct_field + * @param _struct_field New value to be moved in member struct_field + */ + eProsima_user_DllExport void struct_field( + eprosima::test::StructType&& _struct_field); + + /*! + * @brief This function returns a constant reference to member struct_field + * @return Constant reference to member struct_field + */ + eProsima_user_DllExport const eprosima::test::StructType& struct_field() const; + + /*! + * @brief This function returns a reference to member struct_field + * @return Reference to member struct_field + */ + eProsima_user_DllExport eprosima::test::StructType& struct_field(); + + + /*! + * @brief This function sets a value in member char_opt_field + * @param _char_opt_field New value for member char_opt_field + */ + eProsima_user_DllExport void char_opt_field( + char _char_opt_field); + + /*! + * @brief This function returns the value of member char_opt_field + * @return Value of member char_opt_field + */ + eProsima_user_DllExport char char_opt_field() const; + + /*! + * @brief This function returns a reference to member char_opt_field + * @return Reference to member char_opt_field + */ + eProsima_user_DllExport char& char_opt_field(); + + + /*! + * @brief This function sets a value in member uint8_opt_field + * @param _uint8_opt_field New value for member uint8_opt_field + */ + eProsima_user_DllExport void uint8_opt_field( + uint8_t _uint8_opt_field); + + /*! + * @brief This function returns the value of member uint8_opt_field + * @return Value of member uint8_opt_field + */ + eProsima_user_DllExport uint8_t uint8_opt_field() const; + + /*! + * @brief This function returns a reference to member uint8_opt_field + * @return Reference to member uint8_opt_field + */ + eProsima_user_DllExport uint8_t& uint8_opt_field(); + + + /*! + * @brief This function sets a value in member int16_opt_field + * @param _int16_opt_field New value for member int16_opt_field + */ + eProsima_user_DllExport void int16_opt_field( + int16_t _int16_opt_field); + + /*! + * @brief This function returns the value of member int16_opt_field + * @return Value of member int16_opt_field + */ + eProsima_user_DllExport int16_t int16_opt_field() const; + + /*! + * @brief This function returns a reference to member int16_opt_field + * @return Reference to member int16_opt_field + */ + eProsima_user_DllExport int16_t& int16_opt_field(); + + + /*! + * @brief This function sets a value in member uint16_opt_field + * @param _uint16_opt_field New value for member uint16_opt_field + */ + eProsima_user_DllExport void uint16_opt_field( + uint16_t _uint16_opt_field); + + /*! + * @brief This function returns the value of member uint16_opt_field + * @return Value of member uint16_opt_field + */ + eProsima_user_DllExport uint16_t uint16_opt_field() const; + + /*! + * @brief This function returns a reference to member uint16_opt_field + * @return Reference to member uint16_opt_field + */ + eProsima_user_DllExport uint16_t& uint16_opt_field(); + + + /*! + * @brief This function sets a value in member int32_opt_field + * @param _int32_opt_field New value for member int32_opt_field + */ + eProsima_user_DllExport void int32_opt_field( + int32_t _int32_opt_field); + + /*! + * @brief This function returns the value of member int32_opt_field + * @return Value of member int32_opt_field + */ + eProsima_user_DllExport int32_t int32_opt_field() const; + + /*! + * @brief This function returns a reference to member int32_opt_field + * @return Reference to member int32_opt_field + */ + eProsima_user_DllExport int32_t& int32_opt_field(); + + + /*! + * @brief This function sets a value in member uint32_opt_field + * @param _uint32_opt_field New value for member uint32_opt_field + */ + eProsima_user_DllExport void uint32_opt_field( + uint32_t _uint32_opt_field); + + /*! + * @brief This function returns the value of member uint32_opt_field + * @return Value of member uint32_opt_field + */ + eProsima_user_DllExport uint32_t uint32_opt_field() const; + + /*! + * @brief This function returns a reference to member uint32_opt_field + * @return Reference to member uint32_opt_field + */ + eProsima_user_DllExport uint32_t& uint32_opt_field(); + + + /*! + * @brief This function sets a value in member int64_opt_field + * @param _int64_opt_field New value for member int64_opt_field + */ + eProsima_user_DllExport void int64_opt_field( + int64_t _int64_opt_field); + + /*! + * @brief This function returns the value of member int64_opt_field + * @return Value of member int64_opt_field + */ + eProsima_user_DllExport int64_t int64_opt_field() const; + + /*! + * @brief This function returns a reference to member int64_opt_field + * @return Reference to member int64_opt_field + */ + eProsima_user_DllExport int64_t& int64_opt_field(); + + + /*! + * @brief This function sets a value in member uint64_opt_field + * @param _uint64_opt_field New value for member uint64_opt_field + */ + eProsima_user_DllExport void uint64_opt_field( + uint64_t _uint64_opt_field); + + /*! + * @brief This function returns the value of member uint64_opt_field + * @return Value of member uint64_opt_field + */ + eProsima_user_DllExport uint64_t uint64_opt_field() const; + + /*! + * @brief This function returns a reference to member uint64_opt_field + * @return Reference to member uint64_opt_field + */ + eProsima_user_DllExport uint64_t& uint64_opt_field(); + + + /*! + * @brief This function sets a value in member float_opt_field + * @param _float_opt_field New value for member float_opt_field + */ + eProsima_user_DllExport void float_opt_field( + float _float_opt_field); + + /*! + * @brief This function returns the value of member float_opt_field + * @return Value of member float_opt_field + */ + eProsima_user_DllExport float float_opt_field() const; + + /*! + * @brief This function returns a reference to member float_opt_field + * @return Reference to member float_opt_field + */ + eProsima_user_DllExport float& float_opt_field(); + + + /*! + * @brief This function sets a value in member double_opt_field + * @param _double_opt_field New value for member double_opt_field + */ + eProsima_user_DllExport void double_opt_field( + double _double_opt_field); + + /*! + * @brief This function returns the value of member double_opt_field + * @return Value of member double_opt_field + */ + eProsima_user_DllExport double double_opt_field() const; + + /*! + * @brief This function returns a reference to member double_opt_field + * @return Reference to member double_opt_field + */ + eProsima_user_DllExport double& double_opt_field(); + + + /*! + * @brief This function sets a value in member bool_opt_field + * @param _bool_opt_field New value for member bool_opt_field + */ + eProsima_user_DllExport void bool_opt_field( + bool _bool_opt_field); + + /*! + * @brief This function returns the value of member bool_opt_field + * @return Value of member bool_opt_field + */ + eProsima_user_DllExport bool bool_opt_field() const; + + /*! + * @brief This function returns a reference to member bool_opt_field + * @return Reference to member bool_opt_field + */ + eProsima_user_DllExport bool& bool_opt_field(); + + + /*! + * @brief This function copies the value in member string_opt_field + * @param _string_opt_field New value to be copied in member string_opt_field + */ + eProsima_user_DllExport void string_opt_field( + const std::string& _string_opt_field); + + /*! + * @brief This function moves the value in member string_opt_field + * @param _string_opt_field New value to be moved in member string_opt_field + */ + eProsima_user_DllExport void string_opt_field( + std::string&& _string_opt_field); + + /*! + * @brief This function returns a constant reference to member string_opt_field + * @return Constant reference to member string_opt_field + */ + eProsima_user_DllExport const std::string& string_opt_field() const; + + /*! + * @brief This function returns a reference to member string_opt_field + * @return Reference to member string_opt_field + */ + eProsima_user_DllExport std::string& string_opt_field(); + + + /*! + * @brief This function sets a value in member enum_opt_field + * @param _enum_opt_field New value for member enum_opt_field + */ + eProsima_user_DllExport void enum_opt_field( + eprosima::test::Color _enum_opt_field); + + /*! + * @brief This function returns the value of member enum_opt_field + * @return Value of member enum_opt_field + */ + eProsima_user_DllExport eprosima::test::Color enum_opt_field() const; + + /*! + * @brief This function returns a reference to member enum_opt_field + * @return Reference to member enum_opt_field + */ + eProsima_user_DllExport eprosima::test::Color& enum_opt_field(); + + + /*! + * @brief This function sets a value in member enum2_opt_field + * @param _enum2_opt_field New value for member enum2_opt_field + */ + eProsima_user_DllExport void enum2_opt_field( + eprosima::test::Material _enum2_opt_field); + + /*! + * @brief This function returns the value of member enum2_opt_field + * @return Value of member enum2_opt_field + */ + eProsima_user_DllExport eprosima::test::Material enum2_opt_field() const; + + /*! + * @brief This function returns a reference to member enum2_opt_field + * @return Reference to member enum2_opt_field + */ + eProsima_user_DllExport eprosima::test::Material& enum2_opt_field(); + + + /*! + * @brief This function copies the value in member struct_opt_field + * @param _struct_opt_field New value to be copied in member struct_opt_field + */ + eProsima_user_DllExport void struct_opt_field( + const eprosima::test::StructType& _struct_opt_field); + + /*! + * @brief This function moves the value in member struct_opt_field + * @param _struct_opt_field New value to be moved in member struct_opt_field + */ + eProsima_user_DllExport void struct_opt_field( + eprosima::test::StructType&& _struct_opt_field); + + /*! + * @brief This function returns a constant reference to member struct_opt_field + * @return Constant reference to member struct_opt_field + */ + eProsima_user_DllExport const eprosima::test::StructType& struct_opt_field() const; + + /*! + * @brief This function returns a reference to member struct_opt_field + * @return Reference to member struct_opt_field + */ + eProsima_user_DllExport eprosima::test::StructType& struct_opt_field(); + + + /*! + * @brief This function copies the value in member array_char_field + * @param _array_char_field New value to be copied in member array_char_field + */ + eProsima_user_DllExport void array_char_field( + const std::array& _array_char_field); + + /*! + * @brief This function moves the value in member array_char_field + * @param _array_char_field New value to be moved in member array_char_field + */ + eProsima_user_DllExport void array_char_field( + std::array&& _array_char_field); + + /*! + * @brief This function returns a constant reference to member array_char_field + * @return Constant reference to member array_char_field + */ + eProsima_user_DllExport const std::array& array_char_field() const; + + /*! + * @brief This function returns a reference to member array_char_field + * @return Reference to member array_char_field + */ + eProsima_user_DllExport std::array& array_char_field(); + + + /*! + * @brief This function copies the value in member array_uint8_field + * @param _array_uint8_field New value to be copied in member array_uint8_field + */ + eProsima_user_DllExport void array_uint8_field( + const std::array& _array_uint8_field); + + /*! + * @brief This function moves the value in member array_uint8_field + * @param _array_uint8_field New value to be moved in member array_uint8_field + */ + eProsima_user_DllExport void array_uint8_field( + std::array&& _array_uint8_field); + + /*! + * @brief This function returns a constant reference to member array_uint8_field + * @return Constant reference to member array_uint8_field + */ + eProsima_user_DllExport const std::array& array_uint8_field() const; + + /*! + * @brief This function returns a reference to member array_uint8_field + * @return Reference to member array_uint8_field + */ + eProsima_user_DllExport std::array& array_uint8_field(); + + + /*! + * @brief This function copies the value in member array_int16_field + * @param _array_int16_field New value to be copied in member array_int16_field + */ + eProsima_user_DllExport void array_int16_field( + const std::array& _array_int16_field); + + /*! + * @brief This function moves the value in member array_int16_field + * @param _array_int16_field New value to be moved in member array_int16_field + */ + eProsima_user_DllExport void array_int16_field( + std::array&& _array_int16_field); + + /*! + * @brief This function returns a constant reference to member array_int16_field + * @return Constant reference to member array_int16_field + */ + eProsima_user_DllExport const std::array& array_int16_field() const; + + /*! + * @brief This function returns a reference to member array_int16_field + * @return Reference to member array_int16_field + */ + eProsima_user_DllExport std::array& array_int16_field(); + + + /*! + * @brief This function copies the value in member array_uint16_field + * @param _array_uint16_field New value to be copied in member array_uint16_field + */ + eProsima_user_DllExport void array_uint16_field( + const std::array& _array_uint16_field); + + /*! + * @brief This function moves the value in member array_uint16_field + * @param _array_uint16_field New value to be moved in member array_uint16_field + */ + eProsima_user_DllExport void array_uint16_field( + std::array&& _array_uint16_field); + + /*! + * @brief This function returns a constant reference to member array_uint16_field + * @return Constant reference to member array_uint16_field + */ + eProsima_user_DllExport const std::array& array_uint16_field() const; + + /*! + * @brief This function returns a reference to member array_uint16_field + * @return Reference to member array_uint16_field + */ + eProsima_user_DllExport std::array& array_uint16_field(); + + + /*! + * @brief This function copies the value in member array_int32_field + * @param _array_int32_field New value to be copied in member array_int32_field + */ + eProsima_user_DllExport void array_int32_field( + const std::array& _array_int32_field); + + /*! + * @brief This function moves the value in member array_int32_field + * @param _array_int32_field New value to be moved in member array_int32_field + */ + eProsima_user_DllExport void array_int32_field( + std::array&& _array_int32_field); + + /*! + * @brief This function returns a constant reference to member array_int32_field + * @return Constant reference to member array_int32_field + */ + eProsima_user_DllExport const std::array& array_int32_field() const; + + /*! + * @brief This function returns a reference to member array_int32_field + * @return Reference to member array_int32_field + */ + eProsima_user_DllExport std::array& array_int32_field(); + + + /*! + * @brief This function copies the value in member array_uint32_field + * @param _array_uint32_field New value to be copied in member array_uint32_field + */ + eProsima_user_DllExport void array_uint32_field( + const std::array& _array_uint32_field); + + /*! + * @brief This function moves the value in member array_uint32_field + * @param _array_uint32_field New value to be moved in member array_uint32_field + */ + eProsima_user_DllExport void array_uint32_field( + std::array&& _array_uint32_field); + + /*! + * @brief This function returns a constant reference to member array_uint32_field + * @return Constant reference to member array_uint32_field + */ + eProsima_user_DllExport const std::array& array_uint32_field() const; + + /*! + * @brief This function returns a reference to member array_uint32_field + * @return Reference to member array_uint32_field + */ + eProsima_user_DllExport std::array& array_uint32_field(); + + + /*! + * @brief This function copies the value in member array_int64_field + * @param _array_int64_field New value to be copied in member array_int64_field + */ + eProsima_user_DllExport void array_int64_field( + const std::array& _array_int64_field); + + /*! + * @brief This function moves the value in member array_int64_field + * @param _array_int64_field New value to be moved in member array_int64_field + */ + eProsima_user_DllExport void array_int64_field( + std::array&& _array_int64_field); + + /*! + * @brief This function returns a constant reference to member array_int64_field + * @return Constant reference to member array_int64_field + */ + eProsima_user_DllExport const std::array& array_int64_field() const; + + /*! + * @brief This function returns a reference to member array_int64_field + * @return Reference to member array_int64_field + */ + eProsima_user_DllExport std::array& array_int64_field(); + + + /*! + * @brief This function copies the value in member array_uint64_field + * @param _array_uint64_field New value to be copied in member array_uint64_field + */ + eProsima_user_DllExport void array_uint64_field( + const std::array& _array_uint64_field); + + /*! + * @brief This function moves the value in member array_uint64_field + * @param _array_uint64_field New value to be moved in member array_uint64_field + */ + eProsima_user_DllExport void array_uint64_field( + std::array&& _array_uint64_field); + + /*! + * @brief This function returns a constant reference to member array_uint64_field + * @return Constant reference to member array_uint64_field + */ + eProsima_user_DllExport const std::array& array_uint64_field() const; + + /*! + * @brief This function returns a reference to member array_uint64_field + * @return Reference to member array_uint64_field + */ + eProsima_user_DllExport std::array& array_uint64_field(); + + + /*! + * @brief This function copies the value in member array_float_field + * @param _array_float_field New value to be copied in member array_float_field + */ + eProsima_user_DllExport void array_float_field( + const std::array& _array_float_field); + + /*! + * @brief This function moves the value in member array_float_field + * @param _array_float_field New value to be moved in member array_float_field + */ + eProsima_user_DllExport void array_float_field( + std::array&& _array_float_field); + + /*! + * @brief This function returns a constant reference to member array_float_field + * @return Constant reference to member array_float_field + */ + eProsima_user_DllExport const std::array& array_float_field() const; + + /*! + * @brief This function returns a reference to member array_float_field + * @return Reference to member array_float_field + */ + eProsima_user_DllExport std::array& array_float_field(); + + + /*! + * @brief This function copies the value in member array_double_field + * @param _array_double_field New value to be copied in member array_double_field + */ + eProsima_user_DllExport void array_double_field( + const std::array& _array_double_field); + + /*! + * @brief This function moves the value in member array_double_field + * @param _array_double_field New value to be moved in member array_double_field + */ + eProsima_user_DllExport void array_double_field( + std::array&& _array_double_field); + + /*! + * @brief This function returns a constant reference to member array_double_field + * @return Constant reference to member array_double_field + */ + eProsima_user_DllExport const std::array& array_double_field() const; + + /*! + * @brief This function returns a reference to member array_double_field + * @return Reference to member array_double_field + */ + eProsima_user_DllExport std::array& array_double_field(); + + + /*! + * @brief This function copies the value in member array_bool_field + * @param _array_bool_field New value to be copied in member array_bool_field + */ + eProsima_user_DllExport void array_bool_field( + const std::array& _array_bool_field); + + /*! + * @brief This function moves the value in member array_bool_field + * @param _array_bool_field New value to be moved in member array_bool_field + */ + eProsima_user_DllExport void array_bool_field( + std::array&& _array_bool_field); + + /*! + * @brief This function returns a constant reference to member array_bool_field + * @return Constant reference to member array_bool_field + */ + eProsima_user_DllExport const std::array& array_bool_field() const; + + /*! + * @brief This function returns a reference to member array_bool_field + * @return Reference to member array_bool_field + */ + eProsima_user_DllExport std::array& array_bool_field(); + + + /*! + * @brief This function copies the value in member array_enum_field + * @param _array_enum_field New value to be copied in member array_enum_field + */ + eProsima_user_DllExport void array_enum_field( + const std::array& _array_enum_field); + + /*! + * @brief This function moves the value in member array_enum_field + * @param _array_enum_field New value to be moved in member array_enum_field + */ + eProsima_user_DllExport void array_enum_field( + std::array&& _array_enum_field); + + /*! + * @brief This function returns a constant reference to member array_enum_field + * @return Constant reference to member array_enum_field + */ + eProsima_user_DllExport const std::array& array_enum_field() const; + + /*! + * @brief This function returns a reference to member array_enum_field + * @return Reference to member array_enum_field + */ + eProsima_user_DllExport std::array& array_enum_field(); + + + /*! + * @brief This function copies the value in member array_enum2_field + * @param _array_enum2_field New value to be copied in member array_enum2_field + */ + eProsima_user_DllExport void array_enum2_field( + const std::array& _array_enum2_field); + + /*! + * @brief This function moves the value in member array_enum2_field + * @param _array_enum2_field New value to be moved in member array_enum2_field + */ + eProsima_user_DllExport void array_enum2_field( + std::array&& _array_enum2_field); + + /*! + * @brief This function returns a constant reference to member array_enum2_field + * @return Constant reference to member array_enum2_field + */ + eProsima_user_DllExport const std::array& array_enum2_field() const; + + /*! + * @brief This function returns a reference to member array_enum2_field + * @return Reference to member array_enum2_field + */ + eProsima_user_DllExport std::array& array_enum2_field(); + + + /*! + * @brief This function copies the value in member array_struct_field + * @param _array_struct_field New value to be copied in member array_struct_field + */ + eProsima_user_DllExport void array_struct_field( + const std::array& _array_struct_field); + + /*! + * @brief This function moves the value in member array_struct_field + * @param _array_struct_field New value to be moved in member array_struct_field + */ + eProsima_user_DllExport void array_struct_field( + std::array&& _array_struct_field); + + /*! + * @brief This function returns a constant reference to member array_struct_field + * @return Constant reference to member array_struct_field + */ + eProsima_user_DllExport const std::array& array_struct_field() const; + + /*! + * @brief This function returns a reference to member array_struct_field + * @return Reference to member array_struct_field + */ + eProsima_user_DllExport std::array& array_struct_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be copied in member bounded_sequence_char_field + */ + eProsima_user_DllExport void bounded_sequence_char_field( + const std::vector& _bounded_sequence_char_field); + + /*! + * @brief This function moves the value in member bounded_sequence_char_field + * @param _bounded_sequence_char_field New value to be moved in member bounded_sequence_char_field + */ + eProsima_user_DllExport void bounded_sequence_char_field( + std::vector&& _bounded_sequence_char_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_char_field + * @return Constant reference to member bounded_sequence_char_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_char_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_char_field + * @return Reference to member bounded_sequence_char_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_char_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be copied in member bounded_sequence_uint8_field + */ + eProsima_user_DllExport void bounded_sequence_uint8_field( + const std::vector& _bounded_sequence_uint8_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint8_field + * @param _bounded_sequence_uint8_field New value to be moved in member bounded_sequence_uint8_field + */ + eProsima_user_DllExport void bounded_sequence_uint8_field( + std::vector&& _bounded_sequence_uint8_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint8_field + * @return Constant reference to member bounded_sequence_uint8_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint8_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint8_field + * @return Reference to member bounded_sequence_uint8_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint8_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be copied in member bounded_sequence_int16_field + */ + eProsima_user_DllExport void bounded_sequence_int16_field( + const std::vector& _bounded_sequence_int16_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int16_field + * @param _bounded_sequence_int16_field New value to be moved in member bounded_sequence_int16_field + */ + eProsima_user_DllExport void bounded_sequence_int16_field( + std::vector&& _bounded_sequence_int16_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int16_field + * @return Constant reference to member bounded_sequence_int16_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int16_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int16_field + * @return Reference to member bounded_sequence_int16_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int16_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be copied in member bounded_sequence_uint16_field + */ + eProsima_user_DllExport void bounded_sequence_uint16_field( + const std::vector& _bounded_sequence_uint16_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint16_field + * @param _bounded_sequence_uint16_field New value to be moved in member bounded_sequence_uint16_field + */ + eProsima_user_DllExport void bounded_sequence_uint16_field( + std::vector&& _bounded_sequence_uint16_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint16_field + * @return Constant reference to member bounded_sequence_uint16_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint16_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint16_field + * @return Reference to member bounded_sequence_uint16_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint16_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be copied in member bounded_sequence_int32_field + */ + eProsima_user_DllExport void bounded_sequence_int32_field( + const std::vector& _bounded_sequence_int32_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int32_field + * @param _bounded_sequence_int32_field New value to be moved in member bounded_sequence_int32_field + */ + eProsima_user_DllExport void bounded_sequence_int32_field( + std::vector&& _bounded_sequence_int32_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int32_field + * @return Constant reference to member bounded_sequence_int32_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int32_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int32_field + * @return Reference to member bounded_sequence_int32_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int32_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be copied in member bounded_sequence_uint32_field + */ + eProsima_user_DllExport void bounded_sequence_uint32_field( + const std::vector& _bounded_sequence_uint32_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint32_field + * @param _bounded_sequence_uint32_field New value to be moved in member bounded_sequence_uint32_field + */ + eProsima_user_DllExport void bounded_sequence_uint32_field( + std::vector&& _bounded_sequence_uint32_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint32_field + * @return Constant reference to member bounded_sequence_uint32_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint32_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint32_field + * @return Reference to member bounded_sequence_uint32_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint32_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be copied in member bounded_sequence_int64_field + */ + eProsima_user_DllExport void bounded_sequence_int64_field( + const std::vector& _bounded_sequence_int64_field); + + /*! + * @brief This function moves the value in member bounded_sequence_int64_field + * @param _bounded_sequence_int64_field New value to be moved in member bounded_sequence_int64_field + */ + eProsima_user_DllExport void bounded_sequence_int64_field( + std::vector&& _bounded_sequence_int64_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_int64_field + * @return Constant reference to member bounded_sequence_int64_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_int64_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_int64_field + * @return Reference to member bounded_sequence_int64_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_int64_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be copied in member bounded_sequence_uint64_field + */ + eProsima_user_DllExport void bounded_sequence_uint64_field( + const std::vector& _bounded_sequence_uint64_field); + + /*! + * @brief This function moves the value in member bounded_sequence_uint64_field + * @param _bounded_sequence_uint64_field New value to be moved in member bounded_sequence_uint64_field + */ + eProsima_user_DllExport void bounded_sequence_uint64_field( + std::vector&& _bounded_sequence_uint64_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_uint64_field + * @return Constant reference to member bounded_sequence_uint64_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_uint64_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_uint64_field + * @return Reference to member bounded_sequence_uint64_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_uint64_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be copied in member bounded_sequence_float_field + */ + eProsima_user_DllExport void bounded_sequence_float_field( + const std::vector& _bounded_sequence_float_field); + + /*! + * @brief This function moves the value in member bounded_sequence_float_field + * @param _bounded_sequence_float_field New value to be moved in member bounded_sequence_float_field + */ + eProsima_user_DllExport void bounded_sequence_float_field( + std::vector&& _bounded_sequence_float_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_float_field + * @return Constant reference to member bounded_sequence_float_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_float_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_float_field + * @return Reference to member bounded_sequence_float_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_float_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be copied in member bounded_sequence_double_field + */ + eProsima_user_DllExport void bounded_sequence_double_field( + const std::vector& _bounded_sequence_double_field); + + /*! + * @brief This function moves the value in member bounded_sequence_double_field + * @param _bounded_sequence_double_field New value to be moved in member bounded_sequence_double_field + */ + eProsima_user_DllExport void bounded_sequence_double_field( + std::vector&& _bounded_sequence_double_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_double_field + * @return Constant reference to member bounded_sequence_double_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_double_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_double_field + * @return Reference to member bounded_sequence_double_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_double_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be copied in member bounded_sequence_bool_field + */ + eProsima_user_DllExport void bounded_sequence_bool_field( + const std::vector& _bounded_sequence_bool_field); + + /*! + * @brief This function moves the value in member bounded_sequence_bool_field + * @param _bounded_sequence_bool_field New value to be moved in member bounded_sequence_bool_field + */ + eProsima_user_DllExport void bounded_sequence_bool_field( + std::vector&& _bounded_sequence_bool_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_bool_field + * @return Constant reference to member bounded_sequence_bool_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_bool_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_bool_field + * @return Reference to member bounded_sequence_bool_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_bool_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be copied in member bounded_sequence_enum_field + */ + eProsima_user_DllExport void bounded_sequence_enum_field( + const std::vector& _bounded_sequence_enum_field); + + /*! + * @brief This function moves the value in member bounded_sequence_enum_field + * @param _bounded_sequence_enum_field New value to be moved in member bounded_sequence_enum_field + */ + eProsima_user_DllExport void bounded_sequence_enum_field( + std::vector&& _bounded_sequence_enum_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_enum_field + * @return Constant reference to member bounded_sequence_enum_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_enum_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_enum_field + * @return Reference to member bounded_sequence_enum_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_enum_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be copied in member bounded_sequence_enum2_field + */ + eProsima_user_DllExport void bounded_sequence_enum2_field( + const std::vector& _bounded_sequence_enum2_field); + + /*! + * @brief This function moves the value in member bounded_sequence_enum2_field + * @param _bounded_sequence_enum2_field New value to be moved in member bounded_sequence_enum2_field + */ + eProsima_user_DllExport void bounded_sequence_enum2_field( + std::vector&& _bounded_sequence_enum2_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_enum2_field + * @return Constant reference to member bounded_sequence_enum2_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_enum2_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_enum2_field + * @return Reference to member bounded_sequence_enum2_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_enum2_field(); + + + /*! + * @brief This function copies the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be copied in member bounded_sequence_struct_field + */ + eProsima_user_DllExport void bounded_sequence_struct_field( + const std::vector& _bounded_sequence_struct_field); + + /*! + * @brief This function moves the value in member bounded_sequence_struct_field + * @param _bounded_sequence_struct_field New value to be moved in member bounded_sequence_struct_field + */ + eProsima_user_DllExport void bounded_sequence_struct_field( + std::vector&& _bounded_sequence_struct_field); + + /*! + * @brief This function returns a constant reference to member bounded_sequence_struct_field + * @return Constant reference to member bounded_sequence_struct_field + */ + eProsima_user_DllExport const std::vector& bounded_sequence_struct_field() const; + + /*! + * @brief This function returns a reference to member bounded_sequence_struct_field + * @return Reference to member bounded_sequence_struct_field + */ + eProsima_user_DllExport std::vector& bounded_sequence_struct_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be copied in member unbounded_sequence_char_field + */ + eProsima_user_DllExport void unbounded_sequence_char_field( + const std::vector& _unbounded_sequence_char_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_char_field + * @param _unbounded_sequence_char_field New value to be moved in member unbounded_sequence_char_field + */ + eProsima_user_DllExport void unbounded_sequence_char_field( + std::vector&& _unbounded_sequence_char_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_char_field + * @return Constant reference to member unbounded_sequence_char_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_char_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_char_field + * @return Reference to member unbounded_sequence_char_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_char_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be copied in member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport void unbounded_sequence_uint8_field( + const std::vector& _unbounded_sequence_uint8_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint8_field + * @param _unbounded_sequence_uint8_field New value to be moved in member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport void unbounded_sequence_uint8_field( + std::vector&& _unbounded_sequence_uint8_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint8_field + * @return Constant reference to member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint8_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint8_field + * @return Reference to member unbounded_sequence_uint8_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint8_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be copied in member unbounded_sequence_int16_field + */ + eProsima_user_DllExport void unbounded_sequence_int16_field( + const std::vector& _unbounded_sequence_int16_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int16_field + * @param _unbounded_sequence_int16_field New value to be moved in member unbounded_sequence_int16_field + */ + eProsima_user_DllExport void unbounded_sequence_int16_field( + std::vector&& _unbounded_sequence_int16_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int16_field + * @return Constant reference to member unbounded_sequence_int16_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int16_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int16_field + * @return Reference to member unbounded_sequence_int16_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int16_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be copied in member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport void unbounded_sequence_uint16_field( + const std::vector& _unbounded_sequence_uint16_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint16_field + * @param _unbounded_sequence_uint16_field New value to be moved in member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport void unbounded_sequence_uint16_field( + std::vector&& _unbounded_sequence_uint16_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint16_field + * @return Constant reference to member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint16_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint16_field + * @return Reference to member unbounded_sequence_uint16_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint16_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be copied in member unbounded_sequence_int32_field + */ + eProsima_user_DllExport void unbounded_sequence_int32_field( + const std::vector& _unbounded_sequence_int32_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int32_field + * @param _unbounded_sequence_int32_field New value to be moved in member unbounded_sequence_int32_field + */ + eProsima_user_DllExport void unbounded_sequence_int32_field( + std::vector&& _unbounded_sequence_int32_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int32_field + * @return Constant reference to member unbounded_sequence_int32_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int32_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int32_field + * @return Reference to member unbounded_sequence_int32_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int32_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be copied in member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport void unbounded_sequence_uint32_field( + const std::vector& _unbounded_sequence_uint32_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint32_field + * @param _unbounded_sequence_uint32_field New value to be moved in member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport void unbounded_sequence_uint32_field( + std::vector&& _unbounded_sequence_uint32_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint32_field + * @return Constant reference to member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint32_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint32_field + * @return Reference to member unbounded_sequence_uint32_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint32_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be copied in member unbounded_sequence_int64_field + */ + eProsima_user_DllExport void unbounded_sequence_int64_field( + const std::vector& _unbounded_sequence_int64_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_int64_field + * @param _unbounded_sequence_int64_field New value to be moved in member unbounded_sequence_int64_field + */ + eProsima_user_DllExport void unbounded_sequence_int64_field( + std::vector&& _unbounded_sequence_int64_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_int64_field + * @return Constant reference to member unbounded_sequence_int64_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_int64_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_int64_field + * @return Reference to member unbounded_sequence_int64_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_int64_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be copied in member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport void unbounded_sequence_uint64_field( + const std::vector& _unbounded_sequence_uint64_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_uint64_field + * @param _unbounded_sequence_uint64_field New value to be moved in member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport void unbounded_sequence_uint64_field( + std::vector&& _unbounded_sequence_uint64_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_uint64_field + * @return Constant reference to member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_uint64_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_uint64_field + * @return Reference to member unbounded_sequence_uint64_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_uint64_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be copied in member unbounded_sequence_float_field + */ + eProsima_user_DllExport void unbounded_sequence_float_field( + const std::vector& _unbounded_sequence_float_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_float_field + * @param _unbounded_sequence_float_field New value to be moved in member unbounded_sequence_float_field + */ + eProsima_user_DllExport void unbounded_sequence_float_field( + std::vector&& _unbounded_sequence_float_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_float_field + * @return Constant reference to member unbounded_sequence_float_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_float_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_float_field + * @return Reference to member unbounded_sequence_float_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_float_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be copied in member unbounded_sequence_double_field + */ + eProsima_user_DllExport void unbounded_sequence_double_field( + const std::vector& _unbounded_sequence_double_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_double_field + * @param _unbounded_sequence_double_field New value to be moved in member unbounded_sequence_double_field + */ + eProsima_user_DllExport void unbounded_sequence_double_field( + std::vector&& _unbounded_sequence_double_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_double_field + * @return Constant reference to member unbounded_sequence_double_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_double_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_double_field + * @return Reference to member unbounded_sequence_double_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_double_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be copied in member unbounded_sequence_bool_field + */ + eProsima_user_DllExport void unbounded_sequence_bool_field( + const std::vector& _unbounded_sequence_bool_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_bool_field + * @param _unbounded_sequence_bool_field New value to be moved in member unbounded_sequence_bool_field + */ + eProsima_user_DllExport void unbounded_sequence_bool_field( + std::vector&& _unbounded_sequence_bool_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_bool_field + * @return Constant reference to member unbounded_sequence_bool_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_bool_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_bool_field + * @return Reference to member unbounded_sequence_bool_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_bool_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be copied in member unbounded_sequence_enum_field + */ + eProsima_user_DllExport void unbounded_sequence_enum_field( + const std::vector& _unbounded_sequence_enum_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_enum_field + * @param _unbounded_sequence_enum_field New value to be moved in member unbounded_sequence_enum_field + */ + eProsima_user_DllExport void unbounded_sequence_enum_field( + std::vector&& _unbounded_sequence_enum_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_enum_field + * @return Constant reference to member unbounded_sequence_enum_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_enum_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_enum_field + * @return Reference to member unbounded_sequence_enum_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_enum_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be copied in member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport void unbounded_sequence_enum2_field( + const std::vector& _unbounded_sequence_enum2_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_enum2_field + * @param _unbounded_sequence_enum2_field New value to be moved in member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport void unbounded_sequence_enum2_field( + std::vector&& _unbounded_sequence_enum2_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_enum2_field + * @return Constant reference to member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_enum2_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_enum2_field + * @return Reference to member unbounded_sequence_enum2_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_enum2_field(); + + + /*! + * @brief This function copies the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be copied in member unbounded_sequence_struct_field + */ + eProsima_user_DllExport void unbounded_sequence_struct_field( + const std::vector& _unbounded_sequence_struct_field); + + /*! + * @brief This function moves the value in member unbounded_sequence_struct_field + * @param _unbounded_sequence_struct_field New value to be moved in member unbounded_sequence_struct_field + */ + eProsima_user_DllExport void unbounded_sequence_struct_field( + std::vector&& _unbounded_sequence_struct_field); + + /*! + * @brief This function returns a constant reference to member unbounded_sequence_struct_field + * @return Constant reference to member unbounded_sequence_struct_field + */ + eProsima_user_DllExport const std::vector& unbounded_sequence_struct_field() const; + + /*! + * @brief This function returns a reference to member unbounded_sequence_struct_field + * @return Reference to member unbounded_sequence_struct_field + */ + eProsima_user_DllExport std::vector& unbounded_sequence_struct_field(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const eprosima::test::KeyedCompleteTestType& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + + + private: + + int32_t m_id; + char m_char_field; + uint8_t m_uint8_field; + int16_t m_int16_field; + uint16_t m_uint16_field; + int32_t m_int32_field; + uint32_t m_uint32_field; + int64_t m_int64_field; + uint64_t m_uint64_field; + float m_float_field; + double m_double_field; + bool m_bool_field; + std::string m_string_field; + eprosima::test::Color m_enum_field; + eprosima::test::Material m_enum2_field; + eprosima::test::StructType m_struct_field; + char m_char_opt_field; + uint8_t m_uint8_opt_field; + int16_t m_int16_opt_field; + uint16_t m_uint16_opt_field; + int32_t m_int32_opt_field; + uint32_t m_uint32_opt_field; + int64_t m_int64_opt_field; + uint64_t m_uint64_opt_field; + float m_float_opt_field; + double m_double_opt_field; + bool m_bool_opt_field; + std::string m_string_opt_field; + eprosima::test::Color m_enum_opt_field; + eprosima::test::Material m_enum2_opt_field; + eprosima::test::StructType m_struct_opt_field; + std::array m_array_char_field; + std::array m_array_uint8_field; + std::array m_array_int16_field; + std::array m_array_uint16_field; + std::array m_array_int32_field; + std::array m_array_uint32_field; + std::array m_array_int64_field; + std::array m_array_uint64_field; + std::array m_array_float_field; + std::array m_array_double_field; + std::array m_array_bool_field; + std::array m_array_enum_field; + std::array m_array_enum2_field; + std::array m_array_struct_field; + std::vector m_bounded_sequence_char_field; + std::vector m_bounded_sequence_uint8_field; + std::vector m_bounded_sequence_int16_field; + std::vector m_bounded_sequence_uint16_field; + std::vector m_bounded_sequence_int32_field; + std::vector m_bounded_sequence_uint32_field; + std::vector m_bounded_sequence_int64_field; + std::vector m_bounded_sequence_uint64_field; + std::vector m_bounded_sequence_float_field; + std::vector m_bounded_sequence_double_field; + std::vector m_bounded_sequence_bool_field; + std::vector m_bounded_sequence_enum_field; + std::vector m_bounded_sequence_enum2_field; + std::vector m_bounded_sequence_struct_field; + std::vector m_unbounded_sequence_char_field; + std::vector m_unbounded_sequence_uint8_field; + std::vector m_unbounded_sequence_int16_field; + std::vector m_unbounded_sequence_uint16_field; + std::vector m_unbounded_sequence_int32_field; + std::vector m_unbounded_sequence_uint32_field; + std::vector m_unbounded_sequence_int64_field; + std::vector m_unbounded_sequence_uint64_field; + std::vector m_unbounded_sequence_float_field; + std::vector m_unbounded_sequence_double_field; + std::vector m_unbounded_sequence_bool_field; + std::vector m_unbounded_sequence_enum_field; + std::vector m_unbounded_sequence_enum2_field; + std::vector m_unbounded_sequence_struct_field; + + }; + + } // namespace test +} // namespace eprosima + +#endif // _FAST_DDS_GENERATED_EPROSIMA_TEST_TEST_MODULES_H_ + + + +#endif // FASTCDR_VERSION_MAJOR == 1 diff --git a/fastdds_python_examples/HelloWorldExample/CMakeLists.txt b/fastdds_python_examples/HelloWorldExample/CMakeLists.txt index 3ac5d831..00f015ac 100644 --- a/fastdds_python_examples/HelloWorldExample/CMakeLists.txt +++ b/fastdds_python_examples/HelloWorldExample/CMakeLists.txt @@ -25,16 +25,14 @@ project(HelloWorld) find_package(fastcdr REQUIRED) find_package(fastrtps REQUIRED) - -set(${PROJECT_NAME}_FILES - HelloWorld.cxx - HelloWorldPubSubTypes.cxx - ) - set(CMAKE_POSITION_INDEPENDENT_CODE ON) #Create library for C++ types -add_library(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_FILES}) +add_library(${PROJECT_NAME} SHARED + HelloWorld.cxx + HelloWorldv1.cxx + HelloWorldPubSubTypes.cxx + ) if(WIN32) target_compile_definitions(${PROJECT_NAME} PRIVATE EPROSIMA_USER_DLL_EXPORT) endif(WIN32) diff --git a/fastdds_python_examples/HelloWorldExample/HelloWorld.cxx b/fastdds_python_examples/HelloWorldExample/HelloWorld.cxx index bcda56fb..4b415d67 100644 --- a/fastdds_python_examples/HelloWorldExample/HelloWorld.cxx +++ b/fastdds_python_examples/HelloWorldExample/HelloWorld.cxx @@ -27,6 +27,9 @@ char dummy; #endif // _WIN32 #include "HelloWorld.h" + +#if FASTCDR_VERSION_MAJOR > 1 + #include @@ -36,9 +39,10 @@ using namespace eprosima::fastcdr::exception; #include + + HelloWorld::HelloWorld() { - } HelloWorld::~HelloWorld() @@ -65,7 +69,6 @@ HelloWorld& HelloWorld::operator =( m_index = x.m_index; m_message = x.m_message; - return *this; } @@ -75,7 +78,6 @@ HelloWorld& HelloWorld::operator =( m_index = x.m_index; m_message = std::move(x.m_message); - return *this; } @@ -162,3 +164,5 @@ std::string& HelloWorld::message() // Include auxiliary functions like for serializing/deserializing. #include "HelloWorldCdrAux.ipp" + +#endif // FASTCDR_VERSION_MAJOR > 1 diff --git a/fastdds_python_examples/HelloWorldExample/HelloWorld.h b/fastdds_python_examples/HelloWorldExample/HelloWorld.h index 0c6d0980..5cd0ddba 100644 --- a/fastdds_python_examples/HelloWorldExample/HelloWorld.h +++ b/fastdds_python_examples/HelloWorldExample/HelloWorld.h @@ -19,6 +19,11 @@ * This file was generated by the tool fastddsgen. */ +#include +#include "HelloWorldv1.h" + +#if FASTCDR_VERSION_MAJOR > 1 + #ifndef _FAST_DDS_GENERATED_HELLOWORLD_H_ #define _FAST_DDS_GENERATED_HELLOWORLD_H_ @@ -30,6 +35,7 @@ #include #include +#include #include @@ -67,6 +73,8 @@ class CdrSizeCalculator; + + /*! * @brief This class represents the structure HelloWorld defined by the user in the IDL file. * @ingroup HelloWorld @@ -182,3 +190,6 @@ class HelloWorld #endif // _FAST_DDS_GENERATED_HELLOWORLD_H_ + + +#endif // FASTCDR_VERSION_MAJOR > 1 diff --git a/fastdds_python_examples/HelloWorldExample/HelloWorld.i b/fastdds_python_examples/HelloWorldExample/HelloWorld.i index e3369935..9194d041 100644 --- a/fastdds_python_examples/HelloWorldExample/HelloWorld.i +++ b/fastdds_python_examples/HelloWorldExample/HelloWorld.i @@ -45,7 +45,10 @@ #include %} +%include +#if FASTCDR_VERSION_MAJOR > 1 %import(module="fastdds") "fastcdr/xcdr/optional.hpp" +#endif %import(module="fastdds") "fastdds/dds/core/LoanableCollection.hpp" %import(module="fastdds") "fastdds/dds/core/LoanableTypedCollection.hpp" %import(module="fastdds") "fastdds/dds/core/LoanableSequence.hpp" @@ -62,6 +65,8 @@ namespace swig { } %enddef + + //////////////////////////////////////////////////////// // Binding for class HelloWorld //////////////////////////////////////////////////////// diff --git a/fastdds_python_examples/HelloWorldExample/HelloWorldCdrAux.hpp b/fastdds_python_examples/HelloWorldExample/HelloWorldCdrAux.hpp index 713dba56..9f346d30 100644 --- a/fastdds_python_examples/HelloWorldExample/HelloWorldCdrAux.hpp +++ b/fastdds_python_examples/HelloWorldExample/HelloWorldCdrAux.hpp @@ -34,6 +34,8 @@ namespace fastcdr { class Cdr; class CdrSizeCalculator; + + eProsima_user_DllExport void serialize_key( eprosima::fastcdr::Cdr& scdr, const HelloWorld& data); diff --git a/fastdds_python_examples/HelloWorldExample/HelloWorldCdrAux.ipp b/fastdds_python_examples/HelloWorldExample/HelloWorldCdrAux.ipp index 21876c37..42e91f3c 100644 --- a/fastdds_python_examples/HelloWorldExample/HelloWorldCdrAux.ipp +++ b/fastdds_python_examples/HelloWorldExample/HelloWorldCdrAux.ipp @@ -34,6 +34,8 @@ using namespace eprosima::fastcdr::exception; namespace eprosima { namespace fastcdr { + + template<> eProsima_user_DllExport size_t calculate_serialized_size( eprosima::fastcdr::CdrSizeCalculator& calculator, @@ -77,7 +79,6 @@ eProsima_user_DllExport void serialize( << eprosima::fastcdr::MemberId(0) << data.index() << eprosima::fastcdr::MemberId(1) << data.message() ; - scdr.end_serialize_type(current_state); } diff --git a/fastdds_python_examples/HelloWorldExample/HelloWorldPubSubTypes.cxx b/fastdds_python_examples/HelloWorldExample/HelloWorldPubSubTypes.cxx index f4a5ef51..eae5d4a7 100644 --- a/fastdds_python_examples/HelloWorldExample/HelloWorldPubSubTypes.cxx +++ b/fastdds_python_examples/HelloWorldExample/HelloWorldPubSubTypes.cxx @@ -20,9 +20,7 @@ */ -#include -#include -#include +#include #include "HelloWorldPubSubTypes.h" #include "HelloWorldCdrAux.hpp" @@ -31,10 +29,17 @@ using SerializedPayload_t = eprosima::fastrtps::rtps::SerializedPayload_t; using InstanceHandle_t = eprosima::fastrtps::rtps::InstanceHandle_t; using DataRepresentationId_t = eprosima::fastdds::dds::DataRepresentationId_t; + + HelloWorldPubSubType::HelloWorldPubSubType() { setName("HelloWorld"); - uint32_t type_size = HelloWorld_max_cdr_typesize; + uint32_t type_size = +#if FASTCDR_VERSION_MAJOR == 1 + HelloWorld::getMaxCdrSerializedSize(); +#else + HelloWorld_max_cdr_typesize; +#endif type_size += static_cast(eprosima::fastcdr::Cdr::alignment(type_size, 4)); /* possible submessage alignment */ m_typeSize = type_size + 4; /*encapsulation*/ m_isGetKeyDefined = false; @@ -65,10 +70,12 @@ bool HelloWorldPubSubType::serialize( data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::CdrVersion::XCDRv1 : eprosima::fastcdr::CdrVersion::XCDRv2); payload->encapsulation = ser.endianness() == eprosima::fastcdr::Cdr::BIG_ENDIANNESS ? CDR_BE : CDR_LE; +#if FASTCDR_VERSION_MAJOR > 1 ser.set_encoding_flag( data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? eprosima::fastcdr::EncodingAlgorithmFlag::PLAIN_CDR : eprosima::fastcdr::EncodingAlgorithmFlag::DELIMIT_CDR2); +#endif // FASTCDR_VERSION_MAJOR > 1 try { @@ -83,7 +90,11 @@ bool HelloWorldPubSubType::serialize( } // Get the serialized length +#if FASTCDR_VERSION_MAJOR == 1 + payload->length = static_cast(ser.getSerializedDataLength()); +#else payload->length = static_cast(ser.get_serialized_data_length()); +#endif // FASTCDR_VERSION_MAJOR == 1 return true; } @@ -100,7 +111,11 @@ bool HelloWorldPubSubType::deserialize( eprosima::fastcdr::FastBuffer fastbuffer(reinterpret_cast(payload->data), payload->length); // Object that deserializes the data. - eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN); + eprosima::fastcdr::Cdr deser(fastbuffer, eprosima::fastcdr::Cdr::DEFAULT_ENDIAN +#if FASTCDR_VERSION_MAJOR == 1 + , eprosima::fastcdr::Cdr::CdrType::DDS_CDR +#endif // FASTCDR_VERSION_MAJOR == 1 + ); // Deserialize encapsulation. deser.read_encapsulation(); @@ -123,13 +138,25 @@ std::function HelloWorldPubSubType::getSerializedSizeProvider( { return [data, data_representation]() -> uint32_t { - eprosima::fastcdr::CdrSizeCalculator calculator( - data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? - eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); - size_t current_alignment {0}; - return static_cast(calculator.calculate_serialized_size( - *static_cast(data), current_alignment)) + - 4u /*encapsulation*/; +#if FASTCDR_VERSION_MAJOR == 1 + return static_cast(type::getCdrSerializedSize(*static_cast(data))) + + 4u /*encapsulation*/; +#else + try + { + eprosima::fastcdr::CdrSizeCalculator calculator( + data_representation == DataRepresentationId_t::XCDR_DATA_REPRESENTATION ? + eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2); + size_t current_alignment {0}; + return static_cast(calculator.calculate_serialized_size( + *static_cast(data), current_alignment)) + + 4u /*encapsulation*/; + } + catch (eprosima::fastcdr::exception::Exception& /*exception*/) + { + return 0; + } +#endif // FASTCDR_VERSION_MAJOR == 1 }; } @@ -161,12 +188,20 @@ bool HelloWorldPubSubType::getKey( HelloWorld_max_key_cdr_typesize); // Object that serializes the data. - eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS); + eprosima::fastcdr::Cdr ser(fastbuffer, eprosima::fastcdr::Cdr::BIG_ENDIANNESS, eprosima::fastcdr::CdrVersion::XCDRv1); +#if FASTCDR_VERSION_MAJOR == 1 + p_type->serializeKey(ser); +#else eprosima::fastcdr::serialize_key(ser, *p_type); +#endif // FASTCDR_VERSION_MAJOR == 1 if (force_md5 || HelloWorld_max_key_cdr_typesize > 16) { m_md5.init(); +#if FASTCDR_VERSION_MAJOR == 1 + m_md5.update(m_keyBuffer, static_cast(ser.getSerializedDataLength())); +#else m_md5.update(m_keyBuffer, static_cast(ser.get_serialized_data_length())); +#endif // FASTCDR_VERSION_MAJOR == 1 m_md5.finalize(); for (uint8_t i = 0; i < 16; ++i) { diff --git a/fastdds_python_examples/HelloWorldExample/HelloWorldPubSubTypes.h b/fastdds_python_examples/HelloWorldExample/HelloWorldPubSubTypes.h index f6c88d5c..cb61cd6b 100644 --- a/fastdds_python_examples/HelloWorldExample/HelloWorldPubSubTypes.h +++ b/fastdds_python_examples/HelloWorldExample/HelloWorldPubSubTypes.h @@ -38,6 +38,8 @@ #endif // GEN_API_VER + + /*! * @brief This class represents the TopicDataType of the type HelloWorld defined by the user in the IDL file. * @ingroup HelloWorld diff --git a/fastdds_python_examples/HelloWorldExample/HelloWorldv1.cxx b/fastdds_python_examples/HelloWorldExample/HelloWorldv1.cxx new file mode 100644 index 00000000..90e82ea8 --- /dev/null +++ b/fastdds_python_examples/HelloWorldExample/HelloWorldv1.cxx @@ -0,0 +1,286 @@ +// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/*! + * @file HelloWorld.cpp + * This source file contains the implementation of the described types in the IDL file. + * + * This file was generated by the tool fastddsgen. + */ + +#ifdef _WIN32 +// Remove linker warning LNK4221 on Visual Studio +namespace { +char dummy; +} // namespace +#endif // _WIN32 + +#include "HelloWorld.h" + +#if FASTCDR_VERSION_MAJOR == 1 + +#include + + +#include +using namespace eprosima::fastcdr::exception; + +#include + +namespace helper { namespace internal { + +enum class Size { + UInt8, + UInt16, + UInt32, + UInt64, +}; + +constexpr Size get_size(int s) { + return (s <= 8 ) ? Size::UInt8: + (s <= 16) ? Size::UInt16: + (s <= 32) ? Size::UInt32: Size::UInt64; +} + +template +struct FindTypeH; + +template<> +struct FindTypeH { + using type = std::uint8_t; +}; + +template<> +struct FindTypeH { + using type = std::uint16_t; +}; + +template<> +struct FindTypeH { + using type = std::uint32_t; +}; + +template<> +struct FindTypeH { + using type = std::uint64_t; +}; +} + +template +struct FindType { + using type = typename internal::FindTypeH::type; +}; +} + +#define HelloWorld_max_cdr_typesize 268ULL; + + + + +HelloWorld::HelloWorld() +{ + // unsigned long m_index + m_index = 0; + // /type_d() m_message + + +} + +HelloWorld::~HelloWorld() +{ +} + +HelloWorld::HelloWorld( + const HelloWorld& x) +{ + m_index = x.m_index; + + + m_message = x.m_message; + +} + +HelloWorld::HelloWorld( + HelloWorld&& x) noexcept +{ + m_index = x.m_index; + + + m_message = std::move(x.m_message); + +} + +HelloWorld& HelloWorld::operator =( + const HelloWorld& x) +{ + m_index = x.m_index; + + + m_message = x.m_message; + + return *this; +} + +HelloWorld& HelloWorld::operator =( + HelloWorld&& x) noexcept +{ + m_index = x.m_index; + + + m_message = std::move(x.m_message); + + return *this; +} + +bool HelloWorld::operator ==( + const HelloWorld& x) const +{ + return (m_index == x.m_index && + m_message == x.m_message); +} + +bool HelloWorld::operator !=( + const HelloWorld& x) const +{ + return !(*this == x); +} + +size_t HelloWorld::getMaxCdrSerializedSize( + size_t current_alignment) +{ + static_cast(current_alignment); + return HelloWorld_max_cdr_typesize; +} + +size_t HelloWorld::getCdrSerializedSize( + const HelloWorld& data, + size_t current_alignment) +{ + (void)data; + size_t initial_alignment = current_alignment; + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + + + current_alignment += 4 + eprosima::fastcdr::Cdr::alignment(current_alignment, 4) + data.message().size() + 1; + + + return current_alignment - initial_alignment; +} + + +void HelloWorld::serialize( + eprosima::fastcdr::Cdr& scdr) const +{ + scdr << m_index; + + scdr << m_message.c_str(); + +} + +void HelloWorld::deserialize( + eprosima::fastcdr::Cdr& dcdr) +{ + dcdr >> m_index; + + + + dcdr >> m_message; + + +} + + +bool HelloWorld::isKeyDefined() +{ + return false; +} + +void HelloWorld::serializeKey( + eprosima::fastcdr::Cdr& scdr) const +{ + (void) scdr; +} + +/*! + * @brief This function sets a value in member index + * @param _index New value for member index + */ +void HelloWorld::index( + uint32_t _index) +{ + m_index = _index; +} + +/*! + * @brief This function returns the value of member index + * @return Value of member index + */ +uint32_t HelloWorld::index() const +{ + return m_index; +} + +/*! + * @brief This function returns a reference to member index + * @return Reference to member index + */ +uint32_t& HelloWorld::index() +{ + return m_index; +} + + +/*! + * @brief This function copies the value in member message + * @param _message New value to be copied in member message + */ +void HelloWorld::message( + const std::string& _message) +{ + m_message = _message; +} + +/*! + * @brief This function moves the value in member message + * @param _message New value to be moved in member message + */ +void HelloWorld::message( + std::string&& _message) +{ + m_message = std::move(_message); +} + +/*! + * @brief This function returns a constant reference to member message + * @return Constant reference to member message + */ +const std::string& HelloWorld::message() const +{ + return m_message; +} + +/*! + * @brief This function returns a reference to member message + * @return Reference to member message + */ +std::string& HelloWorld::message() +{ + return m_message; +} + + + + +#endif // FASTCDR_VERSION_MAJOR == 1 diff --git a/fastdds_python_examples/HelloWorldExample/HelloWorldv1.h b/fastdds_python_examples/HelloWorldExample/HelloWorldv1.h new file mode 100644 index 00000000..7758cd79 --- /dev/null +++ b/fastdds_python_examples/HelloWorldExample/HelloWorldv1.h @@ -0,0 +1,243 @@ +// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima). +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/*! + * @file HelloWorld.h + * This header file contains the declaration of the described types in the IDL file. + * + * This file was generated by the tool fastddsgen. + */ + +#include + +#if FASTCDR_VERSION_MAJOR == 1 + +#ifndef _FAST_DDS_GENERATED_HELLOWORLD_H_ +#define _FAST_DDS_GENERATED_HELLOWORLD_H_ + + +#include + +#include +#include +#include +#include +#include +#include + +#if defined(_WIN32) +#if defined(EPROSIMA_USER_DLL_EXPORT) +#define eProsima_user_DllExport __declspec( dllexport ) +#else +#define eProsima_user_DllExport +#endif // EPROSIMA_USER_DLL_EXPORT +#else +#define eProsima_user_DllExport +#endif // _WIN32 + +#if defined(_WIN32) +#if defined(EPROSIMA_USER_DLL_EXPORT) +#if defined(HELLOWORLD_SOURCE) +#define HELLOWORLD_DllAPI __declspec( dllexport ) +#else +#define HELLOWORLD_DllAPI __declspec( dllimport ) +#endif // HELLOWORLD_SOURCE +#else +#define HELLOWORLD_DllAPI +#endif // EPROSIMA_USER_DLL_EXPORT +#else +#define HELLOWORLD_DllAPI +#endif // _WIN32 + +namespace eprosima { +namespace fastcdr { +class Cdr; +} // namespace fastcdr +} // namespace eprosima + + + + + +/*! + * @brief This class represents the structure HelloWorld defined by the user in the IDL file. + * @ingroup HelloWorld + */ +class HelloWorld +{ +public: + + /*! + * @brief Default constructor. + */ + eProsima_user_DllExport HelloWorld(); + + /*! + * @brief Default destructor. + */ + eProsima_user_DllExport ~HelloWorld(); + + /*! + * @brief Copy constructor. + * @param x Reference to the object HelloWorld that will be copied. + */ + eProsima_user_DllExport HelloWorld( + const HelloWorld& x); + + /*! + * @brief Move constructor. + * @param x Reference to the object HelloWorld that will be copied. + */ + eProsima_user_DllExport HelloWorld( + HelloWorld&& x) noexcept; + + /*! + * @brief Copy assignment. + * @param x Reference to the object HelloWorld that will be copied. + */ + eProsima_user_DllExport HelloWorld& operator =( + const HelloWorld& x); + + /*! + * @brief Move assignment. + * @param x Reference to the object HelloWorld that will be copied. + */ + eProsima_user_DllExport HelloWorld& operator =( + HelloWorld&& x) noexcept; + + /*! + * @brief Comparison operator. + * @param x HelloWorld object to compare. + */ + eProsima_user_DllExport bool operator ==( + const HelloWorld& x) const; + + /*! + * @brief Comparison operator. + * @param x HelloWorld object to compare. + */ + eProsima_user_DllExport bool operator !=( + const HelloWorld& x) const; + + /*! + * @brief This function sets a value in member index + * @param _index New value for member index + */ + eProsima_user_DllExport void index( + uint32_t _index); + + /*! + * @brief This function returns the value of member index + * @return Value of member index + */ + eProsima_user_DllExport uint32_t index() const; + + /*! + * @brief This function returns a reference to member index + * @return Reference to member index + */ + eProsima_user_DllExport uint32_t& index(); + + + /*! + * @brief This function copies the value in member message + * @param _message New value to be copied in member message + */ + eProsima_user_DllExport void message( + const std::string& _message); + + /*! + * @brief This function moves the value in member message + * @param _message New value to be moved in member message + */ + eProsima_user_DllExport void message( + std::string&& _message); + + /*! + * @brief This function returns a constant reference to member message + * @return Constant reference to member message + */ + eProsima_user_DllExport const std::string& message() const; + + /*! + * @brief This function returns a reference to member message + * @return Reference to member message + */ + eProsima_user_DllExport std::string& message(); + + + /*! + * @brief This function returns the maximum serialized size of an object + * depending on the buffer alignment. + * @param current_alignment Buffer alignment. + * @return Maximum serialized size. + */ + eProsima_user_DllExport static size_t getMaxCdrSerializedSize( + size_t current_alignment = 0); + + /*! + * @brief This function returns the serialized size of a data depending on the buffer alignment. + * @param data Data which is calculated its serialized size. + * @param current_alignment Buffer alignment. + * @return Serialized size. + */ + eProsima_user_DllExport static size_t getCdrSerializedSize( + const HelloWorld& data, + size_t current_alignment = 0); + + + + /*! + * @brief This function serializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serialize( + eprosima::fastcdr::Cdr& cdr) const; + + /*! + * @brief This function deserializes an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void deserialize( + eprosima::fastcdr::Cdr& cdr); + + + + + /*! + * @brief This function tells you if the Key has been defined for this type + */ + eProsima_user_DllExport static bool isKeyDefined(); + + /*! + * @brief This function serializes the key members of an object using CDR serialization. + * @param cdr CDR serialization object. + */ + eProsima_user_DllExport void serializeKey( + eprosima::fastcdr::Cdr& cdr) const; + + +private: + + uint32_t m_index; + std::string m_message; + +}; + + +#endif // _FAST_DDS_GENERATED_HELLOWORLD_H_ + + + +#endif // FASTCDR_VERSION_MAJOR == 1 From dc78d549837b8c7f3ee8fabb4fcfc577623104d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Tue, 14 Nov 2023 09:44:30 +0100 Subject: [PATCH 02/10] Refs #19760. Improve CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno Signed-off-by: EduPonz --- .../fetch-fastdds_python-repos/action.yml | 23 ++++++++++ .github/workflows/build_and_test.yml | 42 +++++++++++++------ 2 files changed, 53 insertions(+), 12 deletions(-) create mode 100644 .github/actions/fetch-fastdds_python-repos/action.yml diff --git a/.github/actions/fetch-fastdds_python-repos/action.yml b/.github/actions/fetch-fastdds_python-repos/action.yml new file mode 100644 index 00000000..145def23 --- /dev/null +++ b/.github/actions/fetch-fastdds_python-repos/action.yml @@ -0,0 +1,23 @@ +name: 'fetch-fastdds_python-repos' +description: 'Fetch Fast DDS Python dependencies' +inputs: + foonathan-memory-vendor-branch: + description: 'foonathan_memory_vendor branch to be used' + required: true + fastcdr-branch: + description: 'Fast-CDR branch to be used' + required: true + fastdds-branch: + description: 'Fast-DDS branch to be used' + required: true +runs: + using: "composite" + steps: + - id: fetch-fastdds_python-repos + shell: bash + run: | + cd src + git clone https://github.com/eProsima/foonathan_memory_vendor.git --branch ${{ inputs.foonathan-memory-vendor-branch }} + git clone https://github.com/eProsima/Fast-CDR.git --branch ${{ inputs.fastcdr-branch }} + git clone https://github.com/eProsima/Fast-DDS.git --branch ${{ inputs.fastdds-branch }} + cd .. diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index fe6725d1..bae4bef8 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -2,6 +2,19 @@ name: test on: workflow_dispatch: + inputs: + foonathan_memory_vendor_branch: + description: 'foonathan_memory_vendor branch to be used' + required: false + default: 'master' + fastcdr_versions: + description: 'Fast-CDR branches to be used' + required: false + default: '["1.1.x", "master"]' + fastdds_branch: + description: 'Fast-DDS branch to be used' + required: false + default: 'master' pull_request: push: branches: @@ -12,6 +25,9 @@ on: jobs: windows-build-test: runs-on: windows-2019 + strategy: + matrix: + fastcdr_version: ${{ fromJson(github.event.inputs.fastcdr_versions || '["1.1.x", "master"]') }} env: CXXFLAGS: /MP @@ -31,7 +47,7 @@ jobs: - uses: eProsima/eProsima-CI/multiplatform/install_python_packages@v0 with: - packages: pytest pywin32 vcstool + packages: pytest pywin32 - uses: eProsima/eProsima-CI/multiplatform/install_colcon@v0 @@ -39,10 +55,11 @@ jobs: with: path: src/fastdds_python - - name: Fetch repositories - shell: pwsh - run: | - vcs import src --skip-existing --input src/fastdds_python/fastdds_python.repos + - uses: ./src/fastdds_python/.github/actions/fetch-fastdds_python-repos + with: + foonathan-memory-vendor-branch: ${{ github.event.inputs.foonathan_memory_vendor_branch || 'master' }} + fastcdr-branch: ${{ matrix.fastcdr_version }} + fastdds-branch: ${{ github.event.inputs.fastdds_branch || 'master' }} - uses: eProsima/eProsima-CI/external/get-cmake@v0 with: @@ -89,6 +106,9 @@ jobs: ubuntu-build-test: runs-on: ubuntu-22.04 + strategy: + matrix: + fastcdr_version: ${{ fromJson(github.event.inputs.fastcdr_versions || '["1.1.x", "master"]') }} steps: - uses: eProsima/eProsima-CI/external/checkout@v0 @@ -99,15 +119,13 @@ jobs: with: packages: libpython3-dev swig - - uses: eProsima/eProsima-CI/multiplatform/install_python_packages@v0 - with: - packages: vcstool - - uses: eProsima/eProsima-CI/multiplatform/install_colcon@v0 - - name: Fetch repositories - run: | - vcs import --skip-existing src < src/fastdds_python/fastdds_python.repos + - uses: ./src/fastdds_python/.github/actions/fetch-fastdds_python-repos + with: + foonathan-memory-vendor-branch: ${{ github.event.inputs.foonathan_memory_vendor_branch || 'master' }} + fastcdr-branch: ${{ matrix.fastcdr_version }} + fastdds-branch: ${{ github.event.inputs.fastdds_branch || 'master' }} - uses: eProsima/eProsima-CI/external/get-cmake@v0 with: From 7d7c7b9f947d368ffef866d893d5a708f316517c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Tue, 14 Nov 2023 10:47:08 +0100 Subject: [PATCH 03/10] Refs #19760. Fix swig generated files with fastcdr v1 Signed-off-by: EduPonz --- fastdds_python/test/types/test_complete.i | 340 ++++++++++++++---- .../test/types/test_included_modules.i | 14 + fastdds_python/test/types/test_modules.i | 339 +++++++++++++---- 3 files changed, 573 insertions(+), 120 deletions(-) diff --git a/fastdds_python/test/types/test_complete.i b/fastdds_python/test/types/test_complete.i index 8b2dc09f..3177a07a 100644 --- a/fastdds_python/test/types/test_complete.i +++ b/fastdds_python/test/types/test_complete.i @@ -82,6 +82,7 @@ namespace swig { // Avoid a warning ignoring all but one %ignore StructType::char_field(char&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -92,6 +93,7 @@ namespace swig { %ignore StructType::uint8_field(uint8_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -102,6 +104,7 @@ namespace swig { %ignore StructType::int16_field(int16_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -112,6 +115,7 @@ namespace swig { %ignore StructType::uint16_field(uint16_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -122,6 +126,7 @@ namespace swig { %ignore StructType::int32_field(int32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -132,6 +137,7 @@ namespace swig { %ignore StructType::uint32_field(uint32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -142,6 +148,7 @@ namespace swig { %ignore StructType::int64_field(int64_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -152,6 +159,7 @@ namespace swig { %ignore StructType::uint64_field(uint64_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -162,6 +170,7 @@ namespace swig { %ignore StructType::float_field(float&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -172,6 +181,7 @@ namespace swig { %ignore StructType::double_field(double&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -182,6 +192,7 @@ namespace swig { %ignore StructType::bool_field(bool&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -192,6 +203,7 @@ namespace swig { %ignore StructType::string_field(std::string&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -202,6 +214,7 @@ namespace swig { %ignore StructType::enum_field(Color&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -212,6 +225,7 @@ namespace swig { %ignore StructType::enum2_field(Material&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -222,6 +236,7 @@ namespace swig { %ignore StructType::included_module_struct(eprosima::test2::StructType2&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -265,6 +280,7 @@ namespace swig { // Avoid a warning ignoring all but one %ignore CompleteTestType::char_field(char&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -275,6 +291,7 @@ namespace swig { %ignore CompleteTestType::uint8_field(uint8_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -285,6 +302,7 @@ namespace swig { %ignore CompleteTestType::int16_field(int16_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -295,6 +313,7 @@ namespace swig { %ignore CompleteTestType::uint16_field(uint16_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -305,6 +324,7 @@ namespace swig { %ignore CompleteTestType::int32_field(int32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -315,6 +335,7 @@ namespace swig { %ignore CompleteTestType::uint32_field(uint32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -325,6 +346,7 @@ namespace swig { %ignore CompleteTestType::int64_field(int64_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -335,6 +357,7 @@ namespace swig { %ignore CompleteTestType::uint64_field(uint64_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -345,6 +368,7 @@ namespace swig { %ignore CompleteTestType::float_field(float&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -355,6 +379,7 @@ namespace swig { %ignore CompleteTestType::double_field(double&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -365,6 +390,7 @@ namespace swig { %ignore CompleteTestType::bool_field(bool&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -375,6 +401,7 @@ namespace swig { %ignore CompleteTestType::string_field(std::string&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -385,6 +412,7 @@ namespace swig { %ignore CompleteTestType::enum_field(Color&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -395,6 +423,7 @@ namespace swig { %ignore CompleteTestType::enum2_field(Material&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -405,6 +434,7 @@ namespace swig { %ignore CompleteTestType::struct_field(StructType&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -413,6 +443,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore CompleteTestType::char_opt_field(char&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(charOpt) eprosima::fastcdr::optional; @@ -425,8 +458,8 @@ namespace swig { *$self = value; } } - -%ignore CompleteTestType::char_opt_field(char&&); +%ignore CompleteTestType::char_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -436,6 +469,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore CompleteTestType::uint8_opt_field(uint8_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint8_tOpt) eprosima::fastcdr::optional; @@ -448,8 +484,8 @@ namespace swig { *$self = value; } } - -%ignore CompleteTestType::uint8_opt_field(uint8_t&&); +%ignore CompleteTestType::uint8_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -459,6 +495,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore CompleteTestType::int16_opt_field(int16_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(int16_tOpt) eprosima::fastcdr::optional; @@ -471,8 +510,8 @@ namespace swig { *$self = value; } } - -%ignore CompleteTestType::int16_opt_field(int16_t&&); +%ignore CompleteTestType::int16_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -482,6 +521,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore CompleteTestType::uint16_opt_field(uint16_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint16_tOpt) eprosima::fastcdr::optional; @@ -494,8 +536,8 @@ namespace swig { *$self = value; } } - -%ignore CompleteTestType::uint16_opt_field(uint16_t&&); +%ignore CompleteTestType::uint16_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -505,6 +547,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore CompleteTestType::int32_opt_field(int32_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(int32_tOpt) eprosima::fastcdr::optional; @@ -517,8 +562,8 @@ namespace swig { *$self = value; } } - -%ignore CompleteTestType::int32_opt_field(int32_t&&); +%ignore CompleteTestType::int32_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -528,6 +573,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore CompleteTestType::uint32_opt_field(uint32_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint32_tOpt) eprosima::fastcdr::optional; @@ -540,8 +588,8 @@ namespace swig { *$self = value; } } - -%ignore CompleteTestType::uint32_opt_field(uint32_t&&); +%ignore CompleteTestType::uint32_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -551,6 +599,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore CompleteTestType::int64_opt_field(int64_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(int64_tOpt) eprosima::fastcdr::optional; @@ -563,8 +614,8 @@ namespace swig { *$self = value; } } - -%ignore CompleteTestType::int64_opt_field(int64_t&&); +%ignore CompleteTestType::int64_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -574,6 +625,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore CompleteTestType::uint64_opt_field(uint64_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint64_tOpt) eprosima::fastcdr::optional; @@ -586,8 +640,8 @@ namespace swig { *$self = value; } } - -%ignore CompleteTestType::uint64_opt_field(uint64_t&&); +%ignore CompleteTestType::uint64_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -597,6 +651,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore CompleteTestType::float_opt_field(float&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(floatOpt) eprosima::fastcdr::optional; @@ -609,8 +666,8 @@ namespace swig { *$self = value; } } - -%ignore CompleteTestType::float_opt_field(float&&); +%ignore CompleteTestType::float_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -620,6 +677,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore CompleteTestType::double_opt_field(double&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(doubleOpt) eprosima::fastcdr::optional; @@ -632,8 +692,8 @@ namespace swig { *$self = value; } } - -%ignore CompleteTestType::double_opt_field(double&&); +%ignore CompleteTestType::double_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -643,6 +703,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore CompleteTestType::bool_opt_field(bool&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(boolOpt) eprosima::fastcdr::optional; @@ -655,8 +718,8 @@ namespace swig { *$self = value; } } - -%ignore CompleteTestType::bool_opt_field(bool&&); +%ignore CompleteTestType::bool_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -666,6 +729,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore CompleteTestType::string_opt_field(std::string&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(stringOpt) eprosima::fastcdr::optional; @@ -678,8 +744,8 @@ namespace swig { *$self = value; } } - -%ignore CompleteTestType::string_opt_field(std::string&&); +%ignore CompleteTestType::string_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -689,6 +755,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore CompleteTestType::enum_opt_field(Color&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(ColorOpt) eprosima::fastcdr::optional; @@ -701,8 +770,8 @@ namespace swig { *$self = value; } } - -%ignore CompleteTestType::enum_opt_field(Color&&); +%ignore CompleteTestType::enum_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -712,6 +781,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore CompleteTestType::enum2_opt_field(Material&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(MaterialOpt) eprosima::fastcdr::optional; @@ -724,8 +796,8 @@ namespace swig { *$self = value; } } - -%ignore CompleteTestType::enum2_opt_field(Material&&); +%ignore CompleteTestType::enum2_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -735,6 +807,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore CompleteTestType::struct_opt_field(StructType&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(StructTypeOpt) eprosima::fastcdr::optional; @@ -747,8 +822,8 @@ namespace swig { *$self = value; } } - -%ignore CompleteTestType::struct_opt_field(StructType&&); +%ignore CompleteTestType::struct_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -760,6 +835,7 @@ namespace swig { %ignore CompleteTestType::array_char_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -776,6 +852,7 @@ namespace swig { %ignore CompleteTestType::array_uint8_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -792,6 +869,7 @@ namespace swig { %ignore CompleteTestType::array_int16_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -808,6 +886,7 @@ namespace swig { %ignore CompleteTestType::array_uint16_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -824,6 +903,7 @@ namespace swig { %ignore CompleteTestType::array_int32_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -840,6 +920,7 @@ namespace swig { %ignore CompleteTestType::array_uint32_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -856,6 +937,7 @@ namespace swig { %ignore CompleteTestType::array_int64_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -872,6 +954,7 @@ namespace swig { %ignore CompleteTestType::array_uint64_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -888,6 +971,7 @@ namespace swig { %ignore CompleteTestType::array_float_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -904,6 +988,7 @@ namespace swig { %ignore CompleteTestType::array_double_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -920,6 +1005,7 @@ namespace swig { %ignore CompleteTestType::array_bool_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -936,6 +1022,7 @@ namespace swig { %ignore CompleteTestType::array_enum_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -952,6 +1039,7 @@ namespace swig { %ignore CompleteTestType::array_enum2_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -968,6 +1056,7 @@ namespace swig { %ignore CompleteTestType::array_struct_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -977,6 +1066,7 @@ namespace swig { %ignore CompleteTestType::bounded_sequence_char_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -994,6 +1084,7 @@ namespace swig { %ignore CompleteTestType::bounded_sequence_uint8_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1011,6 +1102,7 @@ namespace swig { %ignore CompleteTestType::bounded_sequence_int16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1028,6 +1120,7 @@ namespace swig { %ignore CompleteTestType::bounded_sequence_uint16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1045,6 +1138,7 @@ namespace swig { %ignore CompleteTestType::bounded_sequence_int32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1062,6 +1156,7 @@ namespace swig { %ignore CompleteTestType::bounded_sequence_uint32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1079,6 +1174,7 @@ namespace swig { %ignore CompleteTestType::bounded_sequence_int64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1096,6 +1192,7 @@ namespace swig { %ignore CompleteTestType::bounded_sequence_uint64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1113,6 +1210,7 @@ namespace swig { %ignore CompleteTestType::bounded_sequence_float_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1130,6 +1228,7 @@ namespace swig { %ignore CompleteTestType::bounded_sequence_double_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1147,6 +1246,7 @@ namespace swig { %ignore CompleteTestType::bounded_sequence_bool_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1156,6 +1256,7 @@ namespace swig { %ignore CompleteTestType::bounded_sequence_enum_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1173,6 +1274,7 @@ namespace swig { %ignore CompleteTestType::bounded_sequence_enum2_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1190,6 +1292,7 @@ namespace swig { %ignore CompleteTestType::bounded_sequence_struct_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1199,6 +1302,7 @@ namespace swig { %ignore CompleteTestType::unbounded_sequence_char_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1216,6 +1320,7 @@ namespace swig { %ignore CompleteTestType::unbounded_sequence_uint8_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1233,6 +1338,7 @@ namespace swig { %ignore CompleteTestType::unbounded_sequence_int16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1250,6 +1356,7 @@ namespace swig { %ignore CompleteTestType::unbounded_sequence_uint16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1267,6 +1374,7 @@ namespace swig { %ignore CompleteTestType::unbounded_sequence_int32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1284,6 +1392,7 @@ namespace swig { %ignore CompleteTestType::unbounded_sequence_uint32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1301,6 +1410,7 @@ namespace swig { %ignore CompleteTestType::unbounded_sequence_int64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1318,6 +1428,7 @@ namespace swig { %ignore CompleteTestType::unbounded_sequence_uint64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1335,6 +1446,7 @@ namespace swig { %ignore CompleteTestType::unbounded_sequence_float_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1352,6 +1464,7 @@ namespace swig { %ignore CompleteTestType::unbounded_sequence_double_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1369,6 +1482,7 @@ namespace swig { %ignore CompleteTestType::unbounded_sequence_bool_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1378,6 +1492,7 @@ namespace swig { %ignore CompleteTestType::unbounded_sequence_enum_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1395,6 +1510,7 @@ namespace swig { %ignore CompleteTestType::unbounded_sequence_enum2_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1412,6 +1528,7 @@ namespace swig { %ignore CompleteTestType::unbounded_sequence_struct_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1450,6 +1567,7 @@ namespace swig { // Avoid a warning ignoring all but one %ignore KeyedCompleteTestType::id(int32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1460,6 +1578,7 @@ namespace swig { %ignore KeyedCompleteTestType::char_field(char&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1470,6 +1589,7 @@ namespace swig { %ignore KeyedCompleteTestType::uint8_field(uint8_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1480,6 +1600,7 @@ namespace swig { %ignore KeyedCompleteTestType::int16_field(int16_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1490,6 +1611,7 @@ namespace swig { %ignore KeyedCompleteTestType::uint16_field(uint16_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1500,6 +1622,7 @@ namespace swig { %ignore KeyedCompleteTestType::int32_field(int32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1510,6 +1633,7 @@ namespace swig { %ignore KeyedCompleteTestType::uint32_field(uint32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1520,6 +1644,7 @@ namespace swig { %ignore KeyedCompleteTestType::int64_field(int64_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1530,6 +1655,7 @@ namespace swig { %ignore KeyedCompleteTestType::uint64_field(uint64_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1540,6 +1666,7 @@ namespace swig { %ignore KeyedCompleteTestType::float_field(float&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1550,6 +1677,7 @@ namespace swig { %ignore KeyedCompleteTestType::double_field(double&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1560,6 +1688,7 @@ namespace swig { %ignore KeyedCompleteTestType::bool_field(bool&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1570,6 +1699,7 @@ namespace swig { %ignore KeyedCompleteTestType::string_field(std::string&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1580,6 +1710,7 @@ namespace swig { %ignore KeyedCompleteTestType::enum_field(Color&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1590,6 +1721,7 @@ namespace swig { %ignore KeyedCompleteTestType::enum2_field(Material&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1600,6 +1732,7 @@ namespace swig { %ignore KeyedCompleteTestType::struct_field(StructType&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1608,6 +1741,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore KeyedCompleteTestType::char_opt_field(char&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(charOpt) eprosima::fastcdr::optional; @@ -1620,8 +1756,8 @@ namespace swig { *$self = value; } } - -%ignore KeyedCompleteTestType::char_opt_field(char&&); +%ignore KeyedCompleteTestType::char_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1631,6 +1767,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore KeyedCompleteTestType::uint8_opt_field(uint8_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint8_tOpt) eprosima::fastcdr::optional; @@ -1643,8 +1782,8 @@ namespace swig { *$self = value; } } - -%ignore KeyedCompleteTestType::uint8_opt_field(uint8_t&&); +%ignore KeyedCompleteTestType::uint8_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1654,6 +1793,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore KeyedCompleteTestType::int16_opt_field(int16_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(int16_tOpt) eprosima::fastcdr::optional; @@ -1666,8 +1808,8 @@ namespace swig { *$self = value; } } - -%ignore KeyedCompleteTestType::int16_opt_field(int16_t&&); +%ignore KeyedCompleteTestType::int16_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1677,6 +1819,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore KeyedCompleteTestType::uint16_opt_field(uint16_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint16_tOpt) eprosima::fastcdr::optional; @@ -1689,8 +1834,8 @@ namespace swig { *$self = value; } } - -%ignore KeyedCompleteTestType::uint16_opt_field(uint16_t&&); +%ignore KeyedCompleteTestType::uint16_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1700,6 +1845,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore KeyedCompleteTestType::int32_opt_field(int32_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(int32_tOpt) eprosima::fastcdr::optional; @@ -1712,8 +1860,8 @@ namespace swig { *$self = value; } } - -%ignore KeyedCompleteTestType::int32_opt_field(int32_t&&); +%ignore KeyedCompleteTestType::int32_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1723,6 +1871,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore KeyedCompleteTestType::uint32_opt_field(uint32_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint32_tOpt) eprosima::fastcdr::optional; @@ -1735,8 +1886,8 @@ namespace swig { *$self = value; } } - -%ignore KeyedCompleteTestType::uint32_opt_field(uint32_t&&); +%ignore KeyedCompleteTestType::uint32_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1746,6 +1897,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore KeyedCompleteTestType::int64_opt_field(int64_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(int64_tOpt) eprosima::fastcdr::optional; @@ -1758,8 +1912,8 @@ namespace swig { *$self = value; } } - -%ignore KeyedCompleteTestType::int64_opt_field(int64_t&&); +%ignore KeyedCompleteTestType::int64_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1769,6 +1923,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore KeyedCompleteTestType::uint64_opt_field(uint64_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint64_tOpt) eprosima::fastcdr::optional; @@ -1781,8 +1938,8 @@ namespace swig { *$self = value; } } - -%ignore KeyedCompleteTestType::uint64_opt_field(uint64_t&&); +%ignore KeyedCompleteTestType::uint64_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1792,6 +1949,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore KeyedCompleteTestType::float_opt_field(float&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(floatOpt) eprosima::fastcdr::optional; @@ -1804,8 +1964,8 @@ namespace swig { *$self = value; } } - -%ignore KeyedCompleteTestType::float_opt_field(float&&); +%ignore KeyedCompleteTestType::float_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1815,6 +1975,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore KeyedCompleteTestType::double_opt_field(double&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(doubleOpt) eprosima::fastcdr::optional; @@ -1827,8 +1990,8 @@ namespace swig { *$self = value; } } - -%ignore KeyedCompleteTestType::double_opt_field(double&&); +%ignore KeyedCompleteTestType::double_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1838,6 +2001,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore KeyedCompleteTestType::bool_opt_field(bool&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(boolOpt) eprosima::fastcdr::optional; @@ -1850,8 +2016,8 @@ namespace swig { *$self = value; } } - -%ignore KeyedCompleteTestType::bool_opt_field(bool&&); +%ignore KeyedCompleteTestType::bool_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1861,6 +2027,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore KeyedCompleteTestType::string_opt_field(std::string&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(stringOpt) eprosima::fastcdr::optional; @@ -1873,8 +2042,8 @@ namespace swig { *$self = value; } } - -%ignore KeyedCompleteTestType::string_opt_field(std::string&&); +%ignore KeyedCompleteTestType::string_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1884,6 +2053,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore KeyedCompleteTestType::enum_opt_field(Color&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(ColorOpt) eprosima::fastcdr::optional; @@ -1896,8 +2068,8 @@ namespace swig { *$self = value; } } - -%ignore KeyedCompleteTestType::enum_opt_field(Color&&); +%ignore KeyedCompleteTestType::enum_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1907,6 +2079,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore KeyedCompleteTestType::enum2_opt_field(Material&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(MaterialOpt) eprosima::fastcdr::optional; @@ -1919,8 +2094,8 @@ namespace swig { *$self = value; } } - -%ignore KeyedCompleteTestType::enum2_opt_field(Material&&); +%ignore KeyedCompleteTestType::enum2_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1930,6 +2105,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore KeyedCompleteTestType::struct_opt_field(StructType&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(StructTypeOpt) eprosima::fastcdr::optional; @@ -1942,8 +2120,8 @@ namespace swig { *$self = value; } } - -%ignore KeyedCompleteTestType::struct_opt_field(StructType&&); +%ignore KeyedCompleteTestType::struct_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1955,6 +2133,7 @@ namespace swig { %ignore KeyedCompleteTestType::array_char_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1971,6 +2150,7 @@ namespace swig { %ignore KeyedCompleteTestType::array_uint8_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1987,6 +2167,7 @@ namespace swig { %ignore KeyedCompleteTestType::array_int16_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2003,6 +2184,7 @@ namespace swig { %ignore KeyedCompleteTestType::array_uint16_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2019,6 +2201,7 @@ namespace swig { %ignore KeyedCompleteTestType::array_int32_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2035,6 +2218,7 @@ namespace swig { %ignore KeyedCompleteTestType::array_uint32_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2051,6 +2235,7 @@ namespace swig { %ignore KeyedCompleteTestType::array_int64_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2067,6 +2252,7 @@ namespace swig { %ignore KeyedCompleteTestType::array_uint64_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2083,6 +2269,7 @@ namespace swig { %ignore KeyedCompleteTestType::array_float_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2099,6 +2286,7 @@ namespace swig { %ignore KeyedCompleteTestType::array_double_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2115,6 +2303,7 @@ namespace swig { %ignore KeyedCompleteTestType::array_bool_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2131,6 +2320,7 @@ namespace swig { %ignore KeyedCompleteTestType::array_enum_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2147,6 +2337,7 @@ namespace swig { %ignore KeyedCompleteTestType::array_enum2_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2163,6 +2354,7 @@ namespace swig { %ignore KeyedCompleteTestType::array_struct_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2172,6 +2364,7 @@ namespace swig { %ignore KeyedCompleteTestType::bounded_sequence_char_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2189,6 +2382,7 @@ namespace swig { %ignore KeyedCompleteTestType::bounded_sequence_uint8_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2206,6 +2400,7 @@ namespace swig { %ignore KeyedCompleteTestType::bounded_sequence_int16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2223,6 +2418,7 @@ namespace swig { %ignore KeyedCompleteTestType::bounded_sequence_uint16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2240,6 +2436,7 @@ namespace swig { %ignore KeyedCompleteTestType::bounded_sequence_int32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2257,6 +2454,7 @@ namespace swig { %ignore KeyedCompleteTestType::bounded_sequence_uint32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2274,6 +2472,7 @@ namespace swig { %ignore KeyedCompleteTestType::bounded_sequence_int64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2291,6 +2490,7 @@ namespace swig { %ignore KeyedCompleteTestType::bounded_sequence_uint64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2308,6 +2508,7 @@ namespace swig { %ignore KeyedCompleteTestType::bounded_sequence_float_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2325,6 +2526,7 @@ namespace swig { %ignore KeyedCompleteTestType::bounded_sequence_double_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2342,6 +2544,7 @@ namespace swig { %ignore KeyedCompleteTestType::bounded_sequence_bool_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2351,6 +2554,7 @@ namespace swig { %ignore KeyedCompleteTestType::bounded_sequence_enum_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2368,6 +2572,7 @@ namespace swig { %ignore KeyedCompleteTestType::bounded_sequence_enum2_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2385,6 +2590,7 @@ namespace swig { %ignore KeyedCompleteTestType::bounded_sequence_struct_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2394,6 +2600,7 @@ namespace swig { %ignore KeyedCompleteTestType::unbounded_sequence_char_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2411,6 +2618,7 @@ namespace swig { %ignore KeyedCompleteTestType::unbounded_sequence_uint8_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2428,6 +2636,7 @@ namespace swig { %ignore KeyedCompleteTestType::unbounded_sequence_int16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2445,6 +2654,7 @@ namespace swig { %ignore KeyedCompleteTestType::unbounded_sequence_uint16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2462,6 +2672,7 @@ namespace swig { %ignore KeyedCompleteTestType::unbounded_sequence_int32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2479,6 +2690,7 @@ namespace swig { %ignore KeyedCompleteTestType::unbounded_sequence_uint32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2496,6 +2708,7 @@ namespace swig { %ignore KeyedCompleteTestType::unbounded_sequence_int64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2513,6 +2726,7 @@ namespace swig { %ignore KeyedCompleteTestType::unbounded_sequence_uint64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2530,6 +2744,7 @@ namespace swig { %ignore KeyedCompleteTestType::unbounded_sequence_float_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2547,6 +2762,7 @@ namespace swig { %ignore KeyedCompleteTestType::unbounded_sequence_double_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2564,6 +2780,7 @@ namespace swig { %ignore KeyedCompleteTestType::unbounded_sequence_bool_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2573,6 +2790,7 @@ namespace swig { %ignore KeyedCompleteTestType::unbounded_sequence_enum_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2590,6 +2808,7 @@ namespace swig { %ignore KeyedCompleteTestType::unbounded_sequence_enum2_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2607,6 +2826,7 @@ namespace swig { %ignore KeyedCompleteTestType::unbounded_sequence_struct_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this diff --git a/fastdds_python/test/types/test_included_modules.i b/fastdds_python/test/types/test_included_modules.i index 1de154b2..58af7980 100644 --- a/fastdds_python/test/types/test_included_modules.i +++ b/fastdds_python/test/types/test_included_modules.i @@ -81,6 +81,7 @@ namespace swig { // Avoid a warning ignoring all but one %ignore eprosima::test2::StructType2::char_field(char&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -91,6 +92,7 @@ namespace swig { %ignore eprosima::test2::StructType2::uint8_field(uint8_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -101,6 +103,7 @@ namespace swig { %ignore eprosima::test2::StructType2::int16_field(int16_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -111,6 +114,7 @@ namespace swig { %ignore eprosima::test2::StructType2::uint16_field(uint16_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -121,6 +125,7 @@ namespace swig { %ignore eprosima::test2::StructType2::int32_field(int32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -131,6 +136,7 @@ namespace swig { %ignore eprosima::test2::StructType2::uint32_field(uint32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -141,6 +147,7 @@ namespace swig { %ignore eprosima::test2::StructType2::int64_field(int64_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -151,6 +158,7 @@ namespace swig { %ignore eprosima::test2::StructType2::uint64_field(uint64_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -161,6 +169,7 @@ namespace swig { %ignore eprosima::test2::StructType2::float_field(float&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -171,6 +180,7 @@ namespace swig { %ignore eprosima::test2::StructType2::double_field(double&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -181,6 +191,7 @@ namespace swig { %ignore eprosima::test2::StructType2::bool_field(bool&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -191,6 +202,7 @@ namespace swig { %ignore eprosima::test2::StructType2::string_field(std::string&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -201,6 +213,7 @@ namespace swig { %ignore eprosima::test2::StructType2::enum_field(eprosima::test2::Color2&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -211,6 +224,7 @@ namespace swig { %ignore eprosima::test2::StructType2::enum2_field(eprosima::test2::Material2&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this diff --git a/fastdds_python/test/types/test_modules.i b/fastdds_python/test/types/test_modules.i index e657eb75..b70f60eb 100644 --- a/fastdds_python/test/types/test_modules.i +++ b/fastdds_python/test/types/test_modules.i @@ -81,6 +81,7 @@ namespace swig { // Avoid a warning ignoring all but one %ignore eprosima::test::StructType::char_field(char&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -91,6 +92,7 @@ namespace swig { %ignore eprosima::test::StructType::uint8_field(uint8_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -101,6 +103,7 @@ namespace swig { %ignore eprosima::test::StructType::int16_field(int16_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -111,6 +114,7 @@ namespace swig { %ignore eprosima::test::StructType::uint16_field(uint16_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -121,6 +125,7 @@ namespace swig { %ignore eprosima::test::StructType::int32_field(int32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -131,6 +136,7 @@ namespace swig { %ignore eprosima::test::StructType::uint32_field(uint32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -141,6 +147,7 @@ namespace swig { %ignore eprosima::test::StructType::int64_field(int64_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -151,6 +158,7 @@ namespace swig { %ignore eprosima::test::StructType::uint64_field(uint64_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -161,6 +169,7 @@ namespace swig { %ignore eprosima::test::StructType::float_field(float&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -171,6 +180,7 @@ namespace swig { %ignore eprosima::test::StructType::double_field(double&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -181,6 +191,7 @@ namespace swig { %ignore eprosima::test::StructType::bool_field(bool&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -191,6 +202,7 @@ namespace swig { %ignore eprosima::test::StructType::string_field(std::string&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -201,6 +213,7 @@ namespace swig { %ignore eprosima::test::StructType::enum_field(eprosima::test::Color&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -211,6 +224,7 @@ namespace swig { %ignore eprosima::test::StructType::enum2_field(eprosima::test::Material&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -254,6 +268,7 @@ namespace swig { // Avoid a warning ignoring all but one %ignore eprosima::test::CompleteTestType::char_field(char&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -264,6 +279,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::uint8_field(uint8_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -274,6 +290,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::int16_field(int16_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -284,6 +301,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::uint16_field(uint16_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -294,6 +312,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::int32_field(int32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -304,6 +323,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::uint32_field(uint32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -314,6 +334,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::int64_field(int64_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -324,6 +345,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::uint64_field(uint64_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -334,6 +356,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::float_field(float&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -344,6 +367,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::double_field(double&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -354,6 +378,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::bool_field(bool&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -364,6 +389,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::string_field(std::string&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -374,6 +400,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::enum_field(eprosima::test::Color&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -384,6 +411,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::enum2_field(eprosima::test::Material&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -394,6 +422,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::struct_field(eprosima::test::StructType&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -402,6 +431,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::CompleteTestType::char_opt_field(char&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(charOpt) eprosima::fastcdr::optional; @@ -414,8 +446,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::CompleteTestType::char_opt_field(char&&); +%ignore eprosima::test::CompleteTestType::char_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -425,6 +457,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::CompleteTestType::uint8_opt_field(uint8_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint8_tOpt) eprosima::fastcdr::optional; @@ -437,8 +472,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::CompleteTestType::uint8_opt_field(uint8_t&&); +%ignore eprosima::test::CompleteTestType::uint8_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -448,6 +483,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::CompleteTestType::int16_opt_field(int16_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(int16_tOpt) eprosima::fastcdr::optional; @@ -460,8 +498,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::CompleteTestType::int16_opt_field(int16_t&&); +%ignore eprosima::test::CompleteTestType::int16_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -471,6 +509,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::CompleteTestType::uint16_opt_field(uint16_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint16_tOpt) eprosima::fastcdr::optional; @@ -483,8 +524,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::CompleteTestType::uint16_opt_field(uint16_t&&); +%ignore eprosima::test::CompleteTestType::uint16_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -494,6 +535,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::CompleteTestType::int32_opt_field(int32_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(int32_tOpt) eprosima::fastcdr::optional; @@ -506,8 +550,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::CompleteTestType::int32_opt_field(int32_t&&); +%ignore eprosima::test::CompleteTestType::int32_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -517,6 +561,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::CompleteTestType::uint32_opt_field(uint32_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint32_tOpt) eprosima::fastcdr::optional; @@ -529,8 +576,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::CompleteTestType::uint32_opt_field(uint32_t&&); +%ignore eprosima::test::CompleteTestType::uint32_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -540,6 +587,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::CompleteTestType::int64_opt_field(int64_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(int64_tOpt) eprosima::fastcdr::optional; @@ -552,8 +602,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::CompleteTestType::int64_opt_field(int64_t&&); +%ignore eprosima::test::CompleteTestType::int64_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -563,6 +613,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::CompleteTestType::uint64_opt_field(uint64_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint64_tOpt) eprosima::fastcdr::optional; @@ -575,8 +628,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::CompleteTestType::uint64_opt_field(uint64_t&&); +%ignore eprosima::test::CompleteTestType::uint64_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -586,6 +639,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::CompleteTestType::float_opt_field(float&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(floatOpt) eprosima::fastcdr::optional; @@ -598,8 +654,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::CompleteTestType::float_opt_field(float&&); +%ignore eprosima::test::CompleteTestType::float_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -609,6 +665,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::CompleteTestType::double_opt_field(double&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(doubleOpt) eprosima::fastcdr::optional; @@ -621,8 +680,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::CompleteTestType::double_opt_field(double&&); +%ignore eprosima::test::CompleteTestType::double_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -632,6 +691,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::CompleteTestType::bool_opt_field(bool&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(boolOpt) eprosima::fastcdr::optional; @@ -644,8 +706,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::CompleteTestType::bool_opt_field(bool&&); +%ignore eprosima::test::CompleteTestType::bool_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -655,6 +717,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::CompleteTestType::string_opt_field(std::string&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(stringOpt) eprosima::fastcdr::optional; @@ -667,8 +732,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::CompleteTestType::string_opt_field(std::string&&); +%ignore eprosima::test::CompleteTestType::string_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -678,6 +743,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::CompleteTestType::enum_opt_field(eprosima::test::Color&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(ColorOpt) eprosima::fastcdr::optional; @@ -690,8 +758,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::CompleteTestType::enum_opt_field(eprosima::test::Color&&); +%ignore eprosima::test::CompleteTestType::enum_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -701,6 +769,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::CompleteTestType::enum2_opt_field(eprosima::test::Material&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(MaterialOpt) eprosima::fastcdr::optional; @@ -713,8 +784,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::CompleteTestType::enum2_opt_field(eprosima::test::Material&&); +%ignore eprosima::test::CompleteTestType::enum2_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -724,6 +795,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::CompleteTestType::struct_opt_field(eprosima::test::StructType&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(StructTypeOpt) eprosima::fastcdr::optional; @@ -736,8 +810,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::CompleteTestType::struct_opt_field(eprosima::test::StructType&&); +%ignore eprosima::test::CompleteTestType::struct_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -749,6 +823,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::array_char_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -765,6 +840,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::array_uint8_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -781,6 +857,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::array_int16_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -797,6 +874,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::array_uint16_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -813,6 +891,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::array_int32_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -829,6 +908,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::array_uint32_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -845,6 +925,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::array_int64_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -861,6 +942,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::array_uint64_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -877,6 +959,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::array_float_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -893,6 +976,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::array_double_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -909,6 +993,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::array_bool_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -925,6 +1010,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::array_enum_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -941,6 +1027,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::array_enum2_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -957,6 +1044,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::array_struct_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -966,6 +1054,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::bounded_sequence_char_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -983,6 +1072,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::bounded_sequence_uint8_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1000,6 +1090,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::bounded_sequence_int16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1017,6 +1108,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::bounded_sequence_uint16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1034,6 +1126,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::bounded_sequence_int32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1051,6 +1144,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::bounded_sequence_uint32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1068,6 +1162,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::bounded_sequence_int64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1085,6 +1180,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::bounded_sequence_uint64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1102,6 +1198,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::bounded_sequence_float_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1119,6 +1216,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::bounded_sequence_double_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1136,6 +1234,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::bounded_sequence_bool_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1145,6 +1244,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::bounded_sequence_enum_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1162,6 +1262,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::bounded_sequence_enum2_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1179,6 +1280,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::bounded_sequence_struct_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1188,6 +1290,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::unbounded_sequence_char_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1205,6 +1308,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::unbounded_sequence_uint8_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1222,6 +1326,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::unbounded_sequence_int16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1239,6 +1344,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::unbounded_sequence_uint16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1256,6 +1362,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::unbounded_sequence_int32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1273,6 +1380,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::unbounded_sequence_uint32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1290,6 +1398,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::unbounded_sequence_int64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1307,6 +1416,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::unbounded_sequence_uint64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1324,6 +1434,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::unbounded_sequence_float_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1341,6 +1452,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::unbounded_sequence_double_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1358,6 +1470,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::unbounded_sequence_bool_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1367,6 +1480,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::unbounded_sequence_enum_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1384,6 +1498,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::unbounded_sequence_enum2_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1401,6 +1516,7 @@ namespace swig { %ignore eprosima::test::CompleteTestType::unbounded_sequence_struct_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1439,6 +1555,7 @@ namespace swig { // Avoid a warning ignoring all but one %ignore eprosima::test::KeyedCompleteTestType::id(int32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1449,6 +1566,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::char_field(char&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1459,6 +1577,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::uint8_field(uint8_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1469,6 +1588,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::int16_field(int16_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1479,6 +1599,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::uint16_field(uint16_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1489,6 +1610,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::int32_field(int32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1499,6 +1621,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::uint32_field(uint32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1509,6 +1632,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::int64_field(int64_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1519,6 +1643,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::uint64_field(uint64_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1529,6 +1654,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::float_field(float&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1539,6 +1665,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::double_field(double&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1549,6 +1676,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::bool_field(bool&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1559,6 +1687,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::string_field(std::string&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1569,6 +1698,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::enum_field(eprosima::test::Color&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1579,6 +1709,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::enum2_field(eprosima::test::Material&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1589,6 +1720,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::struct_field(eprosima::test::StructType&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1597,6 +1729,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::KeyedCompleteTestType::char_opt_field(char&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(charOpt) eprosima::fastcdr::optional; @@ -1609,8 +1744,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::KeyedCompleteTestType::char_opt_field(char&&); +%ignore eprosima::test::KeyedCompleteTestType::char_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1620,6 +1755,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::KeyedCompleteTestType::uint8_opt_field(uint8_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint8_tOpt) eprosima::fastcdr::optional; @@ -1632,8 +1770,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::KeyedCompleteTestType::uint8_opt_field(uint8_t&&); +%ignore eprosima::test::KeyedCompleteTestType::uint8_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1643,6 +1781,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::KeyedCompleteTestType::int16_opt_field(int16_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(int16_tOpt) eprosima::fastcdr::optional; @@ -1655,8 +1796,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::KeyedCompleteTestType::int16_opt_field(int16_t&&); +%ignore eprosima::test::KeyedCompleteTestType::int16_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1666,6 +1807,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::KeyedCompleteTestType::uint16_opt_field(uint16_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint16_tOpt) eprosima::fastcdr::optional; @@ -1678,8 +1822,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::KeyedCompleteTestType::uint16_opt_field(uint16_t&&); +%ignore eprosima::test::KeyedCompleteTestType::uint16_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1689,6 +1833,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::KeyedCompleteTestType::int32_opt_field(int32_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(int32_tOpt) eprosima::fastcdr::optional; @@ -1701,8 +1848,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::KeyedCompleteTestType::int32_opt_field(int32_t&&); +%ignore eprosima::test::KeyedCompleteTestType::int32_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1712,6 +1859,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::KeyedCompleteTestType::uint32_opt_field(uint32_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint32_tOpt) eprosima::fastcdr::optional; @@ -1724,8 +1874,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::KeyedCompleteTestType::uint32_opt_field(uint32_t&&); +%ignore eprosima::test::KeyedCompleteTestType::uint32_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1735,6 +1885,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::KeyedCompleteTestType::int64_opt_field(int64_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(int64_tOpt) eprosima::fastcdr::optional; @@ -1747,8 +1900,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::KeyedCompleteTestType::int64_opt_field(int64_t&&); +%ignore eprosima::test::KeyedCompleteTestType::int64_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1758,6 +1911,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::KeyedCompleteTestType::uint64_opt_field(uint64_t&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(uint64_tOpt) eprosima::fastcdr::optional; @@ -1770,8 +1926,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::KeyedCompleteTestType::uint64_opt_field(uint64_t&&); +%ignore eprosima::test::KeyedCompleteTestType::uint64_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1781,6 +1937,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::KeyedCompleteTestType::float_opt_field(float&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(floatOpt) eprosima::fastcdr::optional; @@ -1793,8 +1952,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::KeyedCompleteTestType::float_opt_field(float&&); +%ignore eprosima::test::KeyedCompleteTestType::float_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1804,6 +1963,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::KeyedCompleteTestType::double_opt_field(double&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(doubleOpt) eprosima::fastcdr::optional; @@ -1816,8 +1978,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::KeyedCompleteTestType::double_opt_field(double&&); +%ignore eprosima::test::KeyedCompleteTestType::double_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1827,6 +1989,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::KeyedCompleteTestType::bool_opt_field(bool&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(boolOpt) eprosima::fastcdr::optional; @@ -1839,8 +2004,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::KeyedCompleteTestType::bool_opt_field(bool&&); +%ignore eprosima::test::KeyedCompleteTestType::bool_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1850,6 +2015,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::KeyedCompleteTestType::string_opt_field(std::string&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(stringOpt) eprosima::fastcdr::optional; @@ -1862,8 +2030,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::KeyedCompleteTestType::string_opt_field(std::string&&); +%ignore eprosima::test::KeyedCompleteTestType::string_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1873,6 +2041,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::KeyedCompleteTestType::enum_opt_field(eprosima::test::Color&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(ColorOpt) eprosima::fastcdr::optional; @@ -1885,8 +2056,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::KeyedCompleteTestType::enum_opt_field(eprosima::test::Color&&); +%ignore eprosima::test::KeyedCompleteTestType::enum_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1896,6 +2067,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::KeyedCompleteTestType::enum2_opt_field(eprosima::test::Material&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(MaterialOpt) eprosima::fastcdr::optional; @@ -1908,8 +2082,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::KeyedCompleteTestType::enum2_opt_field(eprosima::test::Material&&); +%ignore eprosima::test::KeyedCompleteTestType::enum2_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1919,6 +2093,9 @@ namespace swig { +#if FASTCDR_VERSION_MAJOR == 1 +%ignore eprosima::test::KeyedCompleteTestType::struct_opt_field(eprosima::test::StructType&&); +#else %ignore eprosima::fastcdr::optional::value; %ignore eprosima::fastcdr::optional::reset; %template(StructTypeOpt) eprosima::fastcdr::optional; @@ -1931,8 +2108,8 @@ namespace swig { *$self = value; } } - -%ignore eprosima::test::KeyedCompleteTestType::struct_opt_field(eprosima::test::StructType&&); +%ignore eprosima::test::KeyedCompleteTestType::struct_opt_field(eprosima::fastcdr::optional&&); +#endif // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used @@ -1944,6 +2121,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::array_char_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1960,6 +2138,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::array_uint8_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1976,6 +2155,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::array_int16_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -1992,6 +2172,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::array_uint16_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2008,6 +2189,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::array_int32_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2024,6 +2206,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::array_uint32_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2040,6 +2223,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::array_int64_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2056,6 +2240,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::array_uint64_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2072,6 +2257,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::array_float_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2088,6 +2274,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::array_double_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2104,6 +2291,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::array_bool_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2120,6 +2308,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::array_enum_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2136,6 +2325,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::array_enum2_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2152,6 +2342,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::array_struct_field(std::array&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2161,6 +2352,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_char_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2178,6 +2370,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_uint8_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2195,6 +2388,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_int16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2212,6 +2406,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_uint16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2229,6 +2424,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_int32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2246,6 +2442,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_uint32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2263,6 +2460,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_int64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2280,6 +2478,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_uint64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2297,6 +2496,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_float_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2314,6 +2514,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_double_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2331,6 +2532,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_bool_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2340,6 +2542,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_enum_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2357,6 +2560,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_enum2_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2374,6 +2578,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_struct_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2383,6 +2588,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::unbounded_sequence_char_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2400,6 +2606,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint8_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2417,6 +2624,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::unbounded_sequence_int16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2434,6 +2642,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint16_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2451,6 +2660,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::unbounded_sequence_int32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2468,6 +2678,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint32_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2485,6 +2696,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::unbounded_sequence_int64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2502,6 +2714,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::unbounded_sequence_uint64_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2519,6 +2732,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::unbounded_sequence_float_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2536,6 +2750,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::unbounded_sequence_double_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2553,6 +2768,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::unbounded_sequence_bool_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2562,6 +2778,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::unbounded_sequence_enum_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2579,6 +2796,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::unbounded_sequence_enum2_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -2596,6 +2814,7 @@ namespace swig { %ignore eprosima::test::KeyedCompleteTestType::unbounded_sequence_struct_field(std::vector&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this From fb9fd3dce50def796cfd828c0ff36b6cf4dc8365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Tue, 14 Nov 2023 11:37:26 +0100 Subject: [PATCH 04/10] Refs #19760. Remove old file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno Signed-off-by: EduPonz --- .github/ci/ccache.ps1 | 16 ---------------- .github/workflows/build_and_test.yml | 1 - 2 files changed, 17 deletions(-) delete mode 100644 .github/ci/ccache.ps1 diff --git a/.github/ci/ccache.ps1 b/.github/ci/ccache.ps1 deleted file mode 100644 index 7a5949eb..00000000 --- a/.github/ci/ccache.ps1 +++ /dev/null @@ -1,16 +0,0 @@ -$erroractionpreference = "stop" - -$tag = (Invoke-WebRequest -Uri "https://api.github.com/repos/ccache/ccache/releases" -UseBasicParsing | ConvertFrom-Json)[0].tag_name -$name = (Invoke-WebRequest -Uri "https://api.github.com/repos/ccache/ccache/releases" -UseBasicParsing | ConvertFrom-Json)[0].name -$filename = "ccache-$name-windows-x86_64" -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.github" -mkdir $outdir -$ProgressPreference = 'SilentlyContinue' -Invoke-WebRequest -Uri "https://github.com/ccache/ccache/releases/download/$tag/$tarball" -OutFile "$outdir\$tarball" - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir") -Move-Item -Path "$outdir\$filename" -Destination "$outdir\ccache" diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index bae4bef8..af74b389 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -75,7 +75,6 @@ jobs: - name: Setup ccache uses: eProsima/eProsima-CI/external/setup-ccache-action@v0 with: - install_ccache: false windows_compile_environment: msvc - name: Build workspace From d8bad4c4276ad5e3e6618ca8f5353d960fdc3330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Tue, 14 Nov 2023 12:05:24 +0100 Subject: [PATCH 05/10] Refs #19760. Fix error on generated files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno Signed-off-by: EduPonz --- fastdds_python/test/types/test_complete.i | 1 + fastdds_python/test/types/test_included_modules.i | 1 + fastdds_python/test/types/test_modules.i | 1 + 3 files changed, 3 insertions(+) diff --git a/fastdds_python/test/types/test_complete.i b/fastdds_python/test/types/test_complete.i index 3177a07a..fc4018a9 100644 --- a/fastdds_python/test/types/test_complete.i +++ b/fastdds_python/test/types/test_complete.i @@ -2852,6 +2852,7 @@ namespace swig { // Include the class interfaces %include "test_complete.h" +%include "test_completev1.h" // Include the corresponding TopicDataType %include "test_completePubSubTypes.i" diff --git a/fastdds_python/test/types/test_included_modules.i b/fastdds_python/test/types/test_included_modules.i index 58af7980..ab3c0b66 100644 --- a/fastdds_python/test/types/test_included_modules.i +++ b/fastdds_python/test/types/test_included_modules.i @@ -253,6 +253,7 @@ namespace swig { // Include the class interfaces %include "test_included_modules.h" +%include "test_included_modulesv1.h" // Include the corresponding TopicDataType %include "test_included_modulesPubSubTypes.i" diff --git a/fastdds_python/test/types/test_modules.i b/fastdds_python/test/types/test_modules.i index b70f60eb..b076a464 100644 --- a/fastdds_python/test/types/test_modules.i +++ b/fastdds_python/test/types/test_modules.i @@ -2842,6 +2842,7 @@ namespace swig { // Include the class interfaces %include "test_modules.h" +%include "test_modulesv1.h" // Include the corresponding TopicDataType %include "test_modulesPubSubTypes.i" From f0449005c708e3585e47ed4d86223519c5fd803b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Tue, 14 Nov 2023 12:13:51 +0100 Subject: [PATCH 06/10] Refs #19760. CI changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno Signed-off-by: EduPonz --- .github/workflows/build_and_test.yml | 9 ++++++++- .github/workflows/test.meta | 3 +-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index af74b389..bd55f61b 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -37,6 +37,13 @@ jobs: - uses: eProsima/eProsima-CI/windows/install_openssl@v0 + - name: Install Asio and TinyXML2 + shell: pwsh + run: | + Invoke-WebRequest -Uri https://github.com/ros2/choco-packages/releases/download/2020-02-24/asio.1.12.1.nupkg -OutFile "$pwdpath/choco_packages/asio.1.12.1.nupkg" + Invoke-WebRequest -Uri https://github.com/ros2/choco-packages/releases/download/2020-02-24/tinyxml2.6.0.0.nupkg -OutFile "$pwdpath/choco_packages/tinyxml2.6.0.0.nupkg" + choco install -y -s "$pwdpath/choco_packages" asio tinyxml2 + - name: Install swig shell: pwsh run: choco install swig --allow-downgrade --version=4.0.2.04082020 @@ -116,7 +123,7 @@ jobs: - uses: eProsima/eProsima-CI/ubuntu/install_apt_packages@v0 with: - packages: libpython3-dev swig + packages: libasio-dev libtinyxml2-dev libpython3-dev swig - uses: eProsima/eProsima-CI/multiplatform/install_colcon@v0 diff --git a/.github/workflows/test.meta b/.github/workflows/test.meta index 6ddb6b78..1271f248 100644 --- a/.github/workflows/test.meta +++ b/.github/workflows/test.meta @@ -4,8 +4,7 @@ "fastrtps": { "cmake-args": [ - "-DTHIRDPARTY=ON", - "-DSECURITY=ON", + "-DSECURITY=ON" ] }, "fastdds_python": From ea06cf7f285fd93e44a12c462b0ecbefe9967af1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Tue, 14 Nov 2023 15:05:08 +0100 Subject: [PATCH 07/10] Refs #19760. Support executing test with param --cdr MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno Signed-off-by: EduPonz --- .github/workflows/build_and_test.yml | 1 + fastdds_python/test/CMakeLists.txt | 16 +- fastdds_python/test/api/conftest.py | 3 + fastdds_python/test/api/test_datareader.py | 176 ++++---- fastdds_python/test/types/test_complete.i | 108 ++--- fastdds_python/test/types/test_modules.cxx | 224 +++++----- fastdds_python/test/types/test_modules.h | 280 ++++++------- fastdds_python/test/types/test_modules.i | 164 ++++---- fastdds_python/test/types/test_modules.idl | 128 +++--- fastdds_python/test/types/test_modulesv1.cxx | 384 +++++++++--------- fastdds_python/test/types/test_modulesv1.h | 280 ++++++------- .../HelloWorldExample/HelloWorld.i | 3 + 12 files changed, 913 insertions(+), 854 deletions(-) create mode 100644 fastdds_python/test/api/conftest.py diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index bd55f61b..cf96446b 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -40,6 +40,7 @@ jobs: - name: Install Asio and TinyXML2 shell: pwsh run: | + mkdir "$pwdpath/choco_packages" Invoke-WebRequest -Uri https://github.com/ros2/choco-packages/releases/download/2020-02-24/asio.1.12.1.nupkg -OutFile "$pwdpath/choco_packages/asio.1.12.1.nupkg" Invoke-WebRequest -Uri https://github.com/ros2/choco-packages/releases/download/2020-02-24/tinyxml2.6.0.0.nupkg -OutFile "$pwdpath/choco_packages/tinyxml2.6.0.0.nupkg" choco install -y -s "$pwdpath/choco_packages" asio tinyxml2 diff --git a/fastdds_python/test/CMakeLists.txt b/fastdds_python/test/CMakeLists.txt index 4213aa82..7a5df110 100644 --- a/fastdds_python/test/CMakeLists.txt +++ b/fastdds_python/test/CMakeLists.txt @@ -15,4 +15,18 @@ # Compile types add_subdirectory(types) -add_test(NAME api_tests COMMAND ${Python3_EXECUTABLE} -m pytest -vrP WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/api) +set(fastcdr_version_argument "v2") +if (${fastcdr_VERSION_MAJOR} EQUAL 1) + set(fastcdr_version_argument "v1") +endif() + + +add_test(NAME api_tests + COMMAND + ${Python3_EXECUTABLE} + -m pytest + -vrP + --cdr ${fastcdr_version_argument} + WORKING_DIRECTORY + ${CMAKE_CURRENT_SOURCE_DIR}/api + ) diff --git a/fastdds_python/test/api/conftest.py b/fastdds_python/test/api/conftest.py new file mode 100644 index 00000000..1d776c09 --- /dev/null +++ b/fastdds_python/test/api/conftest.py @@ -0,0 +1,3 @@ + +def pytest_addoption(parser): + parser.addoption("--cdr", action="store", default="v2") diff --git a/fastdds_python/test/api/test_datareader.py b/fastdds_python/test/api/test_datareader.py index 2ecd251b..6e83e0ba 100644 --- a/fastdds_python/test/api/test_datareader.py +++ b/fastdds_python/test/api/test_datareader.py @@ -10,11 +10,14 @@ import pytest import time - class DataReaderListener (fastdds.DataReaderListener): def __init__(self): super().__init__() +@pytest.fixture +def cdr_version(request): + return request.config.getoption('--cdr') + @pytest.fixture(params=['no_module', 'module'], autouse=True) def data_type(request): if request.param == 'no_module': @@ -117,7 +120,8 @@ def datawriter(writer_participant, writer_topic, publisher): factory.delete_participant(writer_participant)) -def fill_keyed_complete_test_type(data): +# This function should be used in a test which uses 'cdr_version' fixture +def fill_keyed_complete_test_type(data, cdr_version): # Auxiliary StructTypes struct_type1 = pytest.dds_type.StructType() struct_type1.char_field('\x01') @@ -190,19 +194,34 @@ def fill_keyed_complete_test_type(data): data.struct_field().string_field("Test string") data.struct_field().enum_field(pytest.dds_type.MAGENTA) data.struct_field().enum2_field(pytest.dds_type.METAL) - data.char_opt_field().set_value('\x01') - data.uint8_opt_field().set_value(254) - data.int16_opt_field().set_value(-10) - data.uint16_opt_field().set_value(10) - data.int32_opt_field().set_value(-1000) - data.uint32_opt_field().set_value(1000) - data.int64_opt_field().set_value(-36000) - data.uint64_opt_field().set_value(36000) - data.float_opt_field().set_value(1.0) - data.double_opt_field().set_value(1202.5) - data.bool_opt_field().set_value(True) - data.string_opt_field().set_value("Test string") - data.enum_opt_field().set_value(pytest.dds_type.MAGENTA) + if (cdr_version == 'v1'): + data.char_opt_field('\x01') + data.uint8_opt_field(254) + data.int16_opt_field(-10) + data.uint16_opt_field(10) + data.int32_opt_field(-1000) + data.uint32_opt_field(1000) + data.int64_opt_field(-36000) + data.uint64_opt_field(36000) + data.float_opt_field(1.0) + data.double_opt_field(1202.5) + data.bool_opt_field(True) + data.string_opt_field("Test string") + data.enum_opt_field(pytest.dds_type.MAGENTA) + else: + data.char_opt_field().set_value('\x01') + data.uint8_opt_field().set_value(254) + data.int16_opt_field().set_value(-10) + data.uint16_opt_field().set_value(10) + data.int32_opt_field().set_value(-1000) + data.uint32_opt_field().set_value(1000) + data.int64_opt_field().set_value(-36000) + data.uint64_opt_field().set_value(36000) + data.float_opt_field().set_value(1.0) + data.double_opt_field().set_value(1202.5) + data.bool_opt_field().set_value(True) + data.string_opt_field().set_value("Test string") + data.enum_opt_field().set_value(pytest.dds_type.MAGENTA) struct_field = pytest.dds_type.StructType() struct_field.char_field('\x01') struct_field.uint8_field(254) @@ -218,7 +237,10 @@ def fill_keyed_complete_test_type(data): struct_field.string_field("Test string") struct_field.enum_field(pytest.dds_type.MAGENTA) struct_field.enum2_field(pytest.dds_type.METAL) - data.struct_opt_field().set_value(struct_field) + if (cdr_version == 'v1'): + data.struct_opt_field(struct_field) + else: + data.struct_opt_field().set_value(struct_field) data.array_char_field(['\x01', '\x02', '\x03']) data.array_uint8_field([254, 255, 1]) data.array_int16_field([-10, 10, -20]) @@ -269,7 +291,8 @@ def fill_keyed_complete_test_type(data): data.unbounded_sequence_struct_field([struct_type1, struct_type2, struct_type3]) -def check_keyed_complete_test_type(data): +# This function should be used in a test which uses 'cdr_version' fixture +def check_keyed_complete_test_type(data, cdr_version): assert(data.char_field() == '\x01') assert(data.uint8_field() == 254) assert(data.int16_field() == -10) @@ -298,34 +321,49 @@ def check_keyed_complete_test_type(data): assert(data.struct_field().string_field() == "Test string") assert(data.struct_field().enum_field() == pytest.dds_type.MAGENTA) assert(data.struct_field().enum2_field() == pytest.dds_type.METAL) - assert(data.char_opt_field().has_value()) - assert(data.char_opt_field().get_value() == '\x01') - assert(data.uint8_opt_field().has_value()) - assert(data.uint8_opt_field().get_value() == 254) - assert(data.int16_opt_field().has_value()) - assert(data.int16_opt_field().get_value() == -10) - assert(data.uint16_opt_field().has_value()) - assert(data.uint16_opt_field().get_value() == 10) - assert(data.int32_opt_field().has_value()) - assert(data.int32_opt_field().get_value() == -1000) - assert(data.uint32_opt_field().has_value()) - assert(data.uint32_opt_field().get_value() == 1000) - assert(data.int64_opt_field().has_value()) - assert(data.int64_opt_field().get_value() == -36000) - assert(data.uint64_opt_field().has_value()) - assert(data.uint64_opt_field().get_value() == 36000) - assert(data.float_opt_field().has_value()) - assert(data.float_opt_field().get_value() == 1.0) - assert(data.double_opt_field().has_value()) - assert(data.double_opt_field().get_value() == 1202.5) - assert(data.bool_opt_field().has_value()) - assert(data.bool_opt_field().get_value() == True) - assert(data.string_opt_field().has_value()) - assert(data.string_opt_field().get_value() == "Test string") - assert(data.enum_opt_field().has_value()) - assert(data.enum_opt_field().get_value() == pytest.dds_type.MAGENTA) - assert(not data.enum2_opt_field().has_value()) - assert(data.struct_opt_field().has_value()) + if cdr_version == 'v1': + assert(data.char_opt_field() == '\x01') + assert(data.uint8_opt_field() == 254) + assert(data.int16_opt_field() == -10) + assert(data.uint16_opt_field() == 10) + assert(data.int32_opt_field() == -1000) + assert(data.uint32_opt_field() == 1000) + assert(data.int64_opt_field() == -36000) + assert(data.uint64_opt_field() == 36000) + assert(data.float_opt_field() == 1.0) + assert(data.double_opt_field() == 1202.5) + assert(data.bool_opt_field() == True) + assert(data.string_opt_field() == "Test string") + assert(data.enum_opt_field() == pytest.dds_type.MAGENTA) + else: + assert(data.char_opt_field().has_value()) + assert(data.char_opt_field().get_value() == '\x01') + assert(data.uint8_opt_field().has_value()) + assert(data.uint8_opt_field().get_value() == 254) + assert(data.int16_opt_field().has_value()) + assert(data.int16_opt_field().get_value() == -10) + assert(data.uint16_opt_field().has_value()) + assert(data.uint16_opt_field().get_value() == 10) + assert(data.int32_opt_field().has_value()) + assert(data.int32_opt_field().get_value() == -1000) + assert(data.uint32_opt_field().has_value()) + assert(data.uint32_opt_field().get_value() == 1000) + assert(data.int64_opt_field().has_value()) + assert(data.int64_opt_field().get_value() == -36000) + assert(data.uint64_opt_field().has_value()) + assert(data.uint64_opt_field().get_value() == 36000) + assert(data.float_opt_field().has_value()) + assert(data.float_opt_field().get_value() == 1.0) + assert(data.double_opt_field().has_value()) + assert(data.double_opt_field().get_value() == 1202.5) + assert(data.bool_opt_field().has_value()) + assert(data.bool_opt_field().get_value() == True) + assert(data.string_opt_field().has_value()) + assert(data.string_opt_field().get_value() == "Test string") + assert(data.enum_opt_field().has_value()) + assert(data.enum_opt_field().get_value() == pytest.dds_type.MAGENTA) + assert(not data.enum2_opt_field().has_value()) + assert(data.struct_opt_field().has_value()) assert(data.struct_opt_field().char_field() == '\x01') assert(data.struct_opt_field().uint8_field() == 254) assert(data.struct_opt_field().int16_field() == -10) @@ -995,7 +1033,7 @@ def test_lookup_instance(transient_datareader_qos, test_keyed_type, datareader, def test_read(transient_datareader_qos, datareader, - datawriter): + datawriter, cdr_version): """ This test checks: - DataReader::read @@ -1012,7 +1050,7 @@ def test_read(transient_datareader_qos, datareader, assert(0 == len(info_seq)) sample = pytest.dds_type.CompleteTestType() - fill_keyed_complete_test_type(sample) + fill_keyed_complete_test_type(sample, cdr_version) assert(datawriter.write(sample)) assert(datareader.wait_for_unread_message( @@ -1027,13 +1065,13 @@ def test_read(transient_datareader_qos, datareader, assert(0 < info_seq[0].source_timestamp.to_ns()) assert(0 < info_seq[0].reception_timestamp.to_ns()) assert(sample == data_seq[0]) - check_keyed_complete_test_type(data_seq[0]) + check_keyed_complete_test_type(data_seq[0], cdr_version) assert(fastdds.ReturnCode_t.RETCODE_OK == datareader.return_loan(data_seq, info_seq)) def test_read_instance(transient_datareader_qos, test_keyed_type, - datareader, datawriter): + datareader, datawriter, cdr_version): """ This test checks: - DataReader::read_instance @@ -1051,7 +1089,7 @@ def test_read_instance(transient_datareader_qos, test_keyed_type, assert(0 == len(info_seq)) sample = pytest.dds_type.KeyedCompleteTestType() - fill_keyed_complete_test_type(sample) + fill_keyed_complete_test_type(sample, cdr_version) ih = datawriter.register_instance(sample) assert(datawriter.write(sample, ih)) @@ -1068,13 +1106,13 @@ def test_read_instance(transient_datareader_qos, test_keyed_type, assert(0 < info_seq[0].source_timestamp.to_ns()) assert(0 < info_seq[0].reception_timestamp.to_ns()) assert(sample == data_seq[0]) - check_keyed_complete_test_type(data_seq[0]) + check_keyed_complete_test_type(data_seq[0], cdr_version) assert(fastdds.ReturnCode_t.RETCODE_OK == datareader.return_loan(data_seq, info_seq)) def test_read_next_instance(transient_datareader_qos, test_keyed_type, - datareader, datawriter): + datareader, datawriter, cdr_version): """ This test checks: - DataReader::read_next_instance @@ -1092,7 +1130,7 @@ def test_read_next_instance(transient_datareader_qos, test_keyed_type, assert(0 == len(info_seq)) sample = pytest.dds_type.KeyedCompleteTestType() - fill_keyed_complete_test_type(sample) + fill_keyed_complete_test_type(sample, cdr_version) assert(datawriter.write(sample)) assert(datareader.wait_for_unread_message( @@ -1108,13 +1146,13 @@ def test_read_next_instance(transient_datareader_qos, test_keyed_type, assert(0 < info_seq[0].source_timestamp.to_ns()) assert(0 < info_seq[0].reception_timestamp.to_ns()) assert(sample == data_seq[0]) - check_keyed_complete_test_type(data_seq[0]) + check_keyed_complete_test_type(data_seq[0], cdr_version) assert(fastdds.ReturnCode_t.RETCODE_OK == datareader.return_loan(data_seq, info_seq)) def test_read_next_sample(transient_datareader_qos, datareader, - datawriter): + datawriter, cdr_version): """ This test checks: - DataReader::read_next_sample @@ -1126,7 +1164,7 @@ def test_read_next_sample(transient_datareader_qos, datareader, data, info)) sample = pytest.dds_type.CompleteTestType() - fill_keyed_complete_test_type(sample) + fill_keyed_complete_test_type(sample, cdr_version) assert(datawriter.write(sample)) assert(datareader.wait_for_unread_message( @@ -1137,11 +1175,11 @@ def test_read_next_sample(transient_datareader_qos, datareader, assert(0 < info.source_timestamp.to_ns()) assert(0 < info.reception_timestamp.to_ns()) assert(sample == data) - check_keyed_complete_test_type(data) + check_keyed_complete_test_type(data, cdr_version) def test_take(transient_datareader_qos, datareader, - datawriter): + datawriter, cdr_version): """ This test checks: - DataReader::take @@ -1158,7 +1196,7 @@ def test_take(transient_datareader_qos, datareader, assert(0 == len(info_seq)) sample = pytest.dds_type.CompleteTestType() - fill_keyed_complete_test_type(sample) + fill_keyed_complete_test_type(sample, cdr_version) assert(datawriter.write(sample)) assert(datareader.wait_for_unread_message( @@ -1173,13 +1211,13 @@ def test_take(transient_datareader_qos, datareader, assert(0 < info_seq[0].source_timestamp.to_ns()) assert(0 < info_seq[0].reception_timestamp.to_ns()) assert(sample == data_seq[0]) - check_keyed_complete_test_type(data_seq[0]) + check_keyed_complete_test_type(data_seq[0], cdr_version) assert(fastdds.ReturnCode_t.RETCODE_OK == datareader.return_loan(data_seq, info_seq)) def test_take_instance(transient_datareader_qos, test_keyed_type, - datareader, datawriter): + datareader, datawriter, cdr_version): """ This test checks: - DataReader::take_instance @@ -1197,7 +1235,7 @@ def test_take_instance(transient_datareader_qos, test_keyed_type, assert(0 == len(info_seq)) sample = pytest.dds_type.KeyedCompleteTestType() - fill_keyed_complete_test_type(sample) + fill_keyed_complete_test_type(sample, cdr_version) ih = datawriter.register_instance(sample) assert(datawriter.write(sample, ih)) @@ -1214,13 +1252,13 @@ def test_take_instance(transient_datareader_qos, test_keyed_type, assert(0 < info_seq[0].source_timestamp.to_ns()) assert(0 < info_seq[0].reception_timestamp.to_ns()) assert(sample == data_seq[0]) - check_keyed_complete_test_type(data_seq[0]) + check_keyed_complete_test_type(data_seq[0], cdr_version) assert(fastdds.ReturnCode_t.RETCODE_OK == datareader.return_loan(data_seq, info_seq)) def test_take_next_instance(transient_datareader_qos, test_keyed_type, - datareader, datawriter): + datareader, datawriter, cdr_version): """ This test checks: - DataReader::take_next_instance @@ -1238,7 +1276,7 @@ def test_take_next_instance(transient_datareader_qos, test_keyed_type, assert(0 == len(info_seq)) sample = pytest.dds_type.KeyedCompleteTestType() - fill_keyed_complete_test_type(sample) + fill_keyed_complete_test_type(sample, cdr_version) assert(datawriter.write(sample)) assert(datareader.wait_for_unread_message( @@ -1254,13 +1292,13 @@ def test_take_next_instance(transient_datareader_qos, test_keyed_type, assert(0 < info_seq[0].source_timestamp.to_ns()) assert(0 < info_seq[0].reception_timestamp.to_ns()) assert(sample == data_seq[0]) - check_keyed_complete_test_type(data_seq[0]) + check_keyed_complete_test_type(data_seq[0], cdr_version) assert(fastdds.ReturnCode_t.RETCODE_OK == datareader.return_loan(data_seq, info_seq)) def test_take_next_sample(transient_datareader_qos, datareader, - datawriter): + datawriter, cdr_version): """ This test checks: - DataReader::take_next_sample @@ -1272,7 +1310,7 @@ def test_take_next_sample(transient_datareader_qos, datareader, data, info)) sample = pytest.dds_type.CompleteTestType() - fill_keyed_complete_test_type(sample) + fill_keyed_complete_test_type(sample, cdr_version) assert(datawriter.write(sample)) assert(datareader.wait_for_unread_message( @@ -1283,7 +1321,7 @@ def test_take_next_sample(transient_datareader_qos, datareader, assert(0 < info.source_timestamp.to_ns()) assert(0 < info.reception_timestamp.to_ns()) assert(sample == data) - check_keyed_complete_test_type(data) + check_keyed_complete_test_type(data, cdr_version) def test_get_type(test_type, datareader): diff --git a/fastdds_python/test/types/test_complete.i b/fastdds_python/test/types/test_complete.i index fc4018a9..629d3567 100644 --- a/fastdds_python/test/types/test_complete.i +++ b/fastdds_python/test/types/test_complete.i @@ -840,8 +840,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_char_field() const; -%template(char_3_array) std::array; -%extend std::array +%template(char_3_array) std::array; +%extend std::array { const char* get_buffer() const { @@ -857,8 +857,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_uint8_field() const; -%template(uint8_t_3_array) std::array; -%extend std::array +%template(uint8_t_3_array) std::array; +%extend std::array { const uint8_t* get_buffer() const { @@ -874,8 +874,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_int16_field() const; -%template(int16_t_3_array) std::array; -%extend std::array +%template(int16_t_3_array) std::array; +%extend std::array { const int16_t* get_buffer() const { @@ -891,8 +891,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_uint16_field() const; -%template(uint16_t_3_array) std::array; -%extend std::array +%template(uint16_t_3_array) std::array; +%extend std::array { const uint16_t* get_buffer() const { @@ -908,8 +908,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_int32_field() const; -%template(int32_t_3_array) std::array; -%extend std::array +%template(int32_t_3_array) std::array; +%extend std::array { const int32_t* get_buffer() const { @@ -925,8 +925,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_uint32_field() const; -%template(uint32_t_3_array) std::array; -%extend std::array +%template(uint32_t_3_array) std::array; +%extend std::array { const uint32_t* get_buffer() const { @@ -942,8 +942,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_int64_field() const; -%template(int64_t_3_array) std::array; -%extend std::array +%template(int64_t_3_array) std::array; +%extend std::array { const int64_t* get_buffer() const { @@ -959,8 +959,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_uint64_field() const; -%template(uint64_t_3_array) std::array; -%extend std::array +%template(uint64_t_3_array) std::array; +%extend std::array { const uint64_t* get_buffer() const { @@ -976,8 +976,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_float_field() const; -%template(float_3_array) std::array; -%extend std::array +%template(float_3_array) std::array; +%extend std::array { const float* get_buffer() const { @@ -993,8 +993,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_double_field() const; -%template(double_3_array) std::array; -%extend std::array +%template(double_3_array) std::array; +%extend std::array { const double* get_buffer() const { @@ -1010,8 +1010,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_bool_field() const; -%template(bool_3_array) std::array; -%extend std::array +%template(bool_3_array) std::array; +%extend std::array { const bool* get_buffer() const { @@ -1027,8 +1027,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_enum_field() const; -%template(Color_3_array) std::array; -%extend std::array +%template(Color_3_array) std::array; +%extend std::array { const enum Color* get_buffer() const { @@ -1044,8 +1044,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_enum2_field() const; -%template(Material_3_array) std::array; -%extend std::array +%template(Material_3_array) std::array; +%extend std::array { const enum Material* get_buffer() const { @@ -1061,7 +1061,7 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore CompleteTestType::array_struct_field() const; -%template(StructType_3_array) std::array; +%template(StructType_3_array) std::array; %ignore CompleteTestType::bounded_sequence_char_field(std::vector&&); @@ -2138,8 +2138,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_char_field() const; -%template(char_3_array) std::array; -%extend std::array +%template(char_3_array) std::array; +%extend std::array { const char* get_buffer() const { @@ -2155,8 +2155,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_uint8_field() const; -%template(uint8_t_3_array) std::array; -%extend std::array +%template(uint8_t_3_array) std::array; +%extend std::array { const uint8_t* get_buffer() const { @@ -2172,8 +2172,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_int16_field() const; -%template(int16_t_3_array) std::array; -%extend std::array +%template(int16_t_3_array) std::array; +%extend std::array { const int16_t* get_buffer() const { @@ -2189,8 +2189,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_uint16_field() const; -%template(uint16_t_3_array) std::array; -%extend std::array +%template(uint16_t_3_array) std::array; +%extend std::array { const uint16_t* get_buffer() const { @@ -2206,8 +2206,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_int32_field() const; -%template(int32_t_3_array) std::array; -%extend std::array +%template(int32_t_3_array) std::array; +%extend std::array { const int32_t* get_buffer() const { @@ -2223,8 +2223,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_uint32_field() const; -%template(uint32_t_3_array) std::array; -%extend std::array +%template(uint32_t_3_array) std::array; +%extend std::array { const uint32_t* get_buffer() const { @@ -2240,8 +2240,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_int64_field() const; -%template(int64_t_3_array) std::array; -%extend std::array +%template(int64_t_3_array) std::array; +%extend std::array { const int64_t* get_buffer() const { @@ -2257,8 +2257,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_uint64_field() const; -%template(uint64_t_3_array) std::array; -%extend std::array +%template(uint64_t_3_array) std::array; +%extend std::array { const uint64_t* get_buffer() const { @@ -2274,8 +2274,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_float_field() const; -%template(float_3_array) std::array; -%extend std::array +%template(float_3_array) std::array; +%extend std::array { const float* get_buffer() const { @@ -2291,8 +2291,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_double_field() const; -%template(double_3_array) std::array; -%extend std::array +%template(double_3_array) std::array; +%extend std::array { const double* get_buffer() const { @@ -2308,8 +2308,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_bool_field() const; -%template(bool_3_array) std::array; -%extend std::array +%template(bool_3_array) std::array; +%extend std::array { const bool* get_buffer() const { @@ -2325,8 +2325,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_enum_field() const; -%template(Color_3_array) std::array; -%extend std::array +%template(Color_3_array) std::array; +%extend std::array { const enum Color* get_buffer() const { @@ -2342,8 +2342,8 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_enum2_field() const; -%template(Material_3_array) std::array; -%extend std::array +%template(Material_3_array) std::array; +%extend std::array { const enum Material* get_buffer() const { @@ -2359,7 +2359,7 @@ namespace swig { // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore KeyedCompleteTestType::array_struct_field() const; -%template(StructType_3_array) std::array; +%template(StructType_3_array) std::array; %ignore KeyedCompleteTestType::bounded_sequence_char_field(std::vector&&); diff --git a/fastdds_python/test/types/test_modules.cxx b/fastdds_python/test/types/test_modules.cxx index 91a5da05..1f07eea0 100644 --- a/fastdds_python/test/types/test_modules.cxx +++ b/fastdds_python/test/types/test_modules.cxx @@ -2028,7 +2028,7 @@ eprosima::fastcdr::optional& CompleteTestType::struc * @param _array_char_field New value to be copied in member array_char_field */ void CompleteTestType::array_char_field( - const std::array& _array_char_field) + const std::array& _array_char_field) { m_array_char_field = _array_char_field; } @@ -2038,7 +2038,7 @@ void CompleteTestType::array_char_field( * @param _array_char_field New value to be moved in member array_char_field */ void CompleteTestType::array_char_field( - std::array&& _array_char_field) + std::array&& _array_char_field) { m_array_char_field = std::move(_array_char_field); } @@ -2047,7 +2047,7 @@ void CompleteTestType::array_char_field( * @brief This function returns a constant reference to member array_char_field * @return Constant reference to member array_char_field */ -const std::array& CompleteTestType::array_char_field() const +const std::array& CompleteTestType::array_char_field() const { return m_array_char_field; } @@ -2056,7 +2056,7 @@ const std::array& CompleteTestType::array_ * @brief This function returns a reference to member array_char_field * @return Reference to member array_char_field */ -std::array& CompleteTestType::array_char_field() +std::array& CompleteTestType::array_char_field() { return m_array_char_field; } @@ -2067,7 +2067,7 @@ std::array& CompleteTestType::array_char_f * @param _array_uint8_field New value to be copied in member array_uint8_field */ void CompleteTestType::array_uint8_field( - const std::array& _array_uint8_field) + const std::array& _array_uint8_field) { m_array_uint8_field = _array_uint8_field; } @@ -2077,7 +2077,7 @@ void CompleteTestType::array_uint8_field( * @param _array_uint8_field New value to be moved in member array_uint8_field */ void CompleteTestType::array_uint8_field( - std::array&& _array_uint8_field) + std::array&& _array_uint8_field) { m_array_uint8_field = std::move(_array_uint8_field); } @@ -2086,7 +2086,7 @@ void CompleteTestType::array_uint8_field( * @brief This function returns a constant reference to member array_uint8_field * @return Constant reference to member array_uint8_field */ -const std::array& CompleteTestType::array_uint8_field() const +const std::array& CompleteTestType::array_uint8_field() const { return m_array_uint8_field; } @@ -2095,7 +2095,7 @@ const std::array& CompleteTestType::arr * @brief This function returns a reference to member array_uint8_field * @return Reference to member array_uint8_field */ -std::array& CompleteTestType::array_uint8_field() +std::array& CompleteTestType::array_uint8_field() { return m_array_uint8_field; } @@ -2106,7 +2106,7 @@ std::array& CompleteTestType::array_uin * @param _array_int16_field New value to be copied in member array_int16_field */ void CompleteTestType::array_int16_field( - const std::array& _array_int16_field) + const std::array& _array_int16_field) { m_array_int16_field = _array_int16_field; } @@ -2116,7 +2116,7 @@ void CompleteTestType::array_int16_field( * @param _array_int16_field New value to be moved in member array_int16_field */ void CompleteTestType::array_int16_field( - std::array&& _array_int16_field) + std::array&& _array_int16_field) { m_array_int16_field = std::move(_array_int16_field); } @@ -2125,7 +2125,7 @@ void CompleteTestType::array_int16_field( * @brief This function returns a constant reference to member array_int16_field * @return Constant reference to member array_int16_field */ -const std::array& CompleteTestType::array_int16_field() const +const std::array& CompleteTestType::array_int16_field() const { return m_array_int16_field; } @@ -2134,7 +2134,7 @@ const std::array& CompleteTestType::arr * @brief This function returns a reference to member array_int16_field * @return Reference to member array_int16_field */ -std::array& CompleteTestType::array_int16_field() +std::array& CompleteTestType::array_int16_field() { return m_array_int16_field; } @@ -2145,7 +2145,7 @@ std::array& CompleteTestType::array_int * @param _array_uint16_field New value to be copied in member array_uint16_field */ void CompleteTestType::array_uint16_field( - const std::array& _array_uint16_field) + const std::array& _array_uint16_field) { m_array_uint16_field = _array_uint16_field; } @@ -2155,7 +2155,7 @@ void CompleteTestType::array_uint16_field( * @param _array_uint16_field New value to be moved in member array_uint16_field */ void CompleteTestType::array_uint16_field( - std::array&& _array_uint16_field) + std::array&& _array_uint16_field) { m_array_uint16_field = std::move(_array_uint16_field); } @@ -2164,7 +2164,7 @@ void CompleteTestType::array_uint16_field( * @brief This function returns a constant reference to member array_uint16_field * @return Constant reference to member array_uint16_field */ -const std::array& CompleteTestType::array_uint16_field() const +const std::array& CompleteTestType::array_uint16_field() const { return m_array_uint16_field; } @@ -2173,7 +2173,7 @@ const std::array& CompleteTestType::ar * @brief This function returns a reference to member array_uint16_field * @return Reference to member array_uint16_field */ -std::array& CompleteTestType::array_uint16_field() +std::array& CompleteTestType::array_uint16_field() { return m_array_uint16_field; } @@ -2184,7 +2184,7 @@ std::array& CompleteTestType::array_ui * @param _array_int32_field New value to be copied in member array_int32_field */ void CompleteTestType::array_int32_field( - const std::array& _array_int32_field) + const std::array& _array_int32_field) { m_array_int32_field = _array_int32_field; } @@ -2194,7 +2194,7 @@ void CompleteTestType::array_int32_field( * @param _array_int32_field New value to be moved in member array_int32_field */ void CompleteTestType::array_int32_field( - std::array&& _array_int32_field) + std::array&& _array_int32_field) { m_array_int32_field = std::move(_array_int32_field); } @@ -2203,7 +2203,7 @@ void CompleteTestType::array_int32_field( * @brief This function returns a constant reference to member array_int32_field * @return Constant reference to member array_int32_field */ -const std::array& CompleteTestType::array_int32_field() const +const std::array& CompleteTestType::array_int32_field() const { return m_array_int32_field; } @@ -2212,7 +2212,7 @@ const std::array& CompleteTestType::arr * @brief This function returns a reference to member array_int32_field * @return Reference to member array_int32_field */ -std::array& CompleteTestType::array_int32_field() +std::array& CompleteTestType::array_int32_field() { return m_array_int32_field; } @@ -2223,7 +2223,7 @@ std::array& CompleteTestType::array_int * @param _array_uint32_field New value to be copied in member array_uint32_field */ void CompleteTestType::array_uint32_field( - const std::array& _array_uint32_field) + const std::array& _array_uint32_field) { m_array_uint32_field = _array_uint32_field; } @@ -2233,7 +2233,7 @@ void CompleteTestType::array_uint32_field( * @param _array_uint32_field New value to be moved in member array_uint32_field */ void CompleteTestType::array_uint32_field( - std::array&& _array_uint32_field) + std::array&& _array_uint32_field) { m_array_uint32_field = std::move(_array_uint32_field); } @@ -2242,7 +2242,7 @@ void CompleteTestType::array_uint32_field( * @brief This function returns a constant reference to member array_uint32_field * @return Constant reference to member array_uint32_field */ -const std::array& CompleteTestType::array_uint32_field() const +const std::array& CompleteTestType::array_uint32_field() const { return m_array_uint32_field; } @@ -2251,7 +2251,7 @@ const std::array& CompleteTestType::ar * @brief This function returns a reference to member array_uint32_field * @return Reference to member array_uint32_field */ -std::array& CompleteTestType::array_uint32_field() +std::array& CompleteTestType::array_uint32_field() { return m_array_uint32_field; } @@ -2262,7 +2262,7 @@ std::array& CompleteTestType::array_ui * @param _array_int64_field New value to be copied in member array_int64_field */ void CompleteTestType::array_int64_field( - const std::array& _array_int64_field) + const std::array& _array_int64_field) { m_array_int64_field = _array_int64_field; } @@ -2272,7 +2272,7 @@ void CompleteTestType::array_int64_field( * @param _array_int64_field New value to be moved in member array_int64_field */ void CompleteTestType::array_int64_field( - std::array&& _array_int64_field) + std::array&& _array_int64_field) { m_array_int64_field = std::move(_array_int64_field); } @@ -2281,7 +2281,7 @@ void CompleteTestType::array_int64_field( * @brief This function returns a constant reference to member array_int64_field * @return Constant reference to member array_int64_field */ -const std::array& CompleteTestType::array_int64_field() const +const std::array& CompleteTestType::array_int64_field() const { return m_array_int64_field; } @@ -2290,7 +2290,7 @@ const std::array& CompleteTestType::arr * @brief This function returns a reference to member array_int64_field * @return Reference to member array_int64_field */ -std::array& CompleteTestType::array_int64_field() +std::array& CompleteTestType::array_int64_field() { return m_array_int64_field; } @@ -2301,7 +2301,7 @@ std::array& CompleteTestType::array_int * @param _array_uint64_field New value to be copied in member array_uint64_field */ void CompleteTestType::array_uint64_field( - const std::array& _array_uint64_field) + const std::array& _array_uint64_field) { m_array_uint64_field = _array_uint64_field; } @@ -2311,7 +2311,7 @@ void CompleteTestType::array_uint64_field( * @param _array_uint64_field New value to be moved in member array_uint64_field */ void CompleteTestType::array_uint64_field( - std::array&& _array_uint64_field) + std::array&& _array_uint64_field) { m_array_uint64_field = std::move(_array_uint64_field); } @@ -2320,7 +2320,7 @@ void CompleteTestType::array_uint64_field( * @brief This function returns a constant reference to member array_uint64_field * @return Constant reference to member array_uint64_field */ -const std::array& CompleteTestType::array_uint64_field() const +const std::array& CompleteTestType::array_uint64_field() const { return m_array_uint64_field; } @@ -2329,7 +2329,7 @@ const std::array& CompleteTestType::ar * @brief This function returns a reference to member array_uint64_field * @return Reference to member array_uint64_field */ -std::array& CompleteTestType::array_uint64_field() +std::array& CompleteTestType::array_uint64_field() { return m_array_uint64_field; } @@ -2340,7 +2340,7 @@ std::array& CompleteTestType::array_ui * @param _array_float_field New value to be copied in member array_float_field */ void CompleteTestType::array_float_field( - const std::array& _array_float_field) + const std::array& _array_float_field) { m_array_float_field = _array_float_field; } @@ -2350,7 +2350,7 @@ void CompleteTestType::array_float_field( * @param _array_float_field New value to be moved in member array_float_field */ void CompleteTestType::array_float_field( - std::array&& _array_float_field) + std::array&& _array_float_field) { m_array_float_field = std::move(_array_float_field); } @@ -2359,7 +2359,7 @@ void CompleteTestType::array_float_field( * @brief This function returns a constant reference to member array_float_field * @return Constant reference to member array_float_field */ -const std::array& CompleteTestType::array_float_field() const +const std::array& CompleteTestType::array_float_field() const { return m_array_float_field; } @@ -2368,7 +2368,7 @@ const std::array& CompleteTestType::array * @brief This function returns a reference to member array_float_field * @return Reference to member array_float_field */ -std::array& CompleteTestType::array_float_field() +std::array& CompleteTestType::array_float_field() { return m_array_float_field; } @@ -2379,7 +2379,7 @@ std::array& CompleteTestType::array_float * @param _array_double_field New value to be copied in member array_double_field */ void CompleteTestType::array_double_field( - const std::array& _array_double_field) + const std::array& _array_double_field) { m_array_double_field = _array_double_field; } @@ -2389,7 +2389,7 @@ void CompleteTestType::array_double_field( * @param _array_double_field New value to be moved in member array_double_field */ void CompleteTestType::array_double_field( - std::array&& _array_double_field) + std::array&& _array_double_field) { m_array_double_field = std::move(_array_double_field); } @@ -2398,7 +2398,7 @@ void CompleteTestType::array_double_field( * @brief This function returns a constant reference to member array_double_field * @return Constant reference to member array_double_field */ -const std::array& CompleteTestType::array_double_field() const +const std::array& CompleteTestType::array_double_field() const { return m_array_double_field; } @@ -2407,7 +2407,7 @@ const std::array& CompleteTestType::arra * @brief This function returns a reference to member array_double_field * @return Reference to member array_double_field */ -std::array& CompleteTestType::array_double_field() +std::array& CompleteTestType::array_double_field() { return m_array_double_field; } @@ -2418,7 +2418,7 @@ std::array& CompleteTestType::array_doub * @param _array_bool_field New value to be copied in member array_bool_field */ void CompleteTestType::array_bool_field( - const std::array& _array_bool_field) + const std::array& _array_bool_field) { m_array_bool_field = _array_bool_field; } @@ -2428,7 +2428,7 @@ void CompleteTestType::array_bool_field( * @param _array_bool_field New value to be moved in member array_bool_field */ void CompleteTestType::array_bool_field( - std::array&& _array_bool_field) + std::array&& _array_bool_field) { m_array_bool_field = std::move(_array_bool_field); } @@ -2437,7 +2437,7 @@ void CompleteTestType::array_bool_field( * @brief This function returns a constant reference to member array_bool_field * @return Constant reference to member array_bool_field */ -const std::array& CompleteTestType::array_bool_field() const +const std::array& CompleteTestType::array_bool_field() const { return m_array_bool_field; } @@ -2446,7 +2446,7 @@ const std::array& CompleteTestType::array_ * @brief This function returns a reference to member array_bool_field * @return Reference to member array_bool_field */ -std::array& CompleteTestType::array_bool_field() +std::array& CompleteTestType::array_bool_field() { return m_array_bool_field; } @@ -2457,7 +2457,7 @@ std::array& CompleteTestType::array_bool_f * @param _array_enum_field New value to be copied in member array_enum_field */ void CompleteTestType::array_enum_field( - const std::array& _array_enum_field) + const std::array& _array_enum_field) { m_array_enum_field = _array_enum_field; } @@ -2467,7 +2467,7 @@ void CompleteTestType::array_enum_field( * @param _array_enum_field New value to be moved in member array_enum_field */ void CompleteTestType::array_enum_field( - std::array&& _array_enum_field) + std::array&& _array_enum_field) { m_array_enum_field = std::move(_array_enum_field); } @@ -2476,7 +2476,7 @@ void CompleteTestType::array_enum_field( * @brief This function returns a constant reference to member array_enum_field * @return Constant reference to member array_enum_field */ -const std::array& CompleteTestType::array_enum_field() const +const std::array& CompleteTestType::array_enum_field() const { return m_array_enum_field; } @@ -2485,7 +2485,7 @@ const std::array& Complet * @brief This function returns a reference to member array_enum_field * @return Reference to member array_enum_field */ -std::array& CompleteTestType::array_enum_field() +std::array& CompleteTestType::array_enum_field() { return m_array_enum_field; } @@ -2496,7 +2496,7 @@ std::array& CompleteTestT * @param _array_enum2_field New value to be copied in member array_enum2_field */ void CompleteTestType::array_enum2_field( - const std::array& _array_enum2_field) + const std::array& _array_enum2_field) { m_array_enum2_field = _array_enum2_field; } @@ -2506,7 +2506,7 @@ void CompleteTestType::array_enum2_field( * @param _array_enum2_field New value to be moved in member array_enum2_field */ void CompleteTestType::array_enum2_field( - std::array&& _array_enum2_field) + std::array&& _array_enum2_field) { m_array_enum2_field = std::move(_array_enum2_field); } @@ -2515,7 +2515,7 @@ void CompleteTestType::array_enum2_field( * @brief This function returns a constant reference to member array_enum2_field * @return Constant reference to member array_enum2_field */ -const std::array& CompleteTestType::array_enum2_field() const +const std::array& CompleteTestType::array_enum2_field() const { return m_array_enum2_field; } @@ -2524,7 +2524,7 @@ const std::array& Comp * @brief This function returns a reference to member array_enum2_field * @return Reference to member array_enum2_field */ -std::array& CompleteTestType::array_enum2_field() +std::array& CompleteTestType::array_enum2_field() { return m_array_enum2_field; } @@ -2535,7 +2535,7 @@ std::array& CompleteTe * @param _array_struct_field New value to be copied in member array_struct_field */ void CompleteTestType::array_struct_field( - const std::array& _array_struct_field) + const std::array& _array_struct_field) { m_array_struct_field = _array_struct_field; } @@ -2545,7 +2545,7 @@ void CompleteTestType::array_struct_field( * @param _array_struct_field New value to be moved in member array_struct_field */ void CompleteTestType::array_struct_field( - std::array&& _array_struct_field) + std::array&& _array_struct_field) { m_array_struct_field = std::move(_array_struct_field); } @@ -2554,7 +2554,7 @@ void CompleteTestType::array_struct_field( * @brief This function returns a constant reference to member array_struct_field * @return Constant reference to member array_struct_field */ -const std::array& CompleteTestType::array_struct_field() const +const std::array& CompleteTestType::array_struct_field() const { return m_array_struct_field; } @@ -2563,7 +2563,7 @@ const std::array& Co * @brief This function returns a reference to member array_struct_field * @return Reference to member array_struct_field */ -std::array& CompleteTestType::array_struct_field() +std::array& CompleteTestType::array_struct_field() { return m_array_struct_field; } @@ -5147,7 +5147,7 @@ eprosima::fastcdr::optional& KeyedCompleteTestType:: * @param _array_char_field New value to be copied in member array_char_field */ void KeyedCompleteTestType::array_char_field( - const std::array& _array_char_field) + const std::array& _array_char_field) { m_array_char_field = _array_char_field; } @@ -5157,7 +5157,7 @@ void KeyedCompleteTestType::array_char_field( * @param _array_char_field New value to be moved in member array_char_field */ void KeyedCompleteTestType::array_char_field( - std::array&& _array_char_field) + std::array&& _array_char_field) { m_array_char_field = std::move(_array_char_field); } @@ -5166,7 +5166,7 @@ void KeyedCompleteTestType::array_char_field( * @brief This function returns a constant reference to member array_char_field * @return Constant reference to member array_char_field */ -const std::array& KeyedCompleteTestType::array_char_field() const +const std::array& KeyedCompleteTestType::array_char_field() const { return m_array_char_field; } @@ -5175,7 +5175,7 @@ const std::array& KeyedCompleteTestType::a * @brief This function returns a reference to member array_char_field * @return Reference to member array_char_field */ -std::array& KeyedCompleteTestType::array_char_field() +std::array& KeyedCompleteTestType::array_char_field() { return m_array_char_field; } @@ -5186,7 +5186,7 @@ std::array& KeyedCompleteTestType::array_c * @param _array_uint8_field New value to be copied in member array_uint8_field */ void KeyedCompleteTestType::array_uint8_field( - const std::array& _array_uint8_field) + const std::array& _array_uint8_field) { m_array_uint8_field = _array_uint8_field; } @@ -5196,7 +5196,7 @@ void KeyedCompleteTestType::array_uint8_field( * @param _array_uint8_field New value to be moved in member array_uint8_field */ void KeyedCompleteTestType::array_uint8_field( - std::array&& _array_uint8_field) + std::array&& _array_uint8_field) { m_array_uint8_field = std::move(_array_uint8_field); } @@ -5205,7 +5205,7 @@ void KeyedCompleteTestType::array_uint8_field( * @brief This function returns a constant reference to member array_uint8_field * @return Constant reference to member array_uint8_field */ -const std::array& KeyedCompleteTestType::array_uint8_field() const +const std::array& KeyedCompleteTestType::array_uint8_field() const { return m_array_uint8_field; } @@ -5214,7 +5214,7 @@ const std::array& KeyedCompleteTestType * @brief This function returns a reference to member array_uint8_field * @return Reference to member array_uint8_field */ -std::array& KeyedCompleteTestType::array_uint8_field() +std::array& KeyedCompleteTestType::array_uint8_field() { return m_array_uint8_field; } @@ -5225,7 +5225,7 @@ std::array& KeyedCompleteTestType::arra * @param _array_int16_field New value to be copied in member array_int16_field */ void KeyedCompleteTestType::array_int16_field( - const std::array& _array_int16_field) + const std::array& _array_int16_field) { m_array_int16_field = _array_int16_field; } @@ -5235,7 +5235,7 @@ void KeyedCompleteTestType::array_int16_field( * @param _array_int16_field New value to be moved in member array_int16_field */ void KeyedCompleteTestType::array_int16_field( - std::array&& _array_int16_field) + std::array&& _array_int16_field) { m_array_int16_field = std::move(_array_int16_field); } @@ -5244,7 +5244,7 @@ void KeyedCompleteTestType::array_int16_field( * @brief This function returns a constant reference to member array_int16_field * @return Constant reference to member array_int16_field */ -const std::array& KeyedCompleteTestType::array_int16_field() const +const std::array& KeyedCompleteTestType::array_int16_field() const { return m_array_int16_field; } @@ -5253,7 +5253,7 @@ const std::array& KeyedCompleteTestType * @brief This function returns a reference to member array_int16_field * @return Reference to member array_int16_field */ -std::array& KeyedCompleteTestType::array_int16_field() +std::array& KeyedCompleteTestType::array_int16_field() { return m_array_int16_field; } @@ -5264,7 +5264,7 @@ std::array& KeyedCompleteTestType::arra * @param _array_uint16_field New value to be copied in member array_uint16_field */ void KeyedCompleteTestType::array_uint16_field( - const std::array& _array_uint16_field) + const std::array& _array_uint16_field) { m_array_uint16_field = _array_uint16_field; } @@ -5274,7 +5274,7 @@ void KeyedCompleteTestType::array_uint16_field( * @param _array_uint16_field New value to be moved in member array_uint16_field */ void KeyedCompleteTestType::array_uint16_field( - std::array&& _array_uint16_field) + std::array&& _array_uint16_field) { m_array_uint16_field = std::move(_array_uint16_field); } @@ -5283,7 +5283,7 @@ void KeyedCompleteTestType::array_uint16_field( * @brief This function returns a constant reference to member array_uint16_field * @return Constant reference to member array_uint16_field */ -const std::array& KeyedCompleteTestType::array_uint16_field() const +const std::array& KeyedCompleteTestType::array_uint16_field() const { return m_array_uint16_field; } @@ -5292,7 +5292,7 @@ const std::array& KeyedCompleteTestTyp * @brief This function returns a reference to member array_uint16_field * @return Reference to member array_uint16_field */ -std::array& KeyedCompleteTestType::array_uint16_field() +std::array& KeyedCompleteTestType::array_uint16_field() { return m_array_uint16_field; } @@ -5303,7 +5303,7 @@ std::array& KeyedCompleteTestType::arr * @param _array_int32_field New value to be copied in member array_int32_field */ void KeyedCompleteTestType::array_int32_field( - const std::array& _array_int32_field) + const std::array& _array_int32_field) { m_array_int32_field = _array_int32_field; } @@ -5313,7 +5313,7 @@ void KeyedCompleteTestType::array_int32_field( * @param _array_int32_field New value to be moved in member array_int32_field */ void KeyedCompleteTestType::array_int32_field( - std::array&& _array_int32_field) + std::array&& _array_int32_field) { m_array_int32_field = std::move(_array_int32_field); } @@ -5322,7 +5322,7 @@ void KeyedCompleteTestType::array_int32_field( * @brief This function returns a constant reference to member array_int32_field * @return Constant reference to member array_int32_field */ -const std::array& KeyedCompleteTestType::array_int32_field() const +const std::array& KeyedCompleteTestType::array_int32_field() const { return m_array_int32_field; } @@ -5331,7 +5331,7 @@ const std::array& KeyedCompleteTestType * @brief This function returns a reference to member array_int32_field * @return Reference to member array_int32_field */ -std::array& KeyedCompleteTestType::array_int32_field() +std::array& KeyedCompleteTestType::array_int32_field() { return m_array_int32_field; } @@ -5342,7 +5342,7 @@ std::array& KeyedCompleteTestType::arra * @param _array_uint32_field New value to be copied in member array_uint32_field */ void KeyedCompleteTestType::array_uint32_field( - const std::array& _array_uint32_field) + const std::array& _array_uint32_field) { m_array_uint32_field = _array_uint32_field; } @@ -5352,7 +5352,7 @@ void KeyedCompleteTestType::array_uint32_field( * @param _array_uint32_field New value to be moved in member array_uint32_field */ void KeyedCompleteTestType::array_uint32_field( - std::array&& _array_uint32_field) + std::array&& _array_uint32_field) { m_array_uint32_field = std::move(_array_uint32_field); } @@ -5361,7 +5361,7 @@ void KeyedCompleteTestType::array_uint32_field( * @brief This function returns a constant reference to member array_uint32_field * @return Constant reference to member array_uint32_field */ -const std::array& KeyedCompleteTestType::array_uint32_field() const +const std::array& KeyedCompleteTestType::array_uint32_field() const { return m_array_uint32_field; } @@ -5370,7 +5370,7 @@ const std::array& KeyedCompleteTestTyp * @brief This function returns a reference to member array_uint32_field * @return Reference to member array_uint32_field */ -std::array& KeyedCompleteTestType::array_uint32_field() +std::array& KeyedCompleteTestType::array_uint32_field() { return m_array_uint32_field; } @@ -5381,7 +5381,7 @@ std::array& KeyedCompleteTestType::arr * @param _array_int64_field New value to be copied in member array_int64_field */ void KeyedCompleteTestType::array_int64_field( - const std::array& _array_int64_field) + const std::array& _array_int64_field) { m_array_int64_field = _array_int64_field; } @@ -5391,7 +5391,7 @@ void KeyedCompleteTestType::array_int64_field( * @param _array_int64_field New value to be moved in member array_int64_field */ void KeyedCompleteTestType::array_int64_field( - std::array&& _array_int64_field) + std::array&& _array_int64_field) { m_array_int64_field = std::move(_array_int64_field); } @@ -5400,7 +5400,7 @@ void KeyedCompleteTestType::array_int64_field( * @brief This function returns a constant reference to member array_int64_field * @return Constant reference to member array_int64_field */ -const std::array& KeyedCompleteTestType::array_int64_field() const +const std::array& KeyedCompleteTestType::array_int64_field() const { return m_array_int64_field; } @@ -5409,7 +5409,7 @@ const std::array& KeyedCompleteTestType * @brief This function returns a reference to member array_int64_field * @return Reference to member array_int64_field */ -std::array& KeyedCompleteTestType::array_int64_field() +std::array& KeyedCompleteTestType::array_int64_field() { return m_array_int64_field; } @@ -5420,7 +5420,7 @@ std::array& KeyedCompleteTestType::arra * @param _array_uint64_field New value to be copied in member array_uint64_field */ void KeyedCompleteTestType::array_uint64_field( - const std::array& _array_uint64_field) + const std::array& _array_uint64_field) { m_array_uint64_field = _array_uint64_field; } @@ -5430,7 +5430,7 @@ void KeyedCompleteTestType::array_uint64_field( * @param _array_uint64_field New value to be moved in member array_uint64_field */ void KeyedCompleteTestType::array_uint64_field( - std::array&& _array_uint64_field) + std::array&& _array_uint64_field) { m_array_uint64_field = std::move(_array_uint64_field); } @@ -5439,7 +5439,7 @@ void KeyedCompleteTestType::array_uint64_field( * @brief This function returns a constant reference to member array_uint64_field * @return Constant reference to member array_uint64_field */ -const std::array& KeyedCompleteTestType::array_uint64_field() const +const std::array& KeyedCompleteTestType::array_uint64_field() const { return m_array_uint64_field; } @@ -5448,7 +5448,7 @@ const std::array& KeyedCompleteTestTyp * @brief This function returns a reference to member array_uint64_field * @return Reference to member array_uint64_field */ -std::array& KeyedCompleteTestType::array_uint64_field() +std::array& KeyedCompleteTestType::array_uint64_field() { return m_array_uint64_field; } @@ -5459,7 +5459,7 @@ std::array& KeyedCompleteTestType::arr * @param _array_float_field New value to be copied in member array_float_field */ void KeyedCompleteTestType::array_float_field( - const std::array& _array_float_field) + const std::array& _array_float_field) { m_array_float_field = _array_float_field; } @@ -5469,7 +5469,7 @@ void KeyedCompleteTestType::array_float_field( * @param _array_float_field New value to be moved in member array_float_field */ void KeyedCompleteTestType::array_float_field( - std::array&& _array_float_field) + std::array&& _array_float_field) { m_array_float_field = std::move(_array_float_field); } @@ -5478,7 +5478,7 @@ void KeyedCompleteTestType::array_float_field( * @brief This function returns a constant reference to member array_float_field * @return Constant reference to member array_float_field */ -const std::array& KeyedCompleteTestType::array_float_field() const +const std::array& KeyedCompleteTestType::array_float_field() const { return m_array_float_field; } @@ -5487,7 +5487,7 @@ const std::array& KeyedCompleteTestType:: * @brief This function returns a reference to member array_float_field * @return Reference to member array_float_field */ -std::array& KeyedCompleteTestType::array_float_field() +std::array& KeyedCompleteTestType::array_float_field() { return m_array_float_field; } @@ -5498,7 +5498,7 @@ std::array& KeyedCompleteTestType::array_ * @param _array_double_field New value to be copied in member array_double_field */ void KeyedCompleteTestType::array_double_field( - const std::array& _array_double_field) + const std::array& _array_double_field) { m_array_double_field = _array_double_field; } @@ -5508,7 +5508,7 @@ void KeyedCompleteTestType::array_double_field( * @param _array_double_field New value to be moved in member array_double_field */ void KeyedCompleteTestType::array_double_field( - std::array&& _array_double_field) + std::array&& _array_double_field) { m_array_double_field = std::move(_array_double_field); } @@ -5517,7 +5517,7 @@ void KeyedCompleteTestType::array_double_field( * @brief This function returns a constant reference to member array_double_field * @return Constant reference to member array_double_field */ -const std::array& KeyedCompleteTestType::array_double_field() const +const std::array& KeyedCompleteTestType::array_double_field() const { return m_array_double_field; } @@ -5526,7 +5526,7 @@ const std::array& KeyedCompleteTestType: * @brief This function returns a reference to member array_double_field * @return Reference to member array_double_field */ -std::array& KeyedCompleteTestType::array_double_field() +std::array& KeyedCompleteTestType::array_double_field() { return m_array_double_field; } @@ -5537,7 +5537,7 @@ std::array& KeyedCompleteTestType::array * @param _array_bool_field New value to be copied in member array_bool_field */ void KeyedCompleteTestType::array_bool_field( - const std::array& _array_bool_field) + const std::array& _array_bool_field) { m_array_bool_field = _array_bool_field; } @@ -5547,7 +5547,7 @@ void KeyedCompleteTestType::array_bool_field( * @param _array_bool_field New value to be moved in member array_bool_field */ void KeyedCompleteTestType::array_bool_field( - std::array&& _array_bool_field) + std::array&& _array_bool_field) { m_array_bool_field = std::move(_array_bool_field); } @@ -5556,7 +5556,7 @@ void KeyedCompleteTestType::array_bool_field( * @brief This function returns a constant reference to member array_bool_field * @return Constant reference to member array_bool_field */ -const std::array& KeyedCompleteTestType::array_bool_field() const +const std::array& KeyedCompleteTestType::array_bool_field() const { return m_array_bool_field; } @@ -5565,7 +5565,7 @@ const std::array& KeyedCompleteTestType::a * @brief This function returns a reference to member array_bool_field * @return Reference to member array_bool_field */ -std::array& KeyedCompleteTestType::array_bool_field() +std::array& KeyedCompleteTestType::array_bool_field() { return m_array_bool_field; } @@ -5576,7 +5576,7 @@ std::array& KeyedCompleteTestType::array_b * @param _array_enum_field New value to be copied in member array_enum_field */ void KeyedCompleteTestType::array_enum_field( - const std::array& _array_enum_field) + const std::array& _array_enum_field) { m_array_enum_field = _array_enum_field; } @@ -5586,7 +5586,7 @@ void KeyedCompleteTestType::array_enum_field( * @param _array_enum_field New value to be moved in member array_enum_field */ void KeyedCompleteTestType::array_enum_field( - std::array&& _array_enum_field) + std::array&& _array_enum_field) { m_array_enum_field = std::move(_array_enum_field); } @@ -5595,7 +5595,7 @@ void KeyedCompleteTestType::array_enum_field( * @brief This function returns a constant reference to member array_enum_field * @return Constant reference to member array_enum_field */ -const std::array& KeyedCompleteTestType::array_enum_field() const +const std::array& KeyedCompleteTestType::array_enum_field() const { return m_array_enum_field; } @@ -5604,7 +5604,7 @@ const std::array& KeyedCo * @brief This function returns a reference to member array_enum_field * @return Reference to member array_enum_field */ -std::array& KeyedCompleteTestType::array_enum_field() +std::array& KeyedCompleteTestType::array_enum_field() { return m_array_enum_field; } @@ -5615,7 +5615,7 @@ std::array& KeyedComplete * @param _array_enum2_field New value to be copied in member array_enum2_field */ void KeyedCompleteTestType::array_enum2_field( - const std::array& _array_enum2_field) + const std::array& _array_enum2_field) { m_array_enum2_field = _array_enum2_field; } @@ -5625,7 +5625,7 @@ void KeyedCompleteTestType::array_enum2_field( * @param _array_enum2_field New value to be moved in member array_enum2_field */ void KeyedCompleteTestType::array_enum2_field( - std::array&& _array_enum2_field) + std::array&& _array_enum2_field) { m_array_enum2_field = std::move(_array_enum2_field); } @@ -5634,7 +5634,7 @@ void KeyedCompleteTestType::array_enum2_field( * @brief This function returns a constant reference to member array_enum2_field * @return Constant reference to member array_enum2_field */ -const std::array& KeyedCompleteTestType::array_enum2_field() const +const std::array& KeyedCompleteTestType::array_enum2_field() const { return m_array_enum2_field; } @@ -5643,7 +5643,7 @@ const std::array& Keye * @brief This function returns a reference to member array_enum2_field * @return Reference to member array_enum2_field */ -std::array& KeyedCompleteTestType::array_enum2_field() +std::array& KeyedCompleteTestType::array_enum2_field() { return m_array_enum2_field; } @@ -5654,7 +5654,7 @@ std::array& KeyedCompl * @param _array_struct_field New value to be copied in member array_struct_field */ void KeyedCompleteTestType::array_struct_field( - const std::array& _array_struct_field) + const std::array& _array_struct_field) { m_array_struct_field = _array_struct_field; } @@ -5664,7 +5664,7 @@ void KeyedCompleteTestType::array_struct_field( * @param _array_struct_field New value to be moved in member array_struct_field */ void KeyedCompleteTestType::array_struct_field( - std::array&& _array_struct_field) + std::array&& _array_struct_field) { m_array_struct_field = std::move(_array_struct_field); } @@ -5673,7 +5673,7 @@ void KeyedCompleteTestType::array_struct_field( * @brief This function returns a constant reference to member array_struct_field * @return Constant reference to member array_struct_field */ -const std::array& KeyedCompleteTestType::array_struct_field() const +const std::array& KeyedCompleteTestType::array_struct_field() const { return m_array_struct_field; } @@ -5682,7 +5682,7 @@ const std::array& Ke * @brief This function returns a reference to member array_struct_field * @return Reference to member array_struct_field */ -std::array& KeyedCompleteTestType::array_struct_field() +std::array& KeyedCompleteTestType::array_struct_field() { return m_array_struct_field; } diff --git a/fastdds_python/test/types/test_modules.h b/fastdds_python/test/types/test_modules.h index 6138cf7a..a74ede6d 100644 --- a/fastdds_python/test/types/test_modules.h +++ b/fastdds_python/test/types/test_modules.h @@ -1257,26 +1257,26 @@ class CompleteTestType * @param _array_char_field New value to be copied in member array_char_field */ eProsima_user_DllExport void array_char_field( - const std::array& _array_char_field); + const std::array& _array_char_field); /*! * @brief This function moves the value in member array_char_field * @param _array_char_field New value to be moved in member array_char_field */ eProsima_user_DllExport void array_char_field( - std::array&& _array_char_field); + std::array&& _array_char_field); /*! * @brief This function returns a constant reference to member array_char_field * @return Constant reference to member array_char_field */ - eProsima_user_DllExport const std::array& array_char_field() const; + eProsima_user_DllExport const std::array& array_char_field() const; /*! * @brief This function returns a reference to member array_char_field * @return Reference to member array_char_field */ - eProsima_user_DllExport std::array& array_char_field(); + eProsima_user_DllExport std::array& array_char_field(); /*! @@ -1284,26 +1284,26 @@ class CompleteTestType * @param _array_uint8_field New value to be copied in member array_uint8_field */ eProsima_user_DllExport void array_uint8_field( - const std::array& _array_uint8_field); + const std::array& _array_uint8_field); /*! * @brief This function moves the value in member array_uint8_field * @param _array_uint8_field New value to be moved in member array_uint8_field */ eProsima_user_DllExport void array_uint8_field( - std::array&& _array_uint8_field); + std::array&& _array_uint8_field); /*! * @brief This function returns a constant reference to member array_uint8_field * @return Constant reference to member array_uint8_field */ - eProsima_user_DllExport const std::array& array_uint8_field() const; + eProsima_user_DllExport const std::array& array_uint8_field() const; /*! * @brief This function returns a reference to member array_uint8_field * @return Reference to member array_uint8_field */ - eProsima_user_DllExport std::array& array_uint8_field(); + eProsima_user_DllExport std::array& array_uint8_field(); /*! @@ -1311,26 +1311,26 @@ class CompleteTestType * @param _array_int16_field New value to be copied in member array_int16_field */ eProsima_user_DllExport void array_int16_field( - const std::array& _array_int16_field); + const std::array& _array_int16_field); /*! * @brief This function moves the value in member array_int16_field * @param _array_int16_field New value to be moved in member array_int16_field */ eProsima_user_DllExport void array_int16_field( - std::array&& _array_int16_field); + std::array&& _array_int16_field); /*! * @brief This function returns a constant reference to member array_int16_field * @return Constant reference to member array_int16_field */ - eProsima_user_DllExport const std::array& array_int16_field() const; + eProsima_user_DllExport const std::array& array_int16_field() const; /*! * @brief This function returns a reference to member array_int16_field * @return Reference to member array_int16_field */ - eProsima_user_DllExport std::array& array_int16_field(); + eProsima_user_DllExport std::array& array_int16_field(); /*! @@ -1338,26 +1338,26 @@ class CompleteTestType * @param _array_uint16_field New value to be copied in member array_uint16_field */ eProsima_user_DllExport void array_uint16_field( - const std::array& _array_uint16_field); + const std::array& _array_uint16_field); /*! * @brief This function moves the value in member array_uint16_field * @param _array_uint16_field New value to be moved in member array_uint16_field */ eProsima_user_DllExport void array_uint16_field( - std::array&& _array_uint16_field); + std::array&& _array_uint16_field); /*! * @brief This function returns a constant reference to member array_uint16_field * @return Constant reference to member array_uint16_field */ - eProsima_user_DllExport const std::array& array_uint16_field() const; + eProsima_user_DllExport const std::array& array_uint16_field() const; /*! * @brief This function returns a reference to member array_uint16_field * @return Reference to member array_uint16_field */ - eProsima_user_DllExport std::array& array_uint16_field(); + eProsima_user_DllExport std::array& array_uint16_field(); /*! @@ -1365,26 +1365,26 @@ class CompleteTestType * @param _array_int32_field New value to be copied in member array_int32_field */ eProsima_user_DllExport void array_int32_field( - const std::array& _array_int32_field); + const std::array& _array_int32_field); /*! * @brief This function moves the value in member array_int32_field * @param _array_int32_field New value to be moved in member array_int32_field */ eProsima_user_DllExport void array_int32_field( - std::array&& _array_int32_field); + std::array&& _array_int32_field); /*! * @brief This function returns a constant reference to member array_int32_field * @return Constant reference to member array_int32_field */ - eProsima_user_DllExport const std::array& array_int32_field() const; + eProsima_user_DllExport const std::array& array_int32_field() const; /*! * @brief This function returns a reference to member array_int32_field * @return Reference to member array_int32_field */ - eProsima_user_DllExport std::array& array_int32_field(); + eProsima_user_DllExport std::array& array_int32_field(); /*! @@ -1392,26 +1392,26 @@ class CompleteTestType * @param _array_uint32_field New value to be copied in member array_uint32_field */ eProsima_user_DllExport void array_uint32_field( - const std::array& _array_uint32_field); + const std::array& _array_uint32_field); /*! * @brief This function moves the value in member array_uint32_field * @param _array_uint32_field New value to be moved in member array_uint32_field */ eProsima_user_DllExport void array_uint32_field( - std::array&& _array_uint32_field); + std::array&& _array_uint32_field); /*! * @brief This function returns a constant reference to member array_uint32_field * @return Constant reference to member array_uint32_field */ - eProsima_user_DllExport const std::array& array_uint32_field() const; + eProsima_user_DllExport const std::array& array_uint32_field() const; /*! * @brief This function returns a reference to member array_uint32_field * @return Reference to member array_uint32_field */ - eProsima_user_DllExport std::array& array_uint32_field(); + eProsima_user_DllExport std::array& array_uint32_field(); /*! @@ -1419,26 +1419,26 @@ class CompleteTestType * @param _array_int64_field New value to be copied in member array_int64_field */ eProsima_user_DllExport void array_int64_field( - const std::array& _array_int64_field); + const std::array& _array_int64_field); /*! * @brief This function moves the value in member array_int64_field * @param _array_int64_field New value to be moved in member array_int64_field */ eProsima_user_DllExport void array_int64_field( - std::array&& _array_int64_field); + std::array&& _array_int64_field); /*! * @brief This function returns a constant reference to member array_int64_field * @return Constant reference to member array_int64_field */ - eProsima_user_DllExport const std::array& array_int64_field() const; + eProsima_user_DllExport const std::array& array_int64_field() const; /*! * @brief This function returns a reference to member array_int64_field * @return Reference to member array_int64_field */ - eProsima_user_DllExport std::array& array_int64_field(); + eProsima_user_DllExport std::array& array_int64_field(); /*! @@ -1446,26 +1446,26 @@ class CompleteTestType * @param _array_uint64_field New value to be copied in member array_uint64_field */ eProsima_user_DllExport void array_uint64_field( - const std::array& _array_uint64_field); + const std::array& _array_uint64_field); /*! * @brief This function moves the value in member array_uint64_field * @param _array_uint64_field New value to be moved in member array_uint64_field */ eProsima_user_DllExport void array_uint64_field( - std::array&& _array_uint64_field); + std::array&& _array_uint64_field); /*! * @brief This function returns a constant reference to member array_uint64_field * @return Constant reference to member array_uint64_field */ - eProsima_user_DllExport const std::array& array_uint64_field() const; + eProsima_user_DllExport const std::array& array_uint64_field() const; /*! * @brief This function returns a reference to member array_uint64_field * @return Reference to member array_uint64_field */ - eProsima_user_DllExport std::array& array_uint64_field(); + eProsima_user_DllExport std::array& array_uint64_field(); /*! @@ -1473,26 +1473,26 @@ class CompleteTestType * @param _array_float_field New value to be copied in member array_float_field */ eProsima_user_DllExport void array_float_field( - const std::array& _array_float_field); + const std::array& _array_float_field); /*! * @brief This function moves the value in member array_float_field * @param _array_float_field New value to be moved in member array_float_field */ eProsima_user_DllExport void array_float_field( - std::array&& _array_float_field); + std::array&& _array_float_field); /*! * @brief This function returns a constant reference to member array_float_field * @return Constant reference to member array_float_field */ - eProsima_user_DllExport const std::array& array_float_field() const; + eProsima_user_DllExport const std::array& array_float_field() const; /*! * @brief This function returns a reference to member array_float_field * @return Reference to member array_float_field */ - eProsima_user_DllExport std::array& array_float_field(); + eProsima_user_DllExport std::array& array_float_field(); /*! @@ -1500,26 +1500,26 @@ class CompleteTestType * @param _array_double_field New value to be copied in member array_double_field */ eProsima_user_DllExport void array_double_field( - const std::array& _array_double_field); + const std::array& _array_double_field); /*! * @brief This function moves the value in member array_double_field * @param _array_double_field New value to be moved in member array_double_field */ eProsima_user_DllExport void array_double_field( - std::array&& _array_double_field); + std::array&& _array_double_field); /*! * @brief This function returns a constant reference to member array_double_field * @return Constant reference to member array_double_field */ - eProsima_user_DllExport const std::array& array_double_field() const; + eProsima_user_DllExport const std::array& array_double_field() const; /*! * @brief This function returns a reference to member array_double_field * @return Reference to member array_double_field */ - eProsima_user_DllExport std::array& array_double_field(); + eProsima_user_DllExport std::array& array_double_field(); /*! @@ -1527,26 +1527,26 @@ class CompleteTestType * @param _array_bool_field New value to be copied in member array_bool_field */ eProsima_user_DllExport void array_bool_field( - const std::array& _array_bool_field); + const std::array& _array_bool_field); /*! * @brief This function moves the value in member array_bool_field * @param _array_bool_field New value to be moved in member array_bool_field */ eProsima_user_DllExport void array_bool_field( - std::array&& _array_bool_field); + std::array&& _array_bool_field); /*! * @brief This function returns a constant reference to member array_bool_field * @return Constant reference to member array_bool_field */ - eProsima_user_DllExport const std::array& array_bool_field() const; + eProsima_user_DllExport const std::array& array_bool_field() const; /*! * @brief This function returns a reference to member array_bool_field * @return Reference to member array_bool_field */ - eProsima_user_DllExport std::array& array_bool_field(); + eProsima_user_DllExport std::array& array_bool_field(); /*! @@ -1554,26 +1554,26 @@ class CompleteTestType * @param _array_enum_field New value to be copied in member array_enum_field */ eProsima_user_DllExport void array_enum_field( - const std::array& _array_enum_field); + const std::array& _array_enum_field); /*! * @brief This function moves the value in member array_enum_field * @param _array_enum_field New value to be moved in member array_enum_field */ eProsima_user_DllExport void array_enum_field( - std::array&& _array_enum_field); + std::array&& _array_enum_field); /*! * @brief This function returns a constant reference to member array_enum_field * @return Constant reference to member array_enum_field */ - eProsima_user_DllExport const std::array& array_enum_field() const; + eProsima_user_DllExport const std::array& array_enum_field() const; /*! * @brief This function returns a reference to member array_enum_field * @return Reference to member array_enum_field */ - eProsima_user_DllExport std::array& array_enum_field(); + eProsima_user_DllExport std::array& array_enum_field(); /*! @@ -1581,26 +1581,26 @@ class CompleteTestType * @param _array_enum2_field New value to be copied in member array_enum2_field */ eProsima_user_DllExport void array_enum2_field( - const std::array& _array_enum2_field); + const std::array& _array_enum2_field); /*! * @brief This function moves the value in member array_enum2_field * @param _array_enum2_field New value to be moved in member array_enum2_field */ eProsima_user_DllExport void array_enum2_field( - std::array&& _array_enum2_field); + std::array&& _array_enum2_field); /*! * @brief This function returns a constant reference to member array_enum2_field * @return Constant reference to member array_enum2_field */ - eProsima_user_DllExport const std::array& array_enum2_field() const; + eProsima_user_DllExport const std::array& array_enum2_field() const; /*! * @brief This function returns a reference to member array_enum2_field * @return Reference to member array_enum2_field */ - eProsima_user_DllExport std::array& array_enum2_field(); + eProsima_user_DllExport std::array& array_enum2_field(); /*! @@ -1608,26 +1608,26 @@ class CompleteTestType * @param _array_struct_field New value to be copied in member array_struct_field */ eProsima_user_DllExport void array_struct_field( - const std::array& _array_struct_field); + const std::array& _array_struct_field); /*! * @brief This function moves the value in member array_struct_field * @param _array_struct_field New value to be moved in member array_struct_field */ eProsima_user_DllExport void array_struct_field( - std::array&& _array_struct_field); + std::array&& _array_struct_field); /*! * @brief This function returns a constant reference to member array_struct_field * @return Constant reference to member array_struct_field */ - eProsima_user_DllExport const std::array& array_struct_field() const; + eProsima_user_DllExport const std::array& array_struct_field() const; /*! * @brief This function returns a reference to member array_struct_field * @return Reference to member array_struct_field */ - eProsima_user_DllExport std::array& array_struct_field(); + eProsima_user_DllExport std::array& array_struct_field(); /*! @@ -2417,20 +2417,20 @@ class CompleteTestType eprosima::fastcdr::optional m_enum_opt_field; eprosima::fastcdr::optional m_enum2_opt_field; eprosima::fastcdr::optional m_struct_opt_field; - std::array m_array_char_field{0}; - std::array m_array_uint8_field{0}; - std::array m_array_int16_field{0}; - std::array m_array_uint16_field{0}; - std::array m_array_int32_field{0}; - std::array m_array_uint32_field{0}; - std::array m_array_int64_field{0}; - std::array m_array_uint64_field{0}; - std::array m_array_float_field{0.0}; - std::array m_array_double_field{0.0}; - std::array m_array_bool_field{false}; - std::array m_array_enum_field{eprosima::test::RED}; - std::array m_array_enum2_field{eprosima::test::WOOD}; - std::array m_array_struct_field; + std::array m_array_char_field{0}; + std::array m_array_uint8_field{0}; + std::array m_array_int16_field{0}; + std::array m_array_uint16_field{0}; + std::array m_array_int32_field{0}; + std::array m_array_uint32_field{0}; + std::array m_array_int64_field{0}; + std::array m_array_uint64_field{0}; + std::array m_array_float_field{0.0}; + std::array m_array_double_field{0.0}; + std::array m_array_bool_field{false}; + std::array m_array_enum_field{eprosima::test::RED}; + std::array m_array_enum2_field{eprosima::test::WOOD}; + std::array m_array_struct_field; std::vector m_bounded_sequence_char_field; std::vector m_bounded_sequence_uint8_field; std::vector m_bounded_sequence_int16_field; @@ -3269,26 +3269,26 @@ class KeyedCompleteTestType * @param _array_char_field New value to be copied in member array_char_field */ eProsima_user_DllExport void array_char_field( - const std::array& _array_char_field); + const std::array& _array_char_field); /*! * @brief This function moves the value in member array_char_field * @param _array_char_field New value to be moved in member array_char_field */ eProsima_user_DllExport void array_char_field( - std::array&& _array_char_field); + std::array&& _array_char_field); /*! * @brief This function returns a constant reference to member array_char_field * @return Constant reference to member array_char_field */ - eProsima_user_DllExport const std::array& array_char_field() const; + eProsima_user_DllExport const std::array& array_char_field() const; /*! * @brief This function returns a reference to member array_char_field * @return Reference to member array_char_field */ - eProsima_user_DllExport std::array& array_char_field(); + eProsima_user_DllExport std::array& array_char_field(); /*! @@ -3296,26 +3296,26 @@ class KeyedCompleteTestType * @param _array_uint8_field New value to be copied in member array_uint8_field */ eProsima_user_DllExport void array_uint8_field( - const std::array& _array_uint8_field); + const std::array& _array_uint8_field); /*! * @brief This function moves the value in member array_uint8_field * @param _array_uint8_field New value to be moved in member array_uint8_field */ eProsima_user_DllExport void array_uint8_field( - std::array&& _array_uint8_field); + std::array&& _array_uint8_field); /*! * @brief This function returns a constant reference to member array_uint8_field * @return Constant reference to member array_uint8_field */ - eProsima_user_DllExport const std::array& array_uint8_field() const; + eProsima_user_DllExport const std::array& array_uint8_field() const; /*! * @brief This function returns a reference to member array_uint8_field * @return Reference to member array_uint8_field */ - eProsima_user_DllExport std::array& array_uint8_field(); + eProsima_user_DllExport std::array& array_uint8_field(); /*! @@ -3323,26 +3323,26 @@ class KeyedCompleteTestType * @param _array_int16_field New value to be copied in member array_int16_field */ eProsima_user_DllExport void array_int16_field( - const std::array& _array_int16_field); + const std::array& _array_int16_field); /*! * @brief This function moves the value in member array_int16_field * @param _array_int16_field New value to be moved in member array_int16_field */ eProsima_user_DllExport void array_int16_field( - std::array&& _array_int16_field); + std::array&& _array_int16_field); /*! * @brief This function returns a constant reference to member array_int16_field * @return Constant reference to member array_int16_field */ - eProsima_user_DllExport const std::array& array_int16_field() const; + eProsima_user_DllExport const std::array& array_int16_field() const; /*! * @brief This function returns a reference to member array_int16_field * @return Reference to member array_int16_field */ - eProsima_user_DllExport std::array& array_int16_field(); + eProsima_user_DllExport std::array& array_int16_field(); /*! @@ -3350,26 +3350,26 @@ class KeyedCompleteTestType * @param _array_uint16_field New value to be copied in member array_uint16_field */ eProsima_user_DllExport void array_uint16_field( - const std::array& _array_uint16_field); + const std::array& _array_uint16_field); /*! * @brief This function moves the value in member array_uint16_field * @param _array_uint16_field New value to be moved in member array_uint16_field */ eProsima_user_DllExport void array_uint16_field( - std::array&& _array_uint16_field); + std::array&& _array_uint16_field); /*! * @brief This function returns a constant reference to member array_uint16_field * @return Constant reference to member array_uint16_field */ - eProsima_user_DllExport const std::array& array_uint16_field() const; + eProsima_user_DllExport const std::array& array_uint16_field() const; /*! * @brief This function returns a reference to member array_uint16_field * @return Reference to member array_uint16_field */ - eProsima_user_DllExport std::array& array_uint16_field(); + eProsima_user_DllExport std::array& array_uint16_field(); /*! @@ -3377,26 +3377,26 @@ class KeyedCompleteTestType * @param _array_int32_field New value to be copied in member array_int32_field */ eProsima_user_DllExport void array_int32_field( - const std::array& _array_int32_field); + const std::array& _array_int32_field); /*! * @brief This function moves the value in member array_int32_field * @param _array_int32_field New value to be moved in member array_int32_field */ eProsima_user_DllExport void array_int32_field( - std::array&& _array_int32_field); + std::array&& _array_int32_field); /*! * @brief This function returns a constant reference to member array_int32_field * @return Constant reference to member array_int32_field */ - eProsima_user_DllExport const std::array& array_int32_field() const; + eProsima_user_DllExport const std::array& array_int32_field() const; /*! * @brief This function returns a reference to member array_int32_field * @return Reference to member array_int32_field */ - eProsima_user_DllExport std::array& array_int32_field(); + eProsima_user_DllExport std::array& array_int32_field(); /*! @@ -3404,26 +3404,26 @@ class KeyedCompleteTestType * @param _array_uint32_field New value to be copied in member array_uint32_field */ eProsima_user_DllExport void array_uint32_field( - const std::array& _array_uint32_field); + const std::array& _array_uint32_field); /*! * @brief This function moves the value in member array_uint32_field * @param _array_uint32_field New value to be moved in member array_uint32_field */ eProsima_user_DllExport void array_uint32_field( - std::array&& _array_uint32_field); + std::array&& _array_uint32_field); /*! * @brief This function returns a constant reference to member array_uint32_field * @return Constant reference to member array_uint32_field */ - eProsima_user_DllExport const std::array& array_uint32_field() const; + eProsima_user_DllExport const std::array& array_uint32_field() const; /*! * @brief This function returns a reference to member array_uint32_field * @return Reference to member array_uint32_field */ - eProsima_user_DllExport std::array& array_uint32_field(); + eProsima_user_DllExport std::array& array_uint32_field(); /*! @@ -3431,26 +3431,26 @@ class KeyedCompleteTestType * @param _array_int64_field New value to be copied in member array_int64_field */ eProsima_user_DllExport void array_int64_field( - const std::array& _array_int64_field); + const std::array& _array_int64_field); /*! * @brief This function moves the value in member array_int64_field * @param _array_int64_field New value to be moved in member array_int64_field */ eProsima_user_DllExport void array_int64_field( - std::array&& _array_int64_field); + std::array&& _array_int64_field); /*! * @brief This function returns a constant reference to member array_int64_field * @return Constant reference to member array_int64_field */ - eProsima_user_DllExport const std::array& array_int64_field() const; + eProsima_user_DllExport const std::array& array_int64_field() const; /*! * @brief This function returns a reference to member array_int64_field * @return Reference to member array_int64_field */ - eProsima_user_DllExport std::array& array_int64_field(); + eProsima_user_DllExport std::array& array_int64_field(); /*! @@ -3458,26 +3458,26 @@ class KeyedCompleteTestType * @param _array_uint64_field New value to be copied in member array_uint64_field */ eProsima_user_DllExport void array_uint64_field( - const std::array& _array_uint64_field); + const std::array& _array_uint64_field); /*! * @brief This function moves the value in member array_uint64_field * @param _array_uint64_field New value to be moved in member array_uint64_field */ eProsima_user_DllExport void array_uint64_field( - std::array&& _array_uint64_field); + std::array&& _array_uint64_field); /*! * @brief This function returns a constant reference to member array_uint64_field * @return Constant reference to member array_uint64_field */ - eProsima_user_DllExport const std::array& array_uint64_field() const; + eProsima_user_DllExport const std::array& array_uint64_field() const; /*! * @brief This function returns a reference to member array_uint64_field * @return Reference to member array_uint64_field */ - eProsima_user_DllExport std::array& array_uint64_field(); + eProsima_user_DllExport std::array& array_uint64_field(); /*! @@ -3485,26 +3485,26 @@ class KeyedCompleteTestType * @param _array_float_field New value to be copied in member array_float_field */ eProsima_user_DllExport void array_float_field( - const std::array& _array_float_field); + const std::array& _array_float_field); /*! * @brief This function moves the value in member array_float_field * @param _array_float_field New value to be moved in member array_float_field */ eProsima_user_DllExport void array_float_field( - std::array&& _array_float_field); + std::array&& _array_float_field); /*! * @brief This function returns a constant reference to member array_float_field * @return Constant reference to member array_float_field */ - eProsima_user_DllExport const std::array& array_float_field() const; + eProsima_user_DllExport const std::array& array_float_field() const; /*! * @brief This function returns a reference to member array_float_field * @return Reference to member array_float_field */ - eProsima_user_DllExport std::array& array_float_field(); + eProsima_user_DllExport std::array& array_float_field(); /*! @@ -3512,26 +3512,26 @@ class KeyedCompleteTestType * @param _array_double_field New value to be copied in member array_double_field */ eProsima_user_DllExport void array_double_field( - const std::array& _array_double_field); + const std::array& _array_double_field); /*! * @brief This function moves the value in member array_double_field * @param _array_double_field New value to be moved in member array_double_field */ eProsima_user_DllExport void array_double_field( - std::array&& _array_double_field); + std::array&& _array_double_field); /*! * @brief This function returns a constant reference to member array_double_field * @return Constant reference to member array_double_field */ - eProsima_user_DllExport const std::array& array_double_field() const; + eProsima_user_DllExport const std::array& array_double_field() const; /*! * @brief This function returns a reference to member array_double_field * @return Reference to member array_double_field */ - eProsima_user_DllExport std::array& array_double_field(); + eProsima_user_DllExport std::array& array_double_field(); /*! @@ -3539,26 +3539,26 @@ class KeyedCompleteTestType * @param _array_bool_field New value to be copied in member array_bool_field */ eProsima_user_DllExport void array_bool_field( - const std::array& _array_bool_field); + const std::array& _array_bool_field); /*! * @brief This function moves the value in member array_bool_field * @param _array_bool_field New value to be moved in member array_bool_field */ eProsima_user_DllExport void array_bool_field( - std::array&& _array_bool_field); + std::array&& _array_bool_field); /*! * @brief This function returns a constant reference to member array_bool_field * @return Constant reference to member array_bool_field */ - eProsima_user_DllExport const std::array& array_bool_field() const; + eProsima_user_DllExport const std::array& array_bool_field() const; /*! * @brief This function returns a reference to member array_bool_field * @return Reference to member array_bool_field */ - eProsima_user_DllExport std::array& array_bool_field(); + eProsima_user_DllExport std::array& array_bool_field(); /*! @@ -3566,26 +3566,26 @@ class KeyedCompleteTestType * @param _array_enum_field New value to be copied in member array_enum_field */ eProsima_user_DllExport void array_enum_field( - const std::array& _array_enum_field); + const std::array& _array_enum_field); /*! * @brief This function moves the value in member array_enum_field * @param _array_enum_field New value to be moved in member array_enum_field */ eProsima_user_DllExport void array_enum_field( - std::array&& _array_enum_field); + std::array&& _array_enum_field); /*! * @brief This function returns a constant reference to member array_enum_field * @return Constant reference to member array_enum_field */ - eProsima_user_DllExport const std::array& array_enum_field() const; + eProsima_user_DllExport const std::array& array_enum_field() const; /*! * @brief This function returns a reference to member array_enum_field * @return Reference to member array_enum_field */ - eProsima_user_DllExport std::array& array_enum_field(); + eProsima_user_DllExport std::array& array_enum_field(); /*! @@ -3593,26 +3593,26 @@ class KeyedCompleteTestType * @param _array_enum2_field New value to be copied in member array_enum2_field */ eProsima_user_DllExport void array_enum2_field( - const std::array& _array_enum2_field); + const std::array& _array_enum2_field); /*! * @brief This function moves the value in member array_enum2_field * @param _array_enum2_field New value to be moved in member array_enum2_field */ eProsima_user_DllExport void array_enum2_field( - std::array&& _array_enum2_field); + std::array&& _array_enum2_field); /*! * @brief This function returns a constant reference to member array_enum2_field * @return Constant reference to member array_enum2_field */ - eProsima_user_DllExport const std::array& array_enum2_field() const; + eProsima_user_DllExport const std::array& array_enum2_field() const; /*! * @brief This function returns a reference to member array_enum2_field * @return Reference to member array_enum2_field */ - eProsima_user_DllExport std::array& array_enum2_field(); + eProsima_user_DllExport std::array& array_enum2_field(); /*! @@ -3620,26 +3620,26 @@ class KeyedCompleteTestType * @param _array_struct_field New value to be copied in member array_struct_field */ eProsima_user_DllExport void array_struct_field( - const std::array& _array_struct_field); + const std::array& _array_struct_field); /*! * @brief This function moves the value in member array_struct_field * @param _array_struct_field New value to be moved in member array_struct_field */ eProsima_user_DllExport void array_struct_field( - std::array&& _array_struct_field); + std::array&& _array_struct_field); /*! * @brief This function returns a constant reference to member array_struct_field * @return Constant reference to member array_struct_field */ - eProsima_user_DllExport const std::array& array_struct_field() const; + eProsima_user_DllExport const std::array& array_struct_field() const; /*! * @brief This function returns a reference to member array_struct_field * @return Reference to member array_struct_field */ - eProsima_user_DllExport std::array& array_struct_field(); + eProsima_user_DllExport std::array& array_struct_field(); /*! @@ -4430,20 +4430,20 @@ class KeyedCompleteTestType eprosima::fastcdr::optional m_enum_opt_field; eprosima::fastcdr::optional m_enum2_opt_field; eprosima::fastcdr::optional m_struct_opt_field; - std::array m_array_char_field{0}; - std::array m_array_uint8_field{0}; - std::array m_array_int16_field{0}; - std::array m_array_uint16_field{0}; - std::array m_array_int32_field{0}; - std::array m_array_uint32_field{0}; - std::array m_array_int64_field{0}; - std::array m_array_uint64_field{0}; - std::array m_array_float_field{0.0}; - std::array m_array_double_field{0.0}; - std::array m_array_bool_field{false}; - std::array m_array_enum_field{eprosima::test::RED}; - std::array m_array_enum2_field{eprosima::test::WOOD}; - std::array m_array_struct_field; + std::array m_array_char_field{0}; + std::array m_array_uint8_field{0}; + std::array m_array_int16_field{0}; + std::array m_array_uint16_field{0}; + std::array m_array_int32_field{0}; + std::array m_array_uint32_field{0}; + std::array m_array_int64_field{0}; + std::array m_array_uint64_field{0}; + std::array m_array_float_field{0.0}; + std::array m_array_double_field{0.0}; + std::array m_array_bool_field{false}; + std::array m_array_enum_field{eprosima::test::RED}; + std::array m_array_enum2_field{eprosima::test::WOOD}; + std::array m_array_struct_field; std::vector m_bounded_sequence_char_field; std::vector m_bounded_sequence_uint8_field; std::vector m_bounded_sequence_int16_field; diff --git a/fastdds_python/test/types/test_modules.i b/fastdds_python/test/types/test_modules.i index b076a464..b26a9895 100644 --- a/fastdds_python/test/types/test_modules.i +++ b/fastdds_python/test/types/test_modules.i @@ -821,15 +821,15 @@ namespace swig { -%ignore eprosima::test::CompleteTestType::array_char_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_char_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_char_field() const; -%template(char_3_array) std::array; -%extend std::array +%template(char_3_array) std::array; +%extend std::array { const char* get_buffer() const { @@ -838,15 +838,15 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_uint8_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_uint8_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_uint8_field() const; -%template(uint8_t_3_array) std::array; -%extend std::array +%template(uint8_t_3_array) std::array; +%extend std::array { const uint8_t* get_buffer() const { @@ -855,15 +855,15 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_int16_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_int16_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_int16_field() const; -%template(int16_t_3_array) std::array; -%extend std::array +%template(int16_t_3_array) std::array; +%extend std::array { const int16_t* get_buffer() const { @@ -872,15 +872,15 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_uint16_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_uint16_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_uint16_field() const; -%template(uint16_t_3_array) std::array; -%extend std::array +%template(uint16_t_3_array) std::array; +%extend std::array { const uint16_t* get_buffer() const { @@ -889,15 +889,15 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_int32_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_int32_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_int32_field() const; -%template(int32_t_3_array) std::array; -%extend std::array +%template(int32_t_3_array) std::array; +%extend std::array { const int32_t* get_buffer() const { @@ -906,15 +906,15 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_uint32_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_uint32_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_uint32_field() const; -%template(uint32_t_3_array) std::array; -%extend std::array +%template(uint32_t_3_array) std::array; +%extend std::array { const uint32_t* get_buffer() const { @@ -923,15 +923,15 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_int64_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_int64_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_int64_field() const; -%template(int64_t_3_array) std::array; -%extend std::array +%template(int64_t_3_array) std::array; +%extend std::array { const int64_t* get_buffer() const { @@ -940,15 +940,15 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_uint64_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_uint64_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_uint64_field() const; -%template(uint64_t_3_array) std::array; -%extend std::array +%template(uint64_t_3_array) std::array; +%extend std::array { const uint64_t* get_buffer() const { @@ -957,15 +957,15 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_float_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_float_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_float_field() const; -%template(float_3_array) std::array; -%extend std::array +%template(float_3_array) std::array; +%extend std::array { const float* get_buffer() const { @@ -974,15 +974,15 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_double_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_double_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_double_field() const; -%template(double_3_array) std::array; -%extend std::array +%template(double_3_array) std::array; +%extend std::array { const double* get_buffer() const { @@ -991,15 +991,15 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_bool_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_bool_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_bool_field() const; -%template(bool_3_array) std::array; -%extend std::array +%template(bool_3_array) std::array; +%extend std::array { const bool* get_buffer() const { @@ -1008,15 +1008,15 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_enum_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_enum_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_enum_field() const; -%template(Color_3_array) std::array; -%extend std::array +%template(Color_3_array) std::array; +%extend std::array { const enum eprosima::test::Color* get_buffer() const { @@ -1025,15 +1025,15 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_enum2_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_enum2_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_enum2_field() const; -%template(Material_3_array) std::array; -%extend std::array +%template(Material_3_array) std::array; +%extend std::array { const enum eprosima::test::Material* get_buffer() const { @@ -1042,14 +1042,14 @@ namespace swig { } -%ignore eprosima::test::CompleteTestType::array_struct_field(std::array&&); +%ignore eprosima::test::CompleteTestType::array_struct_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::CompleteTestType::array_struct_field() const; -%template(StructType_3_array) std::array; +%template(StructType_3_array) std::array; %ignore eprosima::test::CompleteTestType::bounded_sequence_char_field(std::vector&&); @@ -2119,15 +2119,15 @@ namespace swig { -%ignore eprosima::test::KeyedCompleteTestType::array_char_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_char_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_char_field() const; -%template(char_3_array) std::array; -%extend std::array +%template(char_3_array) std::array; +%extend std::array { const char* get_buffer() const { @@ -2136,15 +2136,15 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_uint8_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_uint8_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_uint8_field() const; -%template(uint8_t_3_array) std::array; -%extend std::array +%template(uint8_t_3_array) std::array; +%extend std::array { const uint8_t* get_buffer() const { @@ -2153,15 +2153,15 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_int16_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_int16_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_int16_field() const; -%template(int16_t_3_array) std::array; -%extend std::array +%template(int16_t_3_array) std::array; +%extend std::array { const int16_t* get_buffer() const { @@ -2170,15 +2170,15 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_uint16_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_uint16_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_uint16_field() const; -%template(uint16_t_3_array) std::array; -%extend std::array +%template(uint16_t_3_array) std::array; +%extend std::array { const uint16_t* get_buffer() const { @@ -2187,15 +2187,15 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_int32_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_int32_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_int32_field() const; -%template(int32_t_3_array) std::array; -%extend std::array +%template(int32_t_3_array) std::array; +%extend std::array { const int32_t* get_buffer() const { @@ -2204,15 +2204,15 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_uint32_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_uint32_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_uint32_field() const; -%template(uint32_t_3_array) std::array; -%extend std::array +%template(uint32_t_3_array) std::array; +%extend std::array { const uint32_t* get_buffer() const { @@ -2221,15 +2221,15 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_int64_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_int64_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_int64_field() const; -%template(int64_t_3_array) std::array; -%extend std::array +%template(int64_t_3_array) std::array; +%extend std::array { const int64_t* get_buffer() const { @@ -2238,15 +2238,15 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_uint64_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_uint64_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_uint64_field() const; -%template(uint64_t_3_array) std::array; -%extend std::array +%template(uint64_t_3_array) std::array; +%extend std::array { const uint64_t* get_buffer() const { @@ -2255,15 +2255,15 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_float_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_float_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_float_field() const; -%template(float_3_array) std::array; -%extend std::array +%template(float_3_array) std::array; +%extend std::array { const float* get_buffer() const { @@ -2272,15 +2272,15 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_double_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_double_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_double_field() const; -%template(double_3_array) std::array; -%extend std::array +%template(double_3_array) std::array; +%extend std::array { const double* get_buffer() const { @@ -2289,15 +2289,15 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_bool_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_bool_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_bool_field() const; -%template(bool_3_array) std::array; -%extend std::array +%template(bool_3_array) std::array; +%extend std::array { const bool* get_buffer() const { @@ -2306,15 +2306,15 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_enum_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_enum_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_enum_field() const; -%template(Color_3_array) std::array; -%extend std::array +%template(Color_3_array) std::array; +%extend std::array { const enum eprosima::test::Color* get_buffer() const { @@ -2323,15 +2323,15 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_enum2_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_enum2_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_enum2_field() const; -%template(Material_3_array) std::array; -%extend std::array +%template(Material_3_array) std::array; +%extend std::array { const enum eprosima::test::Material* get_buffer() const { @@ -2340,14 +2340,14 @@ namespace swig { } -%ignore eprosima::test::KeyedCompleteTestType::array_struct_field(std::array&&); +%ignore eprosima::test::KeyedCompleteTestType::array_struct_field(std::array&&); // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this %ignore eprosima::test::KeyedCompleteTestType::array_struct_field() const; -%template(StructType_3_array) std::array; +%template(StructType_3_array) std::array; %ignore eprosima::test::KeyedCompleteTestType::bounded_sequence_char_field(std::vector&&); diff --git a/fastdds_python/test/types/test_modules.idl b/fastdds_python/test/types/test_modules.idl index e0b64543..4b674cdf 100644 --- a/fastdds_python/test/types/test_modules.idl +++ b/fastdds_python/test/types/test_modules.idl @@ -81,40 +81,40 @@ module eprosima @optional StructType struct_opt_field; // Array fields - char array_char_field[eprosima::test::max_array_size]; - octet array_uint8_field[eprosima::test::max_array_size]; - short array_int16_field[eprosima::test::max_array_size]; - unsigned short array_uint16_field[eprosima::test::max_array_size]; - long array_int32_field[eprosima::test::max_array_size]; - unsigned long array_uint32_field[eprosima::test::max_array_size]; - long long array_int64_field[eprosima::test::max_array_size]; - unsigned long long array_uint64_field[eprosima::test::max_array_size]; - float array_float_field[eprosima::test::max_array_size]; - double array_double_field[eprosima::test::max_array_size]; - //long double array_long_double_field[eprosima::test::max_array_size]; - boolean array_bool_field[eprosima::test::max_array_size]; - //string array_string_field[eprosima::test::max_array_size]; - Color array_enum_field[eprosima::test::max_array_size]; - Material array_enum2_field[eprosima::test::max_array_size]; - StructType array_struct_field[eprosima::test::max_array_size]; + char array_char_field[max_array_size]; + octet array_uint8_field[max_array_size]; + short array_int16_field[max_array_size]; + unsigned short array_uint16_field[max_array_size]; + long array_int32_field[max_array_size]; + unsigned long array_uint32_field[max_array_size]; + long long array_int64_field[max_array_size]; + unsigned long long array_uint64_field[max_array_size]; + float array_float_field[max_array_size]; + double array_double_field[max_array_size]; + //long double array_long_double_field[max_array_size]; + boolean array_bool_field[max_array_size]; + //string array_string_field[max_array_size]; + Color array_enum_field[max_array_size]; + Material array_enum2_field[max_array_size]; + StructType array_struct_field[max_array_size]; // Bounded sequence fields - sequence bounded_sequence_char_field; - sequence bounded_sequence_uint8_field; - sequence bounded_sequence_int16_field; - sequence bounded_sequence_uint16_field; - sequence bounded_sequence_int32_field; - sequence bounded_sequence_uint32_field; - sequence bounded_sequence_int64_field; - sequence bounded_sequence_uint64_field; - sequence bounded_sequence_float_field; - sequence bounded_sequence_double_field; - //sequence bounded_sequence_long_double_field; - sequence bounded_sequence_bool_field; - //sequence bounded_sequence_string_field; - sequence bounded_sequence_enum_field; - sequence bounded_sequence_enum2_field; - sequence bounded_sequence_struct_field; + sequence bounded_sequence_char_field; + sequence bounded_sequence_uint8_field; + sequence bounded_sequence_int16_field; + sequence bounded_sequence_uint16_field; + sequence bounded_sequence_int32_field; + sequence bounded_sequence_uint32_field; + sequence bounded_sequence_int64_field; + sequence bounded_sequence_uint64_field; + sequence bounded_sequence_float_field; + sequence bounded_sequence_double_field; + //sequence bounded_sequence_long_double_field; + sequence bounded_sequence_bool_field; + //sequence bounded_sequence_string_field; + sequence bounded_sequence_enum_field; + sequence bounded_sequence_enum2_field; + sequence bounded_sequence_struct_field; // Unbounded sequence fields sequence unbounded_sequence_char_field; @@ -177,40 +177,40 @@ module eprosima @optional StructType struct_opt_field; // Array fields - char array_char_field[eprosima::test::max_array_size]; - octet array_uint8_field[eprosima::test::max_array_size]; - short array_int16_field[eprosima::test::max_array_size]; - unsigned short array_uint16_field[eprosima::test::max_array_size]; - long array_int32_field[eprosima::test::max_array_size]; - unsigned long array_uint32_field[eprosima::test::max_array_size]; - long long array_int64_field[eprosima::test::max_array_size]; - unsigned long long array_uint64_field[eprosima::test::max_array_size]; - float array_float_field[eprosima::test::max_array_size]; - double array_double_field[eprosima::test::max_array_size]; - //long double array_long_double_field[eprosima::test::max_array_size]; - boolean array_bool_field[eprosima::test::max_array_size]; - //string array_string_field[eprosima::test::max_array_size]; - Color array_enum_field[eprosima::test::max_array_size]; - Material array_enum2_field[eprosima::test::max_array_size]; - StructType array_struct_field[eprosima::test::max_array_size]; + char array_char_field[max_array_size]; + octet array_uint8_field[max_array_size]; + short array_int16_field[max_array_size]; + unsigned short array_uint16_field[max_array_size]; + long array_int32_field[max_array_size]; + unsigned long array_uint32_field[max_array_size]; + long long array_int64_field[max_array_size]; + unsigned long long array_uint64_field[max_array_size]; + float array_float_field[max_array_size]; + double array_double_field[max_array_size]; + //long double array_long_double_field[max_array_size]; + boolean array_bool_field[max_array_size]; + //string array_string_field[max_array_size]; + Color array_enum_field[max_array_size]; + Material array_enum2_field[max_array_size]; + StructType array_struct_field[max_array_size]; // Bounded sequence fields - sequence bounded_sequence_char_field; - sequence bounded_sequence_uint8_field; - sequence bounded_sequence_int16_field; - sequence bounded_sequence_uint16_field; - sequence bounded_sequence_int32_field; - sequence bounded_sequence_uint32_field; - sequence bounded_sequence_int64_field; - sequence bounded_sequence_uint64_field; - sequence bounded_sequence_float_field; - sequence bounded_sequence_double_field; - //sequence bounded_sequence_long_double_field; - sequence bounded_sequence_bool_field; - //sequence bounded_sequence_string_field; - sequence bounded_sequence_enum_field; - sequence bounded_sequence_enum2_field; - sequence bounded_sequence_struct_field; + sequence bounded_sequence_char_field; + sequence bounded_sequence_uint8_field; + sequence bounded_sequence_int16_field; + sequence bounded_sequence_uint16_field; + sequence bounded_sequence_int32_field; + sequence bounded_sequence_uint32_field; + sequence bounded_sequence_int64_field; + sequence bounded_sequence_uint64_field; + sequence bounded_sequence_float_field; + sequence bounded_sequence_double_field; + //sequence bounded_sequence_long_double_field; + sequence bounded_sequence_bool_field; + //sequence bounded_sequence_string_field; + sequence bounded_sequence_enum_field; + sequence bounded_sequence_enum2_field; + sequence bounded_sequence_struct_field; // Unbounded sequence fields sequence unbounded_sequence_char_field; diff --git a/fastdds_python/test/types/test_modulesv1.cxx b/fastdds_python/test/types/test_modulesv1.cxx index d3384d61..9122a6fc 100644 --- a/fastdds_python/test/types/test_modulesv1.cxx +++ b/fastdds_python/test/types/test_modulesv1.cxx @@ -1002,60 +1002,60 @@ CompleteTestType::CompleteTestType() // eprosima::test::StructType m_struct_opt_field // char m_array_char_field - memset(&m_array_char_field, 0, ((eprosima::test::max_array_size)) * 1); + memset(&m_array_char_field, 0, ((max_array_size)) * 1); // octet m_array_uint8_field - memset(&m_array_uint8_field, 0, ((eprosima::test::max_array_size)) * 1); + memset(&m_array_uint8_field, 0, ((max_array_size)) * 1); // short m_array_int16_field - memset(&m_array_int16_field, 0, ((eprosima::test::max_array_size)) * 2); + memset(&m_array_int16_field, 0, ((max_array_size)) * 2); // unsigned short m_array_uint16_field - memset(&m_array_uint16_field, 0, ((eprosima::test::max_array_size)) * 2); + memset(&m_array_uint16_field, 0, ((max_array_size)) * 2); // long m_array_int32_field - memset(&m_array_int32_field, 0, ((eprosima::test::max_array_size)) * 4); + memset(&m_array_int32_field, 0, ((max_array_size)) * 4); // unsigned long m_array_uint32_field - memset(&m_array_uint32_field, 0, ((eprosima::test::max_array_size)) * 4); + memset(&m_array_uint32_field, 0, ((max_array_size)) * 4); // long long m_array_int64_field - memset(&m_array_int64_field, 0, ((eprosima::test::max_array_size)) * 8); + memset(&m_array_int64_field, 0, ((max_array_size)) * 8); // unsigned long long m_array_uint64_field - memset(&m_array_uint64_field, 0, ((eprosima::test::max_array_size)) * 8); + memset(&m_array_uint64_field, 0, ((max_array_size)) * 8); // float m_array_float_field - memset(&m_array_float_field, 0, ((eprosima::test::max_array_size)) * 4); + memset(&m_array_float_field, 0, ((max_array_size)) * 4); // double m_array_double_field - memset(&m_array_double_field, 0, ((eprosima::test::max_array_size)) * 8); + memset(&m_array_double_field, 0, ((max_array_size)) * 8); // boolean m_array_bool_field - memset(&m_array_bool_field, 0, ((eprosima::test::max_array_size)) * 1); + memset(&m_array_bool_field, 0, ((max_array_size)) * 1); // eprosima::test::Color m_array_enum_field - memset(&m_array_enum_field, 0, ((eprosima::test::max_array_size)) * 4); + memset(&m_array_enum_field, 0, ((max_array_size)) * 4); // eprosima::test::Material m_array_enum2_field - memset(&m_array_enum2_field, 0, ((eprosima::test::max_array_size)) * 4); + memset(&m_array_enum2_field, 0, ((max_array_size)) * 4); // eprosima::test::StructType m_array_struct_field - // sequence m_bounded_sequence_char_field + // sequence m_bounded_sequence_char_field - // sequence m_bounded_sequence_uint8_field + // sequence m_bounded_sequence_uint8_field - // sequence m_bounded_sequence_int16_field + // sequence m_bounded_sequence_int16_field - // sequence m_bounded_sequence_uint16_field + // sequence m_bounded_sequence_uint16_field - // sequence m_bounded_sequence_int32_field + // sequence m_bounded_sequence_int32_field - // sequence m_bounded_sequence_uint32_field + // sequence m_bounded_sequence_uint32_field - // sequence m_bounded_sequence_int64_field + // sequence m_bounded_sequence_int64_field - // sequence m_bounded_sequence_uint64_field + // sequence m_bounded_sequence_uint64_field - // sequence m_bounded_sequence_float_field + // sequence m_bounded_sequence_float_field - // sequence m_bounded_sequence_double_field + // sequence m_bounded_sequence_double_field - // sequence m_bounded_sequence_bool_field + // sequence m_bounded_sequence_bool_field - // sequence m_bounded_sequence_enum_field + // sequence m_bounded_sequence_enum_field - // sequence m_bounded_sequence_enum2_field + // sequence m_bounded_sequence_enum2_field - // sequence m_bounded_sequence_struct_field + // sequence m_bounded_sequence_struct_field // sequence m_unbounded_sequence_char_field @@ -2161,55 +2161,55 @@ size_t CompleteTestType::getCdrSerializedSize( current_alignment += eprosima::test::StructType::getCdrSerializedSize(data.struct_opt_field(), current_alignment); - current_alignment += (((eprosima::test::max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + current_alignment += (((max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); - current_alignment += (((eprosima::test::max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + current_alignment += (((max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); - current_alignment += (((eprosima::test::max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + current_alignment += (((max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); - current_alignment += (((eprosima::test::max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + current_alignment += (((max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); - current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); - current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); - current_alignment += (((eprosima::test::max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + current_alignment += (((max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); - current_alignment += (((eprosima::test::max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + current_alignment += (((max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); - current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); - current_alignment += (((eprosima::test::max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + current_alignment += (((max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); - current_alignment += (((eprosima::test::max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + current_alignment += (((max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); - current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); - current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); @@ -3956,7 +3956,7 @@ eprosima::test::StructType& CompleteTestType::struct_opt_field() * @param _array_char_field New value to be copied in member array_char_field */ void CompleteTestType::array_char_field( - const std::array& _array_char_field) + const std::array& _array_char_field) { m_array_char_field = _array_char_field; } @@ -3966,7 +3966,7 @@ void CompleteTestType::array_char_field( * @param _array_char_field New value to be moved in member array_char_field */ void CompleteTestType::array_char_field( - std::array&& _array_char_field) + std::array&& _array_char_field) { m_array_char_field = std::move(_array_char_field); } @@ -3975,7 +3975,7 @@ void CompleteTestType::array_char_field( * @brief This function returns a constant reference to member array_char_field * @return Constant reference to member array_char_field */ -const std::array& CompleteTestType::array_char_field() const +const std::array& CompleteTestType::array_char_field() const { return m_array_char_field; } @@ -3984,7 +3984,7 @@ const std::array& CompleteTestType::array_ * @brief This function returns a reference to member array_char_field * @return Reference to member array_char_field */ -std::array& CompleteTestType::array_char_field() +std::array& CompleteTestType::array_char_field() { return m_array_char_field; } @@ -3995,7 +3995,7 @@ std::array& CompleteTestType::array_char_f * @param _array_uint8_field New value to be copied in member array_uint8_field */ void CompleteTestType::array_uint8_field( - const std::array& _array_uint8_field) + const std::array& _array_uint8_field) { m_array_uint8_field = _array_uint8_field; } @@ -4005,7 +4005,7 @@ void CompleteTestType::array_uint8_field( * @param _array_uint8_field New value to be moved in member array_uint8_field */ void CompleteTestType::array_uint8_field( - std::array&& _array_uint8_field) + std::array&& _array_uint8_field) { m_array_uint8_field = std::move(_array_uint8_field); } @@ -4014,7 +4014,7 @@ void CompleteTestType::array_uint8_field( * @brief This function returns a constant reference to member array_uint8_field * @return Constant reference to member array_uint8_field */ -const std::array& CompleteTestType::array_uint8_field() const +const std::array& CompleteTestType::array_uint8_field() const { return m_array_uint8_field; } @@ -4023,7 +4023,7 @@ const std::array& CompleteTestType::arr * @brief This function returns a reference to member array_uint8_field * @return Reference to member array_uint8_field */ -std::array& CompleteTestType::array_uint8_field() +std::array& CompleteTestType::array_uint8_field() { return m_array_uint8_field; } @@ -4034,7 +4034,7 @@ std::array& CompleteTestType::array_uin * @param _array_int16_field New value to be copied in member array_int16_field */ void CompleteTestType::array_int16_field( - const std::array& _array_int16_field) + const std::array& _array_int16_field) { m_array_int16_field = _array_int16_field; } @@ -4044,7 +4044,7 @@ void CompleteTestType::array_int16_field( * @param _array_int16_field New value to be moved in member array_int16_field */ void CompleteTestType::array_int16_field( - std::array&& _array_int16_field) + std::array&& _array_int16_field) { m_array_int16_field = std::move(_array_int16_field); } @@ -4053,7 +4053,7 @@ void CompleteTestType::array_int16_field( * @brief This function returns a constant reference to member array_int16_field * @return Constant reference to member array_int16_field */ -const std::array& CompleteTestType::array_int16_field() const +const std::array& CompleteTestType::array_int16_field() const { return m_array_int16_field; } @@ -4062,7 +4062,7 @@ const std::array& CompleteTestType::arr * @brief This function returns a reference to member array_int16_field * @return Reference to member array_int16_field */ -std::array& CompleteTestType::array_int16_field() +std::array& CompleteTestType::array_int16_field() { return m_array_int16_field; } @@ -4073,7 +4073,7 @@ std::array& CompleteTestType::array_int * @param _array_uint16_field New value to be copied in member array_uint16_field */ void CompleteTestType::array_uint16_field( - const std::array& _array_uint16_field) + const std::array& _array_uint16_field) { m_array_uint16_field = _array_uint16_field; } @@ -4083,7 +4083,7 @@ void CompleteTestType::array_uint16_field( * @param _array_uint16_field New value to be moved in member array_uint16_field */ void CompleteTestType::array_uint16_field( - std::array&& _array_uint16_field) + std::array&& _array_uint16_field) { m_array_uint16_field = std::move(_array_uint16_field); } @@ -4092,7 +4092,7 @@ void CompleteTestType::array_uint16_field( * @brief This function returns a constant reference to member array_uint16_field * @return Constant reference to member array_uint16_field */ -const std::array& CompleteTestType::array_uint16_field() const +const std::array& CompleteTestType::array_uint16_field() const { return m_array_uint16_field; } @@ -4101,7 +4101,7 @@ const std::array& CompleteTestType::ar * @brief This function returns a reference to member array_uint16_field * @return Reference to member array_uint16_field */ -std::array& CompleteTestType::array_uint16_field() +std::array& CompleteTestType::array_uint16_field() { return m_array_uint16_field; } @@ -4112,7 +4112,7 @@ std::array& CompleteTestType::array_ui * @param _array_int32_field New value to be copied in member array_int32_field */ void CompleteTestType::array_int32_field( - const std::array& _array_int32_field) + const std::array& _array_int32_field) { m_array_int32_field = _array_int32_field; } @@ -4122,7 +4122,7 @@ void CompleteTestType::array_int32_field( * @param _array_int32_field New value to be moved in member array_int32_field */ void CompleteTestType::array_int32_field( - std::array&& _array_int32_field) + std::array&& _array_int32_field) { m_array_int32_field = std::move(_array_int32_field); } @@ -4131,7 +4131,7 @@ void CompleteTestType::array_int32_field( * @brief This function returns a constant reference to member array_int32_field * @return Constant reference to member array_int32_field */ -const std::array& CompleteTestType::array_int32_field() const +const std::array& CompleteTestType::array_int32_field() const { return m_array_int32_field; } @@ -4140,7 +4140,7 @@ const std::array& CompleteTestType::arr * @brief This function returns a reference to member array_int32_field * @return Reference to member array_int32_field */ -std::array& CompleteTestType::array_int32_field() +std::array& CompleteTestType::array_int32_field() { return m_array_int32_field; } @@ -4151,7 +4151,7 @@ std::array& CompleteTestType::array_int * @param _array_uint32_field New value to be copied in member array_uint32_field */ void CompleteTestType::array_uint32_field( - const std::array& _array_uint32_field) + const std::array& _array_uint32_field) { m_array_uint32_field = _array_uint32_field; } @@ -4161,7 +4161,7 @@ void CompleteTestType::array_uint32_field( * @param _array_uint32_field New value to be moved in member array_uint32_field */ void CompleteTestType::array_uint32_field( - std::array&& _array_uint32_field) + std::array&& _array_uint32_field) { m_array_uint32_field = std::move(_array_uint32_field); } @@ -4170,7 +4170,7 @@ void CompleteTestType::array_uint32_field( * @brief This function returns a constant reference to member array_uint32_field * @return Constant reference to member array_uint32_field */ -const std::array& CompleteTestType::array_uint32_field() const +const std::array& CompleteTestType::array_uint32_field() const { return m_array_uint32_field; } @@ -4179,7 +4179,7 @@ const std::array& CompleteTestType::ar * @brief This function returns a reference to member array_uint32_field * @return Reference to member array_uint32_field */ -std::array& CompleteTestType::array_uint32_field() +std::array& CompleteTestType::array_uint32_field() { return m_array_uint32_field; } @@ -4190,7 +4190,7 @@ std::array& CompleteTestType::array_ui * @param _array_int64_field New value to be copied in member array_int64_field */ void CompleteTestType::array_int64_field( - const std::array& _array_int64_field) + const std::array& _array_int64_field) { m_array_int64_field = _array_int64_field; } @@ -4200,7 +4200,7 @@ void CompleteTestType::array_int64_field( * @param _array_int64_field New value to be moved in member array_int64_field */ void CompleteTestType::array_int64_field( - std::array&& _array_int64_field) + std::array&& _array_int64_field) { m_array_int64_field = std::move(_array_int64_field); } @@ -4209,7 +4209,7 @@ void CompleteTestType::array_int64_field( * @brief This function returns a constant reference to member array_int64_field * @return Constant reference to member array_int64_field */ -const std::array& CompleteTestType::array_int64_field() const +const std::array& CompleteTestType::array_int64_field() const { return m_array_int64_field; } @@ -4218,7 +4218,7 @@ const std::array& CompleteTestType::arr * @brief This function returns a reference to member array_int64_field * @return Reference to member array_int64_field */ -std::array& CompleteTestType::array_int64_field() +std::array& CompleteTestType::array_int64_field() { return m_array_int64_field; } @@ -4229,7 +4229,7 @@ std::array& CompleteTestType::array_int * @param _array_uint64_field New value to be copied in member array_uint64_field */ void CompleteTestType::array_uint64_field( - const std::array& _array_uint64_field) + const std::array& _array_uint64_field) { m_array_uint64_field = _array_uint64_field; } @@ -4239,7 +4239,7 @@ void CompleteTestType::array_uint64_field( * @param _array_uint64_field New value to be moved in member array_uint64_field */ void CompleteTestType::array_uint64_field( - std::array&& _array_uint64_field) + std::array&& _array_uint64_field) { m_array_uint64_field = std::move(_array_uint64_field); } @@ -4248,7 +4248,7 @@ void CompleteTestType::array_uint64_field( * @brief This function returns a constant reference to member array_uint64_field * @return Constant reference to member array_uint64_field */ -const std::array& CompleteTestType::array_uint64_field() const +const std::array& CompleteTestType::array_uint64_field() const { return m_array_uint64_field; } @@ -4257,7 +4257,7 @@ const std::array& CompleteTestType::ar * @brief This function returns a reference to member array_uint64_field * @return Reference to member array_uint64_field */ -std::array& CompleteTestType::array_uint64_field() +std::array& CompleteTestType::array_uint64_field() { return m_array_uint64_field; } @@ -4268,7 +4268,7 @@ std::array& CompleteTestType::array_ui * @param _array_float_field New value to be copied in member array_float_field */ void CompleteTestType::array_float_field( - const std::array& _array_float_field) + const std::array& _array_float_field) { m_array_float_field = _array_float_field; } @@ -4278,7 +4278,7 @@ void CompleteTestType::array_float_field( * @param _array_float_field New value to be moved in member array_float_field */ void CompleteTestType::array_float_field( - std::array&& _array_float_field) + std::array&& _array_float_field) { m_array_float_field = std::move(_array_float_field); } @@ -4287,7 +4287,7 @@ void CompleteTestType::array_float_field( * @brief This function returns a constant reference to member array_float_field * @return Constant reference to member array_float_field */ -const std::array& CompleteTestType::array_float_field() const +const std::array& CompleteTestType::array_float_field() const { return m_array_float_field; } @@ -4296,7 +4296,7 @@ const std::array& CompleteTestType::array * @brief This function returns a reference to member array_float_field * @return Reference to member array_float_field */ -std::array& CompleteTestType::array_float_field() +std::array& CompleteTestType::array_float_field() { return m_array_float_field; } @@ -4307,7 +4307,7 @@ std::array& CompleteTestType::array_float * @param _array_double_field New value to be copied in member array_double_field */ void CompleteTestType::array_double_field( - const std::array& _array_double_field) + const std::array& _array_double_field) { m_array_double_field = _array_double_field; } @@ -4317,7 +4317,7 @@ void CompleteTestType::array_double_field( * @param _array_double_field New value to be moved in member array_double_field */ void CompleteTestType::array_double_field( - std::array&& _array_double_field) + std::array&& _array_double_field) { m_array_double_field = std::move(_array_double_field); } @@ -4326,7 +4326,7 @@ void CompleteTestType::array_double_field( * @brief This function returns a constant reference to member array_double_field * @return Constant reference to member array_double_field */ -const std::array& CompleteTestType::array_double_field() const +const std::array& CompleteTestType::array_double_field() const { return m_array_double_field; } @@ -4335,7 +4335,7 @@ const std::array& CompleteTestType::arra * @brief This function returns a reference to member array_double_field * @return Reference to member array_double_field */ -std::array& CompleteTestType::array_double_field() +std::array& CompleteTestType::array_double_field() { return m_array_double_field; } @@ -4346,7 +4346,7 @@ std::array& CompleteTestType::array_doub * @param _array_bool_field New value to be copied in member array_bool_field */ void CompleteTestType::array_bool_field( - const std::array& _array_bool_field) + const std::array& _array_bool_field) { m_array_bool_field = _array_bool_field; } @@ -4356,7 +4356,7 @@ void CompleteTestType::array_bool_field( * @param _array_bool_field New value to be moved in member array_bool_field */ void CompleteTestType::array_bool_field( - std::array&& _array_bool_field) + std::array&& _array_bool_field) { m_array_bool_field = std::move(_array_bool_field); } @@ -4365,7 +4365,7 @@ void CompleteTestType::array_bool_field( * @brief This function returns a constant reference to member array_bool_field * @return Constant reference to member array_bool_field */ -const std::array& CompleteTestType::array_bool_field() const +const std::array& CompleteTestType::array_bool_field() const { return m_array_bool_field; } @@ -4374,7 +4374,7 @@ const std::array& CompleteTestType::array_ * @brief This function returns a reference to member array_bool_field * @return Reference to member array_bool_field */ -std::array& CompleteTestType::array_bool_field() +std::array& CompleteTestType::array_bool_field() { return m_array_bool_field; } @@ -4385,7 +4385,7 @@ std::array& CompleteTestType::array_bool_f * @param _array_enum_field New value to be copied in member array_enum_field */ void CompleteTestType::array_enum_field( - const std::array& _array_enum_field) + const std::array& _array_enum_field) { m_array_enum_field = _array_enum_field; } @@ -4395,7 +4395,7 @@ void CompleteTestType::array_enum_field( * @param _array_enum_field New value to be moved in member array_enum_field */ void CompleteTestType::array_enum_field( - std::array&& _array_enum_field) + std::array&& _array_enum_field) { m_array_enum_field = std::move(_array_enum_field); } @@ -4404,7 +4404,7 @@ void CompleteTestType::array_enum_field( * @brief This function returns a constant reference to member array_enum_field * @return Constant reference to member array_enum_field */ -const std::array& CompleteTestType::array_enum_field() const +const std::array& CompleteTestType::array_enum_field() const { return m_array_enum_field; } @@ -4413,7 +4413,7 @@ const std::array& Complet * @brief This function returns a reference to member array_enum_field * @return Reference to member array_enum_field */ -std::array& CompleteTestType::array_enum_field() +std::array& CompleteTestType::array_enum_field() { return m_array_enum_field; } @@ -4424,7 +4424,7 @@ std::array& CompleteTestT * @param _array_enum2_field New value to be copied in member array_enum2_field */ void CompleteTestType::array_enum2_field( - const std::array& _array_enum2_field) + const std::array& _array_enum2_field) { m_array_enum2_field = _array_enum2_field; } @@ -4434,7 +4434,7 @@ void CompleteTestType::array_enum2_field( * @param _array_enum2_field New value to be moved in member array_enum2_field */ void CompleteTestType::array_enum2_field( - std::array&& _array_enum2_field) + std::array&& _array_enum2_field) { m_array_enum2_field = std::move(_array_enum2_field); } @@ -4443,7 +4443,7 @@ void CompleteTestType::array_enum2_field( * @brief This function returns a constant reference to member array_enum2_field * @return Constant reference to member array_enum2_field */ -const std::array& CompleteTestType::array_enum2_field() const +const std::array& CompleteTestType::array_enum2_field() const { return m_array_enum2_field; } @@ -4452,7 +4452,7 @@ const std::array& Comp * @brief This function returns a reference to member array_enum2_field * @return Reference to member array_enum2_field */ -std::array& CompleteTestType::array_enum2_field() +std::array& CompleteTestType::array_enum2_field() { return m_array_enum2_field; } @@ -4463,7 +4463,7 @@ std::array& CompleteTe * @param _array_struct_field New value to be copied in member array_struct_field */ void CompleteTestType::array_struct_field( - const std::array& _array_struct_field) + const std::array& _array_struct_field) { m_array_struct_field = _array_struct_field; } @@ -4473,7 +4473,7 @@ void CompleteTestType::array_struct_field( * @param _array_struct_field New value to be moved in member array_struct_field */ void CompleteTestType::array_struct_field( - std::array&& _array_struct_field) + std::array&& _array_struct_field) { m_array_struct_field = std::move(_array_struct_field); } @@ -4482,7 +4482,7 @@ void CompleteTestType::array_struct_field( * @brief This function returns a constant reference to member array_struct_field * @return Constant reference to member array_struct_field */ -const std::array& CompleteTestType::array_struct_field() const +const std::array& CompleteTestType::array_struct_field() const { return m_array_struct_field; } @@ -4491,7 +4491,7 @@ const std::array& Co * @brief This function returns a reference to member array_struct_field * @return Reference to member array_struct_field */ -std::array& CompleteTestType::array_struct_field() +std::array& CompleteTestType::array_struct_field() { return m_array_struct_field; } @@ -5659,60 +5659,60 @@ KeyedCompleteTestType::KeyedCompleteTestType() // eprosima::test::StructType m_struct_opt_field // char m_array_char_field - memset(&m_array_char_field, 0, ((eprosima::test::max_array_size)) * 1); + memset(&m_array_char_field, 0, ((max_array_size)) * 1); // octet m_array_uint8_field - memset(&m_array_uint8_field, 0, ((eprosima::test::max_array_size)) * 1); + memset(&m_array_uint8_field, 0, ((max_array_size)) * 1); // short m_array_int16_field - memset(&m_array_int16_field, 0, ((eprosima::test::max_array_size)) * 2); + memset(&m_array_int16_field, 0, ((max_array_size)) * 2); // unsigned short m_array_uint16_field - memset(&m_array_uint16_field, 0, ((eprosima::test::max_array_size)) * 2); + memset(&m_array_uint16_field, 0, ((max_array_size)) * 2); // long m_array_int32_field - memset(&m_array_int32_field, 0, ((eprosima::test::max_array_size)) * 4); + memset(&m_array_int32_field, 0, ((max_array_size)) * 4); // unsigned long m_array_uint32_field - memset(&m_array_uint32_field, 0, ((eprosima::test::max_array_size)) * 4); + memset(&m_array_uint32_field, 0, ((max_array_size)) * 4); // long long m_array_int64_field - memset(&m_array_int64_field, 0, ((eprosima::test::max_array_size)) * 8); + memset(&m_array_int64_field, 0, ((max_array_size)) * 8); // unsigned long long m_array_uint64_field - memset(&m_array_uint64_field, 0, ((eprosima::test::max_array_size)) * 8); + memset(&m_array_uint64_field, 0, ((max_array_size)) * 8); // float m_array_float_field - memset(&m_array_float_field, 0, ((eprosima::test::max_array_size)) * 4); + memset(&m_array_float_field, 0, ((max_array_size)) * 4); // double m_array_double_field - memset(&m_array_double_field, 0, ((eprosima::test::max_array_size)) * 8); + memset(&m_array_double_field, 0, ((max_array_size)) * 8); // boolean m_array_bool_field - memset(&m_array_bool_field, 0, ((eprosima::test::max_array_size)) * 1); + memset(&m_array_bool_field, 0, ((max_array_size)) * 1); // eprosima::test::Color m_array_enum_field - memset(&m_array_enum_field, 0, ((eprosima::test::max_array_size)) * 4); + memset(&m_array_enum_field, 0, ((max_array_size)) * 4); // eprosima::test::Material m_array_enum2_field - memset(&m_array_enum2_field, 0, ((eprosima::test::max_array_size)) * 4); + memset(&m_array_enum2_field, 0, ((max_array_size)) * 4); // eprosima::test::StructType m_array_struct_field - // sequence m_bounded_sequence_char_field + // sequence m_bounded_sequence_char_field - // sequence m_bounded_sequence_uint8_field + // sequence m_bounded_sequence_uint8_field - // sequence m_bounded_sequence_int16_field + // sequence m_bounded_sequence_int16_field - // sequence m_bounded_sequence_uint16_field + // sequence m_bounded_sequence_uint16_field - // sequence m_bounded_sequence_int32_field + // sequence m_bounded_sequence_int32_field - // sequence m_bounded_sequence_uint32_field + // sequence m_bounded_sequence_uint32_field - // sequence m_bounded_sequence_int64_field + // sequence m_bounded_sequence_int64_field - // sequence m_bounded_sequence_uint64_field + // sequence m_bounded_sequence_uint64_field - // sequence m_bounded_sequence_float_field + // sequence m_bounded_sequence_float_field - // sequence m_bounded_sequence_double_field + // sequence m_bounded_sequence_double_field - // sequence m_bounded_sequence_bool_field + // sequence m_bounded_sequence_bool_field - // sequence m_bounded_sequence_enum_field + // sequence m_bounded_sequence_enum_field - // sequence m_bounded_sequence_enum2_field + // sequence m_bounded_sequence_enum2_field - // sequence m_bounded_sequence_struct_field + // sequence m_bounded_sequence_struct_field // sequence m_unbounded_sequence_char_field @@ -6834,55 +6834,55 @@ size_t KeyedCompleteTestType::getCdrSerializedSize( current_alignment += eprosima::test::StructType::getCdrSerializedSize(data.struct_opt_field(), current_alignment); - current_alignment += (((eprosima::test::max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + current_alignment += (((max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); - current_alignment += (((eprosima::test::max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + current_alignment += (((max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); - current_alignment += (((eprosima::test::max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + current_alignment += (((max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); - current_alignment += (((eprosima::test::max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); + current_alignment += (((max_array_size)) * 2) + eprosima::fastcdr::Cdr::alignment(current_alignment, 2); - current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); - current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); - current_alignment += (((eprosima::test::max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + current_alignment += (((max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); - current_alignment += (((eprosima::test::max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + current_alignment += (((max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); - current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); - current_alignment += (((eprosima::test::max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); + current_alignment += (((max_array_size)) * 8) + eprosima::fastcdr::Cdr::alignment(current_alignment, 8); - current_alignment += (((eprosima::test::max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); + current_alignment += (((max_array_size)) * 1) + eprosima::fastcdr::Cdr::alignment(current_alignment, 1); - current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); - current_alignment += (((eprosima::test::max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); + current_alignment += (((max_array_size)) * 4) + eprosima::fastcdr::Cdr::alignment(current_alignment, 4); @@ -8739,7 +8739,7 @@ eprosima::test::StructType& KeyedCompleteTestType::struct_opt_field() * @param _array_char_field New value to be copied in member array_char_field */ void KeyedCompleteTestType::array_char_field( - const std::array& _array_char_field) + const std::array& _array_char_field) { m_array_char_field = _array_char_field; } @@ -8749,7 +8749,7 @@ void KeyedCompleteTestType::array_char_field( * @param _array_char_field New value to be moved in member array_char_field */ void KeyedCompleteTestType::array_char_field( - std::array&& _array_char_field) + std::array&& _array_char_field) { m_array_char_field = std::move(_array_char_field); } @@ -8758,7 +8758,7 @@ void KeyedCompleteTestType::array_char_field( * @brief This function returns a constant reference to member array_char_field * @return Constant reference to member array_char_field */ -const std::array& KeyedCompleteTestType::array_char_field() const +const std::array& KeyedCompleteTestType::array_char_field() const { return m_array_char_field; } @@ -8767,7 +8767,7 @@ const std::array& KeyedCompleteTestType::a * @brief This function returns a reference to member array_char_field * @return Reference to member array_char_field */ -std::array& KeyedCompleteTestType::array_char_field() +std::array& KeyedCompleteTestType::array_char_field() { return m_array_char_field; } @@ -8778,7 +8778,7 @@ std::array& KeyedCompleteTestType::array_c * @param _array_uint8_field New value to be copied in member array_uint8_field */ void KeyedCompleteTestType::array_uint8_field( - const std::array& _array_uint8_field) + const std::array& _array_uint8_field) { m_array_uint8_field = _array_uint8_field; } @@ -8788,7 +8788,7 @@ void KeyedCompleteTestType::array_uint8_field( * @param _array_uint8_field New value to be moved in member array_uint8_field */ void KeyedCompleteTestType::array_uint8_field( - std::array&& _array_uint8_field) + std::array&& _array_uint8_field) { m_array_uint8_field = std::move(_array_uint8_field); } @@ -8797,7 +8797,7 @@ void KeyedCompleteTestType::array_uint8_field( * @brief This function returns a constant reference to member array_uint8_field * @return Constant reference to member array_uint8_field */ -const std::array& KeyedCompleteTestType::array_uint8_field() const +const std::array& KeyedCompleteTestType::array_uint8_field() const { return m_array_uint8_field; } @@ -8806,7 +8806,7 @@ const std::array& KeyedCompleteTestType * @brief This function returns a reference to member array_uint8_field * @return Reference to member array_uint8_field */ -std::array& KeyedCompleteTestType::array_uint8_field() +std::array& KeyedCompleteTestType::array_uint8_field() { return m_array_uint8_field; } @@ -8817,7 +8817,7 @@ std::array& KeyedCompleteTestType::arra * @param _array_int16_field New value to be copied in member array_int16_field */ void KeyedCompleteTestType::array_int16_field( - const std::array& _array_int16_field) + const std::array& _array_int16_field) { m_array_int16_field = _array_int16_field; } @@ -8827,7 +8827,7 @@ void KeyedCompleteTestType::array_int16_field( * @param _array_int16_field New value to be moved in member array_int16_field */ void KeyedCompleteTestType::array_int16_field( - std::array&& _array_int16_field) + std::array&& _array_int16_field) { m_array_int16_field = std::move(_array_int16_field); } @@ -8836,7 +8836,7 @@ void KeyedCompleteTestType::array_int16_field( * @brief This function returns a constant reference to member array_int16_field * @return Constant reference to member array_int16_field */ -const std::array& KeyedCompleteTestType::array_int16_field() const +const std::array& KeyedCompleteTestType::array_int16_field() const { return m_array_int16_field; } @@ -8845,7 +8845,7 @@ const std::array& KeyedCompleteTestType * @brief This function returns a reference to member array_int16_field * @return Reference to member array_int16_field */ -std::array& KeyedCompleteTestType::array_int16_field() +std::array& KeyedCompleteTestType::array_int16_field() { return m_array_int16_field; } @@ -8856,7 +8856,7 @@ std::array& KeyedCompleteTestType::arra * @param _array_uint16_field New value to be copied in member array_uint16_field */ void KeyedCompleteTestType::array_uint16_field( - const std::array& _array_uint16_field) + const std::array& _array_uint16_field) { m_array_uint16_field = _array_uint16_field; } @@ -8866,7 +8866,7 @@ void KeyedCompleteTestType::array_uint16_field( * @param _array_uint16_field New value to be moved in member array_uint16_field */ void KeyedCompleteTestType::array_uint16_field( - std::array&& _array_uint16_field) + std::array&& _array_uint16_field) { m_array_uint16_field = std::move(_array_uint16_field); } @@ -8875,7 +8875,7 @@ void KeyedCompleteTestType::array_uint16_field( * @brief This function returns a constant reference to member array_uint16_field * @return Constant reference to member array_uint16_field */ -const std::array& KeyedCompleteTestType::array_uint16_field() const +const std::array& KeyedCompleteTestType::array_uint16_field() const { return m_array_uint16_field; } @@ -8884,7 +8884,7 @@ const std::array& KeyedCompleteTestTyp * @brief This function returns a reference to member array_uint16_field * @return Reference to member array_uint16_field */ -std::array& KeyedCompleteTestType::array_uint16_field() +std::array& KeyedCompleteTestType::array_uint16_field() { return m_array_uint16_field; } @@ -8895,7 +8895,7 @@ std::array& KeyedCompleteTestType::arr * @param _array_int32_field New value to be copied in member array_int32_field */ void KeyedCompleteTestType::array_int32_field( - const std::array& _array_int32_field) + const std::array& _array_int32_field) { m_array_int32_field = _array_int32_field; } @@ -8905,7 +8905,7 @@ void KeyedCompleteTestType::array_int32_field( * @param _array_int32_field New value to be moved in member array_int32_field */ void KeyedCompleteTestType::array_int32_field( - std::array&& _array_int32_field) + std::array&& _array_int32_field) { m_array_int32_field = std::move(_array_int32_field); } @@ -8914,7 +8914,7 @@ void KeyedCompleteTestType::array_int32_field( * @brief This function returns a constant reference to member array_int32_field * @return Constant reference to member array_int32_field */ -const std::array& KeyedCompleteTestType::array_int32_field() const +const std::array& KeyedCompleteTestType::array_int32_field() const { return m_array_int32_field; } @@ -8923,7 +8923,7 @@ const std::array& KeyedCompleteTestType * @brief This function returns a reference to member array_int32_field * @return Reference to member array_int32_field */ -std::array& KeyedCompleteTestType::array_int32_field() +std::array& KeyedCompleteTestType::array_int32_field() { return m_array_int32_field; } @@ -8934,7 +8934,7 @@ std::array& KeyedCompleteTestType::arra * @param _array_uint32_field New value to be copied in member array_uint32_field */ void KeyedCompleteTestType::array_uint32_field( - const std::array& _array_uint32_field) + const std::array& _array_uint32_field) { m_array_uint32_field = _array_uint32_field; } @@ -8944,7 +8944,7 @@ void KeyedCompleteTestType::array_uint32_field( * @param _array_uint32_field New value to be moved in member array_uint32_field */ void KeyedCompleteTestType::array_uint32_field( - std::array&& _array_uint32_field) + std::array&& _array_uint32_field) { m_array_uint32_field = std::move(_array_uint32_field); } @@ -8953,7 +8953,7 @@ void KeyedCompleteTestType::array_uint32_field( * @brief This function returns a constant reference to member array_uint32_field * @return Constant reference to member array_uint32_field */ -const std::array& KeyedCompleteTestType::array_uint32_field() const +const std::array& KeyedCompleteTestType::array_uint32_field() const { return m_array_uint32_field; } @@ -8962,7 +8962,7 @@ const std::array& KeyedCompleteTestTyp * @brief This function returns a reference to member array_uint32_field * @return Reference to member array_uint32_field */ -std::array& KeyedCompleteTestType::array_uint32_field() +std::array& KeyedCompleteTestType::array_uint32_field() { return m_array_uint32_field; } @@ -8973,7 +8973,7 @@ std::array& KeyedCompleteTestType::arr * @param _array_int64_field New value to be copied in member array_int64_field */ void KeyedCompleteTestType::array_int64_field( - const std::array& _array_int64_field) + const std::array& _array_int64_field) { m_array_int64_field = _array_int64_field; } @@ -8983,7 +8983,7 @@ void KeyedCompleteTestType::array_int64_field( * @param _array_int64_field New value to be moved in member array_int64_field */ void KeyedCompleteTestType::array_int64_field( - std::array&& _array_int64_field) + std::array&& _array_int64_field) { m_array_int64_field = std::move(_array_int64_field); } @@ -8992,7 +8992,7 @@ void KeyedCompleteTestType::array_int64_field( * @brief This function returns a constant reference to member array_int64_field * @return Constant reference to member array_int64_field */ -const std::array& KeyedCompleteTestType::array_int64_field() const +const std::array& KeyedCompleteTestType::array_int64_field() const { return m_array_int64_field; } @@ -9001,7 +9001,7 @@ const std::array& KeyedCompleteTestType * @brief This function returns a reference to member array_int64_field * @return Reference to member array_int64_field */ -std::array& KeyedCompleteTestType::array_int64_field() +std::array& KeyedCompleteTestType::array_int64_field() { return m_array_int64_field; } @@ -9012,7 +9012,7 @@ std::array& KeyedCompleteTestType::arra * @param _array_uint64_field New value to be copied in member array_uint64_field */ void KeyedCompleteTestType::array_uint64_field( - const std::array& _array_uint64_field) + const std::array& _array_uint64_field) { m_array_uint64_field = _array_uint64_field; } @@ -9022,7 +9022,7 @@ void KeyedCompleteTestType::array_uint64_field( * @param _array_uint64_field New value to be moved in member array_uint64_field */ void KeyedCompleteTestType::array_uint64_field( - std::array&& _array_uint64_field) + std::array&& _array_uint64_field) { m_array_uint64_field = std::move(_array_uint64_field); } @@ -9031,7 +9031,7 @@ void KeyedCompleteTestType::array_uint64_field( * @brief This function returns a constant reference to member array_uint64_field * @return Constant reference to member array_uint64_field */ -const std::array& KeyedCompleteTestType::array_uint64_field() const +const std::array& KeyedCompleteTestType::array_uint64_field() const { return m_array_uint64_field; } @@ -9040,7 +9040,7 @@ const std::array& KeyedCompleteTestTyp * @brief This function returns a reference to member array_uint64_field * @return Reference to member array_uint64_field */ -std::array& KeyedCompleteTestType::array_uint64_field() +std::array& KeyedCompleteTestType::array_uint64_field() { return m_array_uint64_field; } @@ -9051,7 +9051,7 @@ std::array& KeyedCompleteTestType::arr * @param _array_float_field New value to be copied in member array_float_field */ void KeyedCompleteTestType::array_float_field( - const std::array& _array_float_field) + const std::array& _array_float_field) { m_array_float_field = _array_float_field; } @@ -9061,7 +9061,7 @@ void KeyedCompleteTestType::array_float_field( * @param _array_float_field New value to be moved in member array_float_field */ void KeyedCompleteTestType::array_float_field( - std::array&& _array_float_field) + std::array&& _array_float_field) { m_array_float_field = std::move(_array_float_field); } @@ -9070,7 +9070,7 @@ void KeyedCompleteTestType::array_float_field( * @brief This function returns a constant reference to member array_float_field * @return Constant reference to member array_float_field */ -const std::array& KeyedCompleteTestType::array_float_field() const +const std::array& KeyedCompleteTestType::array_float_field() const { return m_array_float_field; } @@ -9079,7 +9079,7 @@ const std::array& KeyedCompleteTestType:: * @brief This function returns a reference to member array_float_field * @return Reference to member array_float_field */ -std::array& KeyedCompleteTestType::array_float_field() +std::array& KeyedCompleteTestType::array_float_field() { return m_array_float_field; } @@ -9090,7 +9090,7 @@ std::array& KeyedCompleteTestType::array_ * @param _array_double_field New value to be copied in member array_double_field */ void KeyedCompleteTestType::array_double_field( - const std::array& _array_double_field) + const std::array& _array_double_field) { m_array_double_field = _array_double_field; } @@ -9100,7 +9100,7 @@ void KeyedCompleteTestType::array_double_field( * @param _array_double_field New value to be moved in member array_double_field */ void KeyedCompleteTestType::array_double_field( - std::array&& _array_double_field) + std::array&& _array_double_field) { m_array_double_field = std::move(_array_double_field); } @@ -9109,7 +9109,7 @@ void KeyedCompleteTestType::array_double_field( * @brief This function returns a constant reference to member array_double_field * @return Constant reference to member array_double_field */ -const std::array& KeyedCompleteTestType::array_double_field() const +const std::array& KeyedCompleteTestType::array_double_field() const { return m_array_double_field; } @@ -9118,7 +9118,7 @@ const std::array& KeyedCompleteTestType: * @brief This function returns a reference to member array_double_field * @return Reference to member array_double_field */ -std::array& KeyedCompleteTestType::array_double_field() +std::array& KeyedCompleteTestType::array_double_field() { return m_array_double_field; } @@ -9129,7 +9129,7 @@ std::array& KeyedCompleteTestType::array * @param _array_bool_field New value to be copied in member array_bool_field */ void KeyedCompleteTestType::array_bool_field( - const std::array& _array_bool_field) + const std::array& _array_bool_field) { m_array_bool_field = _array_bool_field; } @@ -9139,7 +9139,7 @@ void KeyedCompleteTestType::array_bool_field( * @param _array_bool_field New value to be moved in member array_bool_field */ void KeyedCompleteTestType::array_bool_field( - std::array&& _array_bool_field) + std::array&& _array_bool_field) { m_array_bool_field = std::move(_array_bool_field); } @@ -9148,7 +9148,7 @@ void KeyedCompleteTestType::array_bool_field( * @brief This function returns a constant reference to member array_bool_field * @return Constant reference to member array_bool_field */ -const std::array& KeyedCompleteTestType::array_bool_field() const +const std::array& KeyedCompleteTestType::array_bool_field() const { return m_array_bool_field; } @@ -9157,7 +9157,7 @@ const std::array& KeyedCompleteTestType::a * @brief This function returns a reference to member array_bool_field * @return Reference to member array_bool_field */ -std::array& KeyedCompleteTestType::array_bool_field() +std::array& KeyedCompleteTestType::array_bool_field() { return m_array_bool_field; } @@ -9168,7 +9168,7 @@ std::array& KeyedCompleteTestType::array_b * @param _array_enum_field New value to be copied in member array_enum_field */ void KeyedCompleteTestType::array_enum_field( - const std::array& _array_enum_field) + const std::array& _array_enum_field) { m_array_enum_field = _array_enum_field; } @@ -9178,7 +9178,7 @@ void KeyedCompleteTestType::array_enum_field( * @param _array_enum_field New value to be moved in member array_enum_field */ void KeyedCompleteTestType::array_enum_field( - std::array&& _array_enum_field) + std::array&& _array_enum_field) { m_array_enum_field = std::move(_array_enum_field); } @@ -9187,7 +9187,7 @@ void KeyedCompleteTestType::array_enum_field( * @brief This function returns a constant reference to member array_enum_field * @return Constant reference to member array_enum_field */ -const std::array& KeyedCompleteTestType::array_enum_field() const +const std::array& KeyedCompleteTestType::array_enum_field() const { return m_array_enum_field; } @@ -9196,7 +9196,7 @@ const std::array& KeyedCo * @brief This function returns a reference to member array_enum_field * @return Reference to member array_enum_field */ -std::array& KeyedCompleteTestType::array_enum_field() +std::array& KeyedCompleteTestType::array_enum_field() { return m_array_enum_field; } @@ -9207,7 +9207,7 @@ std::array& KeyedComplete * @param _array_enum2_field New value to be copied in member array_enum2_field */ void KeyedCompleteTestType::array_enum2_field( - const std::array& _array_enum2_field) + const std::array& _array_enum2_field) { m_array_enum2_field = _array_enum2_field; } @@ -9217,7 +9217,7 @@ void KeyedCompleteTestType::array_enum2_field( * @param _array_enum2_field New value to be moved in member array_enum2_field */ void KeyedCompleteTestType::array_enum2_field( - std::array&& _array_enum2_field) + std::array&& _array_enum2_field) { m_array_enum2_field = std::move(_array_enum2_field); } @@ -9226,7 +9226,7 @@ void KeyedCompleteTestType::array_enum2_field( * @brief This function returns a constant reference to member array_enum2_field * @return Constant reference to member array_enum2_field */ -const std::array& KeyedCompleteTestType::array_enum2_field() const +const std::array& KeyedCompleteTestType::array_enum2_field() const { return m_array_enum2_field; } @@ -9235,7 +9235,7 @@ const std::array& Keye * @brief This function returns a reference to member array_enum2_field * @return Reference to member array_enum2_field */ -std::array& KeyedCompleteTestType::array_enum2_field() +std::array& KeyedCompleteTestType::array_enum2_field() { return m_array_enum2_field; } @@ -9246,7 +9246,7 @@ std::array& KeyedCompl * @param _array_struct_field New value to be copied in member array_struct_field */ void KeyedCompleteTestType::array_struct_field( - const std::array& _array_struct_field) + const std::array& _array_struct_field) { m_array_struct_field = _array_struct_field; } @@ -9256,7 +9256,7 @@ void KeyedCompleteTestType::array_struct_field( * @param _array_struct_field New value to be moved in member array_struct_field */ void KeyedCompleteTestType::array_struct_field( - std::array&& _array_struct_field) + std::array&& _array_struct_field) { m_array_struct_field = std::move(_array_struct_field); } @@ -9265,7 +9265,7 @@ void KeyedCompleteTestType::array_struct_field( * @brief This function returns a constant reference to member array_struct_field * @return Constant reference to member array_struct_field */ -const std::array& KeyedCompleteTestType::array_struct_field() const +const std::array& KeyedCompleteTestType::array_struct_field() const { return m_array_struct_field; } @@ -9274,7 +9274,7 @@ const std::array& Ke * @brief This function returns a reference to member array_struct_field * @return Reference to member array_struct_field */ -std::array& KeyedCompleteTestType::array_struct_field() +std::array& KeyedCompleteTestType::array_struct_field() { return m_array_struct_field; } diff --git a/fastdds_python/test/types/test_modulesv1.h b/fastdds_python/test/types/test_modulesv1.h index c7812c30..e3bf4e8e 100644 --- a/fastdds_python/test/types/test_modulesv1.h +++ b/fastdds_python/test/types/test_modulesv1.h @@ -1214,26 +1214,26 @@ namespace eprosima { * @param _array_char_field New value to be copied in member array_char_field */ eProsima_user_DllExport void array_char_field( - const std::array& _array_char_field); + const std::array& _array_char_field); /*! * @brief This function moves the value in member array_char_field * @param _array_char_field New value to be moved in member array_char_field */ eProsima_user_DllExport void array_char_field( - std::array&& _array_char_field); + std::array&& _array_char_field); /*! * @brief This function returns a constant reference to member array_char_field * @return Constant reference to member array_char_field */ - eProsima_user_DllExport const std::array& array_char_field() const; + eProsima_user_DllExport const std::array& array_char_field() const; /*! * @brief This function returns a reference to member array_char_field * @return Reference to member array_char_field */ - eProsima_user_DllExport std::array& array_char_field(); + eProsima_user_DllExport std::array& array_char_field(); /*! @@ -1241,26 +1241,26 @@ namespace eprosima { * @param _array_uint8_field New value to be copied in member array_uint8_field */ eProsima_user_DllExport void array_uint8_field( - const std::array& _array_uint8_field); + const std::array& _array_uint8_field); /*! * @brief This function moves the value in member array_uint8_field * @param _array_uint8_field New value to be moved in member array_uint8_field */ eProsima_user_DllExport void array_uint8_field( - std::array&& _array_uint8_field); + std::array&& _array_uint8_field); /*! * @brief This function returns a constant reference to member array_uint8_field * @return Constant reference to member array_uint8_field */ - eProsima_user_DllExport const std::array& array_uint8_field() const; + eProsima_user_DllExport const std::array& array_uint8_field() const; /*! * @brief This function returns a reference to member array_uint8_field * @return Reference to member array_uint8_field */ - eProsima_user_DllExport std::array& array_uint8_field(); + eProsima_user_DllExport std::array& array_uint8_field(); /*! @@ -1268,26 +1268,26 @@ namespace eprosima { * @param _array_int16_field New value to be copied in member array_int16_field */ eProsima_user_DllExport void array_int16_field( - const std::array& _array_int16_field); + const std::array& _array_int16_field); /*! * @brief This function moves the value in member array_int16_field * @param _array_int16_field New value to be moved in member array_int16_field */ eProsima_user_DllExport void array_int16_field( - std::array&& _array_int16_field); + std::array&& _array_int16_field); /*! * @brief This function returns a constant reference to member array_int16_field * @return Constant reference to member array_int16_field */ - eProsima_user_DllExport const std::array& array_int16_field() const; + eProsima_user_DllExport const std::array& array_int16_field() const; /*! * @brief This function returns a reference to member array_int16_field * @return Reference to member array_int16_field */ - eProsima_user_DllExport std::array& array_int16_field(); + eProsima_user_DllExport std::array& array_int16_field(); /*! @@ -1295,26 +1295,26 @@ namespace eprosima { * @param _array_uint16_field New value to be copied in member array_uint16_field */ eProsima_user_DllExport void array_uint16_field( - const std::array& _array_uint16_field); + const std::array& _array_uint16_field); /*! * @brief This function moves the value in member array_uint16_field * @param _array_uint16_field New value to be moved in member array_uint16_field */ eProsima_user_DllExport void array_uint16_field( - std::array&& _array_uint16_field); + std::array&& _array_uint16_field); /*! * @brief This function returns a constant reference to member array_uint16_field * @return Constant reference to member array_uint16_field */ - eProsima_user_DllExport const std::array& array_uint16_field() const; + eProsima_user_DllExport const std::array& array_uint16_field() const; /*! * @brief This function returns a reference to member array_uint16_field * @return Reference to member array_uint16_field */ - eProsima_user_DllExport std::array& array_uint16_field(); + eProsima_user_DllExport std::array& array_uint16_field(); /*! @@ -1322,26 +1322,26 @@ namespace eprosima { * @param _array_int32_field New value to be copied in member array_int32_field */ eProsima_user_DllExport void array_int32_field( - const std::array& _array_int32_field); + const std::array& _array_int32_field); /*! * @brief This function moves the value in member array_int32_field * @param _array_int32_field New value to be moved in member array_int32_field */ eProsima_user_DllExport void array_int32_field( - std::array&& _array_int32_field); + std::array&& _array_int32_field); /*! * @brief This function returns a constant reference to member array_int32_field * @return Constant reference to member array_int32_field */ - eProsima_user_DllExport const std::array& array_int32_field() const; + eProsima_user_DllExport const std::array& array_int32_field() const; /*! * @brief This function returns a reference to member array_int32_field * @return Reference to member array_int32_field */ - eProsima_user_DllExport std::array& array_int32_field(); + eProsima_user_DllExport std::array& array_int32_field(); /*! @@ -1349,26 +1349,26 @@ namespace eprosima { * @param _array_uint32_field New value to be copied in member array_uint32_field */ eProsima_user_DllExport void array_uint32_field( - const std::array& _array_uint32_field); + const std::array& _array_uint32_field); /*! * @brief This function moves the value in member array_uint32_field * @param _array_uint32_field New value to be moved in member array_uint32_field */ eProsima_user_DllExport void array_uint32_field( - std::array&& _array_uint32_field); + std::array&& _array_uint32_field); /*! * @brief This function returns a constant reference to member array_uint32_field * @return Constant reference to member array_uint32_field */ - eProsima_user_DllExport const std::array& array_uint32_field() const; + eProsima_user_DllExport const std::array& array_uint32_field() const; /*! * @brief This function returns a reference to member array_uint32_field * @return Reference to member array_uint32_field */ - eProsima_user_DllExport std::array& array_uint32_field(); + eProsima_user_DllExport std::array& array_uint32_field(); /*! @@ -1376,26 +1376,26 @@ namespace eprosima { * @param _array_int64_field New value to be copied in member array_int64_field */ eProsima_user_DllExport void array_int64_field( - const std::array& _array_int64_field); + const std::array& _array_int64_field); /*! * @brief This function moves the value in member array_int64_field * @param _array_int64_field New value to be moved in member array_int64_field */ eProsima_user_DllExport void array_int64_field( - std::array&& _array_int64_field); + std::array&& _array_int64_field); /*! * @brief This function returns a constant reference to member array_int64_field * @return Constant reference to member array_int64_field */ - eProsima_user_DllExport const std::array& array_int64_field() const; + eProsima_user_DllExport const std::array& array_int64_field() const; /*! * @brief This function returns a reference to member array_int64_field * @return Reference to member array_int64_field */ - eProsima_user_DllExport std::array& array_int64_field(); + eProsima_user_DllExport std::array& array_int64_field(); /*! @@ -1403,26 +1403,26 @@ namespace eprosima { * @param _array_uint64_field New value to be copied in member array_uint64_field */ eProsima_user_DllExport void array_uint64_field( - const std::array& _array_uint64_field); + const std::array& _array_uint64_field); /*! * @brief This function moves the value in member array_uint64_field * @param _array_uint64_field New value to be moved in member array_uint64_field */ eProsima_user_DllExport void array_uint64_field( - std::array&& _array_uint64_field); + std::array&& _array_uint64_field); /*! * @brief This function returns a constant reference to member array_uint64_field * @return Constant reference to member array_uint64_field */ - eProsima_user_DllExport const std::array& array_uint64_field() const; + eProsima_user_DllExport const std::array& array_uint64_field() const; /*! * @brief This function returns a reference to member array_uint64_field * @return Reference to member array_uint64_field */ - eProsima_user_DllExport std::array& array_uint64_field(); + eProsima_user_DllExport std::array& array_uint64_field(); /*! @@ -1430,26 +1430,26 @@ namespace eprosima { * @param _array_float_field New value to be copied in member array_float_field */ eProsima_user_DllExport void array_float_field( - const std::array& _array_float_field); + const std::array& _array_float_field); /*! * @brief This function moves the value in member array_float_field * @param _array_float_field New value to be moved in member array_float_field */ eProsima_user_DllExport void array_float_field( - std::array&& _array_float_field); + std::array&& _array_float_field); /*! * @brief This function returns a constant reference to member array_float_field * @return Constant reference to member array_float_field */ - eProsima_user_DllExport const std::array& array_float_field() const; + eProsima_user_DllExport const std::array& array_float_field() const; /*! * @brief This function returns a reference to member array_float_field * @return Reference to member array_float_field */ - eProsima_user_DllExport std::array& array_float_field(); + eProsima_user_DllExport std::array& array_float_field(); /*! @@ -1457,26 +1457,26 @@ namespace eprosima { * @param _array_double_field New value to be copied in member array_double_field */ eProsima_user_DllExport void array_double_field( - const std::array& _array_double_field); + const std::array& _array_double_field); /*! * @brief This function moves the value in member array_double_field * @param _array_double_field New value to be moved in member array_double_field */ eProsima_user_DllExport void array_double_field( - std::array&& _array_double_field); + std::array&& _array_double_field); /*! * @brief This function returns a constant reference to member array_double_field * @return Constant reference to member array_double_field */ - eProsima_user_DllExport const std::array& array_double_field() const; + eProsima_user_DllExport const std::array& array_double_field() const; /*! * @brief This function returns a reference to member array_double_field * @return Reference to member array_double_field */ - eProsima_user_DllExport std::array& array_double_field(); + eProsima_user_DllExport std::array& array_double_field(); /*! @@ -1484,26 +1484,26 @@ namespace eprosima { * @param _array_bool_field New value to be copied in member array_bool_field */ eProsima_user_DllExport void array_bool_field( - const std::array& _array_bool_field); + const std::array& _array_bool_field); /*! * @brief This function moves the value in member array_bool_field * @param _array_bool_field New value to be moved in member array_bool_field */ eProsima_user_DllExport void array_bool_field( - std::array&& _array_bool_field); + std::array&& _array_bool_field); /*! * @brief This function returns a constant reference to member array_bool_field * @return Constant reference to member array_bool_field */ - eProsima_user_DllExport const std::array& array_bool_field() const; + eProsima_user_DllExport const std::array& array_bool_field() const; /*! * @brief This function returns a reference to member array_bool_field * @return Reference to member array_bool_field */ - eProsima_user_DllExport std::array& array_bool_field(); + eProsima_user_DllExport std::array& array_bool_field(); /*! @@ -1511,26 +1511,26 @@ namespace eprosima { * @param _array_enum_field New value to be copied in member array_enum_field */ eProsima_user_DllExport void array_enum_field( - const std::array& _array_enum_field); + const std::array& _array_enum_field); /*! * @brief This function moves the value in member array_enum_field * @param _array_enum_field New value to be moved in member array_enum_field */ eProsima_user_DllExport void array_enum_field( - std::array&& _array_enum_field); + std::array&& _array_enum_field); /*! * @brief This function returns a constant reference to member array_enum_field * @return Constant reference to member array_enum_field */ - eProsima_user_DllExport const std::array& array_enum_field() const; + eProsima_user_DllExport const std::array& array_enum_field() const; /*! * @brief This function returns a reference to member array_enum_field * @return Reference to member array_enum_field */ - eProsima_user_DllExport std::array& array_enum_field(); + eProsima_user_DllExport std::array& array_enum_field(); /*! @@ -1538,26 +1538,26 @@ namespace eprosima { * @param _array_enum2_field New value to be copied in member array_enum2_field */ eProsima_user_DllExport void array_enum2_field( - const std::array& _array_enum2_field); + const std::array& _array_enum2_field); /*! * @brief This function moves the value in member array_enum2_field * @param _array_enum2_field New value to be moved in member array_enum2_field */ eProsima_user_DllExport void array_enum2_field( - std::array&& _array_enum2_field); + std::array&& _array_enum2_field); /*! * @brief This function returns a constant reference to member array_enum2_field * @return Constant reference to member array_enum2_field */ - eProsima_user_DllExport const std::array& array_enum2_field() const; + eProsima_user_DllExport const std::array& array_enum2_field() const; /*! * @brief This function returns a reference to member array_enum2_field * @return Reference to member array_enum2_field */ - eProsima_user_DllExport std::array& array_enum2_field(); + eProsima_user_DllExport std::array& array_enum2_field(); /*! @@ -1565,26 +1565,26 @@ namespace eprosima { * @param _array_struct_field New value to be copied in member array_struct_field */ eProsima_user_DllExport void array_struct_field( - const std::array& _array_struct_field); + const std::array& _array_struct_field); /*! * @brief This function moves the value in member array_struct_field * @param _array_struct_field New value to be moved in member array_struct_field */ eProsima_user_DllExport void array_struct_field( - std::array&& _array_struct_field); + std::array&& _array_struct_field); /*! * @brief This function returns a constant reference to member array_struct_field * @return Constant reference to member array_struct_field */ - eProsima_user_DllExport const std::array& array_struct_field() const; + eProsima_user_DllExport const std::array& array_struct_field() const; /*! * @brief This function returns a reference to member array_struct_field * @return Reference to member array_struct_field */ - eProsima_user_DllExport std::array& array_struct_field(); + eProsima_user_DllExport std::array& array_struct_field(); /*! @@ -2426,20 +2426,20 @@ namespace eprosima { eprosima::test::Color m_enum_opt_field; eprosima::test::Material m_enum2_opt_field; eprosima::test::StructType m_struct_opt_field; - std::array m_array_char_field; - std::array m_array_uint8_field; - std::array m_array_int16_field; - std::array m_array_uint16_field; - std::array m_array_int32_field; - std::array m_array_uint32_field; - std::array m_array_int64_field; - std::array m_array_uint64_field; - std::array m_array_float_field; - std::array m_array_double_field; - std::array m_array_bool_field; - std::array m_array_enum_field; - std::array m_array_enum2_field; - std::array m_array_struct_field; + std::array m_array_char_field; + std::array m_array_uint8_field; + std::array m_array_int16_field; + std::array m_array_uint16_field; + std::array m_array_int32_field; + std::array m_array_uint32_field; + std::array m_array_int64_field; + std::array m_array_uint64_field; + std::array m_array_float_field; + std::array m_array_double_field; + std::array m_array_bool_field; + std::array m_array_enum_field; + std::array m_array_enum2_field; + std::array m_array_struct_field; std::vector m_bounded_sequence_char_field; std::vector m_bounded_sequence_uint8_field; std::vector m_bounded_sequence_int16_field; @@ -3188,26 +3188,26 @@ namespace eprosima { * @param _array_char_field New value to be copied in member array_char_field */ eProsima_user_DllExport void array_char_field( - const std::array& _array_char_field); + const std::array& _array_char_field); /*! * @brief This function moves the value in member array_char_field * @param _array_char_field New value to be moved in member array_char_field */ eProsima_user_DllExport void array_char_field( - std::array&& _array_char_field); + std::array&& _array_char_field); /*! * @brief This function returns a constant reference to member array_char_field * @return Constant reference to member array_char_field */ - eProsima_user_DllExport const std::array& array_char_field() const; + eProsima_user_DllExport const std::array& array_char_field() const; /*! * @brief This function returns a reference to member array_char_field * @return Reference to member array_char_field */ - eProsima_user_DllExport std::array& array_char_field(); + eProsima_user_DllExport std::array& array_char_field(); /*! @@ -3215,26 +3215,26 @@ namespace eprosima { * @param _array_uint8_field New value to be copied in member array_uint8_field */ eProsima_user_DllExport void array_uint8_field( - const std::array& _array_uint8_field); + const std::array& _array_uint8_field); /*! * @brief This function moves the value in member array_uint8_field * @param _array_uint8_field New value to be moved in member array_uint8_field */ eProsima_user_DllExport void array_uint8_field( - std::array&& _array_uint8_field); + std::array&& _array_uint8_field); /*! * @brief This function returns a constant reference to member array_uint8_field * @return Constant reference to member array_uint8_field */ - eProsima_user_DllExport const std::array& array_uint8_field() const; + eProsima_user_DllExport const std::array& array_uint8_field() const; /*! * @brief This function returns a reference to member array_uint8_field * @return Reference to member array_uint8_field */ - eProsima_user_DllExport std::array& array_uint8_field(); + eProsima_user_DllExport std::array& array_uint8_field(); /*! @@ -3242,26 +3242,26 @@ namespace eprosima { * @param _array_int16_field New value to be copied in member array_int16_field */ eProsima_user_DllExport void array_int16_field( - const std::array& _array_int16_field); + const std::array& _array_int16_field); /*! * @brief This function moves the value in member array_int16_field * @param _array_int16_field New value to be moved in member array_int16_field */ eProsima_user_DllExport void array_int16_field( - std::array&& _array_int16_field); + std::array&& _array_int16_field); /*! * @brief This function returns a constant reference to member array_int16_field * @return Constant reference to member array_int16_field */ - eProsima_user_DllExport const std::array& array_int16_field() const; + eProsima_user_DllExport const std::array& array_int16_field() const; /*! * @brief This function returns a reference to member array_int16_field * @return Reference to member array_int16_field */ - eProsima_user_DllExport std::array& array_int16_field(); + eProsima_user_DllExport std::array& array_int16_field(); /*! @@ -3269,26 +3269,26 @@ namespace eprosima { * @param _array_uint16_field New value to be copied in member array_uint16_field */ eProsima_user_DllExport void array_uint16_field( - const std::array& _array_uint16_field); + const std::array& _array_uint16_field); /*! * @brief This function moves the value in member array_uint16_field * @param _array_uint16_field New value to be moved in member array_uint16_field */ eProsima_user_DllExport void array_uint16_field( - std::array&& _array_uint16_field); + std::array&& _array_uint16_field); /*! * @brief This function returns a constant reference to member array_uint16_field * @return Constant reference to member array_uint16_field */ - eProsima_user_DllExport const std::array& array_uint16_field() const; + eProsima_user_DllExport const std::array& array_uint16_field() const; /*! * @brief This function returns a reference to member array_uint16_field * @return Reference to member array_uint16_field */ - eProsima_user_DllExport std::array& array_uint16_field(); + eProsima_user_DllExport std::array& array_uint16_field(); /*! @@ -3296,26 +3296,26 @@ namespace eprosima { * @param _array_int32_field New value to be copied in member array_int32_field */ eProsima_user_DllExport void array_int32_field( - const std::array& _array_int32_field); + const std::array& _array_int32_field); /*! * @brief This function moves the value in member array_int32_field * @param _array_int32_field New value to be moved in member array_int32_field */ eProsima_user_DllExport void array_int32_field( - std::array&& _array_int32_field); + std::array&& _array_int32_field); /*! * @brief This function returns a constant reference to member array_int32_field * @return Constant reference to member array_int32_field */ - eProsima_user_DllExport const std::array& array_int32_field() const; + eProsima_user_DllExport const std::array& array_int32_field() const; /*! * @brief This function returns a reference to member array_int32_field * @return Reference to member array_int32_field */ - eProsima_user_DllExport std::array& array_int32_field(); + eProsima_user_DllExport std::array& array_int32_field(); /*! @@ -3323,26 +3323,26 @@ namespace eprosima { * @param _array_uint32_field New value to be copied in member array_uint32_field */ eProsima_user_DllExport void array_uint32_field( - const std::array& _array_uint32_field); + const std::array& _array_uint32_field); /*! * @brief This function moves the value in member array_uint32_field * @param _array_uint32_field New value to be moved in member array_uint32_field */ eProsima_user_DllExport void array_uint32_field( - std::array&& _array_uint32_field); + std::array&& _array_uint32_field); /*! * @brief This function returns a constant reference to member array_uint32_field * @return Constant reference to member array_uint32_field */ - eProsima_user_DllExport const std::array& array_uint32_field() const; + eProsima_user_DllExport const std::array& array_uint32_field() const; /*! * @brief This function returns a reference to member array_uint32_field * @return Reference to member array_uint32_field */ - eProsima_user_DllExport std::array& array_uint32_field(); + eProsima_user_DllExport std::array& array_uint32_field(); /*! @@ -3350,26 +3350,26 @@ namespace eprosima { * @param _array_int64_field New value to be copied in member array_int64_field */ eProsima_user_DllExport void array_int64_field( - const std::array& _array_int64_field); + const std::array& _array_int64_field); /*! * @brief This function moves the value in member array_int64_field * @param _array_int64_field New value to be moved in member array_int64_field */ eProsima_user_DllExport void array_int64_field( - std::array&& _array_int64_field); + std::array&& _array_int64_field); /*! * @brief This function returns a constant reference to member array_int64_field * @return Constant reference to member array_int64_field */ - eProsima_user_DllExport const std::array& array_int64_field() const; + eProsima_user_DllExport const std::array& array_int64_field() const; /*! * @brief This function returns a reference to member array_int64_field * @return Reference to member array_int64_field */ - eProsima_user_DllExport std::array& array_int64_field(); + eProsima_user_DllExport std::array& array_int64_field(); /*! @@ -3377,26 +3377,26 @@ namespace eprosima { * @param _array_uint64_field New value to be copied in member array_uint64_field */ eProsima_user_DllExport void array_uint64_field( - const std::array& _array_uint64_field); + const std::array& _array_uint64_field); /*! * @brief This function moves the value in member array_uint64_field * @param _array_uint64_field New value to be moved in member array_uint64_field */ eProsima_user_DllExport void array_uint64_field( - std::array&& _array_uint64_field); + std::array&& _array_uint64_field); /*! * @brief This function returns a constant reference to member array_uint64_field * @return Constant reference to member array_uint64_field */ - eProsima_user_DllExport const std::array& array_uint64_field() const; + eProsima_user_DllExport const std::array& array_uint64_field() const; /*! * @brief This function returns a reference to member array_uint64_field * @return Reference to member array_uint64_field */ - eProsima_user_DllExport std::array& array_uint64_field(); + eProsima_user_DllExport std::array& array_uint64_field(); /*! @@ -3404,26 +3404,26 @@ namespace eprosima { * @param _array_float_field New value to be copied in member array_float_field */ eProsima_user_DllExport void array_float_field( - const std::array& _array_float_field); + const std::array& _array_float_field); /*! * @brief This function moves the value in member array_float_field * @param _array_float_field New value to be moved in member array_float_field */ eProsima_user_DllExport void array_float_field( - std::array&& _array_float_field); + std::array&& _array_float_field); /*! * @brief This function returns a constant reference to member array_float_field * @return Constant reference to member array_float_field */ - eProsima_user_DllExport const std::array& array_float_field() const; + eProsima_user_DllExport const std::array& array_float_field() const; /*! * @brief This function returns a reference to member array_float_field * @return Reference to member array_float_field */ - eProsima_user_DllExport std::array& array_float_field(); + eProsima_user_DllExport std::array& array_float_field(); /*! @@ -3431,26 +3431,26 @@ namespace eprosima { * @param _array_double_field New value to be copied in member array_double_field */ eProsima_user_DllExport void array_double_field( - const std::array& _array_double_field); + const std::array& _array_double_field); /*! * @brief This function moves the value in member array_double_field * @param _array_double_field New value to be moved in member array_double_field */ eProsima_user_DllExport void array_double_field( - std::array&& _array_double_field); + std::array&& _array_double_field); /*! * @brief This function returns a constant reference to member array_double_field * @return Constant reference to member array_double_field */ - eProsima_user_DllExport const std::array& array_double_field() const; + eProsima_user_DllExport const std::array& array_double_field() const; /*! * @brief This function returns a reference to member array_double_field * @return Reference to member array_double_field */ - eProsima_user_DllExport std::array& array_double_field(); + eProsima_user_DllExport std::array& array_double_field(); /*! @@ -3458,26 +3458,26 @@ namespace eprosima { * @param _array_bool_field New value to be copied in member array_bool_field */ eProsima_user_DllExport void array_bool_field( - const std::array& _array_bool_field); + const std::array& _array_bool_field); /*! * @brief This function moves the value in member array_bool_field * @param _array_bool_field New value to be moved in member array_bool_field */ eProsima_user_DllExport void array_bool_field( - std::array&& _array_bool_field); + std::array&& _array_bool_field); /*! * @brief This function returns a constant reference to member array_bool_field * @return Constant reference to member array_bool_field */ - eProsima_user_DllExport const std::array& array_bool_field() const; + eProsima_user_DllExport const std::array& array_bool_field() const; /*! * @brief This function returns a reference to member array_bool_field * @return Reference to member array_bool_field */ - eProsima_user_DllExport std::array& array_bool_field(); + eProsima_user_DllExport std::array& array_bool_field(); /*! @@ -3485,26 +3485,26 @@ namespace eprosima { * @param _array_enum_field New value to be copied in member array_enum_field */ eProsima_user_DllExport void array_enum_field( - const std::array& _array_enum_field); + const std::array& _array_enum_field); /*! * @brief This function moves the value in member array_enum_field * @param _array_enum_field New value to be moved in member array_enum_field */ eProsima_user_DllExport void array_enum_field( - std::array&& _array_enum_field); + std::array&& _array_enum_field); /*! * @brief This function returns a constant reference to member array_enum_field * @return Constant reference to member array_enum_field */ - eProsima_user_DllExport const std::array& array_enum_field() const; + eProsima_user_DllExport const std::array& array_enum_field() const; /*! * @brief This function returns a reference to member array_enum_field * @return Reference to member array_enum_field */ - eProsima_user_DllExport std::array& array_enum_field(); + eProsima_user_DllExport std::array& array_enum_field(); /*! @@ -3512,26 +3512,26 @@ namespace eprosima { * @param _array_enum2_field New value to be copied in member array_enum2_field */ eProsima_user_DllExport void array_enum2_field( - const std::array& _array_enum2_field); + const std::array& _array_enum2_field); /*! * @brief This function moves the value in member array_enum2_field * @param _array_enum2_field New value to be moved in member array_enum2_field */ eProsima_user_DllExport void array_enum2_field( - std::array&& _array_enum2_field); + std::array&& _array_enum2_field); /*! * @brief This function returns a constant reference to member array_enum2_field * @return Constant reference to member array_enum2_field */ - eProsima_user_DllExport const std::array& array_enum2_field() const; + eProsima_user_DllExport const std::array& array_enum2_field() const; /*! * @brief This function returns a reference to member array_enum2_field * @return Reference to member array_enum2_field */ - eProsima_user_DllExport std::array& array_enum2_field(); + eProsima_user_DllExport std::array& array_enum2_field(); /*! @@ -3539,26 +3539,26 @@ namespace eprosima { * @param _array_struct_field New value to be copied in member array_struct_field */ eProsima_user_DllExport void array_struct_field( - const std::array& _array_struct_field); + const std::array& _array_struct_field); /*! * @brief This function moves the value in member array_struct_field * @param _array_struct_field New value to be moved in member array_struct_field */ eProsima_user_DllExport void array_struct_field( - std::array&& _array_struct_field); + std::array&& _array_struct_field); /*! * @brief This function returns a constant reference to member array_struct_field * @return Constant reference to member array_struct_field */ - eProsima_user_DllExport const std::array& array_struct_field() const; + eProsima_user_DllExport const std::array& array_struct_field() const; /*! * @brief This function returns a reference to member array_struct_field * @return Reference to member array_struct_field */ - eProsima_user_DllExport std::array& array_struct_field(); + eProsima_user_DllExport std::array& array_struct_field(); /*! @@ -4401,20 +4401,20 @@ namespace eprosima { eprosima::test::Color m_enum_opt_field; eprosima::test::Material m_enum2_opt_field; eprosima::test::StructType m_struct_opt_field; - std::array m_array_char_field; - std::array m_array_uint8_field; - std::array m_array_int16_field; - std::array m_array_uint16_field; - std::array m_array_int32_field; - std::array m_array_uint32_field; - std::array m_array_int64_field; - std::array m_array_uint64_field; - std::array m_array_float_field; - std::array m_array_double_field; - std::array m_array_bool_field; - std::array m_array_enum_field; - std::array m_array_enum2_field; - std::array m_array_struct_field; + std::array m_array_char_field; + std::array m_array_uint8_field; + std::array m_array_int16_field; + std::array m_array_uint16_field; + std::array m_array_int32_field; + std::array m_array_uint32_field; + std::array m_array_int64_field; + std::array m_array_uint64_field; + std::array m_array_float_field; + std::array m_array_double_field; + std::array m_array_bool_field; + std::array m_array_enum_field; + std::array m_array_enum2_field; + std::array m_array_struct_field; std::vector m_bounded_sequence_char_field; std::vector m_bounded_sequence_uint8_field; std::vector m_bounded_sequence_int16_field; diff --git a/fastdds_python_examples/HelloWorldExample/HelloWorld.i b/fastdds_python_examples/HelloWorldExample/HelloWorld.i index 9194d041..5af81f0a 100644 --- a/fastdds_python_examples/HelloWorldExample/HelloWorld.i +++ b/fastdds_python_examples/HelloWorldExample/HelloWorld.i @@ -79,6 +79,7 @@ namespace swig { // Avoid a warning ignoring all but one %ignore HelloWorld::index(uint32_t&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -89,6 +90,7 @@ namespace swig { %ignore HelloWorld::message(std::string&&); + // Overloaded getter methods shadow each other and are equivalent in python // Const accesors produced constant enums instead of arrays/dictionaries when used // We ignore them to prevent this @@ -115,6 +117,7 @@ namespace swig { // Include the class interfaces %include "HelloWorld.h" +%include "HelloWorldv1.h" // Include the corresponding TopicDataType %include "HelloWorldPubSubTypes.i" From 46de2f71d7ac708bcf1dfb2e9ecf9d8341d63c4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Gonz=C3=A1lez=20Moreno?= Date: Tue, 14 Nov 2023 15:22:49 +0100 Subject: [PATCH 08/10] Refs #19760. Fix ci MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ricardo González Moreno Signed-off-by: EduPonz --- .github/workflows/build_and_test.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index cf96446b..0908fa5f 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -44,6 +44,9 @@ jobs: Invoke-WebRequest -Uri https://github.com/ros2/choco-packages/releases/download/2020-02-24/asio.1.12.1.nupkg -OutFile "$pwdpath/choco_packages/asio.1.12.1.nupkg" Invoke-WebRequest -Uri https://github.com/ros2/choco-packages/releases/download/2020-02-24/tinyxml2.6.0.0.nupkg -OutFile "$pwdpath/choco_packages/tinyxml2.6.0.0.nupkg" choco install -y -s "$pwdpath/choco_packages" asio tinyxml2 + Set-Item -Force -Path "env:PATH" -Value "C:\ProgramData\chocolatey\lib\asio;C:\ProgramData\chocolatey\lib\tinyxml2;C:\ProgramData\chocolatey\lib\tinyxml2\lib;$env:PATH" + echo "PATH=$env:PATH" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + - name: Install swig shell: pwsh From 99aa0d3e58b0982a2f2b278cc45efb71eef6dd23 Mon Sep 17 00:00:00 2001 From: EduPonz Date: Fri, 17 Nov 2023 09:39:39 +0100 Subject: [PATCH 09/10] Refs #19760. Bump version to 1.3.1 Signed-off-by: EduPonz --- fastdds_python/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastdds_python/CMakeLists.txt b/fastdds_python/CMakeLists.txt index ab5e4af8..48585c76 100644 --- a/fastdds_python/CMakeLists.txt +++ b/fastdds_python/CMakeLists.txt @@ -24,7 +24,7 @@ if(POLICY CMP0086) cmake_policy(SET CMP0086 NEW) endif() -project(fastdds_python VERSION 1.3.0) +project(fastdds_python VERSION 1.3.1) # Set BUILD_TESTING to OFF by default. if(NOT BUILD_TESTING) From bd9dfd22e2fa4b99cf35b0431f543cd5ce9332c6 Mon Sep 17 00:00:00 2001 From: EduPonz Date: Fri, 17 Nov 2023 09:42:19 +0100 Subject: [PATCH 10/10] Refs #19760. Pass DCO if commits are GPL signed Signed-off-by: EduPonz --- .github/dco.yml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .github/dco.yml diff --git a/.github/dco.yml b/.github/dco.yml new file mode 100644 index 00000000..0c4b142e --- /dev/null +++ b/.github/dco.yml @@ -0,0 +1,2 @@ +require: + members: false