Fast RTPS  Version 2.7.1
Fast RTPS
ExtendedTypeDefn Class Referencefinal

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

#include <TypeIdentifierTypes.h>

Public Member Functions

RTPS_DllAPI ExtendedTypeDefn ()
 Default constructor. More...
 
virtual RTPS_DllAPI ~ExtendedTypeDefn ()
 Default destructor. More...
 
RTPS_DllAPI ExtendedTypeDefn (const ExtendedTypeDefn &x)
 Copy constructor. More...
 
RTPS_DllAPI ExtendedTypeDefn (ExtendedTypeDefn &&x)
 Move constructor. More...
 
virtual RTPS_DllAPI ExtendedTypeDefnoperator= (const ExtendedTypeDefn &x)
 Copy assignment. More...
 
virtual RTPS_DllAPI ExtendedTypeDefnoperator= (ExtendedTypeDefn &&x)
 Move assignment. More...
 
virtual RTPS_DllAPI void serialize (eprosima::fastcdr::Cdr &cdr) const
 This function serializes an object using CDR serialization. More...
 
virtual RTPS_DllAPI void deserialize (eprosima::fastcdr::Cdr &cdr)
 This function deserializes an object using CDR serialization. More...
 
RTPS_DllAPI bool consistent (const ExtendedTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
 

Static Public Member Functions

static RTPS_DllAPI size_t getCdrSerializedSize (const ExtendedTypeDefn &data, size_t current_alignment=0)
 This function returns the serialized size of a data depending on the buffer alignment. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ExtendedTypeDefn() [1/3]

RTPS_DllAPI ExtendedTypeDefn ( )

Default constructor.

◆ ~ExtendedTypeDefn()

virtual RTPS_DllAPI ~ExtendedTypeDefn ( )
virtual

Default destructor.

◆ ExtendedTypeDefn() [2/3]

RTPS_DllAPI ExtendedTypeDefn ( const ExtendedTypeDefn x)

Copy constructor.

Parameters
xReference to the object ExtendedTypeDefn that will be copied.

◆ ExtendedTypeDefn() [3/3]

RTPS_DllAPI ExtendedTypeDefn ( ExtendedTypeDefn &&  x)

Move constructor.

Parameters
xReference to the object ExtendedTypeDefn that will be copied.

Member Function Documentation

◆ consistent()

RTPS_DllAPI bool consistent ( const ExtendedTypeDefn x,
const fastdds::dds::TypeConsistencyEnforcementQosPolicy &  consistency 
) const

◆ deserialize()

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

This function deserializes an object using CDR serialization.

Parameters
cdrCDR serialization object.

◆ getCdrSerializedSize()

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

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

Parameters
dataData which is calculated its serialized size.
current_alignmentBuffer alignment.
Returns
Serialized size.

◆ operator=() [1/2]

virtual RTPS_DllAPI ExtendedTypeDefn & operator= ( const ExtendedTypeDefn x)
virtual

Copy assignment.

Parameters
xReference to the object ExtendedTypeDefn that will be copied.

◆ operator=() [2/2]

virtual RTPS_DllAPI ExtendedTypeDefn & operator= ( ExtendedTypeDefn &&  x)
virtual

Move assignment.

Parameters
xReference to the object ExtendedTypeDefn that will be copied.

◆ serialize()

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

This function serializes an object using CDR serialization.

Parameters
cdrCDR serialization object.

The documentation for this class was generated from the following file: