names.cpp File Reference

#include "ros/names.h"
#include "ros/this_node.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

std::string ros::names::append (const std::string &left, const std::string &right)
 Append one name to another.
std::string ros::names::clean (const std::string &name)
 Cleans a graph resource name: removes double slashes, trailing slash.
const M_string & ros::names::getRemappings ()
const M_string & ros::names::getUnresolvedRemappings ()
void ros::names::init (const M_string &remappings)
bool ros::names::isValidCharInName (char c)
std::string ros::names::parentNamespace (const std::string &name)
 Get the parent namespace of a name.
std::string ros::names::remap (const std::string &name)
 Apply remappings to a name.
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.
std::string ros::names::resolve (const std::string &name, bool remap=true)
 Resolve a graph resource name into a fully qualified graph resource name.
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
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Josh Faust jfaust@willowgarage.com, Brian Gerkey gerkey@willowgarage.com
autogenerated on Fri Jan 11 10:08:16 2013