Class PlainArraySElemDefn
Defined in File TypeIdentifierTypes.h
Class Documentation
-
class PlainArraySElemDefn
This class represents the structure PlainArraySElemDefn defined by the user in the IDL file.
Public Functions
-
RTPS_DllAPI PlainArraySElemDefn()
Default constructor.
-
RTPS_DllAPI ~PlainArraySElemDefn()
Default destructor.
-
RTPS_DllAPI PlainArraySElemDefn(const PlainArraySElemDefn &x)
Copy constructor.
- Parameters:
x – Reference to the object PlainArraySElemDefn that will be copied.
-
RTPS_DllAPI PlainArraySElemDefn(PlainArraySElemDefn &&x)
Move constructor.
- Parameters:
x – Reference to the object PlainArraySElemDefn that will be copied.
- RTPS_DllAPI PlainArraySElemDefn & operator= (const PlainArraySElemDefn &x)
Copy assignment.
- Parameters:
x – Reference to the object PlainArraySElemDefn that will be copied.
- RTPS_DllAPI PlainArraySElemDefn & operator= (PlainArraySElemDefn &&x)
Move assignment.
- Parameters:
x – Reference to the object PlainArraySElemDefn 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 array_bound_seq (const SBoundSeq &_array_bound_seq)
This function copies the value in member array_bound_seq.
- Parameters:
_array_bound_seq – New value to be copied in member array_bound_seq
- inline RTPS_DllAPI void array_bound_seq (SBoundSeq &&_array_bound_seq)
This function moves the value in member array_bound_seq.
- Parameters:
_array_bound_seq – New value to be moved in member array_bound_seq
- inline RTPS_DllAPI const SBoundSeq & array_bound_seq () const
This function returns a constant reference to member array_bound_seq.
- Returns:
Constant reference to member array_bound_seq
- inline RTPS_DllAPI SBoundSeq & array_bound_seq ()
This function returns a reference to member array_bound_seq.
- Returns:
Reference to member array_bound_seq
- 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
- FASTDDS_SER_METHOD_DEPRECATED (3, "eprosima::fastrtps::types::PlainArraySElemDefn::getCdrSerializedSize()", "In favor of version using eprosima::fastcdr::calculate_serialized_size.") RTPS_DllAPI static size_t getCdrSerializedSize(const PlainArraySElemDefn &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.
- FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainArraySElemDefn::serialize()", "In favor of version using eprosima::fastcdr::serialize.") RTPS_DllAPI void serialize(eprosima FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::PlainArraySElemDefn::deserialize()", "In favor of version using eprosima::fastcdr::deserialize.") RTPS_DllAPI void deserialize(eprosima RTPS_DllAPI bool consistent (const PlainArraySElemDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
This function serializes an object using CDR serialization.
This function deserializes an object using CDR serialization.
- Parameters:
cdr – CDR serialization object.
cdr – CDR serialization object.
Public Members
- size_t current_alignment = 0)
-
RTPS_DllAPI PlainArraySElemDefn()