Lines Matching refs:Path

34 const Path::StringType separator_str("/");
41 const Path::StringType separator_str("/");
49 Path::Path() : m_PathName() { in Path() function in mcld::sys::fs::Path
52 Path::Path(const Path::ValueType* s) : m_PathName(s) { in Path() function in mcld::sys::fs::Path
55 Path::Path(const Path::StringType& s) : m_PathName(s) { in Path() function in mcld::sys::fs::Path
58 Path::Path(const Path& pCopy) : m_PathName(pCopy.m_PathName) { in Path() function in mcld::sys::fs::Path
61 Path::~Path() { in ~Path()
64 bool Path::isFromRoot() const { in isFromRoot()
70 bool Path::isFromPWD() const { in isFromPWD()
76 Path& Path::assign(const Path::StringType& s) { in assign()
81 Path& Path::assign(const Path::ValueType* s, unsigned int length) { in assign()
89 Path& Path::append(const Path& pPath) { in append()
108 Path& Path::append(const StringType& pPath) { in append()
109 Path path(pPath); in append()
114 bool Path::empty() const { in empty()
118 Path::StringType Path::generic_string() const { in generic_string()
124 bool Path::canonicalize() { in canonicalize()
128 Path::StringType::size_type Path::m_append_separator_if_needed() { in m_append_separator_if_needed()
143 void Path::m_erase_redundant_separator(Path::StringType::size_type pSepPos) { in m_erase_redundant_separator()
158 Path Path::parent_path() const { in parent_path()
161 return Path(m_PathName.substr(0, end_pos)); in parent_path()
162 return Path(); in parent_path()
165 Path Path::filename() const { in filename()
169 return Path(m_PathName.substr(pos)); in filename()
171 return Path(*this); in filename()
174 Path Path::stem() const { in stem()
177 Path result_path(m_PathName.substr(begin_pos, end_pos - begin_pos)); in stem()
181 Path Path::extension() const { in extension()
184 return Path(); in extension()
185 return Path(m_PathName.substr(pos)); in extension()
191 bool operator==(const Path& pLHS, const Path& pRHS) { in operator ==()
195 bool operator!=(const Path& pLHS, const Path& pRHS) { in operator !=()
199 Path operator+(const Path& pLHS, const Path& pRHS) { in operator +()
200 mcld::sys::fs::Path result = pLHS; in operator +()