Iterator for directory entries.
More...
#include <sys.h>
|
using | iterator_category = std::input_iterator_tag |
|
using | value_type = ::dirent |
|
using | difference_type = int |
|
using | pointer = ::dirent * |
|
using | reference = ::dirent & |
|
|
Path * | path = nullptr |
|
DIR * | dir = nullptr |
|
::dirent * | cur_entry = nullptr |
|
Iterator for directory entries.
◆ isblk()
bool wreport::sys::Path::iterator::isblk |
( |
| ) |
const |
- Returns
- true if we refer to a block device, else false
◆ ischr()
bool wreport::sys::Path::iterator::ischr |
( |
| ) |
const |
- Returns
- true if we refer to a character device, else false
◆ isdir()
bool wreport::sys::Path::iterator::isdir |
( |
| ) |
const |
- Returns
- true if we refer to a directory, else false
◆ isfifo()
bool wreport::sys::Path::iterator::isfifo |
( |
| ) |
const |
- Returns
- true if we refer to a named pipe (FIFO).
◆ islnk()
bool wreport::sys::Path::iterator::islnk |
( |
| ) |
const |
- Returns
- true if we refer to a symbolic link.
◆ isreg()
bool wreport::sys::Path::iterator::isreg |
( |
| ) |
const |
- Returns
- true if we refer to a regular file.
◆ issock()
bool wreport::sys::Path::iterator::issock |
( |
| ) |
const |
- Returns
- true if we refer to a Unix domain socket.
The documentation for this struct was generated from the following file: