Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iFile Struct Reference

A replacement for FILE type in the virtual file space. More...

#include <vfs.h>

Inheritance diagram for iFile:

iBase csMemFile List of all members.

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 bool AtEOF ()=0
 Replacement for standard feof().

virtual size_t GetPos ()=0
 Query current file pointer.

virtual iDataBufferGetAllData ()=0
 This function is intended for VFS internal use only. More...


Detailed Description

A replacement for FILE type in the virtual file space.


Member Function Documentation

iDataBuffer * iFile::GetAllData ( ) [pure virtual]
 

This function is intended for VFS internal use only.

It is not guaranteed to work for all file types (currently it works only for archive files)

Reimplemented in csMemFile.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000