|
CeresEngine 0.2.0
A game development framework
|
Interface for iterating on directories. More...
#include <CeresEngine/Foundation/IO/FileHandle.hpp>
Public Member Functions | |
| IFileIterator ()=default | |
| virtual | ~IFileIterator ()=default |
| virtual IFileSystem * | getFileSystem () const =0 |
| virtual bool | isValid () const =0 |
| Checks if iterator points to a valid item. | |
| virtual const FileHandle & | getParent () const =0 |
Gets the parent FileHandle this iterator iterates over. | |
| virtual Int32 | getIndex () const =0 |
| Gets the current index of iterator in the directory. | |
| virtual FileHandle | getFileHandle () const =0 |
| Gets the current entry file handle. | |
| virtual void | next ()=0 |
| Advances to the next item. | |
Interface for iterating on directories.
|
default |
|
virtualdefault |
|
pure virtual |
Gets the current entry file handle.
Implemented in CeresEngine::LocalFileIterator.
|
pure virtual |
Implemented in CeresEngine::LocalFileIterator.
Gets the current index of iterator in the directory.
Implemented in CeresEngine::LocalFileIterator.
|
pure virtual |
Gets the parent FileHandle this iterator iterates over.
Implemented in CeresEngine::LocalFileIterator.
Checks if iterator points to a valid item.
true if valid, else false. Implemented in CeresEngine::LocalFileIterator.
Advances to the next item.
Implemented in CeresEngine::LocalFileIterator.