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.
40 /** \class Path
41 * \brief Path provides an abstraction for the path to a file or directory in
44 class Path {
50 Path();
51 explicit Path(const ValueType* s);
52 explicit 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);
66 Path& append(const StringType& 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);
111 const Path& pPath) {
118 Path& pPath) {
123 const Path& pPath) {
128 // class path member template implementation
131 Path& Path::assign(InputIterator begin, InputIterator end) {
139 Path& Path::append(InputIterator begin, InputIterator end) {
159 struct less<mcld::sys::fs::Path>
160 : public binary_function<mcld::sys::fs::Path, mcld::sys::fs::Path, bool> {
161 bool operator()(const mcld::sys::fs::Path& pX,
162 const mcld::sys::fs::Path& pY) const {