|
libept
|
Iterator for directory entries. More...
#include <sys.h>
Public Member Functions | |
| iterator () | |
| iterator (Path &dir) | |
| iterator (iterator &)=delete | |
| iterator (iterator &&o) | |
| ~iterator () | |
| iterator & | operator= (iterator &)=delete |
| iterator & | operator= (iterator &&)=delete |
| bool | operator== (const iterator &i) const |
| bool | operator!= (const iterator &i) const |
| struct dirent & | operator* () const |
| struct dirent * | operator-> () const |
| void | operator++ () |
| bool | isdir () const |
| bool | isblk () const |
| bool | ischr () const |
| bool | isfifo () const |
| bool | islnk () const |
| bool | isreg () const |
| bool | issock () const |
Public Attributes | |
| Path * | path = nullptr |
| DIR * | dir = nullptr |
| struct dirent * | cur_entry = nullptr |
Iterator for directory entries.
| ept::sys::Path::iterator::iterator | ( | ) |
| ept::sys::Path::iterator::iterator | ( | Path & | dir | ) |
References cur_entry, ept::sys::FileDescriptor::fd, ept::sys::Path::fdopendir(), and operator++().
|
delete |
|
inline |
| ept::sys::Path::iterator::~iterator | ( | ) |
| bool ept::sys::Path::iterator::isblk | ( | ) | const |
References ept::sys::stat().
| bool ept::sys::Path::iterator::ischr | ( | ) | const |
References ept::sys::stat().
| bool ept::sys::Path::iterator::isdir | ( | ) | const |
References ept::sys::stat().
| bool ept::sys::Path::iterator::isfifo | ( | ) | const |
References ept::sys::stat().
| bool ept::sys::Path::iterator::islnk | ( | ) | const |
References ept::sys::stat().
| bool ept::sys::Path::iterator::isreg | ( | ) | const |
References ept::sys::stat().
| bool ept::sys::Path::iterator::issock | ( | ) | const |
References ept::sys::stat().
| bool ept::sys::Path::iterator::operator!= | ( | const iterator & | i | ) | const |
|
inline |
References cur_entry.
| void ept::sys::Path::iterator::operator++ | ( | ) |
Referenced by iterator().
|
inline |
References cur_entry.
| bool ept::sys::Path::iterator::operator== | ( | const iterator & | i | ) | const |
| struct dirent* ept::sys::Path::iterator::cur_entry = nullptr |
Referenced by iterator(), operator!=(), operator*(), operator->(), and operator==().
| DIR* ept::sys::Path::iterator::dir = nullptr |
Referenced by operator!=(), and operator==().
| Path* ept::sys::Path::iterator::path = nullptr |
1.8.9.1