ESP8266
Public Member Functions | List of all members
fs::FileImpl Class Referenceabstract
Inheritance diagram for fs::FileImpl:
SPIFFSFileImpl

Public Member Functions

virtual ~FileImpl ()
 
virtual size_t write (const uint8_t *buf, size_t size)=0
 
virtual size_t read (uint8_t *buf, size_t size)=0
 
virtual void flush ()=0
 
virtual bool seek (uint32_t pos, SeekMode mode)=0
 
virtual size_t position () const =0
 
virtual size_t size () const =0
 
virtual void close ()=0
 
virtual const char * name () const =0
 

Constructor & Destructor Documentation

virtual fs::FileImpl::~FileImpl ( )
virtual

Member Function Documentation

virtual void fs::FileImpl::close ( )
pure virtual

Implemented in SPIFFSFileImpl.

virtual void fs::FileImpl::flush ( )
pure virtual

Implemented in SPIFFSFileImpl.

virtual const char* fs::FileImpl::name ( ) const
pure virtual

Implemented in SPIFFSFileImpl.

virtual size_t fs::FileImpl::position ( ) const
pure virtual

Implemented in SPIFFSFileImpl.

virtual size_t fs::FileImpl::read ( uint8_t *  buf,
size_t  size 
)
pure virtual

Implemented in SPIFFSFileImpl.

virtual bool fs::FileImpl::seek ( uint32_t  pos,
SeekMode  mode 
)
pure virtual

Implemented in SPIFFSFileImpl.

virtual size_t fs::FileImpl::size ( ) const
pure virtual

Implemented in SPIFFSFileImpl.

virtual size_t fs::FileImpl::write ( const uint8_t *  buf,
size_t  size 
)
pure virtual

Implemented in SPIFFSFileImpl.