EMANE  1.2.1
EMANE::ConfigurationParser Class Reference

Wrapper around the libxml2 XML parsing capabilities for EMANE. More...

#include <configurationparser.h>

Public Member Functions

 ConfigurationParser ()
 
 ~ConfigurationParser ()
 
xmlDocPtr parse (const std::string &sURI)
 

Detailed Description

Wrapper around the libxml2 XML parsing capabilities for EMANE.

Definition at line 52 of file configurationparser.h.

Constructor & Destructor Documentation

◆ ConfigurationParser()

EMANE::ConfigurationParser::ConfigurationParser ( )

Default constructor

Definition at line 47 of file configurationparser.cc.

◆ ~ConfigurationParser()

EMANE::ConfigurationParser::~ConfigurationParser ( )

Destructor

Definition at line 61 of file configurationparser.cc.

Member Function Documentation

◆ parse()

xmlDocPtr EMANE::ConfigurationParser::parse ( const std::string &  sURI)

Parses the specified URI

Parameters
sURIURI to be parsed
Returns
pDoc Pointer to the parsed document, NULL on failure. It is up to the caller to free the document.
Exceptions
ParseExceptionValidateException

Definition at line 70 of file configurationparser.cc.


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