iFile Struct Reference
[Virtual File System (VFS)]
A replacement for FILE type in the virtual file space.
More...
#include <vfs.h>
Inheritance diagram for iFile:

Public Methods | |
virtual const char * | GetName ()=0 |
Query file name (in VFS). | |
virtual size_t | GetSize ()=0 |
Query file size. | |
virtual int | GetStatus ()=0 |
Check (and clear) file last error status. | |
virtual size_t | Read (char *Data, size_t DataSize)=0 |
Replacement for standard fread(). | |
virtual size_t | Write (const char *Data, size_t DataSize)=0 |
Replacement for standard fwrite(). | |
virtual void | Flush ()=0 |
Flush stream. | |
virtual bool | AtEOF ()=0 |
Replacement for standard feof(). | |
virtual size_t | GetPos ()=0 |
Query current file pointer. | |
virtual csPtr< iDataBuffer > | GetAllData (bool nullterm=false)=0 |
Request whole content of the file as a single data buffer. | |
virtual bool | SetPos (size_t newpos)=0 |
Set new file pointer. |
Detailed Description
A replacement for FILE type in the virtual file space.
Definition at line 103 of file vfs.h.
Member Function Documentation
|
Replacement for standard feof().
Implemented in csMemFile, and csPhysicalFile. |
|
Flush stream.
Implemented in csMemFile, and csPhysicalFile. |
|
Request whole content of the file as a single data buffer.
Implemented in csMemFile, and csPhysicalFile. |
|
Query file name (in VFS).
Implemented in csMemFile, and csPhysicalFile. |
|
Query current file pointer.
Implemented in csMemFile, and csPhysicalFile. |
|
Query file size.
Implemented in csMemFile, and csPhysicalFile. |
|
Check (and clear) file last error status.
Implemented in csMemFile, and csPhysicalFile. |
|
Replacement for standard fread().
Implemented in csMemFile, and csPhysicalFile. |
|
Set new file pointer.
Implemented in csMemFile, and csPhysicalFile. |
|
Replacement for standard fwrite().
Implemented in csMemFile, and csPhysicalFile. |
The documentation for this struct was generated from the following file:
- iutil/vfs.h
Generated for Crystal Space by doxygen 1.2.18