MPD
0.20.6
|
Reader for directory entries. More...
#include <DirectoryReader.hxx>
Public Member Functions | |
DirectoryReader (Path dir) | |
Creates new directory reader for the specified #dir. More... | |
DirectoryReader (const DirectoryReader &other)=delete | |
DirectoryReader & | operator= (const DirectoryReader &other)=delete |
~DirectoryReader () | |
Destroys this instance. More... | |
bool | HasEntry () const |
Checks if directory entry is available. More... | |
bool | ReadEntry () |
Reads next directory entry. More... | |
Path | GetEntry () const |
Extracts directory entry that was previously read by ReadEntry. More... | |
Reader for directory entries.
Definition at line 106 of file DirectoryReader.hxx.
|
explicit |
Creates new directory reader for the specified #dir.
Throws std::system_error on error.
|
delete |
|
inline |
Destroys this instance.
Definition at line 124 of file DirectoryReader.hxx.
|
inline |
Extracts directory entry that was previously read by ReadEntry.
Definition at line 146 of file DirectoryReader.hxx.
|
inline |
Checks if directory entry is available.
Definition at line 131 of file DirectoryReader.hxx.
|
delete |
|
inline |
Reads next directory entry.
Definition at line 138 of file DirectoryReader.hxx.