Home | History | Annotate | Download | only in base

Lines Matching defs:Pathname

38 // Pathname - parsing of pathnames into components, and vice versa.
41 // component. A folder never contains a filename. A pathname may include
44 // pathname() /home/john/example.txt
57 class Pathname {
63 Pathname();
64 Pathname(const std::string& pathname);
65 Pathname(const std::string& folder, const std::string& filename);
67 // Set's the default folder delimiter for this Pathname
74 // Reset to the empty pathname
77 // Returns true if the pathname is empty. Note: this->pathname().empty()
83 // Returns the folder and filename components. If the pathname is empty,
86 std::string pathname() const;
87 void SetPathname(const std::string& pathname);
90 // Append pathname to the current folder (if any). Any existing filename
92 void AppendPathname(const std::string& pathname);
113 static bool GetDrive(char *drive, uint32 bytes,const std::string& pathname);
137 inline bool CreateFolder(const Pathname& path) {
140 inline bool FinishPath(Pathname& path, bool create, const std::string& append) {
149 inline bool GetTemporaryFolder(Pathname& path, bool create,
157 inline bool GetAppDataFolder(Pathname& path, bool create,
164 Pathname path;