summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-10 13:31:38 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-10 13:31:38 +0000
commit9441757ef64c941fc0ddb24096123e0c590ace86 (patch)
tree808c80c9fab041d1fdd5104f6d1c72f92fb74ccb /src/pugixml.hpp
parent14bda69d0d1830e94a4b534e63e0a97a447a186e (diff)
Internal iterator constructors are now private, added empty document test
git-svn-id: http://pugixml.googlecode.com/svn/trunk@403 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp22
1 files changed, 6 insertions, 16 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index 1b6cfae..9cdad19 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -1520,6 +1520,9 @@ namespace pugi
/// \internal Initializing ctor
explicit xml_node_iterator(xml_node_struct* ref);
+ /// \internal Initializing ctor (for past-the-end)
+ xml_node_iterator(xml_node_struct* ref, xml_node_struct* prev);
+
public:
/**
* Iterator traits
@@ -1546,14 +1549,6 @@ namespace pugi
xml_node_iterator(const xml_node& node);
/**
- * Initializing ctor (for past-the-end)
- *
- * \param ref - should be 0
- * \param prev - previous node
- */
- xml_node_iterator(xml_node_struct* ref, xml_node_struct* prev);
-
- /**
* Check if this iterator is equal to \a rhs
*
* \param rhs - other iterator
@@ -1627,6 +1622,9 @@ namespace pugi
/// \internal Initializing ctor
explicit xml_attribute_iterator(xml_attribute_struct* ref);
+ /// \internal Initializing ctor (for past-the-end)
+ xml_attribute_iterator(xml_attribute_struct* ref, xml_attribute_struct* prev);
+
public:
/**
* Iterator traits
@@ -1653,14 +1651,6 @@ namespace pugi
xml_attribute_iterator(const xml_attribute& node);
/**
- * Initializing ctor (for past-the-end)
- *
- * \param ref - should be 0
- * \param prev - previous node
- */
- xml_attribute_iterator(xml_attribute_struct* ref, xml_attribute_struct* prev);
-
- /**
* Check if this iterator is equal to \a rhs
*
* \param rhs - other iterator