#include <xmlflowcontext.hpp>
Inheritance diagram for XMLFlowContext:
object lifetime : the object lifetime is the request processing time.
Definition at line 58 of file xmlflowcontext.hpp.
Public Methods | |
XMLFlowContext (const XMLProcessor *p_pXMLProcessor, const XMLFlowContext *m_pParent, unsigned int p_uiThreadId, const char *m_pszEncoding) | |
Constructor. Initializes data members and populate valuers collection. | |
~XMLFlowContext () | |
Destructor. Destroys valuers collection and XML named buffers. | |
void | setProcessor (const XMLProcessor *p_pXMLProcessor) |
const XMLProcessor * | getProcessor () |
void | setParent (const XMLFlowContext *p_pParent) |
const XMLFlowContext * | getParent () |
unsigned int | getThreadId () const |
Returns the thread identifier for this request. | |
const char * | getEncoding () const |
Returns encoding used. | |
XMLTranscoder * | getTranscoder () const |
unsigned int | getError () const |
Returns error number. | |
void | addParameter (const char *p_pszName, const char *p_pszParamValue) |
Adds named parameters. | |
const char * | getParameter (const char *p_pszName) const |
Returns a parameter value, given its name. | |
const char * | removeParameter (const char *p_pszName) |
Returns a parameter value, given its name. | |
void | addNamedBuffer (const char *p_pszName, XMLStreamBuffer *p_pXMLStreamBuffer) |
Adds a XMLStreamBuffer to the named buffers collection. | |
XMLStreamBuffer * | getNamedBuffer (const char *p_pszName) const |
Returns a parameter value, given its name. | |
XMLStreamBuffer * | removeNamedBuffer (const char *p_pszName) |
Returns a parameter value, given its name. | |
void | releaseBuffers () |
Destroys the buffers referenced by the object. | |
void | releaseParameters () |
|
Constructor. Initializes data members and populate valuers collection.
Definition at line 60 of file xmlflowcontext.cpp. References CHAR_ENCODING_DEFAULT, DEBUG_CREATE, DEBUG_ECHO, importCharBuffer(), and STRX(). |
|
Destructor. Destroys valuers collection and XML named buffers.
Definition at line 87 of file xmlflowcontext.cpp. References DEBUG_DEL, releaseBuffers(), releaseCharBuffer(), and releaseParameters(). |
|
Adds a XMLStreamBuffer to the named buffers collection.
Definition at line 225 of file xmlflowcontext.cpp. References VAarray< XMLStreamBuffer * >::add(), DEBUG_FUNC, and VAarray< XMLStreamBuffer * >::remove(). Referenced by FuncCallStreamer::commitStream(), and NamedBufferSetStreamer::initStream(). |
|
Adds named parameters.
Definition at line 183 of file xmlflowcontext.cpp. References VAarray< char * >::add(), DEBUG_FUNC, importCharBuffer(), and VAarray< char * >::remove(). Referenced by FuncCallStreamer::commitStream(), and SAXValuesHandler::endElement(). |
|
Returns encoding used.
Definition at line 148 of file xmlflowcontext.cpp. References DEBUG_FUNC, and exportCharBuffer(). Referenced by FuncCallStreamer::commitStream(), and ExecStreamer::commitStream(). |
|
Returns error number.
Definition at line 170 of file xmlflowcontext.cpp. References DEBUG_FUNC. |
|
Returns a parameter value, given its name.
Definition at line 240 of file xmlflowcontext.cpp. References DEBUG_FUNC, and VAarray< XMLStreamBuffer * >::get(). Referenced by DBOBJSetStreamer::initStream(), and ActiveStreamNode::streamXML(). |
|
Returns a parameter value, given its name.
Definition at line 192 of file xmlflowcontext.cpp. References DEBUG_FUNC, exportCharBuffer(), and VAarray< char * >::get(). Referenced by ParamValuer::calculateExpression(), and SAXValuesHandler::endElement(). |
|
Definition at line 128 of file xmlflowcontext.cpp. Referenced by _ValuesStreamerFactory::getStreamer(), and _NamedBufferSetStreamerFactory::getStreamer(). |
|
|
Returns the thread identifier for this request.
Definition at line 139 of file xmlflowcontext.cpp. References DEBUG_FUNC. Referenced by FuncDefineStreamer::commitStream(), FuncCallStreamer::commitStream(), ExecStreamer::commitStream(), DBOBJGetStreamer::commitStream(), CacheScriptStreamer::commitStream(), AutodescStreamer::commitStream(), DBOBJSetStreamer::initStream(), XMLProcessor::process(), SAXSQLHandler::SAXSQLHandler(), DBOBJGetStreamer::~DBOBJGetStreamer(), DBOBJSetStreamer::~DBOBJSetStreamer(), and SAXSQLHandler::~SAXSQLHandler(). |
|
|
Destroys the buffers referenced by the object.
Definition at line 269 of file xmlflowcontext.cpp. References DEBUG_FUNC, VAarray< XMLStreamBuffer * >::empty(), and VAarray< XMLStreamBuffer * >::pop(). Referenced by ~XMLFlowContext(). |
|
Definition at line 289 of file xmlflowcontext.cpp. References DEBUG_FUNC, VAarray< char * >::empty(), VAarray< char * >::pop(), and releaseCharBuffer(). Referenced by ~XMLFlowContext(). |
|
Returns a parameter value, given its name.
Definition at line 257 of file xmlflowcontext.cpp. References DEBUG_FUNC, and VAarray< XMLStreamBuffer * >::remove(). Referenced by FuncCallStreamer::commitStream(). |
|
Returns a parameter value, given its name.
Definition at line 212 of file xmlflowcontext.cpp. References DEBUG_FUNC, and VAarray< char * >::remove(). |
|
Definition at line 119 of file xmlflowcontext.cpp. |
|
Definition at line 101 of file xmlflowcontext.cpp. |