Home | History | Annotate | Download | only in Support

Lines Matching refs:Path

1 //===- Path.h -------------------------------------------------------------===//
9 // This file declares the mcld::sys::fs::Path. It follows TR2/boost
11 // path class.
39 /** \class Path
40 * \brief Path provides an abstraction for the path to a file or directory in
43 class Path
50 Path();
51 Path(const ValueType* s);
52 Path(const StringType &s);
53 Path(const Path& pCopy);
54 virtual ~Path();
58 Path& assign(InputIterator begin, InputIterator end);
59 Path& assign(const StringType &s);
60 Path& assign(const ValueType* s, unsigned int length);
64 Path& append(InputIterator begin, InputIterator end);
65 Path& append(const Path& pPath);
80 Path parent_path() const;
81 Path filename() const;
82 Path stem() const;
83 Path extension() const;
97 bool operator==(const Path& pLHS,const Path& pRHS);
98 bool operator!=(const Path& pLHS,const Path& pRHS);
99 Path operator+(const Path& pLHS, const Path& pRHS);
104 bool exists(const Path &pPath);
106 bool is_directory(const Path &pPath);
110 operator<<(std::basic_ostream<Char, Traits>& pOS, const Path& pPath)
117 operator>>(std::basic_istream<Char, Traits>& pOS, Path& pPath)
123 operator<<(llvm::raw_ostream& pOS, const Path& pPath)
129 // class path member template implementation
132 Path& Path::assign(InputIterator begin, InputIterator end)
141 Path& Path::append(InputIterator begin, InputIterator end)
162 struct less<mcld::sys::fs::Path> : public binary_function<mcld::sys::fs::Path,
163 mcld::sys::fs::Path,
166 bool operator() (const mcld::sys::fs::Path& pX,const mcld::sys::fs::Path& pY) const {