Class ExtendedTypeDefn
Defined in File TypeIdentifierTypes.h
Class Documentation
-
class ExtendedTypeDefn
This class represents the structure ExtendedTypeDefn defined by the user in the IDL file.
Public Functions
-
RTPS_DllAPI ExtendedTypeDefn()
Default constructor.
-
virtual RTPS_DllAPI ~ExtendedTypeDefn()
Default destructor.
-
RTPS_DllAPI ExtendedTypeDefn(const ExtendedTypeDefn &x)
Copy constructor.
- Parameters:
x – Reference to the object ExtendedTypeDefn that will be copied.
-
RTPS_DllAPI ExtendedTypeDefn(ExtendedTypeDefn &&x)
Move constructor.
- Parameters:
x – Reference to the object ExtendedTypeDefn that will be copied.
- virtual RTPS_DllAPI ExtendedTypeDefn & operator= (const ExtendedTypeDefn &x)
Copy assignment.
- Parameters:
x – Reference to the object ExtendedTypeDefn that will be copied.
- virtual RTPS_DllAPI ExtendedTypeDefn & operator= (ExtendedTypeDefn &&x)
Move assignment.
- Parameters:
x – Reference to the object ExtendedTypeDefn that will be copied.
- FASTDDS_SER_METHOD_DEPRECATED (3, "eprosima::fastrtps::types::ExtendedTypeDefn::getCdrSerializedSize()", "In favor of version using eprosima::fastcdr::calculate_serialized_size.") RTPS_DllAPI static size_t getCdrSerializedSize(const ExtendedTypeDefn &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::ExtendedTypeDefn::serialize()", "In favor of version using eprosima::fastcdr::serialize.") RTPS_DllAPI virtual void serialize(eprosima FASTDDS_SER_METHOD_DEPRECATED(3, "eprosima::fastrtps::types::ExtendedTypeDefn::deserialize()", "In favor of version using eprosima::fastcdr::deserialize.") RTPS_DllAPI virtual void deserialize(eprosima RTPS_DllAPI bool consistent (const ExtendedTypeDefn &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 ExtendedTypeDefn()