OSRTOutputStreamIF Class Reference
[Generic Output Stream Classes]

Inheritance diagram for OSRTOutputStreamIF:

OSRTStreamIF OSRTCtxtHolderIF OSRTOutputStream OSRTFileOutputStream OSRTMemoryOutputStream OSRTSocketOutputStream List of all members.

Public Member Functions

virtual EXTRTMETHOD ~OSRTOutputStreamIF ()
 Virtual destructor.
virtual long write (const OSOCTET *pdata, size_t size)=0
 Write data to the stream.

Detailed Description

Definition at line 43 of file OSRTOutputStreamIF.h.


Constructor & Destructor Documentation

virtual EXTRTMETHOD OSRTOutputStreamIF::~OSRTOutputStreamIF (  )  [virtual]

Virtual destructor.

Closes the stream if it was opened.


Member Function Documentation

virtual long OSRTOutputStreamIF::write ( const OSOCTET *  pdata,
size_t  size 
) [pure virtual]

Write data to the stream.

This method writes the given number of octets from the given array to the output stream.

Parameters:
pdata Pointer to the data to be written.
size The number of octets to write.
Returns:
The total number of octets written into the stream, or negative value with error code if any error is occurred.
See also:
rtxStreamWrite

Implemented in OSRTOutputStream.


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