Go to the source code of this file.
Namespaces | |
namespace | ros |
namespace | ros::names |
Contains functions which allow you to manipulate ROS names. | |
Functions | |
ROSCPP_DECL std::string | ros::names::append (const std::string &left, const std::string &right) |
Append one name to another. | |
ROSCPP_DECL std::string | ros::names::clean (const std::string &name) |
Cleans a graph resource name: removes double slashes, trailing slash. | |
ROSCPP_DECL const M_string & | ros::names::getRemappings () |
ROSCPP_DECL const M_string & | ros::names::getUnresolvedRemappings () |
ROSCPP_DECL std::string | ros::names::parentNamespace (const std::string &name) |
Get the parent namespace of a name. | |
ROSCPP_DECL std::string | ros::names::remap (const std::string &name) |
Apply remappings to a name. | |
ROSCPP_DECL std::string | ros::names::resolve (const std::string &name, bool remap=true) |
Resolve a graph resource name into a fully qualified graph resource name. | |
ROSCPP_DECL std::string | ros::names::resolve (const std::string &ns, const std::string &name, bool remap=true) |
Resolve a graph resource name into a fully qualified graph resource name. | |
ROSCPP_DECL bool | ros::names::validate (const std::string &name, std::string &error) |
Validate a name against the name spec. |