DomeUtils Namespace Reference

Functions

std::string remove_prefix_if_exists (const std::string &str, const std::string &prefix)
std::string trim_trailing_slashes (std::string str)
std::string join (const std::string &separator, const std::vector< std::string > &arr)
std::vector< std::string > split (std::string data, std::string token)
void mkdirp (const std::string &path) throw (DmException)
std::string bool_to_str (bool b)
bool str_to_bool (const std::string &str)
std::string pfn_from_rfio_syntax (const std::string &rfn)
std::string server_from_rfio_syntax (const std::string &rfn)
std::string unescape_forward_slashes (const std::string &str)

Function Documentation

std::string DomeUtils::bool_to_str ( bool  b  )  [inline]
std::string DomeUtils::join ( const std::string &  separator,
const std::vector< std::string > &  arr 
) [inline]
void DomeUtils::mkdirp ( const std::string &  path  )  throw (DmException) [inline]
std::string DomeUtils::pfn_from_rfio_syntax ( const std::string &  rfn  )  [inline]
std::string DomeUtils::remove_prefix_if_exists ( const std::string &  str,
const std::string &  prefix 
) [inline]
std::string DomeUtils::server_from_rfio_syntax ( const std::string &  rfn  )  [inline]
std::vector<std::string> DomeUtils::split ( std::string  data,
std::string  token 
) [inline]
bool DomeUtils::str_to_bool ( const std::string &  str  )  [inline]
std::string DomeUtils::trim_trailing_slashes ( std::string  str  )  [inline]
std::string DomeUtils::unescape_forward_slashes ( const std::string &  str  )  [inline]

Generated on 11 Jun 2018 for dmlite by  doxygen 1.6.1