OSRTHexTextInputStream Class Reference
#include <OSRTHexTextInputStream.h>
Inheritance diagram for OSRTHexTextInputStream:
Public Member Functions | |
EXTRTMETHOD | OSRTHexTextInputStream (OSRTInputStream *pstream) |
EXTRTMETHOD | ~OSRTHexTextInputStream () |
virtual OSBOOL | isA (StreamID id) const |
void | setOwnUnderStream (OSBOOL value=TRUE) |
Protected Attributes | |
OSRTInputStream * | mpUnderStream |
OSBOOL | mbOwnUnderStream |
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.
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.
void OSRTHexTextInputStream::setOwnUnderStream | ( | OSBOOL | value = TRUE |
) | [inline] |
This method transfers ownership of the underlying stream to the class.
The documentation for this class was generated from the following file: