ESP8266
Public Member Functions | Protected Attributes | List of all members
SPIFFSDirImpl Class Reference
Inheritance diagram for SPIFFSDirImpl:
fs::DirImpl

Public Member Functions

 SPIFFSDirImpl (const String &pattern, SPIFFSImpl *fs, spiffs_DIR &dir)
 
 ~SPIFFSDirImpl () override
 
FileImplPtr openFile (OpenMode openMode, AccessMode accessMode) override
 
const char * fileName () override
 
size_t fileSize () override
 
bool next () override
 
- Public Member Functions inherited from fs::DirImpl
virtual ~DirImpl ()
 

Protected Attributes

String _pattern
 
SPIFFSImpl_fs
 
spiffs_DIR _dir
 
spiffs_dirent _dirent
 
bool _valid
 

Constructor & Destructor Documentation

SPIFFSDirImpl::SPIFFSDirImpl ( const String &  pattern,
SPIFFSImpl fs,
spiffs_DIR dir 
)
SPIFFSDirImpl::~SPIFFSDirImpl ( )
override

Member Function Documentation

const char* SPIFFSDirImpl::fileName ( )
overridevirtual

Implements fs::DirImpl.

size_t SPIFFSDirImpl::fileSize ( void  )
overridevirtual

Implements fs::DirImpl.

bool SPIFFSDirImpl::next ( )
overridevirtual

Implements fs::DirImpl.

FileImplPtr SPIFFSDirImpl::openFile ( OpenMode  openMode,
AccessMode  accessMode 
)
overridevirtual

Implements fs::DirImpl.

Member Data Documentation

spiffs_DIR SPIFFSDirImpl::_dir
protected
spiffs_dirent SPIFFSDirImpl::_dirent
protected
SPIFFSImpl* SPIFFSDirImpl::_fs
protected
String SPIFFSDirImpl::_pattern
protected
bool SPIFFSDirImpl::_valid
protected