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

FX::FXFileStream Class Reference

File Store Definition. More...

#include <FXFileStream.h>

Inheritance diagram for FX::FXFileStream:

FX::FXStream List of all members.

Public Member Functions

 FXFileStream (const FXObject *cont=NULL)
bool open (const FXString &filename, FXStreamDirection save_or_load, FXuval size=8192)
virtual bool close ()
FXlong position () const
virtual bool position (FXlong offset, FXWhence whence=FXFromStart)
FXFileStreamoperator<< (const FXuchar &v)
FXFileStreamoperator<< (const FXchar &v)
FXFileStreamoperator<< (const FXushort &v)
FXFileStreamoperator<< (const FXshort &v)
FXFileStreamoperator<< (const FXuint &v)
FXFileStreamoperator<< (const FXint &v)
FXFileStreamoperator<< (const FXfloat &v)
FXFileStreamoperator<< (const FXdouble &v)
FXFileStreamoperator<< (const FXlong &v)
FXFileStreamoperator<< (const FXulong &v)
FXFileStreamsave (const FXuchar *p, FXuval n)
FXFileStreamsave (const FXchar *p, FXuval n)
FXFileStreamsave (const FXushort *p, FXuval n)
FXFileStreamsave (const FXshort *p, FXuval n)
FXFileStreamsave (const FXuint *p, FXuval n)
FXFileStreamsave (const FXint *p, FXuval n)
FXFileStreamsave (const FXfloat *p, FXuval n)
FXFileStreamsave (const FXdouble *p, FXuval n)
FXFileStreamsave (const FXlong *p, FXuval n)
FXFileStreamsave (const FXulong *p, FXuval n)
FXFileStreamoperator>> (FXuchar &v)
FXFileStreamoperator>> (FXchar &v)
FXFileStreamoperator>> (FXushort &v)
FXFileStreamoperator>> (FXshort &v)
FXFileStreamoperator>> (FXuint &v)
FXFileStreamoperator>> (FXint &v)
FXFileStreamoperator>> (FXfloat &v)
FXFileStreamoperator>> (FXdouble &v)
FXFileStreamoperator>> (FXlong &v)
FXFileStreamoperator>> (FXulong &v)
FXFileStreamload (FXuchar *p, FXuval n)
FXFileStreamload (FXchar *p, FXuval n)
FXFileStreamload (FXushort *p, FXuval n)
FXFileStreamload (FXshort *p, FXuval n)
FXFileStreamload (FXuint *p, FXuval n)
FXFileStreamload (FXint *p, FXuval n)
FXFileStreamload (FXfloat *p, FXuval n)
FXFileStreamload (FXdouble *p, FXuval n)
FXFileStreamload (FXlong *p, FXuval n)
FXFileStreamload (FXulong *p, FXuval n)
FXFileStreamsaveObject (const FXObject *v)
FXFileStreamloadObject (FXObject *&v)
virtual ~FXFileStream ()

Detailed Description

File Store Definition.


Constructor & Destructor Documentation

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

Create file store.

virtual FX::FXFileStream::~FXFileStream  )  [virtual]
 

Destructor.


Member Function Documentation

bool FX::FXFileStream::open const FXString filename,
FXStreamDirection  save_or_load,
FXuval  size = 8192
 

Open binary data file stream; allocate a buffer of the given size for the file I/O; the buffer must be at least 16 bytes.

virtual bool FX::FXFileStream::close  )  [virtual]
 

Close file store.

Reimplemented from FX::FXStream.

FXlong FX::FXFileStream::position  )  const [inline]
 

Get position.

Reimplemented from FX::FXStream.

virtual bool FX::FXFileStream::position FXlong  offset,
FXWhence  whence = FXFromStart
[virtual]
 

Move to position.

Reimplemented from FX::FXStream.

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

Save single items to stream.

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator<< const FXchar v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator<< const FXushort v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator<< const FXshort v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator<< const FXuint v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator<< const FXint v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator<< const FXfloat v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator<< const FXdouble v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator<< const FXlong &  v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator<< const FXulong &  v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::save const FXuchar p,
FXuval  n
[inline]
 

Save arrays of items to stream.

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::save const FXchar p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::save const FXushort p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::save const FXshort p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::save const FXuint p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::save const FXint p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::save const FXfloat p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::save const FXdouble p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::save const FXlong *  p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::save const FXulong *  p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

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

Load single items from stream.

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator>> FXchar v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator>> FXushort v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator>> FXshort v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator>> FXuint v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator>> FXint v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator>> FXfloat v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator>> FXdouble v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator>> FXlong &  v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::operator>> FXulong &  v  )  [inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::load FXuchar p,
FXuval  n
[inline]
 

Load arrays of items from stream.

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::load FXchar p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::load FXushort p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::load FXshort p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::load FXuint p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::load FXint p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::load FXfloat p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::load FXdouble p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::load FXlong *  p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

FXFileStream& FX::FXFileStream::load FXulong *  p,
FXuval  n
[inline]
 

Reimplemented from FX::FXStream.

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

Save object.

Reimplemented from FX::FXStream.

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

Load object.

Reimplemented from FX::FXStream.

Copyright © 1997-2005 Jeroen van der Zijp