UQTk: Uncertainty Quantification Toolkit  3.1.1
Public Member Functions | Friends | List of all members
XMLParser Class Referenceabstract

#include <XMLParser.h>

Inheritance diagram for XMLParser:
Object XMLExpatParser

Public Member Functions

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

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 Function 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: