Robotics Library  0.6.2
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
rl::xml::Node Class Reference

#include <Node.h>

Public Member Functions

 Node (xmlNodePtr node)
 
 Node (const ::std::string &name)
 
virtual ~Node ()
 
Node addChild (const Node &node)
 
Node addNextSibling (const Node &node)
 
Node addPrevSibling (const Node &node)
 
Node addSibling (const Node &node)
 
Attribute getAttribute (const ::std::string &name) const
 
unsigned long getChildElementCount () const
 
::std::string getContent () const
 
::std::string getLocalPath (const ::std::string &uri) const
 
::std::string getName () const
 
::std::string getRelativeUri (const ::std::string &uri) const
 
::std::string getUri (const ::std::string &uri) const
 
bool hasAttribute (const ::std::string &name) const
 
bool isText () const
 
xmlNodePtr operator() () const
 
Node replace (const Node &node)
 
void setContent (const ::std::string &content)
 
void setName (const ::std::string &name)
 
int substitute (const int &flags=0)
 
void unlink ()
 

Static Public Member Functions

static Node Text (const ::std::string &content)
 

Private Attributes

xmlNodePtr node
 

Constructor & Destructor Documentation

◆ Node() [1/2]

rl::xml::Node::Node ( xmlNodePtr  node)
inline

◆ Node() [2/2]

rl::xml::Node::Node ( const ::std::string &  name)
inline

◆ ~Node()

virtual rl::xml::Node::~Node ( )
inlinevirtual

Member Function Documentation

◆ addChild()

Node rl::xml::Node::addChild ( const Node node)
inline

◆ addNextSibling()

Node rl::xml::Node::addNextSibling ( const Node node)
inline

◆ addPrevSibling()

Node rl::xml::Node::addPrevSibling ( const Node node)
inline

◆ addSibling()

Node rl::xml::Node::addSibling ( const Node node)
inline

◆ getAttribute()

Attribute rl::xml::Node::getAttribute ( const ::std::string &  name) const
inline

◆ getChildElementCount()

unsigned long rl::xml::Node::getChildElementCount ( ) const
inline

◆ getContent()

::std::string rl::xml::Node::getContent ( ) const
inline

◆ getLocalPath()

::std::string rl::xml::Node::getLocalPath ( const ::std::string &  uri) const
inline

◆ getName()

::std::string rl::xml::Node::getName ( ) const
inline

◆ getRelativeUri()

::std::string rl::xml::Node::getRelativeUri ( const ::std::string &  uri) const
inline

◆ getUri()

::std::string rl::xml::Node::getUri ( const ::std::string &  uri) const
inline

◆ hasAttribute()

bool rl::xml::Node::hasAttribute ( const ::std::string &  name) const
inline

◆ isText()

bool rl::xml::Node::isText ( ) const
inline

◆ operator()()

xmlNodePtr rl::xml::Node::operator() ( ) const
inline

◆ replace()

Node rl::xml::Node::replace ( const Node node)
inline

◆ setContent()

void rl::xml::Node::setContent ( const ::std::string &  content)
inline

◆ setName()

void rl::xml::Node::setName ( const ::std::string &  name)
inline

◆ substitute()

int rl::xml::Node::substitute ( const int &  flags = 0)
inline

◆ Text()

static Node rl::xml::Node::Text ( const ::std::string &  content)
inlinestatic

◆ unlink()

void rl::xml::Node::unlink ( )
inline

Member Data Documentation

◆ node

xmlNodePtr rl::xml::Node::node
private

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