Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

ht_memmap_file Class Reference

#include <stream.h>

Inheritance diagram for ht_memmap_file:

ht_streamfile ht_stream List of all members.

Public Member Functions

void init (byte *buf, UINT size)
virtual void done ()
virtual const char * get_desc ()
virtual UINT get_size ()
virtual UINT read (void *buf, UINT size)
virtual int seek (FILEOFS offset)
virtual FILEOFS tell ()
virtual UINT write (const void *buf, UINT size)

Protected Attributes

FILEOFS pos
UINT size
byte * buf

Member Function Documentation

void ht_memmap_file::done  )  [virtual]
 

Reimplemented from ht_stream.

Definition at line 739 of file stream.cc.

Referenced by ht_view::databuf_freedup(), ht_view::databuf_get(), ht_view::databuf_set(), and init_registry().

const char * ht_memmap_file::get_desc  )  [virtual]
 

Reimplemented from ht_stream.

Definition at line 743 of file stream.cc.

UINT ht_memmap_file::get_size  )  [virtual]
 

Reimplemented from ht_streamfile.

Definition at line 748 of file stream.cc.

References size, and UINT.

void ht_memmap_file::init byte *  buf,
UINT  size
 

Definition at line 731 of file stream.cc.

References buf, ht_stream::init(), pos, size, and UINT.

Referenced by ht_view::databuf_get(), ht_view::databuf_getdup(), ht_view::databuf_set(), dialog_eval_help(), and init_registry().

UINT ht_memmap_file::read void *  buf,
UINT  size
[virtual]
 

Reimplemented from ht_stream.

Definition at line 753 of file stream.cc.

References buf, pos, size, and UINT.

int ht_memmap_file::seek FILEOFS  offset  )  [virtual]
 

Reimplemented from ht_streamfile.

Definition at line 761 of file stream.cc.

References FILEOFS, pos, and size.

FILEOFS ht_memmap_file::tell  )  [virtual]
 

Reimplemented from ht_streamfile.

Definition at line 768 of file stream.cc.

References FILEOFS, and pos.

UINT ht_memmap_file::write const void *  buf,
UINT  size
[virtual]
 

Reimplemented from ht_stream.

Definition at line 773 of file stream.cc.

References buf, byte, pos, size, and UINT.


Member Data Documentation

byte* ht_memmap_file::buf [protected]
 

Definition at line 327 of file stream.h.

Referenced by init(), read(), and write().

FILEOFS ht_memmap_file::pos [protected]
 

Definition at line 325 of file stream.h.

Referenced by init(), read(), seek(), tell(), and write().

UINT ht_memmap_file::size [protected]
 

Definition at line 326 of file stream.h.

Referenced by get_size(), init(), read(), seek(), and write().


The documentation for this class was generated from the following files:
Generated on Fri May 7 21:16:00 2004 by doxygen 1.3.5