16 class LocalFileSystem;
55 virtual std::unique_ptr<AbstractFileIteratorBackend> clone()
const override;
57 virtual bool valid()
const override;
58 virtual std::string path()
const override;
59 virtual int index()
const override;
60 virtual std::string name()
const override;
61 virtual void next()
override;
69 std::shared_ptr<LocalFileSystem>
m_fs;
DIR * m_dir
Directory handle.
Definition: posix/LocalFileIterator.h:71
File iterator for the local file system.
Definition: posix/LocalFileIterator.h:23
struct dirent * m_entry
Current directory entry.
Definition: posix/LocalFileIterator.h:72
Definition: AbstractFileHandleBackend.h:14
Interface for iterating on directories.
Definition: AbstractFileIteratorBackend.h:22
std::shared_ptr< LocalFileSystem > m_fs
File system that created this iterator.
Definition: posix/LocalFileIterator.h:69
std::string m_path
Path to file or directory.
Definition: posix/LocalFileIterator.h:70
int m_index
Index of the current entry.
Definition: posix/LocalFileIterator.h:73
Interface for accessing file systems.
Definition: AbstractFileSystem.h:21