src/utils/DomeUtils.h File Reference

Small utilities used throughout dome. More...

#include <string>
#include <vector>
Include dependency graph for DomeUtils.h:

Go to the source code of this file.

Namespaces

namespace  DomeUtils

Functions

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

Detailed Description

Small utilities used throughout dome.

Author:
Georgios Bitzes
Date:
Feb 2016

Generated on 7 Apr 2017 for dmlite by  doxygen 1.6.1