$treeview $search $mathjax
Stratagus
2.2.7
$projectbrief
|
$projectbrief
|
$searchbox |
_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <iolib.h>
Public Member Functions | |
iolib.cpp - Compression-IO helper functions. | |
CFile () | |
~CFile () | |
int | open (const char *name, long flags) |
int | close () |
void | flush () |
int | read (void *buf, size_t len) |
int | seek (long offset, int whence) |
long | tell () |
int | printf (const char *format,...) PRINTF_VAARG_ATTRIBUTE(2 |
Classes | |
class | PImpl |
CFile::CFile | ( | ) |
CFile::~CFile | ( | ) |
int CFile::open | ( | const char * | name, | |
long | flags | |||
) |
CLopen Library file open
name | File name. | |
openflags | Open read, or write and compression options |
int CFile::close | ( | ) |
CLclose Library file close
void CFile::flush | ( | ) |
int CFile::read | ( | void * | buf, | |
size_t | len | |||
) |
CLread Library file read
buf | Pointer to read the data to. | |
len | number of bytes to read. |
int CFile::seek | ( | long | offset, | |
int | whence | |||
) |
CLseek Library file seek
offset | Seek position | |
whence | How to seek |
long CFile::tell | ( | ) |
CLtell Library file tell
int CFile::printf | ( | const char * | format, | |
... | ||||
) |
CLprintf Library file write
format | String Format. | |
... | Parameter List. |