Skip to content

Class fs::FileImpl

ClassList > fs > FileImpl

Public Functions

Type Name
virtual void close () = 0
virtual void flush () = 0
virtual time_t getLastWrite () = 0
virtual boolean isDirectory (void) = 0
virtual const char * name () const = 0
virtual FileImplPtr openNextFile (const char * mode) = 0
virtual operator bool () = 0
virtual const char * path () const = 0
virtual size_t position () const = 0
virtual size_t read (uint8_t * buf, size_t size) = 0
virtual void rewindDirectory (void) = 0
virtual bool seek (uint32_t pos, SeekMode mode) = 0
virtual bool setBufferSize (size_t size) = 0
virtual size_t size () const = 0
virtual size_t write (const uint8_t * buf, size_t size) = 0
virtual ~FileImpl ()

Public Functions Documentation

function close

virtual void fs::FileImpl::close () = 0

function flush

virtual void fs::FileImpl::flush () = 0

function getLastWrite

virtual time_t fs::FileImpl::getLastWrite () = 0

function isDirectory

virtual boolean fs::FileImpl::isDirectory (
    void
) = 0

function name

virtual const char * fs::FileImpl::name () const = 0

function openNextFile

virtual FileImplPtr fs::FileImpl::openNextFile (
    const char * mode
) = 0

function operator bool

virtual fs::FileImpl::operator bool () = 0

function path

virtual const char * fs::FileImpl::path () const = 0

function position

virtual size_t fs::FileImpl::position () const = 0

function read

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

function rewindDirectory

virtual void fs::FileImpl::rewindDirectory (
    void
) = 0

function seek

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

function setBufferSize

virtual bool fs::FileImpl::setBufferSize (
    size_t size
) = 0

function size

virtual size_t fs::FileImpl::size () const = 0

function write

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

function ~FileImpl

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

The documentation for this class was generated from the following file cores/common/arduino/libraries/common/FS/FS.h