Lines Matching defs:Path
1 //===- Path.h -------------------------------------------------------------===//
9 // This file declares the mcld::sys::fs::Path. It follows TR2/boost
42 /** \class Path
43 * \brief Path provides an abstraction for the path to a file or directory in
46 class Path
53 Path();
54 Path(const ValueType* s);
55 Path(const StringType &s);
56 Path(const Path& pCopy);
57 virtual ~Path();
61 Path& assign(InputIterator begin, InputIterator end);
62 Path& assign(const StringType &s);
63 Path& assign(const ValueType* s, unsigned int length);
67 Path& append(InputIterator begin, InputIterator end);
68 Path& append(const Path& pPath);
83 Path parent_path() const;
84 Path filename() const;
85 Path stem() const;
86 Path extension() const;
100 bool operator==(const Path& pLHS,const Path& pRHS);
101 bool operator!=(const Path& pLHS,const Path& pRHS);
102 Path operator+(const Path& pLHS, const Path& pRHS);
107 bool exists(const Path &pPath);
109 bool is_directory(const Path &pPath);
113 operator<<(std::basic_ostream<Char, Traits>& pOS, const Path& pPath)
120 operator>>(std::basic_istream<Char, Traits>& pOS, Path& pPath)
126 operator<<(llvm::raw_ostream& pOS, const Path& pPath)
135 Path& Path::assign(InputIterator begin, InputIterator end)
144 Path& Path::append(InputIterator begin, InputIterator end)
165 struct less<mcld::sys::fs::Path> : public binary_function<mcld::sys::fs::Path,
166 mcld::sys::fs::Path,
169 bool operator() (const mcld::sys::fs::Path& pX,const mcld::sys::fs::Path& pY) const {