Wrapper class for mode_t values as derived from ::stat.
More...
#include <fs/PathInfo.h>
|
(Note that these are not member functions.)
|
std::ostream & | operator<< (std::ostream &str, const StatMode &obj) |
| Stream output.
|
|
Wrapper class for mode_t values as derived from ::stat.
Definition at line 80 of file PathInfo.h.
◆ StatMode()
zypp::filesystem::StatMode::StatMode |
( |
const mode_t & |
mode_r = 0 | ) |
|
|
inline |
Ctor taking mode_t value from ::stat.
Definition at line 86 of file PathInfo.h.
◆ fileType()
FileType zypp::filesystem::StatMode::fileType |
( |
| ) |
const |
◆ isFile()
bool zypp::filesystem::StatMode::isFile |
( |
| ) |
const |
|
inline |
◆ isDir()
bool zypp::filesystem::StatMode::isDir |
( |
| ) |
const |
|
inline |
◆ isLink()
bool zypp::filesystem::StatMode::isLink |
( |
| ) |
const |
|
inline |
◆ isChr()
bool zypp::filesystem::StatMode::isChr |
( |
| ) |
const |
|
inline |
◆ isBlk()
bool zypp::filesystem::StatMode::isBlk |
( |
| ) |
const |
|
inline |
◆ isFifo()
bool zypp::filesystem::StatMode::isFifo |
( |
| ) |
const |
|
inline |
◆ isSock()
bool zypp::filesystem::StatMode::isSock |
( |
| ) |
const |
|
inline |
◆ isRUsr()
bool zypp::filesystem::StatMode::isRUsr |
( |
| ) |
const |
|
inline |
◆ isWUsr()
bool zypp::filesystem::StatMode::isWUsr |
( |
| ) |
const |
|
inline |
◆ isXUsr()
bool zypp::filesystem::StatMode::isXUsr |
( |
| ) |
const |
|
inline |
◆ isR()
bool zypp::filesystem::StatMode::isR |
( |
| ) |
const |
|
inline |
◆ isW()
bool zypp::filesystem::StatMode::isW |
( |
| ) |
const |
|
inline |
◆ isX()
bool zypp::filesystem::StatMode::isX |
( |
| ) |
const |
|
inline |
◆ isRGrp()
bool zypp::filesystem::StatMode::isRGrp |
( |
| ) |
const |
|
inline |
◆ isWGrp()
bool zypp::filesystem::StatMode::isWGrp |
( |
| ) |
const |
|
inline |
◆ isXGrp()
bool zypp::filesystem::StatMode::isXGrp |
( |
| ) |
const |
|
inline |
◆ isROth()
bool zypp::filesystem::StatMode::isROth |
( |
| ) |
const |
|
inline |
◆ isWOth()
bool zypp::filesystem::StatMode::isWOth |
( |
| ) |
const |
|
inline |
◆ isXOth()
bool zypp::filesystem::StatMode::isXOth |
( |
| ) |
const |
|
inline |
◆ isUid()
bool zypp::filesystem::StatMode::isUid |
( |
| ) |
const |
|
inline |
◆ isGid()
bool zypp::filesystem::StatMode::isGid |
( |
| ) |
const |
|
inline |
◆ isVtx()
bool zypp::filesystem::StatMode::isVtx |
( |
| ) |
const |
|
inline |
◆ isPerm()
bool zypp::filesystem::StatMode::isPerm |
( |
mode_t |
m | ) |
const |
|
inline |
Test for equal permission bits.
Definition at line 146 of file PathInfo.h.
◆ hasPerm()
bool zypp::filesystem::StatMode::hasPerm |
( |
mode_t |
m | ) |
const |
|
inline |
Test for set permission bits.
Definition at line 148 of file PathInfo.h.
◆ uperm()
mode_t zypp::filesystem::StatMode::uperm |
( |
| ) |
const |
|
inline |
◆ gperm()
mode_t zypp::filesystem::StatMode::gperm |
( |
| ) |
const |
|
inline |
◆ operm()
mode_t zypp::filesystem::StatMode::operm |
( |
| ) |
const |
|
inline |
◆ perm()
mode_t zypp::filesystem::StatMode::perm |
( |
| ) |
const |
|
inline |
◆ st_mode()
mode_t zypp::filesystem::StatMode::st_mode |
( |
| ) |
const |
|
inline |
Return the mode_t value.
Definition at line 160 of file PathInfo.h.
◆ operator<< [1/2]
std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const StatMode & |
obj |
|
) |
| |
|
friend |
◆ operator<<() [2/2]
std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const StatMode & |
obj |
|
) |
| |
|
related |
◆ _mode
mode_t zypp::filesystem::StatMode::_mode |
|
private |
The documentation for this class was generated from the following files: