OSRTMemoryInputStream Class Reference

Generic memory input stream. More...

#include <OSRTMemoryInputStream.h>

Inheritance diagram for OSRTMemoryInputStream:
OSRTInputStream OSRTStream

List of all members.

Public Member Functions

EXTRTMETHOD OSRTMemoryInputStream (const OSOCTET *pMemBuf, size_t bufSize)
 Initializes the memory input stream using the specified memory buffer.
EXTRTMETHOD OSRTMemoryInputStream (OSRTContext *pContext, const OSOCTET *pMemBuf, size_t bufSize)
 Initializes the memory input stream using the specified memory buffer.
virtual OSBOOL isA (StreamID id) const
 This method is used to query a stream object in order to determine its actual type.

Detailed Description

Generic memory input stream.

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

Definition at line 37 of file OSRTMemoryInputStream.h.


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.

Definition at line 66 of file OSRTMemoryInputStream.h.


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