IFileDataSource Class Reference

#include <IDataSource.h>

Inheritance diagram for IFileDataSource:

IDataSource List of all members.

Public Member Functions

 IFileDataSource (std::ifstream *data_stream)
virtual ~IFileDataSource ()
bool good () const
virtual uint8 read1 ()
virtual uint16 read2 ()
virtual uint16 read2high ()
virtual uint32 read3 ()
virtual uint32 read4 ()
virtual uint32 read4high ()
sint32 read (void *b, sint32 len)
virtual void seek (uint32 pos)
virtual void skip (sint32 pos)
virtual uint32 getSize ()
virtual uint32 getPos ()
virtual bool eof ()
virtual std::ifstream * GetRawIfstream ()

Private Attributes

std::ifstream * in

Detailed Description

Definition at line 175 of file IDataSource.h.


Constructor & Destructor Documentation

IFileDataSource::IFileDataSource ( std::ifstream *  data_stream  )  [inline]

Definition at line 181 of file IDataSource.h.

References in.

virtual IFileDataSource::~IFileDataSource (  )  [inline, virtual]

Definition at line 186 of file IDataSource.h.

References in.


Member Function Documentation

virtual bool IFileDataSource::eof (  )  [inline, virtual]

Implements IDataSource.

Definition at line 272 of file IDataSource.h.

References in.

virtual uint32 IFileDataSource::getPos (  )  [inline, virtual]

Implements IDataSource.

Definition at line 270 of file IDataSource.h.

References in.

virtual std::ifstream* IFileDataSource::GetRawIfstream (  )  [inline, virtual]

Reimplemented from IDataSource.

Definition at line 274 of file IDataSource.h.

References in.

virtual uint32 IFileDataSource::getSize (  )  [inline, virtual]

Implements IDataSource.

Definition at line 261 of file IDataSource.h.

References in.

bool IFileDataSource::good (  )  const [inline]

Definition at line 191 of file IDataSource.h.

References in.

sint32 IFileDataSource::read ( void *  b,
sint32  len 
) [inline, virtual]

Implements IDataSource.

Definition at line 249 of file IDataSource.h.

References in.

virtual uint8 IFileDataSource::read1 (  )  [inline, virtual]

Implements IDataSource.

Definition at line 194 of file IDataSource.h.

References in.

virtual uint16 IFileDataSource::read2 (  )  [inline, virtual]

Implements IDataSource.

Definition at line 200 of file IDataSource.h.

References in.

virtual uint16 IFileDataSource::read2high (  )  [inline, virtual]

Implements IDataSource.

Definition at line 209 of file IDataSource.h.

References in.

virtual uint32 IFileDataSource::read3 (  )  [inline, virtual]

Implements IDataSource.

Definition at line 218 of file IDataSource.h.

References in.

virtual uint32 IFileDataSource::read4 (  )  [inline, virtual]

Implements IDataSource.

Definition at line 228 of file IDataSource.h.

References in.

virtual uint32 IFileDataSource::read4high (  )  [inline, virtual]

Implements IDataSource.

Definition at line 239 of file IDataSource.h.

References in.

virtual void IFileDataSource::seek ( uint32  pos  )  [inline, virtual]

Implements IDataSource.

Definition at line 257 of file IDataSource.h.

References in.

virtual void IFileDataSource::skip ( sint32  pos  )  [inline, virtual]

Implements IDataSource.

Definition at line 259 of file IDataSource.h.

References in.


Member Data Documentation

std::ifstream* IFileDataSource::in [private]

Definition at line 178 of file IDataSource.h.

Referenced by eof(), getPos(), GetRawIfstream(), getSize(), good(), IFileDataSource(), read(), read1(), read2(), read2high(), read3(), read4(), read4high(), seek(), skip(), and ~IFileDataSource().


The documentation for this class was generated from the following file:
Generated on Fri Jul 27 22:29:22 2007 for pentagram by  doxygen 1.4.7