Robotics Library  0.7.0
Public Member Functions | Private Attributes | List of all members
rl::xml::Path Class Reference

#include <Path.h>

Public Member Functions

 Path (const Document &document)
 
 Path (const Document &document, const Node &node)
 
 ~Path ()
 
Object eval (const ::std::string &expression)
 
::xmlXPathContextPtr get () const
 
Node getNode () const
 
::xmlXPathContext & operator* () const
 
bool registerNamespace (const ::std::string &prefix, const ::std::string &uri)
 
void setNode (const Node &node)
 

Private Attributes

::std::shared_ptr< ::xmlXPathContext > context
 
::xmlDocPtr document
 

Constructor & Destructor Documentation

◆ Path() [1/2]

rl::xml::Path::Path ( const Document document)
inlineexplicit

◆ Path() [2/2]

rl::xml::Path::Path ( const Document document,
const Node node 
)
inline

◆ ~Path()

rl::xml::Path::~Path ( )
inline

Member Function Documentation

◆ eval()

Object rl::xml::Path::eval ( const ::std::string &  expression)
inline

◆ get()

::xmlXPathContextPtr rl::xml::Path::get ( ) const
inline

◆ getNode()

Node rl::xml::Path::getNode ( ) const
inline

◆ operator*()

::xmlXPathContext& rl::xml::Path::operator* ( ) const
inline

◆ registerNamespace()

bool rl::xml::Path::registerNamespace ( const ::std::string &  prefix,
const ::std::string &  uri 
)
inline

◆ setNode()

void rl::xml::Path::setNode ( const Node node)
inline

Member Data Documentation

◆ context

::std::shared_ptr< ::xmlXPathContext> rl::xml::Path::context
private

◆ document

::xmlDocPtr rl::xml::Path::document
private

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