Directory stream class. More...

#include <FileSystem.h>

Inheritance diagram for Directory:
[legend]
Collaboration diagram for Directory:
[legend]

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 StringgetDirName () 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 Statstat () 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
 
FileSystemgetFileSystem () 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()

Directory::Directory ( )
inline

The documentation for this class was generated from the following file: