33 #include <boost/algorithm/string.hpp>
39 boost::trim_right_if(name, boost::is_any_of(
"/ "));
40 if (!name.empty() && name[0] !=
'/')
41 name =
string(
"/") + name;
45 boost::trim_right_if(path, boost::is_any_of(
"/ "));
46 if (path.empty() || path[0] !=
'/')
47 path =
string(
"/") + path;
Declarations for Canonicalize.
Logging routines and macros.
Compatibility Macros for C/C++.
static void namespace_path(std::string &path)
Canonicalizes a namespace path.
static void table_name(std::string &name)
Canonicalizes a table name.