libetonyek::IWORKXMLContextElement Class Reference

#include <IWORKXMLContextBase.h>

Inheritance diagram for libetonyek::IWORKXMLContextElement:
libetonyek::IWORKXMLContextMinimal libetonyek::IWORKXMLContext

List of all members.

Protected Member Functions

 IWORKXMLContextElement (IWORKXMLParserState &)
virtual void attribute (int name, const char *value)
 Process an attribute.
virtual void text (const char *value)
 Process textual content of an element.
const boost::optional< ID_t > & getId () const

Private Attributes

boost::optional< ID_tm_id

Constructor & Destructor Documentation


Member Function Documentation

void libetonyek::IWORKXMLContextElement::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.

const boost::optional< ID_t > & libetonyek::IWORKXMLContextElement::getId ( ) const [protected]
void libetonyek::IWORKXMLContextElement::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::optional<ID_t> libetonyek::IWORKXMLContextElement::m_id [private]

Referenced by attribute(), and getId().


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