Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXMemoryStream Class Reference

Memory Store Definition. More...

#include <FXMemoryStream.h>

Inheritance diagram for FX::FXMemoryStream:

FX::FXStream List of all members.

Public Member Functions

 FXMemoryStream (const FXObject *cont=NULL)
FXbool open (FXStreamDirection save_or_load, FXuchar *data)
FXbool open (FXStreamDirection save_or_load, unsigned long size, FXuchar *data)
void takeBuffer (FXuchar *&data, unsigned long &size)
void giveBuffer (FXuchar *data, unsigned long size)
virtual FXbool close ()
virtual FXbool position (long offset, FXWhence whence=FXFromStart)
FXMemoryStreamoperator<< (const FXuchar &v)
FXMemoryStreamoperator<< (const FXchar &v)
FXMemoryStreamoperator<< (const FXushort &v)
FXMemoryStreamoperator<< (const FXshort &v)
FXMemoryStreamoperator<< (const FXuint &v)
FXMemoryStreamoperator<< (const FXint &v)
FXMemoryStreamoperator<< (const FXfloat &v)
FXMemoryStreamoperator<< (const FXdouble &v)
FXMemoryStreamsave (const FXuchar *p, unsigned long n)
FXMemoryStreamsave (const FXchar *p, unsigned long n)
FXMemoryStreamsave (const FXushort *p, unsigned long n)
FXMemoryStreamsave (const FXshort *p, unsigned long n)
FXMemoryStreamsave (const FXuint *p, unsigned long n)
FXMemoryStreamsave (const FXint *p, unsigned long n)
FXMemoryStreamsave (const FXfloat *p, unsigned long n)
FXMemoryStreamsave (const FXdouble *p, unsigned long n)
FXMemoryStreamoperator>> (FXuchar &v)
FXMemoryStreamoperator>> (FXchar &v)
FXMemoryStreamoperator>> (FXushort &v)
FXMemoryStreamoperator>> (FXshort &v)
FXMemoryStreamoperator>> (FXuint &v)
FXMemoryStreamoperator>> (FXint &v)
FXMemoryStreamoperator>> (FXfloat &v)
FXMemoryStreamoperator>> (FXdouble &v)
FXMemoryStreamload (FXuchar *p, unsigned long n)
FXMemoryStreamload (FXchar *p, unsigned long n)
FXMemoryStreamload (FXushort *p, unsigned long n)
FXMemoryStreamload (FXshort *p, unsigned long n)
FXMemoryStreamload (FXuint *p, unsigned long n)
FXMemoryStreamload (FXint *p, unsigned long n)
FXMemoryStreamload (FXfloat *p, unsigned long n)
FXMemoryStreamload (FXdouble *p, unsigned long n)
FXMemoryStreamsaveObject (const FXObject *v)
FXMemoryStreamloadObject (FXObject *&v)

Detailed Description

Memory Store Definition.


Constructor & Destructor Documentation

FX::FXMemoryStream::FXMemoryStream const FXObject cont = NULL  ) 
 

Create memory store.


Member Function Documentation

FXbool FX::FXMemoryStream::open FXStreamDirection  save_or_load,
FXuchar *  data
 

Open file store.

FXbool FX::FXMemoryStream::open FXStreamDirection  save_or_load,
unsigned long  size,
FXuchar *  data
 

Open memory store.

Reimplemented from FX::FXStream.

void FX::FXMemoryStream::takeBuffer FXuchar *&  data,
unsigned long &  size
 

Take buffer away from stream.

void FX::FXMemoryStream::giveBuffer FXuchar *  data,
unsigned long  size
 

Give buffer to stream.

virtual FXbool FX::FXMemoryStream::close  )  [virtual]
 

Close memory store.

Reimplemented from FX::FXStream.

virtual FXbool FX::FXMemoryStream::position long  offset,
FXWhence  whence = FXFromStart
[virtual]
 

Move to position.

Reimplemented from FX::FXStream.

FXMemoryStream& FX::FXMemoryStream::operator<< const FXuchar &  v  )  [inline]
 

Save single items to stream.

Reimplemented from FX::FXStream.

FXMemoryStream& FX::FXMemoryStream::save const FXuchar *  p,
unsigned long  n
[inline]
 

Save arrays of items to stream.

Reimplemented from FX::FXStream.

FXMemoryStream& FX::FXMemoryStream::operator>> FXuchar &  v  )  [inline]
 

Load single items from stream.

Reimplemented from FX::FXStream.

FXMemoryStream& FX::FXMemoryStream::load FXuchar *  p,
unsigned long  n
[inline]
 

Load arrays of items from stream.

Reimplemented from FX::FXStream.

FXMemoryStream& FX::FXMemoryStream::saveObject const FXObject v  )  [inline]
 

Save object.

Reimplemented from FX::FXStream.

FXMemoryStream& FX::FXMemoryStream::loadObject FXObject *&  v  )  [inline]
 

Load object.

Reimplemented from FX::FXStream.

Copyright © 1997-2004 Jeroen van der Zijp