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