Go to the documentation of this file.
28 #ifndef ROSCPP_NAMES_H
29 #define ROSCPP_NAMES_H
46 ROSCPP_DECL std::string
clean(
const std::string& name);
56 ROSCPP_DECL std::string
resolve(
const std::string& name,
bool remap =
true);
67 ROSCPP_DECL std::string
resolve(
const std::string& ns,
const std::string& name,
bool remap =
true);
71 ROSCPP_DECL std::string
append(
const std::string& left,
const std::string& right);
76 ROSCPP_DECL std::string
remap(
const std::string& name);
80 ROSCPP_DECL
bool validate(
const std::string& name, std::string& error);
96 #endif // ROSCPP_NAMES_H
ROSCPP_DECL std::string clean(const std::string &name)
Cleans a graph resource name: removes double slashes, trailing slash.
ROSCPP_DECL std::string parentNamespace(const std::string &name)
Get the parent namespace of a name.
ROSCPP_DECL bool validate(const std::string &name, std::string &error)
Validate a name against the name spec.
ROSCPP_DECL std::string resolve(const std::string &name, bool remap=true)
Resolve a graph resource name into a fully qualified graph resource name.
const ROSCPP_DECL M_string & getRemappings()
ROSCPP_DECL std::string remap(const std::string &name)
Apply remappings to a name.
ROSCPP_DECL std::string append(const std::string &left, const std::string &right)
Append one name to another.
const ROSCPP_DECL M_string & getUnresolvedRemappings()
std::map< std::string, std::string > M_string
roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
, Jacob Perron
autogenerated on Sat Sep 14 2024 02:59:35