CARMA C++
carma::util::ImrConfigHandlers Class Reference

Declares SAX Handlers for parsing XML Configuration files. More...

#include <carma/util/ImrConfigHandlers.h>

Inherits HandlerBase.

Public Member Functions

void endDocument ()
 endDocument DocumentHandler overload More...
 
void endElement (const XMLCh *const name)
 endElement DocumentHandler overload More...
 
void error (const xercesc::SAXParseException &exception)
 error SAX ErrorHandler implementation More...
 
void fatalError (const xercesc::SAXParseException &exception)
 fatalError SAX ErrorHandler implementation More...
 
domainType getDomain ()
 Retrieve reference to vector containing servers. More...
 
 ImrConfigHandlers ()
 Constructor. More...
 
void startDocument ()
 startDocument DocumentHandler overload More...
 
void startElement (const XMLCh *const name, xercesc::AttributeList &attributes)
 startElement DocumentHandler overload More...
 
void warning (const xercesc::SAXParseException &exception)
 warning SAX ErrorHandler implementation More...
 
 ~ImrConfigHandlers ()
 Destructor. More...
 

Detailed Description

Declares SAX Handlers for parsing XML Configuration files.

Definition at line 82 of file ImrConfigHandlers.h.

Constructor & Destructor Documentation

carma::util::ImrConfigHandlers::ImrConfigHandlers ( )

Constructor.

carma::util::ImrConfigHandlers::~ImrConfigHandlers ( )

Destructor.

Member Function Documentation

void carma::util::ImrConfigHandlers::endDocument ( )

endDocument DocumentHandler overload

void carma::util::ImrConfigHandlers::endElement ( const XMLCh *const  name)

endElement DocumentHandler overload

void carma::util::ImrConfigHandlers::error ( const xercesc::SAXParseException &  exception)

error SAX ErrorHandler implementation

void carma::util::ImrConfigHandlers::fatalError ( const xercesc::SAXParseException &  exception)

fatalError SAX ErrorHandler implementation

domainType carma::util::ImrConfigHandlers::getDomain ( )

Retrieve reference to vector containing servers.

This method retrieves all servers parsed from the input XML config file. If no servers were retrieved, the vector will be empty.

Returns
Vector<server>
void carma::util::ImrConfigHandlers::startDocument ( )

startDocument DocumentHandler overload

void carma::util::ImrConfigHandlers::startElement ( const XMLCh *const  name,
xercesc::AttributeList &  attributes 
)

startElement DocumentHandler overload

void carma::util::ImrConfigHandlers::warning ( const xercesc::SAXParseException &  exception)

warning SAX ErrorHandler implementation


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