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.

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

This function serializes an object using CDR serialization.

Parameters

cdr – CDR serialization object.

RTPS_DllAPI void deserialize (eprosima::fastcdr::Cdr &cdr)

This function deserializes an object using CDR serialization.

Parameters

cdr – CDR serialization object.

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 Static Functions

static RTPS_DllAPI size_t getCdrSerializedSize (const ExtendedAnnotationParameterValue &data, size_t current_alignment=0)

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.

static RTPS_DllAPI size_t getKeyMaxCdrSerializedSize (size_t current_alignment=0)

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

Parameters

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.