filters

MSWrite::MemoryDevice Class Reference

#include <libmswrite_defs.h>

Inheritance diagram for MSWrite::MemoryDevice:

MSWrite::Device List of all members.

Detailed Description

Device capable only of reading/writing to memory blocks (used internally by LibMSWrite).

Definition at line 434 of file libmswrite_defs.h.


Public Member Functions

 MemoryDevice ()
virtual ~MemoryDevice ()
bool read (Byte *, const DWord)
bool write (const Byte *, const DWord)
bool seek (const long, const int)
long tell (void)

Member Function Documentation

bool MSWrite::MemoryDevice::read Byte ,
const   DWord
[inline, virtual]
 

Functions that the user must implement.

If the seek function is called to move past EOF (when writing), pad from EOF to the new location with 0's and then seek.

It is your responsibility to call error() if a file op fails.

Implements MSWrite::Device.

Definition at line 445 of file libmswrite_defs.h.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys