25 #ifndef _SVNCPP_PATH_HPP_
26 #define _SVNCPP_PATH_HPP_
48 void init(
const char *
path);
58 Path(
const std::string & path =
"");
66 Path(
const char * path);
155 split(std::string & dir, std::string & filename, std::string & ext)
const;
180 substr(
const size_t index)
const;
void split(std::string &dirpath, std::string &basename) const
std::string basename() const
const PathVector EmptyPathVector
std::string substr(const size_t index) const
Path & operator=(const Path &)
Definition: annotate_line.hpp:31
std::string native() const
void addComponent(const char *component)
const char * c_str() const
const std::string & path() const
std::vector< Path > PathVector
Definition: path.hpp:205
bool operator==(const Path &) const
std::string dirpath() const
Path(const std::string &path="")
std::string unescape() const