Class ExtendedAnnotationParameterValue

Class Documentation

class ExtendedAnnotationParameterValue

This class represents the structure ExtendedAnnotationParameterValue defined by the user in the IDL file.

Public Functions

RTPS_DllAPI ExtendedAnnotationParameterValue()

Default constructor.

RTPS_DllAPI ~ExtendedAnnotationParameterValue()

Default destructor.

RTPS_DllAPI ExtendedAnnotationParameterValue(const ExtendedAnnotationParameterValue &x)

Copy constructor.

Parameters:

x – Reference to the object ExtendedAnnotationParameterValue that will be copied.

RTPS_DllAPI ExtendedAnnotationParameterValue(ExtendedAnnotationParameterValue &&x)

Move constructor.

Parameters:

x – Reference to the object ExtendedAnnotationParameterValue that will be copied.

RTPS_DllAPI ExtendedAnnotationParameterValue & operator= (const ExtendedAnnotationParameterValue &x)

Copy assignment.

Parameters:

x – Reference to the object ExtendedAnnotationParameterValue that will be copied.

RTPS_DllAPI ExtendedAnnotationParameterValue & operator= (ExtendedAnnotationParameterValue &&x)

Move assignment.

Parameters:

x – Reference to the object ExtendedAnnotationParameterValue that will be copied.

FASTDDS_SER_METHOD_DEPRECATED (3, "eprosima::fastrtps::types::ExtendedAnnotationParameterValue::getCdrSerializedSize()", "In favor of version using eprosima::fastcdr::calculate_serialized_size.") RTPS_DllAPI static size_t getCdrSerializedSize(const ExtendedAnnotationParameterValue &data

This function returns the serialized size of a data depending on the buffer alignment.

Parameters:
  • data – Data which is calculated its serialized size.

  • current_alignment – Buffer alignment.

Returns:

Serialized size.

RTPS_DllAPI void serializeKey (eprosima::fastcdr::Cdr &cdr) const

This function serializes the key members of an object using CDR serialization.

Parameters:

cdr – CDR serialization object.

inline RTPS_DllAPI bool operator== (const ExtendedAnnotationParameterValue &) const

Public Members

size_t current_alignment   = 0)

Public Static Functions

static FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::ExtendedAnnotationParameterValue::serialize()", "In favor of version using eprosima::fastcdr::serialize.") RTPS_DllAPI void serialize(eprosima FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::ExtendedAnnotationParameterValue::deserialize()", "In favor of version using eprosima::fastcdr::deserialize.") RTPS_DllAPI void deserialize(eprosima RTPS_DllAPI size_t getKeyMaxCdrSerializedSize (size_t current_alignment=0)

This function serializes an object using CDR serialization.

This function deserializes an object using CDR serialization.

This function returns the maximum serialized size of the Key of an object depending on the buffer alignment.

Parameters:
  • cdr – CDR serialization object.

  • cdr – CDR serialization object.

  • current_alignment – Buffer alignment.

Returns:

Maximum serialized size.

static RTPS_DllAPI bool isKeyDefined ()

This function tells you if the Key has been defined for this type.