Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refs #19036: Update generate files
Browse files Browse the repository at this point in the history
Signed-off-by: elianalf <[email protected]>
elianalf committed Aug 2, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 38efab6 commit 07ad4af
Showing 9 changed files with 756 additions and 16 deletions.
356 changes: 355 additions & 1 deletion fastdds_python/test/types/test_completeCdrAux.ipp
Original file line number Diff line number Diff line change
@@ -217,8 +217,43 @@ void serialize_key(
eprosima::fastcdr::Cdr& scdr,
const StructType& data)
{
extern void serialize_key(
Cdr& scdr,
const eprosima::test2::StructType2& data);


static_cast<void>(scdr);
static_cast<void>(data);
scdr << data.char_field();

scdr << data.uint8_field();

scdr << data.int16_field();

scdr << data.uint16_field();

scdr << data.int32_field();

scdr << data.uint32_field();

scdr << data.int64_field();

scdr << data.uint64_field();

scdr << data.float_field();

scdr << data.double_field();

scdr << data.bool_field();

scdr << data.string_field();

scdr << data.enum_field();

scdr << data.enum2_field();

serialize_key(scdr, data.included_module_struct());

}


@@ -863,8 +898,262 @@ void serialize_key(
eprosima::fastcdr::Cdr& scdr,
const CompleteTestType& data)
{
extern void serialize_key(
Cdr& scdr,
const StructType& data);















extern void serialize_key(
Cdr& scdr,
const StructType& data);












































static_cast<void>(scdr);
static_cast<void>(data);
scdr << data.char_field();

scdr << data.uint8_field();

scdr << data.int16_field();

scdr << data.uint16_field();

scdr << data.int32_field();

scdr << data.uint32_field();

scdr << data.int64_field();

scdr << data.uint64_field();

scdr << data.float_field();

scdr << data.double_field();

scdr << data.bool_field();

scdr << data.string_field();

scdr << data.enum_field();

scdr << data.enum2_field();

serialize_key(scdr, data.struct_field());

if (data.char_opt_field().has_value())
{
scdr << data.char_opt_field().value();
}

if (data.uint8_opt_field().has_value())
{
scdr << data.uint8_opt_field().value();
}

if (data.int16_opt_field().has_value())
{
scdr << data.int16_opt_field().value();
}

if (data.uint16_opt_field().has_value())
{
scdr << data.uint16_opt_field().value();
}

if (data.int32_opt_field().has_value())
{
scdr << data.int32_opt_field().value();
}

if (data.uint32_opt_field().has_value())
{
scdr << data.uint32_opt_field().value();
}

if (data.int64_opt_field().has_value())
{
scdr << data.int64_opt_field().value();
}

if (data.uint64_opt_field().has_value())
{
scdr << data.uint64_opt_field().value();
}

if (data.float_opt_field().has_value())
{
scdr << data.float_opt_field().value();
}

if (data.double_opt_field().has_value())
{
scdr << data.double_opt_field().value();
}

if (data.bool_opt_field().has_value())
{
scdr << data.bool_opt_field().value();
}

if (data.string_opt_field().has_value())
{
scdr << data.string_opt_field().value();
}

if (data.enum_opt_field().has_value())
{
scdr << data.enum_opt_field().value();
}

if (data.enum2_opt_field().has_value())
{
scdr << data.enum2_opt_field().value();
}

if (data.struct_opt_field().has_value())
{
serialize_key(scdr, data.struct_opt_field().value());
}

scdr << data.array_char_field();

scdr << data.array_uint8_field();

scdr << data.array_int16_field();

scdr << data.array_uint16_field();

scdr << data.array_int32_field();

scdr << data.array_uint32_field();

scdr << data.array_int64_field();

scdr << data.array_uint64_field();

scdr << data.array_float_field();

scdr << data.array_double_field();

scdr << data.array_bool_field();

scdr << data.array_enum_field();

scdr << data.array_enum2_field();

scdr << data.array_struct_field();

scdr << data.bounded_sequence_char_field();

scdr << data.bounded_sequence_uint8_field();

scdr << data.bounded_sequence_int16_field();

scdr << data.bounded_sequence_uint16_field();

scdr << data.bounded_sequence_int32_field();

scdr << data.bounded_sequence_uint32_field();

scdr << data.bounded_sequence_int64_field();

scdr << data.bounded_sequence_uint64_field();

scdr << data.bounded_sequence_float_field();

scdr << data.bounded_sequence_double_field();

scdr << data.bounded_sequence_bool_field();

scdr << data.bounded_sequence_enum_field();

scdr << data.bounded_sequence_enum2_field();

scdr << data.bounded_sequence_struct_field();

scdr << data.unbounded_sequence_char_field();

scdr << data.unbounded_sequence_uint8_field();

scdr << data.unbounded_sequence_int16_field();

scdr << data.unbounded_sequence_uint16_field();

scdr << data.unbounded_sequence_int32_field();

scdr << data.unbounded_sequence_uint32_field();

scdr << data.unbounded_sequence_int64_field();

scdr << data.unbounded_sequence_uint64_field();

scdr << data.unbounded_sequence_float_field();

scdr << data.unbounded_sequence_double_field();

scdr << data.unbounded_sequence_bool_field();

scdr << data.unbounded_sequence_enum_field();

scdr << data.unbounded_sequence_enum2_field();

scdr << data.unbounded_sequence_struct_field();

}


@@ -1515,9 +1804,74 @@ void serialize_key(
eprosima::fastcdr::Cdr& scdr,
const KeyedCompleteTestType& data)
{
extern void serialize_key(
Cdr& scdr,
const StructType& data);















extern void serialize_key(
Cdr& scdr,
const StructType& data);












































static_cast<void>(scdr);
static_cast<void>(data);
scdr << data.id();
scdr << data.id();



Loading

0 comments on commit 07ad4af

Please sign in to comment.