# HW2DReader

## Functions

| `HW2DReader`
| `HW2DReader`
| `~HW2DReader`
void | `init`
void | `GetExtents`
WT_Result | `read`
WT_Result | `process_stream_close`
WT_Result | `process_stream_end_seek`
WT_Result | `process_stream_open`
WT_Result | `process_stream_read`
WT_Result | `process_stream_seek`
WT_Result | `process_stream_tell`
WT_Result | `process_stream_write`

## Detailed Description

class HW2DReader : public WT_FileExt

  Public Functions

  HW2DReader(DWFInputStream *rW2DStream, HInputHandlerOptions *pInputHandlerOptions, HC_KEY model_key, bool rebaseModel, HInputHandler *m)
  HW2DReader(DWFToolkit::DWFResource *pResource, HInputHandlerOptions *pInputHandlerOptions, HC_KEY model_key, bool rebaseModel, HInputHandler *m)
  inline virtual ~HW2DReader()
  void init()
  void GetExtents(double &x, double &y)
  inline WT_Result read(double z_separation, double depth_range)
  inline WT_Result process_stream_close()
  inline WT_Result process_stream_end_seek()
  inline WT_Result process_stream_open()
  inline WT_Result process_stream_read(int desired_bytes, int &bytes_read, void *buffer)
  inline WT_Result process_stream_seek(int distance, int &amount_seeked)
  inline WT_Result process_stream_tell(unsigned long *current_file_pointer_position)
  inline WT_Result process_stream_write(int size, void const *buffer)