1616 * @file test_completePubSubTypes.cpp
1717 * This header file contains the implementation of the serialization functions.
1818 *
19- * This file was generated by the tool fastddsgen.
19+ * This file was generated by the tool fastddsgen (version: 4.1.0) .
2020 */
2121
2222#include " test_completePubSubTypes.hpp"
@@ -56,7 +56,7 @@ bool StructTypePubSubType::serialize(
5656 SerializedPayload_t& payload,
5757 DataRepresentationId_t data_representation)
5858{
59- const StructType* p_type = static_cast <const StructType*>(data);
59+ const :: StructType* p_type = static_cast <const :: StructType*>(data);
6060
6161 // Object that manages the raw buffer.
6262 eprosima::fastcdr::FastBuffer fastbuffer (reinterpret_cast <char *>(payload.data ), payload.max_size );
@@ -95,7 +95,7 @@ bool StructTypePubSubType::deserialize(
9595 try
9696 {
9797 // Convert DATA to pointer of your type
98- StructType* p_type = static_cast <StructType*>(data);
98+ :: StructType* p_type = static_cast <:: StructType*>(data);
9999
100100 // Object that manages the raw buffer.
101101 eprosima::fastcdr::FastBuffer fastbuffer (reinterpret_cast <char *>(payload.data ), payload.length );
@@ -129,7 +129,7 @@ uint32_t StructTypePubSubType::calculate_serialized_size(
129129 eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2);
130130 size_t current_alignment {0 };
131131 return static_cast <uint32_t >(calculator.calculate_serialized_size (
132- *static_cast <const StructType*>(data), current_alignment)) +
132+ *static_cast <const :: StructType*>(data), current_alignment)) +
133133 4u /* encapsulation*/ ;
134134 }
135135 catch (eprosima::fastcdr::exception::Exception& /* exception*/ )
@@ -140,13 +140,13 @@ uint32_t StructTypePubSubType::calculate_serialized_size(
140140
141141void * StructTypePubSubType::create_data ()
142142{
143- return reinterpret_cast <void *>(new StructType ());
143+ return reinterpret_cast <void *>(new :: StructType ());
144144}
145145
146146void StructTypePubSubType::delete_data (
147147 void * data)
148148{
149- delete (reinterpret_cast <StructType*>(data));
149+ delete (reinterpret_cast <:: StructType*>(data));
150150}
151151
152152bool StructTypePubSubType::compute_key (
@@ -159,7 +159,7 @@ bool StructTypePubSubType::compute_key(
159159 return false ;
160160 }
161161
162- StructType data;
162+ :: StructType data;
163163 if (deserialize (payload, static_cast <void *>(&data)))
164164 {
165165 return compute_key (static_cast <void *>(&data), handle, force_md5);
@@ -178,7 +178,7 @@ bool StructTypePubSubType::compute_key(
178178 return false ;
179179 }
180180
181- const StructType* p_type = static_cast <const StructType*>(data);
181+ const :: StructType* p_type = static_cast <const :: StructType*>(data);
182182
183183 // Object that manages the raw buffer.
184184 eprosima::fastcdr::FastBuffer fastbuffer (reinterpret_cast <char *>(key_buffer_),
@@ -238,7 +238,7 @@ bool CompleteTestTypePubSubType::serialize(
238238 SerializedPayload_t& payload,
239239 DataRepresentationId_t data_representation)
240240{
241- const CompleteTestType* p_type = static_cast <const CompleteTestType*>(data);
241+ const :: CompleteTestType* p_type = static_cast <const :: CompleteTestType*>(data);
242242
243243 // Object that manages the raw buffer.
244244 eprosima::fastcdr::FastBuffer fastbuffer (reinterpret_cast <char *>(payload.data ), payload.max_size );
@@ -277,7 +277,7 @@ bool CompleteTestTypePubSubType::deserialize(
277277 try
278278 {
279279 // Convert DATA to pointer of your type
280- CompleteTestType* p_type = static_cast <CompleteTestType*>(data);
280+ :: CompleteTestType* p_type = static_cast <:: CompleteTestType*>(data);
281281
282282 // Object that manages the raw buffer.
283283 eprosima::fastcdr::FastBuffer fastbuffer (reinterpret_cast <char *>(payload.data ), payload.length );
@@ -311,7 +311,7 @@ uint32_t CompleteTestTypePubSubType::calculate_serialized_size(
311311 eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2);
312312 size_t current_alignment {0 };
313313 return static_cast <uint32_t >(calculator.calculate_serialized_size (
314- *static_cast <const CompleteTestType*>(data), current_alignment)) +
314+ *static_cast <const :: CompleteTestType*>(data), current_alignment)) +
315315 4u /* encapsulation*/ ;
316316 }
317317 catch (eprosima::fastcdr::exception::Exception& /* exception*/ )
@@ -322,13 +322,13 @@ uint32_t CompleteTestTypePubSubType::calculate_serialized_size(
322322
323323void * CompleteTestTypePubSubType::create_data ()
324324{
325- return reinterpret_cast <void *>(new CompleteTestType ());
325+ return reinterpret_cast <void *>(new :: CompleteTestType ());
326326}
327327
328328void CompleteTestTypePubSubType::delete_data (
329329 void * data)
330330{
331- delete (reinterpret_cast <CompleteTestType*>(data));
331+ delete (reinterpret_cast <:: CompleteTestType*>(data));
332332}
333333
334334bool CompleteTestTypePubSubType::compute_key (
@@ -341,7 +341,7 @@ bool CompleteTestTypePubSubType::compute_key(
341341 return false ;
342342 }
343343
344- CompleteTestType data;
344+ :: CompleteTestType data;
345345 if (deserialize (payload, static_cast <void *>(&data)))
346346 {
347347 return compute_key (static_cast <void *>(&data), handle, force_md5);
@@ -360,7 +360,7 @@ bool CompleteTestTypePubSubType::compute_key(
360360 return false ;
361361 }
362362
363- const CompleteTestType* p_type = static_cast <const CompleteTestType*>(data);
363+ const :: CompleteTestType* p_type = static_cast <const :: CompleteTestType*>(data);
364364
365365 // Object that manages the raw buffer.
366366 eprosima::fastcdr::FastBuffer fastbuffer (reinterpret_cast <char *>(key_buffer_),
@@ -420,7 +420,7 @@ bool KeyedCompleteTestTypePubSubType::serialize(
420420 SerializedPayload_t& payload,
421421 DataRepresentationId_t data_representation)
422422{
423- const KeyedCompleteTestType* p_type = static_cast <const KeyedCompleteTestType*>(data);
423+ const :: KeyedCompleteTestType* p_type = static_cast <const :: KeyedCompleteTestType*>(data);
424424
425425 // Object that manages the raw buffer.
426426 eprosima::fastcdr::FastBuffer fastbuffer (reinterpret_cast <char *>(payload.data ), payload.max_size );
@@ -459,7 +459,7 @@ bool KeyedCompleteTestTypePubSubType::deserialize(
459459 try
460460 {
461461 // Convert DATA to pointer of your type
462- KeyedCompleteTestType* p_type = static_cast <KeyedCompleteTestType*>(data);
462+ :: KeyedCompleteTestType* p_type = static_cast <:: KeyedCompleteTestType*>(data);
463463
464464 // Object that manages the raw buffer.
465465 eprosima::fastcdr::FastBuffer fastbuffer (reinterpret_cast <char *>(payload.data ), payload.length );
@@ -493,7 +493,7 @@ uint32_t KeyedCompleteTestTypePubSubType::calculate_serialized_size(
493493 eprosima::fastcdr::CdrVersion::XCDRv1 :eprosima::fastcdr::CdrVersion::XCDRv2);
494494 size_t current_alignment {0 };
495495 return static_cast <uint32_t >(calculator.calculate_serialized_size (
496- *static_cast <const KeyedCompleteTestType*>(data), current_alignment)) +
496+ *static_cast <const :: KeyedCompleteTestType*>(data), current_alignment)) +
497497 4u /* encapsulation*/ ;
498498 }
499499 catch (eprosima::fastcdr::exception::Exception& /* exception*/ )
@@ -504,13 +504,13 @@ uint32_t KeyedCompleteTestTypePubSubType::calculate_serialized_size(
504504
505505void * KeyedCompleteTestTypePubSubType::create_data ()
506506{
507- return reinterpret_cast <void *>(new KeyedCompleteTestType ());
507+ return reinterpret_cast <void *>(new :: KeyedCompleteTestType ());
508508}
509509
510510void KeyedCompleteTestTypePubSubType::delete_data (
511511 void * data)
512512{
513- delete (reinterpret_cast <KeyedCompleteTestType*>(data));
513+ delete (reinterpret_cast <:: KeyedCompleteTestType*>(data));
514514}
515515
516516bool KeyedCompleteTestTypePubSubType::compute_key (
@@ -523,7 +523,7 @@ bool KeyedCompleteTestTypePubSubType::compute_key(
523523 return false ;
524524 }
525525
526- KeyedCompleteTestType data;
526+ :: KeyedCompleteTestType data;
527527 if (deserialize (payload, static_cast <void *>(&data)))
528528 {
529529 return compute_key (static_cast <void *>(&data), handle, force_md5);
@@ -542,7 +542,7 @@ bool KeyedCompleteTestTypePubSubType::compute_key(
542542 return false ;
543543 }
544544
545- const KeyedCompleteTestType* p_type = static_cast <const KeyedCompleteTestType*>(data);
545+ const :: KeyedCompleteTestType* p_type = static_cast <const :: KeyedCompleteTestType*>(data);
546546
547547 // Object that manages the raw buffer.
548548 eprosima::fastcdr::FastBuffer fastbuffer (reinterpret_cast <char *>(key_buffer_),
0 commit comments