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

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_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.
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.

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
autogenerated on Thu Jun 6 2019 21:10:05