Fast RTPS  Version 2.5.0
Fast RTPS
PlainSequenceSElemDefn Class Referencefinal

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

#include <TypeIdentifierTypes.h>

Public Member Functions

RTPS_DllAPI PlainSequenceSElemDefn ()
 Default constructor. More...
 
RTPS_DllAPI ~PlainSequenceSElemDefn ()
 Default destructor. More...
 
RTPS_DllAPI PlainSequenceSElemDefn (const PlainSequenceSElemDefn &x)
 Copy constructor. More...
 
RTPS_DllAPI PlainSequenceSElemDefn (PlainSequenceSElemDefn &&x)
 Move constructor. More...
 
RTPS_DllAPI PlainSequenceSElemDefnoperator= (const PlainSequenceSElemDefn &x)
 Copy assignment. More...
 
RTPS_DllAPI PlainSequenceSElemDefnoperator= (PlainSequenceSElemDefn &&x)
 Move assignment. More...
 
RTPS_DllAPI void header (const PlainCollectionHeader &_header)
 This function copies the value in member header. More...
 
RTPS_DllAPI void header (PlainCollectionHeader &&_header)
 This function moves the value in member header. More...
 
RTPS_DllAPI const PlainCollectionHeaderheader () const
 This function returns a constant reference to member header. More...
 
RTPS_DllAPI PlainCollectionHeaderheader ()
 This function returns a reference to member header. More...
 
RTPS_DllAPI void bound (SBound _bound)
 This function sets a value in member bound. More...
 
RTPS_DllAPI SBound bound () const
 This function returns the value of member bound. More...
 
RTPS_DllAPI SBoundbound ()
 This function returns a reference to member bound. More...
 
RTPS_DllAPI void element_identifier (const TypeIdentifier *_element_identifier)
 This function sets a value in member element_identifier. More...
 
RTPS_DllAPI const TypeIdentifierelement_identifier () const
 This function returns the value of member element_identifier. More...
 
RTPS_DllAPI TypeIdentifierelement_identifier ()
 This function returns a reference to member element_identifier. More...
 
RTPS_DllAPI void serialize (eprosima::fastcdr::Cdr &cdr) const
 This function serializes an object using CDR serialization. More...
 
RTPS_DllAPI void deserialize (eprosima::fastcdr::Cdr &cdr)
 This function deserializes an object using CDR serialization. More...
 
RTPS_DllAPI bool consistent (const PlainSequenceSElemDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
 

Static Public Member Functions

static RTPS_DllAPI size_t getCdrSerializedSize (const PlainSequenceSElemDefn &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 PlainSequenceSElemDefn defined by the user in the IDL file.

Constructor & Destructor Documentation

◆ PlainSequenceSElemDefn() [1/3]

RTPS_DllAPI PlainSequenceSElemDefn ( )

Default constructor.

◆ ~PlainSequenceSElemDefn()

RTPS_DllAPI ~PlainSequenceSElemDefn ( )

Default destructor.

◆ PlainSequenceSElemDefn() [2/3]

RTPS_DllAPI PlainSequenceSElemDefn ( const PlainSequenceSElemDefn x)

Copy constructor.

Parameters
xReference to the object PlainSequenceSElemDefn that will be copied.

◆ PlainSequenceSElemDefn() [3/3]

Move constructor.

Parameters
xReference to the object PlainSequenceSElemDefn that will be copied.

Member Function Documentation

◆ bound() [1/3]

RTPS_DllAPI SBound& bound ( )
inline

This function returns a reference to member bound.

Returns
Reference to member bound

◆ bound() [2/3]

RTPS_DllAPI SBound bound ( ) const
inline

This function returns the value of member bound.

Returns
Value of member bound

◆ bound() [3/3]

RTPS_DllAPI void bound ( SBound  _bound)
inline

This function sets a value in member bound.

Parameters
_boundNew value for member bound

◆ consistent()

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

◆ deserialize()

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

This function deserializes an object using CDR serialization.

Parameters
cdrCDR serialization object.

◆ element_identifier() [1/3]

RTPS_DllAPI TypeIdentifier* element_identifier ( )
inline

This function returns a reference to member element_identifier.

Returns
Reference to member element_identifier

◆ element_identifier() [2/3]

RTPS_DllAPI const TypeIdentifier* element_identifier ( ) const
inline

This function returns the value of member element_identifier.

Returns
Value of member element_identifier

◆ element_identifier() [3/3]

RTPS_DllAPI void element_identifier ( const TypeIdentifier _element_identifier)

This function sets a value in member element_identifier.

Parameters
_element_identifierNew value for member element_identifier

◆ getCdrSerializedSize()

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

◆ header() [1/4]

RTPS_DllAPI PlainCollectionHeader& header ( )
inline

This function returns a reference to member header.

Returns
Reference to member header

◆ header() [2/4]

RTPS_DllAPI const PlainCollectionHeader& header ( ) const
inline

This function returns a constant reference to member header.

Returns
Constant reference to member header

◆ header() [3/4]

RTPS_DllAPI void header ( const PlainCollectionHeader _header)
inline

This function copies the value in member header.

Parameters
_headerNew value to be copied in member header

◆ header() [4/4]

RTPS_DllAPI void header ( PlainCollectionHeader &&  _header)
inline

This function moves the value in member header.

Parameters
_headerNew value to be moved in member header

◆ operator=() [1/2]

RTPS_DllAPI PlainSequenceSElemDefn& operator= ( const PlainSequenceSElemDefn x)

Copy assignment.

Parameters
xReference to the object PlainSequenceSElemDefn that will be copied.

◆ operator=() [2/2]

RTPS_DllAPI PlainSequenceSElemDefn& operator= ( PlainSequenceSElemDefn &&  x)

Move assignment.

Parameters
xReference to the object PlainSequenceSElemDefn that will be copied.

◆ serialize()

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

This function serializes an object using CDR serialization.

Parameters
cdrCDR serialization object.

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