Class StringSTypeDefn
Defined in File TypeIdentifierTypes.h
Class Documentation
-
class StringSTypeDefn
This class represents the structure StringSTypeDefn defined by the user in the IDL file.
Public Functions
-
RTPS_DllAPI StringSTypeDefn()
Default constructor.
-
RTPS_DllAPI ~StringSTypeDefn()
Default destructor.
-
RTPS_DllAPI StringSTypeDefn(const StringSTypeDefn &x)
Copy constructor.
- Parameters
x – Reference to the object StringSTypeDefn that will be copied.
-
RTPS_DllAPI StringSTypeDefn(StringSTypeDefn &&x)
Move constructor.
- Parameters
x – Reference to the object StringSTypeDefn that will be copied.
- RTPS_DllAPI StringSTypeDefn & operator= (const StringSTypeDefn &x)
Copy assignment.
- Parameters
x – Reference to the object StringSTypeDefn that will be copied.
- RTPS_DllAPI StringSTypeDefn & operator= (StringSTypeDefn &&x)
Move assignment.
- Parameters
x – Reference to the object StringSTypeDefn that will be copied.
- inline RTPS_DllAPI void bound (SBound _bound)
This function sets a value in member bound.
- Parameters
_bound – New value for member bound
- inline RTPS_DllAPI SBound bound () const
This function returns the value of member bound.
- Returns
Value of member bound
- inline RTPS_DllAPI SBound & bound ()
This function returns a reference to member bound.
- Returns
Reference to member bound
- RTPS_DllAPI void serialize (eprosima::fastcdr::Cdr &cdr) const
This function serializes an object using CDR serialization.
- Parameters
cdr – CDR serialization object.
- RTPS_DllAPI void deserialize (eprosima::fastcdr::Cdr &cdr)
This function deserializes an object using CDR serialization.
- Parameters
cdr – CDR serialization object.
- RTPS_DllAPI bool consistent (const StringSTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
- RTPS_DllAPI bool consistent (const StringLTypeDefn &x, const fastdds::dds::TypeConsistencyEnforcementQosPolicy &consistency) const
Public Static Functions
- static RTPS_DllAPI size_t getCdrSerializedSize (const StringSTypeDefn &data, size_t current_alignment=0)
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.
-
RTPS_DllAPI StringSTypeDefn()