Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | Related Pages | Examples

WT_FileExt Class Reference
[File I/O objects]

#include <fileext.h>

Inheritance diagram for WT_FileExt:

Inheritance graph
[legend]
Collaboration diagram for WT_FileExt:

Collaboration graph
[legend]
List of all members.

Detailed Description

Inherits from WT_File and facilitates subclassing the IO overrides.

This is basically a WT_File with the various global IO callbacks routed back into protected instance methods within the class. The instance callback methods do the same default processing as would a normal WT_File hence behavior is business as usual except for those callback methods an inheriting class overides.

Definition at line 38 of file fileext.h.

Public Member Functions

 WT_FileExt (void)
 Constructs a WT_FileExt object.

Protected Member Functions

I/O customization set/get methods
These methods allow client code to override how low-level file I/O works by allowing client code to selectively implement various I/O procedures.

virtual CALLBACK_LIST WT_Result process_stream_close (void)
virtual WT_Result process_stream_end_seek ()
virtual WT_Result process_stream_open (void)
virtual WT_Result process_stream_read (int desired_bytes, int &bytes_read, void *buffer)
virtual WT_Result process_stream_seek (int distance, int &amount_seeked)
virtual WT_Result process_stream_tell (unsigned long *current_file_pointer_position)
virtual WT_Result process_stream_write (int size, void const *buffer)


The documentation for this class was generated from the following file:
Generated on Tue May 17 12:07:51 2005 for Autodesk DWF Whip 2D Toolkit by  doxygen 1.4.1