Logo Search packages:      
Sourcecode: akode version File versions  Download package

aKode::File Class Reference

#include <file.h>

Inheritance diagram for aKode::File:

aKode::LocalFile aKode::MMapFile

List of all members.


Detailed Description

The generic interface to aKode's virtualised files.

An interface with the all the needed file/stream-operations the library needs.

Definition at line 37 of file file.h.


Public Member Functions

virtual void close ()=0
virtual bool eof () const =0
virtual bool error () const =0
virtual void fadvise ()=0
 File (const char *filename)
virtual long length () const =0
virtual bool openRO ()
virtual bool openRW ()
virtual bool openWO ()
virtual long position () const =0
virtual long read (char *ptr, long num)=0
virtual bool readable () const =0
virtual bool seek (long to, int whence=SEEK_SET)=0
virtual bool seekable () const =0
virtual long write (const char *ptr, long num)=0
virtual bool writeable () const =0

Public Attributes

const char * filename

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index