UQTk: Uncertainty Quantification Toolkit 3.1.5
XMLParser Class Referenceabstract

#include <XMLParser.h>

Inheritance diagram for XMLParser:
Object XMLExpatParser

Public Member Functions

 XMLParser ()
 Default constructor. Intended for derived classes.
 
virtual ~XMLParser ()
 Destructor.
 
virtual RefPtr< XMLElementparse (std::istream &)=0
 Parse the given input buffer and return the parse tree.
 
- Public Member Functions inherited from Object
 Object ()
 Construct a new reference counted object with a zero reference count.
 
virtual ~Object ()
 Destroy this object.
 
long int reference_count () const
 Returns the number of references that are held to this object.
 

Friends

template<class T >
class RefPtr
 
template<class T >
class ConstRefPtr
 

Additional Inherited Members

- Protected Member Functions inherited from Object
long int reference_grab () const
 
long int reference_release () const
 

Detailed Description

A pure abstract base class for parsers that read data from an XML file and return the top node of a parse tree. The parse tree node is a RefPtr< XMLElement >.

Constructor & Destructor Documentation

◆ XMLParser()

XMLParser::XMLParser ( )

Default constructor. Intended for derived classes.

◆ ~XMLParser()

XMLParser::~XMLParser ( )
virtual

Destructor.

Member Function Documentation

◆ parse()

virtual RefPtr< XMLElement > XMLParser::parse ( std::istream & )
pure virtual

Parse the given input buffer and return the parse tree.

Implemented in XMLExpatParser.

Friends And Related Symbol Documentation

◆ ConstRefPtr

template<class T >
friend class ConstRefPtr
friend

◆ RefPtr

template<class T >
friend class RefPtr
friend

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