libgexf::AbstractParser Class Reference

Parser Interface. More...

#include <abstractparser.h>

Inheritance diagram for libgexf::AbstractParser:

libgexf::GexfParser libgexf::LegacyParser

List of all members.

Public Member Functions

virtual void bind (libgexf::GEXF *gexf)=0
 Bind itself to a GEXF instance.
virtual void processNode (xmlTextReaderPtr reader, const xmlChar *name)=0
 Start a process on an XML element.

Protected Member Functions

libgexf::t_id getIdAttribute (xmlTextReaderPtr reader, const char *const name)
std::string getStringAttribute (xmlTextReaderPtr reader, const char *const name)
std::string getStringAttributeNs (xmlTextReaderPtr reader, const char *const name, const char *const namespaceURI)
unsigned int getUnsignedIntAttribute (xmlTextReaderPtr reader, const char *const name)
float getFloatAttribute (xmlTextReaderPtr reader, const char *const name)


Detailed Description

Parser Interface.

Member Function Documentation

virtual void libgexf::AbstractParser::bind ( libgexf::GEXF gexf  )  [pure virtual]

Bind itself to a GEXF instance.

Parameters:
gexf : Reference to a GEXF object

Implemented in libgexf::GexfParser, and libgexf::LegacyParser.

virtual void libgexf::AbstractParser::processNode ( xmlTextReaderPtr  reader,
const xmlChar *  name 
) [pure virtual]

Start a process on an XML element.

Call the right processing method.

Parameters:
reader : Reference to the libxml TextReader instance
name : Name of the XML element to process

Implemented in libgexf::GexfParser, and libgexf::LegacyParser.


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

Generated on Fri Dec 11 00:33:33 2009 for libgexf by  doxygen 1.5.6