#include <PathInfo.h>
Public Member Functions | |
stat_mode (const mode_t &mode_r=0) | |
file_type | fileType () const |
bool | isFile () const |
bool | isDir () const |
bool | isLink () const |
bool | isChr () const |
bool | isBlk () const |
bool | isFifo () const |
bool | isSock () const |
bool | isRUsr () const |
bool | isWUsr () const |
bool | isXUsr () const |
bool | isR () const |
bool | isW () const |
bool | isX () const |
bool | isRGrp () const |
bool | isWGrp () const |
bool | isXGrp () const |
bool | isROth () const |
bool | isWOth () const |
bool | isXOth () const |
bool | isUid () const |
bool | isGid () const |
bool | isVtx () const |
mode_t | uperm () const |
mode_t | gperm () const |
mode_t | operm () const |
mode_t | perm () const |
bool | isPerm (mode_t m) const |
bool | hasPerm (mode_t m) const |
mode_t | st_mode () const |
Private Attributes | |
mode_t | _mode |
Friends | |
std::ostream & | operator<< (std::ostream &str, const stat_mode &obj) |
PathInfo::stat_mode::stat_mode | ( | const mode_t & | mode_r = 0 |
) | [inline] |
PathInfo::file_type PathInfo::stat_mode::fileType | ( | ) | const |
mode_t PathInfo::stat_mode::gperm | ( | ) | const [inline] |
References _mode.
bool PathInfo::stat_mode::hasPerm | ( | mode_t | m | ) | const [inline] |
References perm().
bool PathInfo::stat_mode::isBlk | ( | ) | const [inline] |
bool PathInfo::stat_mode::isChr | ( | ) | const [inline] |
bool PathInfo::stat_mode::isDir | ( | ) | const [inline] |
bool PathInfo::stat_mode::isFifo | ( | ) | const [inline] |
bool PathInfo::stat_mode::isFile | ( | ) | const [inline] |
bool PathInfo::stat_mode::isGid | ( | ) | const [inline] |
References _mode.
bool PathInfo::stat_mode::isLink | ( | ) | const [inline] |
bool PathInfo::stat_mode::isPerm | ( | mode_t | m | ) | const [inline] |
References perm().
bool PathInfo::stat_mode::isR | ( | ) | const [inline] |
References isRUsr().
bool PathInfo::stat_mode::isRGrp | ( | ) | const [inline] |
References _mode.
bool PathInfo::stat_mode::isROth | ( | ) | const [inline] |
References _mode.
bool PathInfo::stat_mode::isSock | ( | ) | const [inline] |
bool PathInfo::stat_mode::isUid | ( | ) | const [inline] |
References _mode.
bool PathInfo::stat_mode::isVtx | ( | ) | const [inline] |
References _mode.
bool PathInfo::stat_mode::isW | ( | ) | const [inline] |
References isWUsr().
bool PathInfo::stat_mode::isWGrp | ( | ) | const [inline] |
References _mode.
bool PathInfo::stat_mode::isWOth | ( | ) | const [inline] |
References _mode.
bool PathInfo::stat_mode::isX | ( | ) | const [inline] |
References isXUsr().
bool PathInfo::stat_mode::isXGrp | ( | ) | const [inline] |
References _mode.
bool PathInfo::stat_mode::isXOth | ( | ) | const [inline] |
References _mode.
mode_t PathInfo::stat_mode::operm | ( | ) | const [inline] |
References _mode.
mode_t PathInfo::stat_mode::perm | ( | ) | const [inline] |
mode_t PathInfo::stat_mode::st_mode | ( | ) | const [inline] |
References _mode.
mode_t PathInfo::stat_mode::uperm | ( | ) | const [inline] |
References _mode.
std::ostream& operator<< | ( | std::ostream & | str, | |
const stat_mode & | obj | |||
) | [friend] |
mode_t PathInfo::stat_mode::_mode [private] |