Class PlainSequenceLElemDefn

Class Documentation

class PlainSequenceLElemDefn

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

Public Functions

RTPS_DllAPI PlainSequenceLElemDefn()

Default constructor.

RTPS_DllAPI ~PlainSequenceLElemDefn()

Default destructor.

RTPS_DllAPI PlainSequenceLElemDefn(const PlainSequenceLElemDefn &x)

Copy constructor.

Parameters

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

RTPS_DllAPI PlainSequenceLElemDefn(PlainSequenceLElemDefn &&x)

Move constructor.

Parameters

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

RTPS_DllAPI PlainSequenceLElemDefn & operator= (const PlainSequenceLElemDefn &x)

Copy assignment.

Parameters

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

RTPS_DllAPI PlainSequenceLElemDefn & operator= (PlainSequenceLElemDefn &&x)

Move assignment.

Parameters

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

inline RTPS_DllAPI void header (const PlainCollectionHeader &_header)

This function copies the value in member header.

Parameters

_header – New value to be copied in member header

inline RTPS_DllAPI void header (PlainCollectionHeader &&_header)

This function moves the value in member header.

Parameters

_header – New value to be moved in member header

inline RTPS_DllAPI const PlainCollectionHeader & header () const

This function returns a constant reference to member header.

Returns

Constant reference to member header

inline RTPS_DllAPI PlainCollectionHeader & header ()

This function returns a reference to member header.

Returns

Reference to member header

inline RTPS_DllAPI void bound (LBound _bound)

This function sets a value in member bound.

Parameters

_bound – New value for member bound

inline RTPS_DllAPI LBound bound () const

This function returns the value of member bound.

Returns

Value of member bound

inline RTPS_DllAPI LBound & bound ()

This function returns a reference to member bound.

Returns

Reference to member bound

RTPS_DllAPI void element_identifier (const TypeIdentifier *_element_identifier)

This function sets a value in member element_identifier.

Parameters

_element_identifier – New value for member element_identifier

inline RTPS_DllAPI const TypeIdentifier * element_identifier () const

This function returns the value of member element_identifier.

Returns

Value of member element_identifier

inline RTPS_DllAPI TypeIdentifier * element_identifier ()

This function returns a reference to member element_identifier.

Returns

Reference to member element_identifier

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 bool consistent (const PlainSequenceLElemDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const

Public Static Functions

static RTPS_DllAPI size_t getCdrSerializedSize (const PlainSequenceLElemDefn &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.