FlightGear next
flightgear::http::DOMNode Class Reference

#include <SimpleDOM.hxx>

Inherits flightgear::http::DOMElement.

Public Member Functions

 DOMNode (const std::string &name)
 
virtual ~DOMNode ()
 
virtual std::string render () const
 
virtual DOMNodeaddChild (DOMElement *child)
 
virtual DOMNodesetAttribute (const std::string &name, const std::string &value)
 
- Public Member Functions inherited from flightgear::http::DOMElement
virtual ~DOMElement ()
 

Protected Types

typedef std::vector< const DOMElement * > Children_t
 
typedef std::map< std::string, std::string > Attributes_t
 

Protected Attributes

std::string _name
 
Children_t _children
 
Attributes_t _attributes
 

Detailed Description

Definition at line 46 of file SimpleDOM.hxx.

Member Typedef Documentation

◆ Attributes_t

typedef std::map<std::string,std::string> flightgear::http::DOMNode::Attributes_t
protected

Definition at line 57 of file SimpleDOM.hxx.

◆ Children_t

typedef std::vector<const DOMElement*> flightgear::http::DOMNode::Children_t
protected

Definition at line 56 of file SimpleDOM.hxx.

Constructor & Destructor Documentation

◆ DOMNode()

flightgear::http::DOMNode::DOMNode ( const std::string & name)
inline

Definition at line 48 of file SimpleDOM.hxx.

◆ ~DOMNode()

flightgear::http::DOMNode::~DOMNode ( )
virtual

Definition at line 7 of file SimpleDOM.cxx.

Member Function Documentation

◆ addChild()

DOMNode * flightgear::http::DOMNode::addChild ( DOMElement * child)
virtual

Definition at line 41 of file SimpleDOM.cxx.

◆ render()

string flightgear::http::DOMNode::render ( ) const
virtual

Implements flightgear::http::DOMElement.

Definition at line 13 of file SimpleDOM.cxx.

◆ setAttribute()

DOMNode * flightgear::http::DOMNode::setAttribute ( const std::string & name,
const std::string & value )
virtual

Definition at line 47 of file SimpleDOM.cxx.

Member Data Documentation

◆ _attributes

Attributes_t flightgear::http::DOMNode::_attributes
protected

Definition at line 59 of file SimpleDOM.hxx.

◆ _children

Children_t flightgear::http::DOMNode::_children
protected

Definition at line 58 of file SimpleDOM.hxx.

◆ _name

std::string flightgear::http::DOMNode::_name
protected

Definition at line 55 of file SimpleDOM.hxx.


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