00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef _SVNCPP_PATH_HPP_
00015 #define _SVNCPP_PATH_HPP_
00016
00017 #include <string>
00018
00019 namespace svn
00020 {
00024 class Path
00025 {
00026 private:
00027 std::string m_path;
00028
00034 void init (const char * path);
00035
00036 public:
00044 Path (const std::string & path = "");
00045
00052 Path (const char * path);
00053
00059 Path (const Path & path);
00060
00064 Path& operator=(const Path&);
00065
00069 const std::string &
00070 path () const;
00071
00075 const char *
00076 c_str() const;
00077
00085 bool
00086 isset() const;
00087
00093 void
00094 addCompontent (const char * component);
00095
00102 void
00103 split (std::string & dirpath, std::string & basename);
00104 };
00105 }
00106
00107 #endif
00108
00109
00110
00111
00112