Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

NamedBufferSetStreamer Class Reference

#include <namedbuffersetstreamer.hpp>

Inheritance diagram for NamedBufferSetStreamer:

Inheritance graph
[legend]
Collaboration diagram for NamedBufferSetStreamer:

Collaboration graph
[legend]
List of all members.

Detailed Description

Named buffer reader XML handler class.

Definition at line 54 of file namedbuffersetstreamer.hpp.

Public Methods

 NamedBufferSetStreamer (const XMLStreamerFactory *p_pParent, StreamerParams *p_pParameters, XMLFlowContext *p_pContext, XMLStreamConsumer *p_pOutput)
 ~NamedBufferSetStreamer ()
bool initStream ()
 Stream beginning notifier.
This function is called before receiving any byte of the input XML stream. It should performs init tasks.


void writeData (const char *p_pszData, unsigned int p_uiDataLen)
 XML Stream reception function.
This function is called to write input XML stream to the Streamer.



Constructor & Destructor Documentation

BEGIN_XDFLENGINE_NS NamedBufferSetStreamer::NamedBufferSetStreamer const XMLStreamerFactory   p_pParent,
StreamerParams   p_pParameters,
XMLFlowContext   p_pContext,
XMLStreamConsumer   p_pOutput
 

Definition at line 56 of file namedbuffersetstreamer.cpp.

References DEBUG_CREATE.

NamedBufferSetStreamer::~NamedBufferSetStreamer  
 

Definition at line 65 of file namedbuffersetstreamer.cpp.

References DEBUG_DEL.


Member Function Documentation

bool NamedBufferSetStreamer::initStream   [virtual]
 

Stream beginning notifier.
This function is called before receiving any byte of the input XML stream. It should performs init tasks.

Returns:
Not used, should return TRUE.

Reimplemented from XMLStreamer.

Definition at line 75 of file namedbuffersetstreamer.cpp.

References XMLFlowContext::addNamedBuffer(), DEBUG_IN, DEBUG_OUT, XMLStreamer::getParamValue(), XMLStreamer::m_pContext, XMLStreamer::m_pParent, and THROW_XMLFLOW_EXCEPTION.

void NamedBufferSetStreamer::writeData const char *    p_pszData,
unsigned int    p_uiDataLen
[virtual]
 

XML Stream reception function.
This function is called to write input XML stream to the Streamer.

Parameters:
p_pszData XML stream chunk.
p_uiDataLen XML stream chunk length.

Reimplemented from XMLStreamer.

Definition at line 122 of file namedbuffersetstreamer.cpp.

References DEBUG_IN, DEBUG_OUT, and XMLStreamer::m_pOutput.


The documentation for this class was generated from the following files:
Generated on Sat Oct 4 13:24:25 2003 for XDFLengine by doxygen1.3-rc2