10 #ifndef UI_GXML_XPATHOBJECT_HPP 11 #define UI_GXML_XPATHOBJECT_HPP 28 class XPathObject:
private UI::Util::auto_base<xmlXPathObject>
35 static xmlXPathObjectPtr create(xmlXPathContextPtr
const context, std::string
const & xpath);
51 XPathObject(xmlXPathContextPtr
const context, std::string
const & xpath);
61 typedef xmlXPathObjectType
Type;
71 std::string getString()
const;
72 double getNumber()
const;
73 bool getBoolean()
const;
77 using UI::Util::auto_base<xmlXPathObject>::get;
78 using UI::Util::auto_base<xmlXPathObject>::operator->;
81 std::string
const xpath_;
Namespace for all Schlund+Partner Code.
Definition: Buffer.cpp:30
Type getType() const
Get type of this xpath object.
Definition: XPathObject.cpp:58
XPathObject(xmlXPathContextPtr const context, std::string const &xpath)
Internal constructor.
Definition: XPathObject.cpp:41
friend class XMLTree
Definition: XPathObject.hpp:31
Adding code facility to Exception.
Definition: Exception.hpp:34
xmlXPathObjectType Type
Abstract from libxml2 type.
Definition: XPathObject.hpp:61
XPath object holder class.
Definition: XPathObject.hpp:28
XML tree.
Definition: Tree.hpp:30
CodeException< ErrorCode > Exception
Exceptions for this class.
Definition: XPathObject.hpp:47
XPath context holder class.
Definition: XPathContext.hpp:34
ErrorCode
Error codes for exceptions.
Definition: XPathObject.hpp:39