summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-08-29 15:27:29 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-08-29 15:27:29 +0000
commit7554e206885a3f3aa1a771f0d4ca1d4a921994ad (patch)
tree165441fccd6e7131b741bf21fcbd109f4daa8747 /src/pugixml.hpp
parent7fab1bf757700449b9dead756989d08e3114182a (diff)
XPath: Context node for evaluate is now an xpath_node (can use attribute contexts)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@663 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index cb6180c..40c3b98 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -1999,7 +1999,7 @@ namespace pugi
* \param n - context node
* \return evaluation result
*/
- bool evaluate_boolean(const xml_node& n) const;
+ bool evaluate_boolean(const xpath_node& n) const;
/**
* Evaluate expression as double value for the context node \a n.
@@ -2010,7 +2010,7 @@ namespace pugi
* \param n - context node
* \return evaluation result
*/
- double evaluate_number(const xml_node& n) const;
+ double evaluate_number(const xpath_node& n) const;
#ifndef PUGIXML_NO_STL
/**
@@ -2022,7 +2022,7 @@ namespace pugi
* \param n - context node
* \return evaluation result
*/
- string_t evaluate_string(const xml_node& n) const;
+ string_t evaluate_string(const xpath_node& n) const;
#endif
/**
@@ -2034,7 +2034,7 @@ namespace pugi
* \param n - context node
* \return evaluation result
*/
- size_t evaluate_string(char_t* buffer, size_t capacity, const xml_node& n) const;
+ size_t evaluate_string(char_t* buffer, size_t capacity, const xpath_node& n) const;
/**
* Evaluate expression as node set for the context node \a n.
@@ -2044,7 +2044,7 @@ namespace pugi
* \param n - context node
* \return evaluation result
*/
- xpath_node_set evaluate_node_set(const xml_node& n) const;
+ xpath_node_set evaluate_node_set(const xpath_node& n) const;
// Get parsing result
const xpath_parse_result& result() const;