.. _program_listing_file_include_rmw_qos_string_conversions.h: Program Listing for File qos_string_conversions.h ================================================= |exhale_lsh| :ref:`Return to documentation for file ` (``include/rmw/qos_string_conversions.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp // Copyright 2020 Open Source Robotics Foundation, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #ifndef RMW__QOS_STRING_CONVERSIONS_H_ #define RMW__QOS_STRING_CONVERSIONS_H_ #include "rmw/types.h" #include "rmw/visibility_control.h" #ifdef __cplusplus extern "C" { #endif RMW_PUBLIC const char * rmw_qos_policy_kind_to_str(rmw_qos_policy_kind_t kind); RMW_PUBLIC const char * rmw_qos_durability_policy_to_str(rmw_qos_durability_policy_t value); RMW_PUBLIC const char * rmw_qos_history_policy_to_str(rmw_qos_history_policy_t value); RMW_PUBLIC const char * rmw_qos_liveliness_policy_to_str(rmw_qos_liveliness_policy_t value); RMW_PUBLIC const char * rmw_qos_reliability_policy_to_str(rmw_qos_reliability_policy_t value); RMW_PUBLIC rmw_qos_policy_kind_t rmw_qos_policy_kind_from_str(const char * str); RMW_PUBLIC rmw_qos_durability_policy_t rmw_qos_durability_policy_from_str(const char * str); RMW_PUBLIC rmw_qos_history_policy_t rmw_qos_history_policy_from_str(const char * str); RMW_PUBLIC rmw_qos_liveliness_policy_t rmw_qos_liveliness_policy_from_str(const char * str); RMW_PUBLIC rmw_qos_reliability_policy_t rmw_qos_reliability_policy_from_str(const char * str); #ifdef __cplusplus } #endif #endif // RMW__QOS_STRING_CONVERSIONS_H_