HandlerContext Class Reference

Save a StructureHandler context. A HandlerContext is used when parsing a XML document. When we switch of handler, we have to save the context of the previous StructureHandler in order to restore it later. More...

#include <handlercontext.h>

List of all members.

Public Member Functions

 HandlerContext (int iDepth, StructureHandler *pHandler)
 Constructor.
 ~HandlerContext ()
 Destructor.
int getDepth () const
 Returns depth.
StructureHandlergetHandler () const
 Returns Structure handler used.

Protected Attributes

StructureHandlerm_pHandler
 Structure handler used.
int m_iDepth
 Current depth reached by the handler.


Detailed Description

Save a StructureHandler context. A HandlerContext is used when parsing a XML document. When we switch of handler, we have to save the context of the previous StructureHandler in order to restore it later.

Author:
Sylvain Archenault <sylvain.archenault@laposte.net>

Yves Houpert <yves.houpert@insa-rouen.fr>


Constructor & Destructor Documentation

HandlerContext::HandlerContext int  iDepth,
StructureHandler pHandler
 

Constructor.

Parameters:
iDepth Current depth.reach by the handler.
pHandler StructureHandler used.


Member Function Documentation

int HandlerContext::getDepth  )  const [inline]
 

Returns depth.

Returns:
Depth.

StructureHandler* HandlerContext::getHandler  )  const [inline]
 

Returns Structure handler used.

Returns:
Structure handler.


The documentation for this class was generated from the following files:
Generated on Fri May 19 12:15:55 2006 for Bamboo Ch@t by  doxygen 1.4.6