OSRTMemoryInputStream Class Reference

#include <OSRTMemoryInputStream.h>

Inheritance diagram for OSRTMemoryInputStream:
OSRTInputStream OSRTStream

List of all members.

Public Member Functions

EXTRTMETHOD OSRTMemoryInputStream (const OSOCTET *pMemBuf, size_t bufSize)
EXTRTMETHOD OSRTMemoryInputStream (OSRTContext *pContext, const OSOCTET *pMemBuf, size_t bufSize)
virtual OSBOOL isA (StreamID id) const

Detailed Description

Generic memory input stream. This class provides methods for streaming data from an input memory buffer.


Constructor & Destructor Documentation

EXTRTMETHOD OSRTMemoryInputStream::OSRTMemoryInputStream ( const OSOCTET *  pMemBuf,
size_t  bufSize 
)

Initializes the memory input stream using the specified memory buffer.

Parameters:
pMemBuf The pointer to the buffer.
bufSize The size of the buffer.
See also:
rtxStreamMemoryAttach
EXTRTMETHOD OSRTMemoryInputStream::OSRTMemoryInputStream ( OSRTContext pContext,
const OSOCTET *  pMemBuf,
size_t  bufSize 
)

Initializes the memory input stream using the specified memory buffer.

Parameters:
pContext Pointer to a context to use.
pMemBuf The pointer to the buffer.
bufSize The size of the buffer.
See also:
rtxStreamMemoryAttach

Member Function Documentation

virtual OSBOOL OSRTMemoryInputStream::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.


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