fileops.cc File Reference
Defines the
igzstream,
ogzstream and
fileops classes.
More...
#include <stdio.h>
#include <iostream>
#include <SDL/SDL_endian.h>
#include "fileops.h"
Go to the source code of this file.
|
Functions |
bool & | operator<< (bool &n, igzstream &gfile) |
| Reads a boolean.
|
char & | operator<< (char &n, igzstream &gfile) |
| Reads a char.
|
u_int8 & | operator<< (u_int8 &n, igzstream &gfile) |
| Reads a u_int8.
|
s_int8 & | operator<< (s_int8 &n, igzstream &gfile) |
| Reads a s_int8.
|
u_int16 & | operator<< (u_int16 &n, igzstream &gfile) |
| Reads a u_int16.
|
s_int16 & | operator<< (s_int16 &n, igzstream &gfile) |
| Reads a s_int16.
|
u_int32 & | operator<< (u_int32 &n, igzstream &gfile) |
| Reads a u_int32.
|
s_int32 & | operator<< (s_int32 &n, igzstream &gfile) |
| Reads a s_int32.
|
string & | operator<< (string &s, igzstream &gfile) |
| Reads a string.
|
float & | operator<< (float &f, igzstream &gfile) |
| Reads a float.
|
const bool & | operator>> (const bool &n, ogzstream &gfile) |
| Writes a boolean.
|
const char & | operator>> (const char &n, ogzstream &gfile) |
| Writes a char.
|
const u_int8 & | operator>> (const u_int8 &n, ogzstream &gfile) |
| Writes a u_int8.
|
const s_int8 & | operator>> (const s_int8 &n, ogzstream &gfile) |
| Writes a s_int8.
|
const u_int16 & | operator>> (const u_int16 &n, ogzstream &gfile) |
| Writes a u_int16.
|
const s_int16 & | operator>> (const s_int16 &n, ogzstream &gfile) |
| Writes a s_int16.
|
const u_int32 & | operator>> (const u_int32 &n, ogzstream &gfile) |
| Writes a u_int32.
|
const s_int32 & | operator>> (const s_int32 &n, ogzstream &gfile) |
| Writes a s_int32.
|
string & | operator>> (const string &s, ogzstream &gfile) |
| Writes a string.
|
const float & | operator>> (const float &f, ogzstream &gfile) |
| Writes a float.
|
Detailed Description
Defines the
igzstream,
ogzstream and
fileops classes.
- Author:
- Alexandre Courbot <alexandrecourbot@linuxgames.com>
Definition in file fileops.cc.
Function Documentation
bool& operator<< |
( |
bool & |
n, |
|
|
igzstream & |
gfile | |
|
) |
| | |
char& operator<< |
( |
char & |
n, |
|
|
igzstream & |
gfile | |
|
) |
| | |
u_int8& operator<< |
( |
u_int8 & |
n, |
|
|
igzstream & |
gfile | |
|
) |
| | |
s_int8& operator<< |
( |
s_int8 & |
n, |
|
|
igzstream & |
gfile | |
|
) |
| | |
u_int16& operator<< |
( |
u_int16 & |
n, |
|
|
igzstream & |
gfile | |
|
) |
| | |
s_int16& operator<< |
( |
s_int16 & |
n, |
|
|
igzstream & |
gfile | |
|
) |
| | |
u_int32& operator<< |
( |
u_int32 & |
n, |
|
|
igzstream & |
gfile | |
|
) |
| | |
s_int32& operator<< |
( |
s_int32 & |
n, |
|
|
igzstream & |
gfile | |
|
) |
| | |
string& operator<< |
( |
string & |
s, |
|
|
igzstream & |
gfile | |
|
) |
| | |
float& operator<< |
( |
float & |
f, |
|
|
igzstream & |
gfile | |
|
) |
| | |
const bool& operator>> |
( |
const bool & |
n, |
|
|
ogzstream & |
gfile | |
|
) |
| | |
const char& operator>> |
( |
const char & |
n, |
|
|
ogzstream & |
gfile | |
|
) |
| | |
const u_int8& operator>> |
( |
const u_int8 & |
n, |
|
|
ogzstream & |
gfile | |
|
) |
| | |
const s_int8& operator>> |
( |
const s_int8 & |
n, |
|
|
ogzstream & |
gfile | |
|
) |
| | |
const u_int16& operator>> |
( |
const u_int16 & |
n, |
|
|
ogzstream & |
gfile | |
|
) |
| | |
const s_int16& operator>> |
( |
const s_int16 & |
n, |
|
|
ogzstream & |
gfile | |
|
) |
| | |
const u_int32& operator>> |
( |
const u_int32 & |
n, |
|
|
ogzstream & |
gfile | |
|
) |
| | |
const s_int32& operator>> |
( |
const s_int32 & |
n, |
|
|
ogzstream & |
gfile | |
|
) |
| | |
string& operator>> |
( |
const string & |
s, |
|
|
ogzstream & |
gfile | |
|
) |
| | |
const float& operator>> |
( |
const float & |
f, |
|
|
ogzstream & |
gfile | |
|
) |
| | |