#include <GStream.h>
Public Member Functions | |
int | Open (const char *Str, int Int) |
bool | IsOpen () |
Returns true is the stream is still open. | |
int | Close () |
int64 | GetSize () |
Gets the size of the stream. | |
int64 | SetSize (int64 Size) |
Sets the size of the stream. | |
int64 | GetPos () |
Gets the current position of the stream. | |
int64 | SetPos (int64 Pos) |
Sets the current position of the stream. | |
int | Read (void *b, int l, int f=0) |
Read bytes out of the stream. | |
int | Write (const void *b, int l, int f=0) |
Write bytes to the stream. | |
GStreamI * | Clone () |
Creates a dynamically allocated copy of the same type of stream. This new stream is not connected to anything. |
int GProxyStream::Open | ( | const char * | Str, | |
int | Int | |||
) | [inline, virtual] |
int GProxyStream::Close | ( | ) | [inline, virtual] |
int64 GProxyStream::GetSize | ( | ) | [inline, virtual] |
Gets the size of the stream.
Reimplemented from GStreamI.
Sets the size of the stream.
Reimplemented from GStreamI.
int64 GProxyStream::GetPos | ( | ) | [inline, virtual] |
Gets the current position of the stream.
Reimplemented from GStreamI.
Sets the current position of the stream.
Reimplemented from GStreamI.
int GProxyStream::Read | ( | void * | Buffer, | |
int | Size, | |||
int | Flags = 0 | |||
) | [inline, virtual] |
Read bytes out of the stream.
Implements GStreamI.
int GProxyStream::Write | ( | const void * | Buffer, | |
int | Size, | |||
int | Flags = 0 | |||
) | [inline, virtual] |
Write bytes to the stream.
Implements GStreamI.
Reimplemented in GTempStream.
Referenced by GTempStream::Write().
GStreamI* GProxyStream::Clone | ( | ) | [inline, virtual] |
Creates a dynamically allocated copy of the same type of stream. This new stream is not connected to anything.
Reimplemented from GStreamI.