18.1.5.11. TypeInformation

class TypeInformation : public eprosima::fastdds::dds::Parameter_t, public eprosima::fastdds::dds::QosPolicy

Class xtypes::TypeInformation

Public Functions

inline TypeInformation()

Constructor.

inline TypeInformation(const TypeInformation &type)

Copy constructor.

Parameters

type – Another instance of TypeInformation

inline TypeInformation(const fastrtps::types::TypeInformation &info)

Constructor using a fastrtps::types::TypeInformation.

Parameters

info – fastrtps::types::TypeInformation to be set

inline TypeInformation(TypeInformation &&type)

Move Constructor.

Parameters

type – Another instance of TypeInformation

virtual ~TypeInformation() override = default

Destructor.

inline virtual void clear() override

Clears the QosPolicy object.

inline bool assigned() const

Check if it is assigned.

Returns

true if assigned, false if not

inline void assigned(bool value)

Setter for assigned boolean.

Parameters

value – Boolean to be set

Public Members

fastrtps::types::TypeInformation type_information

Type Information.