![]() |
Public API Reference |
#include <vfs.h>
Inheritance diagram for iFile:
Public Methods | |
virtual const char * | GetName ()=0 |
Query file name (in VFS). More... | |
virtual size_t | GetSize ()=0 |
Query file size. More... | |
virtual int | GetStatus ()=0 |
Check (and clear) file last error status. More... | |
virtual size_t | Read (char *Data, size_t DataSize)=0 |
Replacement for standard fread(). More... | |
virtual size_t | Write (const char *Data, size_t DataSize)=0 |
Replacement for standard fwrite(). More... | |
virtual void | Flush ()=0 |
Flush stream. More... | |
virtual bool | AtEOF ()=0 |
Replacement for standard feof(). More... | |
virtual size_t | GetPos ()=0 |
Query current file pointer. More... | |
virtual csPtr< iDataBuffer > | GetAllData (bool nullterm=false)=0 |
Request whole content of the file as a single data buffer. More... | |
virtual bool | SetPos (size_t newpos)=0 |
Set new file pointer. More... |
Definition at line 103 of file vfs.h.
|
Replacement for standard feof().
Implemented in csMemFile. |
|
Flush stream.
Implemented in csMemFile. |
|
Request whole content of the file as a single data buffer.
Implemented in csMemFile. |
|
Query file name (in VFS).
Implemented in csMemFile. |
|
Query current file pointer.
Implemented in csMemFile. |
|
Query file size.
Implemented in csMemFile. |
|
Check (and clear) file last error status.
Implemented in csMemFile. |
|
Replacement for standard fread().
Implemented in csMemFile. |
|
Set new file pointer.
Implemented in csMemFile. |
|
Replacement for standard fwrite().
Implemented in csMemFile. |