mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-31 00:13:01 +08:00
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
This commit is contained in:
parent
0237fb466e
commit
5e33adbc68
@ -4866,6 +4866,11 @@ namespace pugi
|
||||
return *this;
|
||||
}
|
||||
|
||||
PUGI__FN xml_node xml_text::data() const
|
||||
{
|
||||
return xml_node(_data());
|
||||
}
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
PUGI__FN bool operator&&(const xml_text& lhs, bool rhs)
|
||||
{
|
||||
|
@ -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__
|
||||
|
Loading…
x
Reference in New Issue
Block a user