AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
#include <IzPlatformFile.h>
Public Member Functions | |
bool | isInitialised () const |
virtual int | Init ()=0 |
virtual void | Release ()=0 |
virtual CzFileHandle | Open (const char *filename, const char *mode)=0 |
virtual CzFileHandle | OpenFromMemory (void *memory, uint num_bytes)=0 |
virtual void | Close (CzFileHandle file)=0 |
virtual bool | Seek (CzFileHandle file, int offset, eCzFileSeekOrigin origin)=0 |
virtual uint | Read (CzFileHandle file, void *buffer, uint num_bytes)=0 |
virtual uint | Write (CzFileHandle file, void *buffer, uint num_bytes)=0 |
virtual bool | Exists (const char *filename)=0 |
virtual bool | Delete (const char *filename)=0 |
virtual int | getSize (CzFileHandle file)=0 |
virtual const char * | getErrorString ()=0 |
Protected Attributes | |
bool | Initialised |
virtual void IzPlatformFile::Close | ( | CzFileHandle | file | ) | [pure virtual] |
Implemented in CzPlatformFile, and CzPlatformFile.
virtual bool IzPlatformFile::Delete | ( | const char * | filename | ) | [pure virtual] |
Implemented in CzPlatformFile, and CzPlatformFile.
virtual bool IzPlatformFile::Exists | ( | const char * | filename | ) | [pure virtual] |
Implemented in CzPlatformFile, and CzPlatformFile.
virtual const char* IzPlatformFile::getErrorString | ( | ) | [pure virtual] |
Implemented in CzPlatformFile, and CzPlatformFile.
virtual int IzPlatformFile::getSize | ( | CzFileHandle | file | ) | [pure virtual] |
Implemented in CzPlatformFile, and CzPlatformFile.
virtual int IzPlatformFile::Init | ( | ) | [pure virtual] |
Implemented in CzPlatformFile, and CzPlatformFile.
bool IzPlatformFile::isInitialised | ( | ) | const [inline] |
virtual CzFileHandle IzPlatformFile::Open | ( | const char * | filename, |
const char * | mode | ||
) | [pure virtual] |
Implemented in CzPlatformFile, and CzPlatformFile.
virtual CzFileHandle IzPlatformFile::OpenFromMemory | ( | void * | memory, |
uint | num_bytes | ||
) | [pure virtual] |
Implemented in CzPlatformFile, and CzPlatformFile.
virtual uint IzPlatformFile::Read | ( | CzFileHandle | file, |
void * | buffer, | ||
uint | num_bytes | ||
) | [pure virtual] |
Implemented in CzPlatformFile, and CzPlatformFile.
virtual void IzPlatformFile::Release | ( | ) | [pure virtual] |
Implemented in CzPlatformFile, and CzPlatformFile.
virtual bool IzPlatformFile::Seek | ( | CzFileHandle | file, |
int | offset, | ||
eCzFileSeekOrigin | origin | ||
) | [pure virtual] |
Implemented in CzPlatformFile, and CzPlatformFile.
virtual uint IzPlatformFile::Write | ( | CzFileHandle | file, |
void * | buffer, | ||
uint | num_bytes | ||
) | [pure virtual] |
Implemented in CzPlatformFile, and CzPlatformFile.
bool IzPlatformFile::Initialised [protected] |