yast2-core
|
Wrapper class for mode_t values as derived from ::stat. More...
#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) |
Wrapper class for mode_t values as derived from ::stat.
|
inline |
PathInfo::file_type PathInfo::stat_mode::fileType | ( | ) | const |
References isBlk(), isChr(), isDir(), isFifo(), isFile(), isLink(), isSock(), PathInfo::NOT_AVAIL, PathInfo::T_BLOCKDEV, PathInfo::T_CHARDEV, PathInfo::T_DIR, PathInfo::T_FIFO, PathInfo::T_FILE, PathInfo::T_LINK, and PathInfo::T_SOCKET.
Referenced by PathInfo::fileType().
|
inline |
|
inline |
References perm().
|
inline |
Referenced by fileType(), and operator<<().
|
inline |
Referenced by fileType(), and operator<<().
|
inline |
Referenced by fileType(), and operator<<().
|
inline |
Referenced by fileType(), and operator<<().
|
inline |
Referenced by fileType(), and operator<<().
|
inline |
|
inline |
Referenced by fileType(), and operator<<().
|
inline |
References perm().
|
inline |
References isRUsr().
|
inline |
|
inline |
|
inline |
Referenced by isR().
|
inline |
Referenced by fileType(), and operator<<().
|
inline |
|
inline |
|
inline |
References isWUsr().
|
inline |
|
inline |
|
inline |
Referenced by isW().
|
inline |
References isXUsr().
|
inline |
|
inline |
|
inline |
Referenced by isX().
|
inline |
|
inline |
Referenced by hasPerm(), isPerm(), and operator<<().
|
inline |
References _mode.
|
inline |
|
friend |
|
private |
Referenced by st_mode().