|
Robotics Library
0.7.0
|
Go to the documentation of this file.
27 #ifndef RL_XML_NAMESPACE_H
28 #define RL_XML_NAMESPACE_H
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())
61 ::xmlNsPtr
get()
const
68 return nullptr != this->
ns->href ?
reinterpret_cast<const char*
>(this->
ns->href) : ::std::string();
73 return nullptr != this->
ns->prefix ?
reinterpret_cast<const char*
>(this->
ns->prefix) : ::std::string();
89 #endif // RL_XML_NAMESPACE_H
Namespace(::xmlNsPtr ns)
Definition: Namespace.h:41
::std::string getPrefix() const
Definition: Namespace.h:71
~Namespace()
Definition: Namespace.h:57
::xmlNs operator*() const
Definition: Namespace.h:76
::std::string getHref() const
Definition: Namespace.h:66
Definition: Namespace.h:39
::xmlNsPtr get() const
Definition: Namespace.h:61
::xmlNsPtr ns
Definition: Namespace.h:84
Namespace(::xmlNodePtr node, const ::std::string &href, const ::std::string &prefix)
Definition: Namespace.h:46
Robotics Library.
Definition: AnalogInput.cpp:30