Apache Mesos
Functions
path Namespace Reference

Functions

std::string from_uri (const std::string &uri)
 
std::string join (const std::string &path1, const std::string &path2, const char _separator=os::PATH_SEPARATOR)
 
template<typename... Paths>
std::string join (const std::string &path1, const std::string &path2, Paths &&...paths)
 
std::string join (const std::vector< std::string > &paths)
 
bool absolute (const std::string &path)
 Returns whether the given path is an absolute path. More...
 

Function Documentation

bool path::absolute ( const std::string &  path)
inline

Returns whether the given path is an absolute path.

If an invalid path is given, the return result is also invalid.

std::string path::from_uri ( const std::string &  uri)
inline
std::string path::join ( const std::string &  path1,
const std::string &  path2,
const char  _separator = os::PATH_SEPARATOR 
)
inline
template<typename... Paths>
std::string path::join ( const std::string &  path1,
const std::string &  path2,
Paths &&...  paths 
)
inline
std::string path::join ( const std::vector< std::string > &  paths)
inline