36 class DirectoryListingEntry;
37 class FileSystemProvider;
38 class DirectoryListing_Impl;
94 std::shared_ptr<DirectoryListing_Impl> impl;
virtual ~DirectoryListing()
bool is_null() const
Returns true if this object is invalid.
Definition: directory_listing.h:61
Virtual File System (VFS) directory listing class.
Definition: directory_listing.h:42
bool is_directory()
Returns true if item is a directory.
bool is_writable()
Returns true if item is writable.
Virtual File System (VFS) file source.
Definition: file_system_provider.h:46
bool next()
Advance to next item in listing.
std::string get_filename()
Returns the file name of the current item in the listing.
bool is_hidden()
Returns true if item is hidden.
bool is_readable()
Returns true if item is readable.
DirectoryListing(FileSystemProvider *provider, const std::string &path)
Constructs a virtual directory listening object.
DirectoryListing()
Constructs a null instance.
void throw_if_null() const
Throw an exception if this object is invalid.