RTI Connext Modern C++ API
Version 6.1.1
|
Classes | |
class | TopicQos |
<<value-type>> Container of the QoS policies that a dds::topic::Topic supports More... | |
Functions | |
std::string | to_string (const TopicQos &qos, const rti::core::QosPrintFormat &format=rti::core::QosPrintFormat()) |
<<extension>> Obtains a string representation of the dds::topic::qos::TopicQos More... | |
std::string | to_string (const TopicQos &qos, const TopicQos &base, const rti::core::QosPrintFormat &format=rti::core::QosPrintFormat()) |
<<extension>> Obtains a string representation of the dds::topic::qos::TopicQos More... | |
std::string | to_string (const TopicQos &qos, const rti::core::qos_print_all_t &qos_print_all, const rti::core::QosPrintFormat &format=rti::core::QosPrintFormat()) |
<<extension>> Obtains a string representation of the dds::topic::qos::TopicQos More... | |
std::ostream & | operator<< (std::ostream &out, const rti::topic::qos::TopicQos &qos) |
<<extension>> Prints a dds::topic::qos::TopicQos to an output stream. More... | |
Contains TopicQos.
std::string to_string | ( | const TopicQos & | qos, |
const rti::core::QosPrintFormat & | format = rti::core::QosPrintFormat() |
||
) |
<<extension>> Obtains a string representation of the dds::topic::qos::TopicQos
qos | The qos object to convert to a string |
format | The optional print format used to format the output string. |
The several to_string overloads allow formatting the output and printing only the differences with respect to another Qos object.
This overload uses the default print format and only prints the differences between qos and the documented default.
std::string to_string | ( | const TopicQos & | qos, |
const TopicQos & | base, | ||
const rti::core::QosPrintFormat & | format = rti::core::QosPrintFormat() |
||
) |
<<extension>> Obtains a string representation of the dds::topic::qos::TopicQos
qos | The qos object to convert to a string |
base | The base qos. Only the differences between base and qos are included in the output string. If you want to print everything within the QoS, use the overload that accepts a rti::core::qos_print_all_t. |
format | The optional print format used to format the output string. |
This overload prints the differences between qos and base. If no print format is specified, the default will be used.
std::string to_string | ( | const TopicQos & | qos, |
const rti::core::qos_print_all_t & | qos_print_all, | ||
const rti::core::QosPrintFormat & | format = rti::core::QosPrintFormat() |
||
) |
<<extension>> Obtains a string representation of the dds::topic::qos::TopicQos
qos | The qos object to convert to a string |
qos_print_all | The sentinel value indicating that the entire QoS should be converted to a string. The other overloads of this API only print the differences with respect to a base profile, or to the documented default. |
format | The optional print format used to format the output string. |
This overload prints all of the policies within qos. If no print format is specified, the default will be used.
The only valid value for the qos_print_all argument is rti::core::qos_print_all
For example:
|
inline |
<<extension>> Prints a dds::topic::qos::TopicQos to an output stream.