class OmStream

Base class for streams. More...

Definition#include <OmStream.h>
Inherited byOmOutputStream, OmOutputFileStream, OmOutputStringStream, OmInputStream, OmInputFileStream, OmInputStringStream
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members

Protected Members


Detailed Description

Base class for streams.

This class provides an encapsulation of the I/O needed by the library. Inheriting this class can be very useful to properly and easily integrate new kinds of I/O systems, though an underlying OMIO object from the C library must be always available. This class should not be inherited directly, but it is decomposed in two specific classes for output and input that can be specialized.

OMIO getIO ()
[virtual]

Get the underlying OMIO object.

OmStream ()
[protected]

Default constructor. The underlying OMIO object is initialized to 0 so it is necessary for the descendant classes to set correctly this value as soon as possible.

~OmStream ()
[protected virtual]

Destructor. The resources should be freed by the underlying C library when closing the device.

void setIO (OMIO io_in)
[protected virtual]

Set the new OMIO object.


Generated by: root@localhost.localdomain on Tue Oct 12 21:02:30 199.