|
Robotics Library
0.6.2
|
Go to the documentation of this file.
27 #ifndef _RL_XML_NAMESPACE_H_
28 #define _RL_XML_NAMESPACE_H_
31 #include <boost/shared_ptr.hpp>
32 #include <libxml/parser.h>
46 Namespace(xmlNodePtr node, const ::std::string& href, const ::std::string& prefix) :
50 reinterpret_cast< const xmlChar* >(href.c_str()),
51 reinterpret_cast< const xmlChar* >(prefix.c_str())
55 this->
ns->_private = node;
60 if (NULL == this->
ns->_private)
68 return reinterpret_cast< const char*
>(this->
ns->href);
73 return reinterpret_cast< const char*
>(this->
ns->prefix);
89 #endif // _RL_XML_NAMESPACE_H_
::std::string getPrefix() const
Definition: Namespace.h:71
Namespace(xmlNodePtr node, const ::std::string &href, const ::std::string &prefix)
Definition: Namespace.h:46
Namespace(xmlNsPtr ns)
Definition: Namespace.h:41
xmlNsPtr operator()() const
Definition: Namespace.h:76
::std::string getHref() const
Definition: Namespace.h:66
xmlNsPtr ns
Definition: Namespace.h:84
Definition: Namespace.h:39
virtual ~Namespace()
Definition: Namespace.h:58