Lines Matching refs:other
88 // UTF-8, C or POSIX. This is because in any other case, the
290 CPath::CPath(const CPath& other)
291 : m_printable(DeepCopy(other.m_printable))
292 , m_filesystem(DeepCopy(other.m_filesystem))
318 CPath& CPath::operator=(const CPath& other)
320 if (this != &other) {
321 m_printable = DeepCopy(other.m_printable);
322 m_filesystem = DeepCopy(other.m_filesystem);
329 bool CPath::operator==(const CPath& other) const
331 return ::IsSameAs(m_filesystem, other.m_filesystem);
335 bool CPath::operator!=(const CPath& other) const
337 return !(*this == other);
341 bool CPath::operator<(const CPath& other) const
343 return PATHCMP(m_filesystem.c_str(), other.m_filesystem.c_str()) < 0;
451 bool CPath::IsSameDir(const CPath& other) const
454 wxString b = other.m_filesystem;
457 // case where one path is empty, and the other
468 CPath CPath::JoinPaths(const CPath& other) const
471 return CPath(other);
472 } else if (!other.IsOk()) {
478 joinedPath.m_printable = ::JoinPaths(m_printable, other.m_printable);
479 joinedPath.m_filesystem = ::JoinPaths(m_filesystem, other.m_filesystem);
555 bool CPath::StartsWith(const CPath& other) const
558 // especially since if 'other' was empty, it would
560 if ((IsOk() && other.IsOk()) == false) {
568 const wxString b = StripSeparators(other.m_filesystem, wxString::trailing) + wxFileName::GetPathSeparator();