summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-23 03:40:12 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-23 03:40:12 +0000
commit5e33adbc682aebd99cc86cfe54188857026a3ad4 (patch)
treedde4b2e43672c9b63f3e44021ca0f41933fcd9b7 /src/pugixml.hpp
parent0237fb466e36bdfc82c5e9dab1791f546f7e2979 (diff)
Added xml_text::data() (for regular xml_node operations, i.e. remove_child)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@876 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index 53f4b63..beb5aa5 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -612,6 +612,9 @@ namespace pugi
xml_text& operator=(unsigned int rhs);
xml_text& operator=(double rhs);
xml_text& operator=(bool rhs);
+
+ // Get the data node (node_pcdata or node_cdata) for this object
+ xml_node data() const;
};
#ifdef __BORLANDC__