SAXElement Class Reference

#include <xmlparser.h>

Inheritance diagram for SAXElement:
Inheritance graph
[legend]
Collaboration diagram for SAXElement:
Collaboration graph
[legend]

Public Member Functions

 SAXElement (const std::string &name, const char **atts)
const std::string name () const
const std::string attribute (const std::string &name) const
void forEachAttribute (XMLAttrVisitor &visitor) const

Private Attributes

const std::string m_name
const char ** m_atts

Detailed Description

Definition at line 33 of file xmlparser.h.


Constructor & Destructor Documentation

SAXElement::SAXElement ( const std::string name,
const char **  atts 
) [inline]

Definition at line 35 of file xmlparser.h.


Member Function Documentation

const std::string SAXElement::attribute ( const std::string name  )  const [inline, virtual]

Implements XMLElement.

Definition at line 41 of file xmlparser.h.

References m_atts.

void SAXElement::forEachAttribute ( XMLAttrVisitor visitor  )  const [inline, virtual]

Implements XMLElement.

Definition at line 51 of file xmlparser.h.

References m_atts, and XMLAttrVisitor::visit().

const std::string SAXElement::name (  )  const [inline, virtual]

Implements XMLElement.

Definition at line 38 of file xmlparser.h.

References m_name.


Field Documentation

const char** SAXElement::m_atts [private]

Definition at line 60 of file xmlparser.h.

Referenced by attribute(), and forEachAttribute().

Definition at line 59 of file xmlparser.h.

Referenced by name().


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

Generated by  doxygen 1.6.2