OSRTHexTextInputStream Class Reference

Hexadecimal text input stream filter class. More...

#include <OSRTHexTextInputStream.h>

Inheritance diagram for OSRTHexTextInputStream:
OSRTInputStream OSRTStream

List of all members.

Public Member Functions

EXTRTMETHOD OSRTHexTextInputStream (OSRTInputStream *pstream)
 Initializes the input stream using the existing standard input stream.
EXTRTMETHOD ~OSRTHexTextInputStream ()
 The destructor deletes the underlying stream object.
virtual OSBOOL isA (StreamID id) const
 This method is used to query a stream object in order to determine its actual type.
void setOwnUnderStream (OSBOOL value=TRUE)
 This method transfers ownership of the underlying stream to the class.

Detailed Description

Hexadecimal text input stream filter class.

This class is created on top of an existing stream class to provide conversion of hexadecimal text input into binary form.

Definition at line 38 of file OSRTHexTextInputStream.h.


Constructor & Destructor Documentation

EXTRTMETHOD OSRTHexTextInputStream::OSRTHexTextInputStream ( OSRTInputStream pstream  ) 

Initializes the input stream using the existing standard input stream.

Only file and memory underlying stream types are supported.

Parameters:
pstream The underlying input stream object. Note that this class will take control of the underlying stream object and delete it upon destruction.
See also:
rtxStreamHexTextAttach
EXTRTMETHOD OSRTHexTextInputStream::~OSRTHexTextInputStream (  ) 

The destructor deletes the underlying stream object.

That object should be used as nothing more to a surrogate to this object.


Member Function Documentation

virtual OSBOOL OSRTHexTextInputStream::isA ( StreamID  id  )  const [inline, virtual]

This method is used to query a stream object in order to determine its actual type.

Parameters:
id Enumerated stream identifier
Returns:
True if the stream matches the identifier

Reimplemented from OSRTInputStream.

Definition at line 70 of file OSRTHexTextInputStream.h.


The documentation for this class was generated from the following file: