Apache Mesos
Classes | Namespaces | Functions
path.hpp File Reference
#include <string>
#include <utility>
#include <vector>
#include <stout/stringify.hpp>
#include <stout/strings.hpp>
#include <stout/os/constants.hpp>

Go to the source code of this file.

Classes

class  Path
 Represents a POSIX or Windows file system path and offers common path manipulations. More...
 

Namespaces

 path
 

Functions

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

Function Documentation

bool operator!= ( const Path left,
const Path right 
)
inline
bool operator< ( const Path left,
const Path right 
)
inline
std::ostream& operator<< ( std::ostream &  stream,
const Path path 
)
inline
bool operator<= ( const Path left,
const Path right 
)
inline
bool operator== ( const Path left,
const Path right 
)
inline
bool operator> ( const Path left,
const Path right 
)
inline
bool operator>= ( const Path left,
const Path right 
)
inline