Directory Class Reference
Directory stream class. More...
#include <FileSystem.h>
Inheritance diagram for Directory:
Collaboration diagram for Directory:
Public Member Functions | |
| Directory () | |
Public Member Functions inherited from IFS::Directory | |
| ~Directory () | |
| bool | open (const String &dirName=nullptr) |
| Open a directory and attach this stream object to it. More... | |
| void | close () |
| Close directory. More... | |
| bool | rewind () |
| Rewind directory stream to start so it can be re-enumerated. More... | |
| const String & | getDirName () const |
| Name of directory stream is attached to. More... | |
| bool | dirExist () const |
| Determine if directory exists. More... | |
| String | getPath () const |
| Get path with leading separator /path/to/dir. More... | |
| String | getParent () const |
| Get parent directory. More... | |
| int | index () const |
| size_t | count () const |
| bool | isValid () const |
| size_t | size () const |
| const Stat & | stat () const |
| bool | next () |
Public Member Functions inherited from IFS::FsBase | |
| FsBase (IFileSystem *filesys) | |
| bool | isValid () const |
| int | getLastError () |
| determine if an error occurred during operation More... | |
| String | getErrorString (int err) const |
| String | getLastErrorString () const |
| FileSystem * | getFileSystem () const |
Additional Inherited Members | |
Protected Member Functions inherited from IFS::FsBase | |
| bool | check (int res) |
| Check file operation result and note error code. More... | |
Protected Attributes inherited from IFS::FsBase | |
| int | lastError {FS_OK} |
Detailed Description
Directory stream class.
Constructor & Destructor Documentation
◆ Directory()
|
inline |
The documentation for this class was generated from the following file:
Public Member Functions inherited from
1.8.13