MPD
0.20.15
|
A reference to a directory. More...
#include <LightDirectory.hxx>
Public Member Functions | |
constexpr | LightDirectory (const char *_uri, time_t _mtime) |
bool | IsRoot () const noexcept |
gcc_pure const char * | GetPath () const noexcept |
Static Public Member Functions | |
static constexpr LightDirectory | Root () noexcept |
Data Fields | |
const char * | uri |
time_t | mtime |
A reference to a directory.
Unlike the Directory class, this one consists only of pointers. It is supposed to be as light as possible while still providing all the information MPD has about a directory. This class does not manage any memory, and the pointers become invalid quickly. Only to be used to pass around during well-defined situations.
Definition at line 39 of file LightDirectory.hxx.
|
inline |
Definition at line 44 of file LightDirectory.hxx.
|
inlinenoexcept |
Definition at line 56 of file LightDirectory.hxx.
|
inlinenoexcept |
Definition at line 51 of file LightDirectory.hxx.
|
inlinestaticnoexcept |
Definition at line 47 of file LightDirectory.hxx.
time_t LightDirectory::mtime |
Definition at line 42 of file LightDirectory.hxx.
const char* LightDirectory::uri |
Definition at line 40 of file LightDirectory.hxx.