libetonyek::IWORKDiscardContext Class Reference

#include <IWORKDiscardContext.h>

Inheritance diagram for libetonyek::IWORKDiscardContext:
libetonyek::IWORKXMLContext

List of all members.

Classes

struct  Data

Public Member Functions

 IWORKDiscardContext (IWORKXMLParserState &state)

Protected Member Functions

virtual void startOfElement ()
 Signalize the start of an element.
virtual void attribute (int name, const char *value)
 Process an attribute.
virtual IWORKXMLContextPtr_t element (int name)
 Create a context for parsing a child element.
virtual void text (const char *value)
 Process textual content of an element.
virtual void endOfElement ()
 Signalize the end of an element.

Private Attributes

IWORKXMLParserStatem_state
unsigned m_level
bool m_enableCollector
boost::shared_ptr< Datam_data

Constructor & Destructor Documentation


Member Function Documentation

void libetonyek::IWORKDiscardContext::attribute ( int  name,
const char *  value 
) [protected, virtual]

Process an attribute.

Attributes are fed to the current element's context one by one.

Implements libetonyek::IWORKXMLContext.

Create a context for parsing a child element.

Returns:
A new context or an empty pointer if the child element cannot be handled.

Implements libetonyek::IWORKXMLContext.

void libetonyek::IWORKDiscardContext::endOfElement ( ) [protected, virtual]

Signalize the end of an element.

Implements libetonyek::IWORKXMLContext.

void libetonyek::IWORKDiscardContext::startOfElement ( ) [protected, virtual]

Signalize the start of an element.

This can be used if initialization of the context needs virtual function calls.

Implements libetonyek::IWORKXMLContext.

void libetonyek::IWORKDiscardContext::text ( const char *  value) [protected, virtual]

Process textual content of an element.

This function can be called more than once if the element has mixed content.

Implements libetonyek::IWORKXMLContext.


Member Data Documentation

boost::shared_ptr<Data> libetonyek::IWORKDiscardContext::m_data [private]

Referenced by element().


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