summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-10-22 19:02:47 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-10-22 19:02:47 +0000
commit59c88d72367d12ef5dad5aaedd0a84a23ec3975f (patch)
treee44c0d2db2329c408934cf09150c03060b260c87 /src/pugixml.hpp
parente3bbc9c40eac21cd4210824f1d7de3f47c645e15 (diff)
XPath: Moved implementation details to anonymous namespace
git-svn-id: http://pugixml.googlecode.com/svn/trunk@775 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index cccfb7f..bd6ad5f 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -774,8 +774,7 @@ namespace pugi
};
#ifndef PUGIXML_NO_XPATH
- class xpath_ast_node;
- class xpath_allocator;
+ struct xpath_query_impl;
// XPath query return type
enum xpath_value_type
@@ -876,11 +875,10 @@ namespace pugi
class PUGIXML_CLASS xpath_query
{
private:
- xpath_allocator* _alloc;
- xpath_ast_node* _root;
+ xpath_query_impl* _impl;
xpath_parse_result _result;
- typedef xpath_ast_node* xpath_query::*unspecified_bool_type;
+ typedef xpath_query_impl* xpath_query::*unspecified_bool_type;
// Non-copyable semantics
xpath_query(const xpath_query&);