20.10.2013 - Modified PIObject - virtual debugName() for macro piCoutObj, improved timer measurements and timers on Windows

This commit is contained in:
peri4
2013-10-20 17:41:55 +04:00
parent 0f1b528ac6
commit ec5530053a
32 changed files with 2196 additions and 1331 deletions

View File

@@ -50,9 +50,9 @@ public:
bool isSocket() const {return (mode & S_IFSOCK);}
};
const bool isExists() {return (dir_ != 0);}
const bool isAbsolute() {if (path_.size() == 0) return false; return (path_[0] == separator);}
PIString path() {return PIString(path_);}
bool isExists() const {return (dir_ != 0);}
bool isAbsolute() const {if (path_.size() == 0) return false; return (path_[0] == separator);}
const PIString & path() const {return path_;}
PIDir & cleanPath();
PIDir cleanedPath() {PIDir d(path_); d.cleanPath(); return d;}
PIString absolutePath();