Namespaces | Functions | Variables
names.cpp File Reference
#include "ros/names.h"
#include "ros/this_node.h"
#include "ros/file_log.h"
#include <ros/console.h>
#include <ros/assert.h>
#include <cstring>
Include dependency graph for names.cpp:

Go to the source code of this file.

Namespaces

 ros
 
 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. More...
 
ROSCPP_DECL std::string ros::names::clean (const std::string &name)
 Cleans a graph resource name: removes double slashes, trailing slash. More...
 
ROSCPP_DECL const M_stringros::names::getRemappings ()
 
ROSCPP_DECL const M_stringros::names::getUnresolvedRemappings ()
 
void ros::names::init (const M_string &remappings)
 
bool ros::names::isValidCharInName (char c)
 
ROSCPP_DECL std::string ros::names::parentNamespace (const std::string &name)
 Get the parent namespace of a name. More...
 
ROSCPP_DECL std::string ros::names::remap (const std::string &name)
 Apply remappings to a name. More...
 
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. More...
 
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. More...
 
ROSCPP_DECL bool ros::names::validate (const std::string &name, std::string &error)
 Validate a name against the name spec. More...
 

Variables

M_string ros::names::g_remappings
 
M_string ros::names::g_unresolved_remappings
 


roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
autogenerated on Mon Feb 28 2022 23:33:27