mirror of https://github.com/leethomason/tinyxml2
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
748 lines
80 KiB
HTML
748 lines
80 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.10.0"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>TinyXML-2: tinyxml2::XMLElement Class Reference</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<script type="text/javascript" src="clipboard.js"></script>
|
|
<script type="text/javascript" src="cookie.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">TinyXML-2<span id="projectnumber"> 10.0.0</span>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.10.0 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><b>tinyxml2</b></li><li class="navelem"><a class="el" href="classtinyxml2_1_1_x_m_l_element.html">XMLElement</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="classtinyxml2_1_1_x_m_l_element-members.html">List of all members</a> </div>
|
|
<div class="headertitle"><div class="title">tinyxml2::XMLElement Class Reference</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="tinyxml2_8h_source.html">tinyxml2.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for tinyxml2::XMLElement:</div>
|
|
<div class="dyncontent">
|
|
<div class="center">
|
|
<img src="classtinyxml2_1_1_x_m_l_element.png" usemap="#tinyxml2::XMLElement_map" alt=""/>
|
|
<map id="tinyxml2::XMLElement_map" name="tinyxml2::XMLElement_map">
|
|
<area href="classtinyxml2_1_1_x_m_l_node.html" alt="tinyxml2::XMLNode" shape="rect" coords="0,0,134,24"/>
|
|
</map>
|
|
</div></div>
|
|
<table class="memberdecls">
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
|
Public Member Functions</h2></td></tr>
|
|
<tr class="memitem:abd36e34e4428a8eeeffbe87eab0b124d" id="r_abd36e34e4428a8eeeffbe87eab0b124d"><td class="memItemLeft" align="right" valign="top"><a id="abd36e34e4428a8eeeffbe87eab0b124d" name="abd36e34e4428a8eeeffbe87eab0b124d"></a>
|
|
const char * </td><td class="memItemRight" valign="bottom"><b>Name</b> () const</td></tr>
|
|
<tr class="memdesc:abd36e34e4428a8eeeffbe87eab0b124d"><td class="mdescLeft"> </td><td class="mdescRight">Get the name of an element (which is the <a class="el" href="classtinyxml2_1_1_x_m_l_node.html#a0485e51c670e741884cfd8362274d680">Value()</a> of the node.) <br /></td></tr>
|
|
<tr class="separator:abd36e34e4428a8eeeffbe87eab0b124d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a97712009a530d8cb8a63bf705f02b4f1" id="r_a97712009a530d8cb8a63bf705f02b4f1"><td class="memItemLeft" align="right" valign="top"><a id="a97712009a530d8cb8a63bf705f02b4f1" name="a97712009a530d8cb8a63bf705f02b4f1"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetName</b> (const char *str, bool staticMem=false)</td></tr>
|
|
<tr class="memdesc:a97712009a530d8cb8a63bf705f02b4f1"><td class="mdescLeft"> </td><td class="mdescRight">Set the name of the element. <br /></td></tr>
|
|
<tr class="separator:a97712009a530d8cb8a63bf705f02b4f1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a88621376780280c0695458e30212eebe" id="r_a88621376780280c0695458e30212eebe"><td class="memItemLeft" align="right" valign="top"><a id="a88621376780280c0695458e30212eebe" name="a88621376780280c0695458e30212eebe"></a>
|
|
virtual <a class="el" href="classtinyxml2_1_1_x_m_l_element.html">XMLElement</a> * </td><td class="memItemRight" valign="bottom"><b>ToElement</b> () override</td></tr>
|
|
<tr class="memdesc:a88621376780280c0695458e30212eebe"><td class="mdescLeft"> </td><td class="mdescRight">Safely cast to an Element, or null. <br /></td></tr>
|
|
<tr class="separator:a88621376780280c0695458e30212eebe"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acae4a763d74c13ce4a31eb70b4db9f82" id="r_acae4a763d74c13ce4a31eb70b4db9f82"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="#acae4a763d74c13ce4a31eb70b4db9f82">Accept</a> (<a class="el" href="classtinyxml2_1_1_x_m_l_visitor.html">XMLVisitor</a> *visitor) const override</td></tr>
|
|
<tr class="separator:acae4a763d74c13ce4a31eb70b4db9f82"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a48cf4a315cfbac7d74cd0d5ff2c5df51" id="r_a48cf4a315cfbac7d74cd0d5ff2c5df51"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="#a48cf4a315cfbac7d74cd0d5ff2c5df51">Attribute</a> (const char *name, const char *value=0) const</td></tr>
|
|
<tr class="separator:a48cf4a315cfbac7d74cd0d5ff2c5df51"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a95a89b13bb14a2d4655e2b5b406c00d4" id="r_a95a89b13bb14a2d4655e2b5b406c00d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#a95a89b13bb14a2d4655e2b5b406c00d4">IntAttribute</a> (const char *name, int defaultValue=0) const</td></tr>
|
|
<tr class="separator:a95a89b13bb14a2d4655e2b5b406c00d4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afea43a1d4aa33e3703ddee5fc9adc26c" id="r_afea43a1d4aa33e3703ddee5fc9adc26c"><td class="memItemLeft" align="right" valign="top"><a id="afea43a1d4aa33e3703ddee5fc9adc26c" name="afea43a1d4aa33e3703ddee5fc9adc26c"></a>
|
|
unsigned </td><td class="memItemRight" valign="bottom"><b>UnsignedAttribute</b> (const char *name, unsigned defaultValue=0) const</td></tr>
|
|
<tr class="memdesc:afea43a1d4aa33e3703ddee5fc9adc26c"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a95a89b13bb14a2d4655e2b5b406c00d4">IntAttribute()</a> <br /></td></tr>
|
|
<tr class="separator:afea43a1d4aa33e3703ddee5fc9adc26c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a66d96972adecd816194191f13cc4a0a0" id="r_a66d96972adecd816194191f13cc4a0a0"><td class="memItemLeft" align="right" valign="top"><a id="a66d96972adecd816194191f13cc4a0a0" name="a66d96972adecd816194191f13cc4a0a0"></a>
|
|
int64_t </td><td class="memItemRight" valign="bottom"><b>Int64Attribute</b> (const char *name, int64_t defaultValue=0) const</td></tr>
|
|
<tr class="memdesc:a66d96972adecd816194191f13cc4a0a0"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a95a89b13bb14a2d4655e2b5b406c00d4">IntAttribute()</a> <br /></td></tr>
|
|
<tr class="separator:a66d96972adecd816194191f13cc4a0a0"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a226502bab8f1be7ede1fdd255398eb85" id="r_a226502bab8f1be7ede1fdd255398eb85"><td class="memItemLeft" align="right" valign="top"><a id="a226502bab8f1be7ede1fdd255398eb85" name="a226502bab8f1be7ede1fdd255398eb85"></a>
|
|
uint64_t </td><td class="memItemRight" valign="bottom"><b>Unsigned64Attribute</b> (const char *name, uint64_t defaultValue=0) const</td></tr>
|
|
<tr class="memdesc:a226502bab8f1be7ede1fdd255398eb85"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a95a89b13bb14a2d4655e2b5b406c00d4">IntAttribute()</a> <br /></td></tr>
|
|
<tr class="separator:a226502bab8f1be7ede1fdd255398eb85"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a53eda26131e1ad1031ef8ec8adb51bd8" id="r_a53eda26131e1ad1031ef8ec8adb51bd8"><td class="memItemLeft" align="right" valign="top"><a id="a53eda26131e1ad1031ef8ec8adb51bd8" name="a53eda26131e1ad1031ef8ec8adb51bd8"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>BoolAttribute</b> (const char *name, bool defaultValue=false) const</td></tr>
|
|
<tr class="memdesc:a53eda26131e1ad1031ef8ec8adb51bd8"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a95a89b13bb14a2d4655e2b5b406c00d4">IntAttribute()</a> <br /></td></tr>
|
|
<tr class="separator:a53eda26131e1ad1031ef8ec8adb51bd8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a10a90c505aea716bf073eea1c97f33b5" id="r_a10a90c505aea716bf073eea1c97f33b5"><td class="memItemLeft" align="right" valign="top"><a id="a10a90c505aea716bf073eea1c97f33b5" name="a10a90c505aea716bf073eea1c97f33b5"></a>
|
|
double </td><td class="memItemRight" valign="bottom"><b>DoubleAttribute</b> (const char *name, double defaultValue=0) const</td></tr>
|
|
<tr class="memdesc:a10a90c505aea716bf073eea1c97f33b5"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a95a89b13bb14a2d4655e2b5b406c00d4">IntAttribute()</a> <br /></td></tr>
|
|
<tr class="separator:a10a90c505aea716bf073eea1c97f33b5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab1f4be2332e27dc640e9b6abd01d64dd" id="r_ab1f4be2332e27dc640e9b6abd01d64dd"><td class="memItemLeft" align="right" valign="top"><a id="ab1f4be2332e27dc640e9b6abd01d64dd" name="ab1f4be2332e27dc640e9b6abd01d64dd"></a>
|
|
float </td><td class="memItemRight" valign="bottom"><b>FloatAttribute</b> (const char *name, float defaultValue=0) const</td></tr>
|
|
<tr class="memdesc:ab1f4be2332e27dc640e9b6abd01d64dd"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a95a89b13bb14a2d4655e2b5b406c00d4">IntAttribute()</a> <br /></td></tr>
|
|
<tr class="separator:ab1f4be2332e27dc640e9b6abd01d64dd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a8a78bc1187c1c45ad89f2690eab567b1" id="r_a8a78bc1187c1c45ad89f2690eab567b1"><td class="memItemLeft" align="right" valign="top">XMLError </td><td class="memItemRight" valign="bottom"><a class="el" href="#a8a78bc1187c1c45ad89f2690eab567b1">QueryIntAttribute</a> (const char *name, int *value) const</td></tr>
|
|
<tr class="separator:a8a78bc1187c1c45ad89f2690eab567b1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a26fc84cbfba6769dafcfbf256c05e22f" id="r_a26fc84cbfba6769dafcfbf256c05e22f"><td class="memItemLeft" align="right" valign="top"><a id="a26fc84cbfba6769dafcfbf256c05e22f" name="a26fc84cbfba6769dafcfbf256c05e22f"></a>
|
|
XMLError </td><td class="memItemRight" valign="bottom"><b>QueryUnsignedAttribute</b> (const char *name, unsigned int *value) const</td></tr>
|
|
<tr class="memdesc:a26fc84cbfba6769dafcfbf256c05e22f"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a8a78bc1187c1c45ad89f2690eab567b1">QueryIntAttribute()</a> <br /></td></tr>
|
|
<tr class="separator:a26fc84cbfba6769dafcfbf256c05e22f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7c0955d80b6f8d196744eacb0f6e90a8" id="r_a7c0955d80b6f8d196744eacb0f6e90a8"><td class="memItemLeft" align="right" valign="top"><a id="a7c0955d80b6f8d196744eacb0f6e90a8" name="a7c0955d80b6f8d196744eacb0f6e90a8"></a>
|
|
XMLError </td><td class="memItemRight" valign="bottom"><b>QueryInt64Attribute</b> (const char *name, int64_t *value) const</td></tr>
|
|
<tr class="memdesc:a7c0955d80b6f8d196744eacb0f6e90a8"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a8a78bc1187c1c45ad89f2690eab567b1">QueryIntAttribute()</a> <br /></td></tr>
|
|
<tr class="separator:a7c0955d80b6f8d196744eacb0f6e90a8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a13dd590b5d3958ce2ed79844aacd9405" id="r_a13dd590b5d3958ce2ed79844aacd9405"><td class="memItemLeft" align="right" valign="top"><a id="a13dd590b5d3958ce2ed79844aacd9405" name="a13dd590b5d3958ce2ed79844aacd9405"></a>
|
|
XMLError </td><td class="memItemRight" valign="bottom"><b>QueryUnsigned64Attribute</b> (const char *name, uint64_t *value) const</td></tr>
|
|
<tr class="memdesc:a13dd590b5d3958ce2ed79844aacd9405"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a8a78bc1187c1c45ad89f2690eab567b1">QueryIntAttribute()</a> <br /></td></tr>
|
|
<tr class="separator:a13dd590b5d3958ce2ed79844aacd9405"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a14c1bb77c39689838be01838d86ca872" id="r_a14c1bb77c39689838be01838d86ca872"><td class="memItemLeft" align="right" valign="top"><a id="a14c1bb77c39689838be01838d86ca872" name="a14c1bb77c39689838be01838d86ca872"></a>
|
|
XMLError </td><td class="memItemRight" valign="bottom"><b>QueryBoolAttribute</b> (const char *name, bool *value) const</td></tr>
|
|
<tr class="memdesc:a14c1bb77c39689838be01838d86ca872"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a8a78bc1187c1c45ad89f2690eab567b1">QueryIntAttribute()</a> <br /></td></tr>
|
|
<tr class="separator:a14c1bb77c39689838be01838d86ca872"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5f0964e2dbd8e2ee7fce9beab689443c" id="r_a5f0964e2dbd8e2ee7fce9beab689443c"><td class="memItemLeft" align="right" valign="top"><a id="a5f0964e2dbd8e2ee7fce9beab689443c" name="a5f0964e2dbd8e2ee7fce9beab689443c"></a>
|
|
XMLError </td><td class="memItemRight" valign="bottom"><b>QueryDoubleAttribute</b> (const char *name, double *value) const</td></tr>
|
|
<tr class="memdesc:a5f0964e2dbd8e2ee7fce9beab689443c"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a8a78bc1187c1c45ad89f2690eab567b1">QueryIntAttribute()</a> <br /></td></tr>
|
|
<tr class="separator:a5f0964e2dbd8e2ee7fce9beab689443c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acd5eeddf6002ef90806af794b9d9a5a5" id="r_acd5eeddf6002ef90806af794b9d9a5a5"><td class="memItemLeft" align="right" valign="top"><a id="acd5eeddf6002ef90806af794b9d9a5a5" name="acd5eeddf6002ef90806af794b9d9a5a5"></a>
|
|
XMLError </td><td class="memItemRight" valign="bottom"><b>QueryFloatAttribute</b> (const char *name, float *value) const</td></tr>
|
|
<tr class="memdesc:acd5eeddf6002ef90806af794b9d9a5a5"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a8a78bc1187c1c45ad89f2690eab567b1">QueryIntAttribute()</a> <br /></td></tr>
|
|
<tr class="separator:acd5eeddf6002ef90806af794b9d9a5a5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:adb8ae765f98d0c5037faec48deea78bc" id="r_adb8ae765f98d0c5037faec48deea78bc"><td class="memItemLeft" align="right" valign="top"><a id="adb8ae765f98d0c5037faec48deea78bc" name="adb8ae765f98d0c5037faec48deea78bc"></a>
|
|
XMLError </td><td class="memItemRight" valign="bottom"><b>QueryStringAttribute</b> (const char *name, const char **value) const</td></tr>
|
|
<tr class="memdesc:adb8ae765f98d0c5037faec48deea78bc"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a8a78bc1187c1c45ad89f2690eab567b1">QueryIntAttribute()</a> <br /></td></tr>
|
|
<tr class="separator:adb8ae765f98d0c5037faec48deea78bc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5b7df3bed2b8954eabf227fa204522eb" id="r_a5b7df3bed2b8954eabf227fa204522eb"><td class="memItemLeft" align="right" valign="top">XMLError </td><td class="memItemRight" valign="bottom"><a class="el" href="#a5b7df3bed2b8954eabf227fa204522eb">QueryAttribute</a> (const char *name, int *value) const</td></tr>
|
|
<tr class="separator:a5b7df3bed2b8954eabf227fa204522eb"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a11943abf2d0831548c3790dd5d9f119c" id="r_a11943abf2d0831548c3790dd5d9f119c"><td class="memItemLeft" align="right" valign="top"><a id="a11943abf2d0831548c3790dd5d9f119c" name="a11943abf2d0831548c3790dd5d9f119c"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetAttribute</b> (const char *name, const char *value)</td></tr>
|
|
<tr class="memdesc:a11943abf2d0831548c3790dd5d9f119c"><td class="mdescLeft"> </td><td class="mdescRight">Sets the named attribute to value. <br /></td></tr>
|
|
<tr class="separator:a11943abf2d0831548c3790dd5d9f119c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aae6568c64c7f1cc88be8461ba41a79cf" id="r_aae6568c64c7f1cc88be8461ba41a79cf"><td class="memItemLeft" align="right" valign="top"><a id="aae6568c64c7f1cc88be8461ba41a79cf" name="aae6568c64c7f1cc88be8461ba41a79cf"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetAttribute</b> (const char *name, int value)</td></tr>
|
|
<tr class="memdesc:aae6568c64c7f1cc88be8461ba41a79cf"><td class="mdescLeft"> </td><td class="mdescRight">Sets the named attribute to value. <br /></td></tr>
|
|
<tr class="separator:aae6568c64c7f1cc88be8461ba41a79cf"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae143997e90064ba82326b29a9930ea8f" id="r_ae143997e90064ba82326b29a9930ea8f"><td class="memItemLeft" align="right" valign="top"><a id="ae143997e90064ba82326b29a9930ea8f" name="ae143997e90064ba82326b29a9930ea8f"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetAttribute</b> (const char *name, unsigned value)</td></tr>
|
|
<tr class="memdesc:ae143997e90064ba82326b29a9930ea8f"><td class="mdescLeft"> </td><td class="mdescRight">Sets the named attribute to value. <br /></td></tr>
|
|
<tr class="separator:ae143997e90064ba82326b29a9930ea8f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaeefdf9171fec91b13a776b42299b0dd" id="r_aaeefdf9171fec91b13a776b42299b0dd"><td class="memItemLeft" align="right" valign="top"><a id="aaeefdf9171fec91b13a776b42299b0dd" name="aaeefdf9171fec91b13a776b42299b0dd"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetAttribute</b> (const char *name, int64_t value)</td></tr>
|
|
<tr class="memdesc:aaeefdf9171fec91b13a776b42299b0dd"><td class="mdescLeft"> </td><td class="mdescRight">Sets the named attribute to value. <br /></td></tr>
|
|
<tr class="separator:aaeefdf9171fec91b13a776b42299b0dd"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ad598868c0599ddc4695dab18552c308d" id="r_ad598868c0599ddc4695dab18552c308d"><td class="memItemLeft" align="right" valign="top"><a id="ad598868c0599ddc4695dab18552c308d" name="ad598868c0599ddc4695dab18552c308d"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetAttribute</b> (const char *name, uint64_t value)</td></tr>
|
|
<tr class="memdesc:ad598868c0599ddc4695dab18552c308d"><td class="mdescLeft"> </td><td class="mdescRight">Sets the named attribute to value. <br /></td></tr>
|
|
<tr class="separator:ad598868c0599ddc4695dab18552c308d"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa848b696e6a75e4e545c6da9893b11e1" id="r_aa848b696e6a75e4e545c6da9893b11e1"><td class="memItemLeft" align="right" valign="top"><a id="aa848b696e6a75e4e545c6da9893b11e1" name="aa848b696e6a75e4e545c6da9893b11e1"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetAttribute</b> (const char *name, bool value)</td></tr>
|
|
<tr class="memdesc:aa848b696e6a75e4e545c6da9893b11e1"><td class="mdescLeft"> </td><td class="mdescRight">Sets the named attribute to value. <br /></td></tr>
|
|
<tr class="separator:aa848b696e6a75e4e545c6da9893b11e1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a233397ee81e70eb5d4b814c5f8698533" id="r_a233397ee81e70eb5d4b814c5f8698533"><td class="memItemLeft" align="right" valign="top"><a id="a233397ee81e70eb5d4b814c5f8698533" name="a233397ee81e70eb5d4b814c5f8698533"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetAttribute</b> (const char *name, double value)</td></tr>
|
|
<tr class="memdesc:a233397ee81e70eb5d4b814c5f8698533"><td class="mdescLeft"> </td><td class="mdescRight">Sets the named attribute to value. <br /></td></tr>
|
|
<tr class="separator:a233397ee81e70eb5d4b814c5f8698533"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a554b70d882e65b28fc084b23df9b9759" id="r_a554b70d882e65b28fc084b23df9b9759"><td class="memItemLeft" align="right" valign="top"><a id="a554b70d882e65b28fc084b23df9b9759" name="a554b70d882e65b28fc084b23df9b9759"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetAttribute</b> (const char *name, float value)</td></tr>
|
|
<tr class="memdesc:a554b70d882e65b28fc084b23df9b9759"><td class="mdescLeft"> </td><td class="mdescRight">Sets the named attribute to value. <br /></td></tr>
|
|
<tr class="separator:a554b70d882e65b28fc084b23df9b9759"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aebd45aa7118964c30b32fe12e944628a" id="r_aebd45aa7118964c30b32fe12e944628a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#aebd45aa7118964c30b32fe12e944628a">DeleteAttribute</a> (const char *name)</td></tr>
|
|
<tr class="separator:aebd45aa7118964c30b32fe12e944628a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4a7c4392658833bb8138c474d15a805a" id="r_a4a7c4392658833bb8138c474d15a805a"><td class="memItemLeft" align="right" valign="top"><a id="a4a7c4392658833bb8138c474d15a805a" name="a4a7c4392658833bb8138c474d15a805a"></a>
|
|
const <a class="el" href="classtinyxml2_1_1_x_m_l_attribute.html">XMLAttribute</a> * </td><td class="memItemRight" valign="bottom"><b>FirstAttribute</b> () const</td></tr>
|
|
<tr class="memdesc:a4a7c4392658833bb8138c474d15a805a"><td class="mdescLeft"> </td><td class="mdescRight">Return the first attribute in the list. <br /></td></tr>
|
|
<tr class="separator:a4a7c4392658833bb8138c474d15a805a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a157750dac8037a316fd1af1a973dfa2c" id="r_a157750dac8037a316fd1af1a973dfa2c"><td class="memItemLeft" align="right" valign="top"><a id="a157750dac8037a316fd1af1a973dfa2c" name="a157750dac8037a316fd1af1a973dfa2c"></a>
|
|
const <a class="el" href="classtinyxml2_1_1_x_m_l_attribute.html">XMLAttribute</a> * </td><td class="memItemRight" valign="bottom"><b>FindAttribute</b> (const char *name) const</td></tr>
|
|
<tr class="memdesc:a157750dac8037a316fd1af1a973dfa2c"><td class="mdescLeft"> </td><td class="mdescRight">Query a specific attribute in the list. <br /></td></tr>
|
|
<tr class="separator:a157750dac8037a316fd1af1a973dfa2c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0fa5bea0a4daf3ddd503dcabb823eba6" id="r_a0fa5bea0a4daf3ddd503dcabb823eba6"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="#a0fa5bea0a4daf3ddd503dcabb823eba6">GetText</a> () const</td></tr>
|
|
<tr class="separator:a0fa5bea0a4daf3ddd503dcabb823eba6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1f9c2cd61b72af5ae708d37b7ad283ce" id="r_a1f9c2cd61b72af5ae708d37b7ad283ce"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#a1f9c2cd61b72af5ae708d37b7ad283ce">SetText</a> (const char *inText)</td></tr>
|
|
<tr class="separator:a1f9c2cd61b72af5ae708d37b7ad283ce"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aeae8917b5ea6060b3c08d4e3d8d632d7" id="r_aeae8917b5ea6060b3c08d4e3d8d632d7"><td class="memItemLeft" align="right" valign="top"><a id="aeae8917b5ea6060b3c08d4e3d8d632d7" name="aeae8917b5ea6060b3c08d4e3d8d632d7"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetText</b> (int value)</td></tr>
|
|
<tr class="memdesc:aeae8917b5ea6060b3c08d4e3d8d632d7"><td class="mdescLeft"> </td><td class="mdescRight">Convenience method for setting text inside an element. See <a class="el" href="#a1f9c2cd61b72af5ae708d37b7ad283ce">SetText()</a> for important limitations. <br /></td></tr>
|
|
<tr class="separator:aeae8917b5ea6060b3c08d4e3d8d632d7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7bbfcc11d516598bc924a8fba4d08597" id="r_a7bbfcc11d516598bc924a8fba4d08597"><td class="memItemLeft" align="right" valign="top"><a id="a7bbfcc11d516598bc924a8fba4d08597" name="a7bbfcc11d516598bc924a8fba4d08597"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetText</b> (unsigned value)</td></tr>
|
|
<tr class="memdesc:a7bbfcc11d516598bc924a8fba4d08597"><td class="mdescLeft"> </td><td class="mdescRight">Convenience method for setting text inside an element. See <a class="el" href="#a1f9c2cd61b72af5ae708d37b7ad283ce">SetText()</a> for important limitations. <br /></td></tr>
|
|
<tr class="separator:a7bbfcc11d516598bc924a8fba4d08597"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7b62cd33acdfeff7ea2b1b330d4368e4" id="r_a7b62cd33acdfeff7ea2b1b330d4368e4"><td class="memItemLeft" align="right" valign="top"><a id="a7b62cd33acdfeff7ea2b1b330d4368e4" name="a7b62cd33acdfeff7ea2b1b330d4368e4"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetText</b> (int64_t value)</td></tr>
|
|
<tr class="memdesc:a7b62cd33acdfeff7ea2b1b330d4368e4"><td class="mdescLeft"> </td><td class="mdescRight">Convenience method for setting text inside an element. See <a class="el" href="#a1f9c2cd61b72af5ae708d37b7ad283ce">SetText()</a> for important limitations. <br /></td></tr>
|
|
<tr class="separator:a7b62cd33acdfeff7ea2b1b330d4368e4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6e615bc745afd1ca8ded56d7aac02657" id="r_a6e615bc745afd1ca8ded56d7aac02657"><td class="memItemLeft" align="right" valign="top"><a id="a6e615bc745afd1ca8ded56d7aac02657" name="a6e615bc745afd1ca8ded56d7aac02657"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetText</b> (uint64_t value)</td></tr>
|
|
<tr class="memdesc:a6e615bc745afd1ca8ded56d7aac02657"><td class="mdescLeft"> </td><td class="mdescRight">Convenience method for setting text inside an element. See <a class="el" href="#a1f9c2cd61b72af5ae708d37b7ad283ce">SetText()</a> for important limitations. <br /></td></tr>
|
|
<tr class="separator:a6e615bc745afd1ca8ded56d7aac02657"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae4b543d6770de76fb6ab68e541c192a4" id="r_ae4b543d6770de76fb6ab68e541c192a4"><td class="memItemLeft" align="right" valign="top"><a id="ae4b543d6770de76fb6ab68e541c192a4" name="ae4b543d6770de76fb6ab68e541c192a4"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetText</b> (bool value)</td></tr>
|
|
<tr class="memdesc:ae4b543d6770de76fb6ab68e541c192a4"><td class="mdescLeft"> </td><td class="mdescRight">Convenience method for setting text inside an element. See <a class="el" href="#a1f9c2cd61b72af5ae708d37b7ad283ce">SetText()</a> for important limitations. <br /></td></tr>
|
|
<tr class="separator:ae4b543d6770de76fb6ab68e541c192a4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a67bd77ac9aaeff58ff20b4275a65ba4e" id="r_a67bd77ac9aaeff58ff20b4275a65ba4e"><td class="memItemLeft" align="right" valign="top"><a id="a67bd77ac9aaeff58ff20b4275a65ba4e" name="a67bd77ac9aaeff58ff20b4275a65ba4e"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetText</b> (double value)</td></tr>
|
|
<tr class="memdesc:a67bd77ac9aaeff58ff20b4275a65ba4e"><td class="mdescLeft"> </td><td class="mdescRight">Convenience method for setting text inside an element. See <a class="el" href="#a1f9c2cd61b72af5ae708d37b7ad283ce">SetText()</a> for important limitations. <br /></td></tr>
|
|
<tr class="separator:a67bd77ac9aaeff58ff20b4275a65ba4e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a51d560da5ae3ad6b75e0ab9ffb2ae42a" id="r_a51d560da5ae3ad6b75e0ab9ffb2ae42a"><td class="memItemLeft" align="right" valign="top"><a id="a51d560da5ae3ad6b75e0ab9ffb2ae42a" name="a51d560da5ae3ad6b75e0ab9ffb2ae42a"></a>
|
|
void </td><td class="memItemRight" valign="bottom"><b>SetText</b> (float value)</td></tr>
|
|
<tr class="memdesc:a51d560da5ae3ad6b75e0ab9ffb2ae42a"><td class="mdescLeft"> </td><td class="mdescRight">Convenience method for setting text inside an element. See <a class="el" href="#a1f9c2cd61b72af5ae708d37b7ad283ce">SetText()</a> for important limitations. <br /></td></tr>
|
|
<tr class="separator:a51d560da5ae3ad6b75e0ab9ffb2ae42a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a926357996bef633cb736e1a558419632" id="r_a926357996bef633cb736e1a558419632"><td class="memItemLeft" align="right" valign="top">XMLError </td><td class="memItemRight" valign="bottom"><a class="el" href="#a926357996bef633cb736e1a558419632">QueryIntText</a> (int *ival) const</td></tr>
|
|
<tr class="separator:a926357996bef633cb736e1a558419632"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a14d38aa4b5e18a46274a27425188a6a1" id="r_a14d38aa4b5e18a46274a27425188a6a1"><td class="memItemLeft" align="right" valign="top"><a id="a14d38aa4b5e18a46274a27425188a6a1" name="a14d38aa4b5e18a46274a27425188a6a1"></a>
|
|
XMLError </td><td class="memItemRight" valign="bottom"><b>QueryUnsignedText</b> (unsigned *uval) const</td></tr>
|
|
<tr class="memdesc:a14d38aa4b5e18a46274a27425188a6a1"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a926357996bef633cb736e1a558419632">QueryIntText()</a> <br /></td></tr>
|
|
<tr class="separator:a14d38aa4b5e18a46274a27425188a6a1"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a120c538c8eead169e635dbc70fb226d8" id="r_a120c538c8eead169e635dbc70fb226d8"><td class="memItemLeft" align="right" valign="top"><a id="a120c538c8eead169e635dbc70fb226d8" name="a120c538c8eead169e635dbc70fb226d8"></a>
|
|
XMLError </td><td class="memItemRight" valign="bottom"><b>QueryInt64Text</b> (int64_t *uval) const</td></tr>
|
|
<tr class="memdesc:a120c538c8eead169e635dbc70fb226d8"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a926357996bef633cb736e1a558419632">QueryIntText()</a> <br /></td></tr>
|
|
<tr class="separator:a120c538c8eead169e635dbc70fb226d8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac2239b3bd172ad8f5b78d04d4236144b" id="r_ac2239b3bd172ad8f5b78d04d4236144b"><td class="memItemLeft" align="right" valign="top"><a id="ac2239b3bd172ad8f5b78d04d4236144b" name="ac2239b3bd172ad8f5b78d04d4236144b"></a>
|
|
XMLError </td><td class="memItemRight" valign="bottom"><b>QueryUnsigned64Text</b> (uint64_t *uval) const</td></tr>
|
|
<tr class="memdesc:ac2239b3bd172ad8f5b78d04d4236144b"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a926357996bef633cb736e1a558419632">QueryIntText()</a> <br /></td></tr>
|
|
<tr class="separator:ac2239b3bd172ad8f5b78d04d4236144b"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3fe5417d59eb8f5c4afe924b7d332736" id="r_a3fe5417d59eb8f5c4afe924b7d332736"><td class="memItemLeft" align="right" valign="top"><a id="a3fe5417d59eb8f5c4afe924b7d332736" name="a3fe5417d59eb8f5c4afe924b7d332736"></a>
|
|
XMLError </td><td class="memItemRight" valign="bottom"><b>QueryBoolText</b> (bool *bval) const</td></tr>
|
|
<tr class="memdesc:a3fe5417d59eb8f5c4afe924b7d332736"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a926357996bef633cb736e1a558419632">QueryIntText()</a> <br /></td></tr>
|
|
<tr class="separator:a3fe5417d59eb8f5c4afe924b7d332736"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a684679c99bb036a25652744cec6c4d96" id="r_a684679c99bb036a25652744cec6c4d96"><td class="memItemLeft" align="right" valign="top"><a id="a684679c99bb036a25652744cec6c4d96" name="a684679c99bb036a25652744cec6c4d96"></a>
|
|
XMLError </td><td class="memItemRight" valign="bottom"><b>QueryDoubleText</b> (double *dval) const</td></tr>
|
|
<tr class="memdesc:a684679c99bb036a25652744cec6c4d96"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a926357996bef633cb736e1a558419632">QueryIntText()</a> <br /></td></tr>
|
|
<tr class="separator:a684679c99bb036a25652744cec6c4d96"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afa332afedd93210daa6d44b88eb11e29" id="r_afa332afedd93210daa6d44b88eb11e29"><td class="memItemLeft" align="right" valign="top"><a id="afa332afedd93210daa6d44b88eb11e29" name="afa332afedd93210daa6d44b88eb11e29"></a>
|
|
XMLError </td><td class="memItemRight" valign="bottom"><b>QueryFloatText</b> (float *fval) const</td></tr>
|
|
<tr class="memdesc:afa332afedd93210daa6d44b88eb11e29"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a926357996bef633cb736e1a558419632">QueryIntText()</a> <br /></td></tr>
|
|
<tr class="separator:afa332afedd93210daa6d44b88eb11e29"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a49bad014ffcc17b0b6119d5b2c97dfb5" id="r_a49bad014ffcc17b0b6119d5b2c97dfb5"><td class="memItemLeft" align="right" valign="top"><a id="a49bad014ffcc17b0b6119d5b2c97dfb5" name="a49bad014ffcc17b0b6119d5b2c97dfb5"></a>
|
|
unsigned </td><td class="memItemRight" valign="bottom"><b>UnsignedText</b> (unsigned defaultValue=0) const</td></tr>
|
|
<tr class="memdesc:a49bad014ffcc17b0b6119d5b2c97dfb5"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a926357996bef633cb736e1a558419632">QueryIntText()</a> <br /></td></tr>
|
|
<tr class="separator:a49bad014ffcc17b0b6119d5b2c97dfb5"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aab6151f7e3b4c2c0a8234e262d7b6b8a" id="r_aab6151f7e3b4c2c0a8234e262d7b6b8a"><td class="memItemLeft" align="right" valign="top"><a id="aab6151f7e3b4c2c0a8234e262d7b6b8a" name="aab6151f7e3b4c2c0a8234e262d7b6b8a"></a>
|
|
int64_t </td><td class="memItemRight" valign="bottom"><b>Int64Text</b> (int64_t defaultValue=0) const</td></tr>
|
|
<tr class="memdesc:aab6151f7e3b4c2c0a8234e262d7b6b8a"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a926357996bef633cb736e1a558419632">QueryIntText()</a> <br /></td></tr>
|
|
<tr class="separator:aab6151f7e3b4c2c0a8234e262d7b6b8a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af48c1023abbac1acdf4927c51c3a5f0c" id="r_af48c1023abbac1acdf4927c51c3a5f0c"><td class="memItemLeft" align="right" valign="top"><a id="af48c1023abbac1acdf4927c51c3a5f0c" name="af48c1023abbac1acdf4927c51c3a5f0c"></a>
|
|
uint64_t </td><td class="memItemRight" valign="bottom"><b>Unsigned64Text</b> (uint64_t defaultValue=0) const</td></tr>
|
|
<tr class="memdesc:af48c1023abbac1acdf4927c51c3a5f0c"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a926357996bef633cb736e1a558419632">QueryIntText()</a> <br /></td></tr>
|
|
<tr class="separator:af48c1023abbac1acdf4927c51c3a5f0c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a68569f59f6382bcea7f5013ec59736d2" id="r_a68569f59f6382bcea7f5013ec59736d2"><td class="memItemLeft" align="right" valign="top"><a id="a68569f59f6382bcea7f5013ec59736d2" name="a68569f59f6382bcea7f5013ec59736d2"></a>
|
|
bool </td><td class="memItemRight" valign="bottom"><b>BoolText</b> (bool defaultValue=false) const</td></tr>
|
|
<tr class="memdesc:a68569f59f6382bcea7f5013ec59736d2"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a926357996bef633cb736e1a558419632">QueryIntText()</a> <br /></td></tr>
|
|
<tr class="separator:a68569f59f6382bcea7f5013ec59736d2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a81b1ff0cf2f2cd09be8badc08b39a2b7" id="r_a81b1ff0cf2f2cd09be8badc08b39a2b7"><td class="memItemLeft" align="right" valign="top"><a id="a81b1ff0cf2f2cd09be8badc08b39a2b7" name="a81b1ff0cf2f2cd09be8badc08b39a2b7"></a>
|
|
double </td><td class="memItemRight" valign="bottom"><b>DoubleText</b> (double defaultValue=0) const</td></tr>
|
|
<tr class="memdesc:a81b1ff0cf2f2cd09be8badc08b39a2b7"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a926357996bef633cb736e1a558419632">QueryIntText()</a> <br /></td></tr>
|
|
<tr class="separator:a81b1ff0cf2f2cd09be8badc08b39a2b7"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a45444eb21f99ca46101545992dc2e927" id="r_a45444eb21f99ca46101545992dc2e927"><td class="memItemLeft" align="right" valign="top"><a id="a45444eb21f99ca46101545992dc2e927" name="a45444eb21f99ca46101545992dc2e927"></a>
|
|
float </td><td class="memItemRight" valign="bottom"><b>FloatText</b> (float defaultValue=0) const</td></tr>
|
|
<tr class="memdesc:a45444eb21f99ca46101545992dc2e927"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#a926357996bef633cb736e1a558419632">QueryIntText()</a> <br /></td></tr>
|
|
<tr class="separator:a45444eb21f99ca46101545992dc2e927"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abf01fdeb702165fddbc97bcc8af8a1ad" id="r_abf01fdeb702165fddbc97bcc8af8a1ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classtinyxml2_1_1_x_m_l_element.html">XMLElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="#abf01fdeb702165fddbc97bcc8af8a1ad">InsertNewChildElement</a> (const char *name)</td></tr>
|
|
<tr class="separator:abf01fdeb702165fddbc97bcc8af8a1ad"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaed36d3a8082b083ec4f1de55ee68cc2" id="r_aaed36d3a8082b083ec4f1de55ee68cc2"><td class="memItemLeft" align="right" valign="top"><a id="aaed36d3a8082b083ec4f1de55ee68cc2" name="aaed36d3a8082b083ec4f1de55ee68cc2"></a>
|
|
<a class="el" href="classtinyxml2_1_1_x_m_l_comment.html">XMLComment</a> * </td><td class="memItemRight" valign="bottom"><b>InsertNewComment</b> (const char *comment)</td></tr>
|
|
<tr class="memdesc:aaed36d3a8082b083ec4f1de55ee68cc2"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#abf01fdeb702165fddbc97bcc8af8a1ad">InsertNewChildElement()</a> <br /></td></tr>
|
|
<tr class="separator:aaed36d3a8082b083ec4f1de55ee68cc2"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac30367a5e25ff30e178b56e0e1456d23" id="r_ac30367a5e25ff30e178b56e0e1456d23"><td class="memItemLeft" align="right" valign="top"><a id="ac30367a5e25ff30e178b56e0e1456d23" name="ac30367a5e25ff30e178b56e0e1456d23"></a>
|
|
<a class="el" href="classtinyxml2_1_1_x_m_l_text.html">XMLText</a> * </td><td class="memItemRight" valign="bottom"><b>InsertNewText</b> (const char *text)</td></tr>
|
|
<tr class="memdesc:ac30367a5e25ff30e178b56e0e1456d23"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#abf01fdeb702165fddbc97bcc8af8a1ad">InsertNewChildElement()</a> <br /></td></tr>
|
|
<tr class="separator:ac30367a5e25ff30e178b56e0e1456d23"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a7f11671a928649add7e3e18de7adf84a" id="r_a7f11671a928649add7e3e18de7adf84a"><td class="memItemLeft" align="right" valign="top"><a id="a7f11671a928649add7e3e18de7adf84a" name="a7f11671a928649add7e3e18de7adf84a"></a>
|
|
<a class="el" href="classtinyxml2_1_1_x_m_l_declaration.html">XMLDeclaration</a> * </td><td class="memItemRight" valign="bottom"><b>InsertNewDeclaration</b> (const char *text)</td></tr>
|
|
<tr class="memdesc:a7f11671a928649add7e3e18de7adf84a"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#abf01fdeb702165fddbc97bcc8af8a1ad">InsertNewChildElement()</a> <br /></td></tr>
|
|
<tr class="separator:a7f11671a928649add7e3e18de7adf84a"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:afe6cfefb48f8fbcb29a790f2042b55a4" id="r_afe6cfefb48f8fbcb29a790f2042b55a4"><td class="memItemLeft" align="right" valign="top"><a id="afe6cfefb48f8fbcb29a790f2042b55a4" name="afe6cfefb48f8fbcb29a790f2042b55a4"></a>
|
|
<a class="el" href="classtinyxml2_1_1_x_m_l_unknown.html">XMLUnknown</a> * </td><td class="memItemRight" valign="bottom"><b>InsertNewUnknown</b> (const char *text)</td></tr>
|
|
<tr class="memdesc:afe6cfefb48f8fbcb29a790f2042b55a4"><td class="mdescLeft"> </td><td class="mdescRight">See <a class="el" href="#abf01fdeb702165fddbc97bcc8af8a1ad">InsertNewChildElement()</a> <br /></td></tr>
|
|
<tr class="separator:afe6cfefb48f8fbcb29a790f2042b55a4"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6dc4d8774d1e77a8c37a7b3d039d3049" id="r_a6dc4d8774d1e77a8c37a7b3d039d3049"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="#a6dc4d8774d1e77a8c37a7b3d039d3049">ShallowClone</a> (<a class="el" href="classtinyxml2_1_1_x_m_l_document.html">XMLDocument</a> *document) const override</td></tr>
|
|
<tr class="separator:a6dc4d8774d1e77a8c37a7b3d039d3049"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aaba88737610559755425b8a59179817e" id="r_aaba88737610559755425b8a59179817e"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="#aaba88737610559755425b8a59179817e">ShallowEqual</a> (const <a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> *compare) const override</td></tr>
|
|
<tr class="separator:aaba88737610559755425b8a59179817e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="inherit_header pub_methods_classtinyxml2_1_1_x_m_l_node"><td colspan="2" onclick="javascript:dynsection.toggleInherit('pub_methods_classtinyxml2_1_1_x_m_l_node')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classtinyxml2_1_1_x_m_l_node.html">tinyxml2::XMLNode</a></td></tr>
|
|
<tr class="memitem:a6ce3bbe80357f5a4dc5db31a66f2bb18 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a6ce3bbe80357f5a4dc5db31a66f2bb18"><td class="memItemLeft" align="right" valign="top">
|
|
const <a class="el" href="classtinyxml2_1_1_x_m_l_document.html">XMLDocument</a> * </td><td class="memItemRight" valign="bottom"><b>GetDocument</b> () const</td></tr>
|
|
<tr class="memdesc:a6ce3bbe80357f5a4dc5db31a66f2bb18 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Get the <a class="el" href="classtinyxml2_1_1_x_m_l_document.html">XMLDocument</a> that owns this <a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a>. <br /></td></tr>
|
|
<tr class="separator:a6ce3bbe80357f5a4dc5db31a66f2bb18 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a48d1695f7c834129e072548957a50501 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a48d1695f7c834129e072548957a50501"><td class="memItemLeft" align="right" valign="top">
|
|
<a class="el" href="classtinyxml2_1_1_x_m_l_document.html">XMLDocument</a> * </td><td class="memItemRight" valign="bottom"><b>GetDocument</b> ()</td></tr>
|
|
<tr class="memdesc:a48d1695f7c834129e072548957a50501 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Get the <a class="el" href="classtinyxml2_1_1_x_m_l_document.html">XMLDocument</a> that owns this <a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a>. <br /></td></tr>
|
|
<tr class="separator:a48d1695f7c834129e072548957a50501 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0aea8c9c5853c35a06da1988486abc60 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a0aea8c9c5853c35a06da1988486abc60"><td class="memItemLeft" align="right" valign="top">
|
|
virtual <a class="el" href="classtinyxml2_1_1_x_m_l_text.html">XMLText</a> * </td><td class="memItemRight" valign="bottom"><b>ToText</b> ()</td></tr>
|
|
<tr class="memdesc:a0aea8c9c5853c35a06da1988486abc60 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Safely cast to Text, or null. <br /></td></tr>
|
|
<tr class="separator:a0aea8c9c5853c35a06da1988486abc60 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5dc13f02ae49e3fa609e426f47c8466d inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a5dc13f02ae49e3fa609e426f47c8466d"><td class="memItemLeft" align="right" valign="top">
|
|
virtual <a class="el" href="classtinyxml2_1_1_x_m_l_comment.html">XMLComment</a> * </td><td class="memItemRight" valign="bottom"><b>ToComment</b> ()</td></tr>
|
|
<tr class="memdesc:a5dc13f02ae49e3fa609e426f47c8466d inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Safely cast to a Comment, or null. <br /></td></tr>
|
|
<tr class="separator:a5dc13f02ae49e3fa609e426f47c8466d inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a6107c3f57ab6e0755959947762953652 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a6107c3f57ab6e0755959947762953652"><td class="memItemLeft" align="right" valign="top">
|
|
virtual <a class="el" href="classtinyxml2_1_1_x_m_l_document.html">XMLDocument</a> * </td><td class="memItemRight" valign="bottom"><b>ToDocument</b> ()</td></tr>
|
|
<tr class="memdesc:a6107c3f57ab6e0755959947762953652 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Safely cast to a Document, or null. <br /></td></tr>
|
|
<tr class="separator:a6107c3f57ab6e0755959947762953652 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a12aa783a3a4445ad5557c7d56cd8dc4a inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a12aa783a3a4445ad5557c7d56cd8dc4a"><td class="memItemLeft" align="right" valign="top">
|
|
virtual <a class="el" href="classtinyxml2_1_1_x_m_l_declaration.html">XMLDeclaration</a> * </td><td class="memItemRight" valign="bottom"><b>ToDeclaration</b> ()</td></tr>
|
|
<tr class="memdesc:a12aa783a3a4445ad5557c7d56cd8dc4a inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Safely cast to a Declaration, or null. <br /></td></tr>
|
|
<tr class="separator:a12aa783a3a4445ad5557c7d56cd8dc4a inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:aa8a2dd38b786c3b8d406c2047753cbfd inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_aa8a2dd38b786c3b8d406c2047753cbfd"><td class="memItemLeft" align="right" valign="top">
|
|
virtual <a class="el" href="classtinyxml2_1_1_x_m_l_unknown.html">XMLUnknown</a> * </td><td class="memItemRight" valign="bottom"><b>ToUnknown</b> ()</td></tr>
|
|
<tr class="memdesc:aa8a2dd38b786c3b8d406c2047753cbfd inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Safely cast to an Unknown, or null. <br /></td></tr>
|
|
<tr class="separator:aa8a2dd38b786c3b8d406c2047753cbfd inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0485e51c670e741884cfd8362274d680 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a0485e51c670e741884cfd8362274d680"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html#a0485e51c670e741884cfd8362274d680">Value</a> () const</td></tr>
|
|
<tr class="separator:a0485e51c670e741884cfd8362274d680 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a09dd68cf9eae137579f6e50f36487513 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a09dd68cf9eae137579f6e50f36487513"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html#a09dd68cf9eae137579f6e50f36487513">SetValue</a> (const char *val, bool staticMem=false)</td></tr>
|
|
<tr class="separator:a09dd68cf9eae137579f6e50f36487513 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9b5fc636646fda761d342c72e91cb286 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a9b5fc636646fda761d342c72e91cb286"><td class="memItemLeft" align="right" valign="top">
|
|
int </td><td class="memItemRight" valign="bottom"><b>GetLineNum</b> () const</td></tr>
|
|
<tr class="memdesc:a9b5fc636646fda761d342c72e91cb286 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Gets the line number the node is in, if the document was parsed from a file. <br /></td></tr>
|
|
<tr class="separator:a9b5fc636646fda761d342c72e91cb286 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a4d76b30d1bf4b166d3e4fa3419d51595 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a4d76b30d1bf4b166d3e4fa3419d51595"><td class="memItemLeft" align="right" valign="top">
|
|
const <a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> * </td><td class="memItemRight" valign="bottom"><b>Parent</b> () const</td></tr>
|
|
<tr class="memdesc:a4d76b30d1bf4b166d3e4fa3419d51595 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Get the parent of this node on the DOM. <br /></td></tr>
|
|
<tr class="separator:a4d76b30d1bf4b166d3e4fa3419d51595 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac3ab489e6e202a3cd1762d3b332e89d4 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_ac3ab489e6e202a3cd1762d3b332e89d4"><td class="memItemLeft" align="right" valign="top">
|
|
bool </td><td class="memItemRight" valign="bottom"><b>NoChildren</b> () const</td></tr>
|
|
<tr class="memdesc:ac3ab489e6e202a3cd1762d3b332e89d4 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this node has no children. <br /></td></tr>
|
|
<tr class="separator:ac3ab489e6e202a3cd1762d3b332e89d4 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:abcc2e572dce329539689b426a0840661 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_abcc2e572dce329539689b426a0840661"><td class="memItemLeft" align="right" valign="top">
|
|
const <a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> * </td><td class="memItemRight" valign="bottom"><b>FirstChild</b> () const</td></tr>
|
|
<tr class="memdesc:abcc2e572dce329539689b426a0840661 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Get the first child node, or null if none exists. <br /></td></tr>
|
|
<tr class="separator:abcc2e572dce329539689b426a0840661 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a1bec132dcf085284e0a10755f2cf0d57 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a1bec132dcf085284e0a10755f2cf0d57"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classtinyxml2_1_1_x_m_l_element.html">XMLElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html#a1bec132dcf085284e0a10755f2cf0d57">FirstChildElement</a> (const char *name=0) const</td></tr>
|
|
<tr class="separator:a1bec132dcf085284e0a10755f2cf0d57 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a69a29bb8263ff5e9815be180bf27e7af inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a69a29bb8263ff5e9815be180bf27e7af"><td class="memItemLeft" align="right" valign="top">
|
|
const <a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> * </td><td class="memItemRight" valign="bottom"><b>LastChild</b> () const</td></tr>
|
|
<tr class="memdesc:a69a29bb8263ff5e9815be180bf27e7af inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Get the last child node, or null if none exists. <br /></td></tr>
|
|
<tr class="separator:a69a29bb8263ff5e9815be180bf27e7af inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a609e02f02044f39b928d1a3e0de9f532 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a609e02f02044f39b928d1a3e0de9f532"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classtinyxml2_1_1_x_m_l_element.html">XMLElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html#a609e02f02044f39b928d1a3e0de9f532">LastChildElement</a> (const char *name=0) const</td></tr>
|
|
<tr class="separator:a609e02f02044f39b928d1a3e0de9f532 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a92ee96b0d8628bc609f1d34e56d69dfa inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a92ee96b0d8628bc609f1d34e56d69dfa"><td class="memItemLeft" align="right" valign="top">
|
|
const <a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> * </td><td class="memItemRight" valign="bottom"><b>PreviousSibling</b> () const</td></tr>
|
|
<tr class="memdesc:a92ee96b0d8628bc609f1d34e56d69dfa inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Get the previous (left) sibling node of this node. <br /></td></tr>
|
|
<tr class="separator:a92ee96b0d8628bc609f1d34e56d69dfa inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9453cda5e970375a7b1b2099f8a7c40a inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a9453cda5e970375a7b1b2099f8a7c40a"><td class="memItemLeft" align="right" valign="top">
|
|
const <a class="el" href="classtinyxml2_1_1_x_m_l_element.html">XMLElement</a> * </td><td class="memItemRight" valign="bottom"><b>PreviousSiblingElement</b> (const char *name=0) const</td></tr>
|
|
<tr class="memdesc:a9453cda5e970375a7b1b2099f8a7c40a inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Get the previous (left) sibling element of this node, with an optionally supplied name. <br /></td></tr>
|
|
<tr class="separator:a9453cda5e970375a7b1b2099f8a7c40a inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af986c568061b020cf6232bec091388c0 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_af986c568061b020cf6232bec091388c0"><td class="memItemLeft" align="right" valign="top">
|
|
const <a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> * </td><td class="memItemRight" valign="bottom"><b>NextSibling</b> () const</td></tr>
|
|
<tr class="memdesc:af986c568061b020cf6232bec091388c0 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Get the next (right) sibling node of this node. <br /></td></tr>
|
|
<tr class="separator:af986c568061b020cf6232bec091388c0 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a14ea560df31110ff07a9f566171bf797 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a14ea560df31110ff07a9f566171bf797"><td class="memItemLeft" align="right" valign="top">
|
|
const <a class="el" href="classtinyxml2_1_1_x_m_l_element.html">XMLElement</a> * </td><td class="memItemRight" valign="bottom"><b>NextSiblingElement</b> (const char *name=0) const</td></tr>
|
|
<tr class="memdesc:a14ea560df31110ff07a9f566171bf797 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="mdescLeft"> </td><td class="mdescRight">Get the next (right) sibling element of this node, with an optionally supplied name. <br /></td></tr>
|
|
<tr class="separator:a14ea560df31110ff07a9f566171bf797 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae3b422e98914d6002ca99bb1d2837103 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_ae3b422e98914d6002ca99bb1d2837103"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html#ae3b422e98914d6002ca99bb1d2837103">InsertEndChild</a> (<a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> *addThis)</td></tr>
|
|
<tr class="separator:ae3b422e98914d6002ca99bb1d2837103 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ac609a8f3ea949027f439280c640bbaf2 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_ac609a8f3ea949027f439280c640bbaf2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html#ac609a8f3ea949027f439280c640bbaf2">InsertFirstChild</a> (<a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> *addThis)</td></tr>
|
|
<tr class="separator:ac609a8f3ea949027f439280c640bbaf2 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a9275138a1b8dd5d8e2c26789bdc23ac8 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a9275138a1b8dd5d8e2c26789bdc23ac8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html#a9275138a1b8dd5d8e2c26789bdc23ac8">InsertAfterChild</a> (<a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> *afterThis, <a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> *addThis)</td></tr>
|
|
<tr class="separator:a9275138a1b8dd5d8e2c26789bdc23ac8 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a0360085cc54df5bff85d5c5da13afdce inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a0360085cc54df5bff85d5c5da13afdce"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html#a0360085cc54df5bff85d5c5da13afdce">DeleteChildren</a> ()</td></tr>
|
|
<tr class="separator:a0360085cc54df5bff85d5c5da13afdce inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a363b6edbd6ebd55f8387d2b89f2b0921 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a363b6edbd6ebd55f8387d2b89f2b0921"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html#a363b6edbd6ebd55f8387d2b89f2b0921">DeleteChild</a> (<a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> *node)</td></tr>
|
|
<tr class="separator:a363b6edbd6ebd55f8387d2b89f2b0921 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a3bb369fd733f1989b751d99a9417adab inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a3bb369fd733f1989b751d99a9417adab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html#a3bb369fd733f1989b751d99a9417adab">DeepClone</a> (<a class="el" href="classtinyxml2_1_1_x_m_l_document.html">XMLDocument</a> *target) const</td></tr>
|
|
<tr class="separator:a3bb369fd733f1989b751d99a9417adab inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a002978fc889cc011d143185f2377eca2 inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a002978fc889cc011d143185f2377eca2"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html#a002978fc889cc011d143185f2377eca2">SetUserData</a> (void *userData)</td></tr>
|
|
<tr class="separator:a002978fc889cc011d143185f2377eca2 inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a18cc02ebd0b06f6bf5db7ef87653e00e inherit pub_methods_classtinyxml2_1_1_x_m_l_node" id="r_a18cc02ebd0b06f6bf5db7ef87653e00e"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classtinyxml2_1_1_x_m_l_node.html#a18cc02ebd0b06f6bf5db7ef87653e00e">GetUserData</a> () const</td></tr>
|
|
<tr class="separator:a18cc02ebd0b06f6bf5db7ef87653e00e inherit pub_methods_classtinyxml2_1_1_x_m_l_node"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
|
<div class="textblock"><p>The element is a container class. It has a value, the element name, and can contain other elements, text, comments, and unknowns. Elements also contain an arbitrary number of attributes. </p>
|
|
</div><h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="acae4a763d74c13ce4a31eb70b4db9f82" name="acae4a763d74c13ce4a31eb70b4db9f82"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acae4a763d74c13ce4a31eb70b4db9f82">◆ </a></span>Accept()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual bool tinyxml2::XMLElement::Accept </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classtinyxml2_1_1_x_m_l_visitor.html">XMLVisitor</a> *</td> <td class="paramname"><span class="paramname"><em>visitor</em></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Accept a hierarchical visit of the nodes in the TinyXML-2 DOM. Every node in the XML tree will be conditionally visited and the host will be called back via the <a class="el" href="classtinyxml2_1_1_x_m_l_visitor.html">XMLVisitor</a> interface.</p>
|
|
<p>This is essentially a SAX interface for TinyXML-2. (Note however it doesn't re-parse the XML for the callbacks, so the performance of TinyXML-2 is unchanged by using this interface versus any other.)</p>
|
|
<p>The interface has been based on ideas from:</p>
|
|
<ul>
|
|
<li><a href="http://www.saxproject.org/">http://www.saxproject.org/</a></li>
|
|
<li><a href="http://c2.com/cgi/wiki?HierarchicalVisitorPattern">http://c2.com/cgi/wiki?HierarchicalVisitorPattern</a></li>
|
|
</ul>
|
|
<p>Which are both good references for "visiting".</p>
|
|
<p>An example of using <a class="el" href="#acae4a763d74c13ce4a31eb70b4db9f82">Accept()</a>: </p><pre class="fragment">XMLPrinter printer;
|
|
tinyxmlDoc.Accept( &printer );
|
|
const char* xmlcstr = printer.CStr();
|
|
</pre>
|
|
<p>Implements <a class="el" href="classtinyxml2_1_1_x_m_l_node.html#a81e66df0a44c67a7af17f3b77a152785">tinyxml2::XMLNode</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a48cf4a315cfbac7d74cd0d5ff2c5df51" name="a48cf4a315cfbac7d74cd0d5ff2c5df51"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a48cf4a315cfbac7d74cd0d5ff2c5df51">◆ </a></span>Attribute()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const char * tinyxml2::XMLElement::Attribute </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char *</td> <td class="paramname"><span class="paramname"><em>name</em>, </span></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const char *</td> <td class="paramname"><span class="paramname"><em>value</em><span class="paramdefsep"> = </span><span class="paramdefval">0</span></span> ) const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Given an attribute name, <a class="el" href="#a48cf4a315cfbac7d74cd0d5ff2c5df51">Attribute()</a> returns the value for the attribute of that name, or null if none exists. For example:</p>
|
|
<pre class="fragment">const char* value = ele->Attribute( "foo" );
|
|
</pre><p>The 'value' parameter is normally null. However, if specified, the attribute will only be returned if the 'name' and 'value' match. This allow you to write code:</p>
|
|
<pre class="fragment">if ( ele->Attribute( "foo", "bar" ) ) callFooIsBar();
|
|
</pre><p>rather than: </p><pre class="fragment">if ( ele->Attribute( "foo" ) ) {
|
|
if ( strcmp( ele->Attribute( "foo" ), "bar" ) == 0 ) callFooIsBar();
|
|
}
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
<a id="aebd45aa7118964c30b32fe12e944628a" name="aebd45aa7118964c30b32fe12e944628a"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aebd45aa7118964c30b32fe12e944628a">◆ </a></span>DeleteAttribute()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void tinyxml2::XMLElement::DeleteAttribute </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char *</td> <td class="paramname"><span class="paramname"><em>name</em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Delete an attribute. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a0fa5bea0a4daf3ddd503dcabb823eba6" name="a0fa5bea0a4daf3ddd503dcabb823eba6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a0fa5bea0a4daf3ddd503dcabb823eba6">◆ </a></span>GetText()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">const char * tinyxml2::XMLElement::GetText </td>
|
|
<td>(</td>
|
|
<td class="paramname"><span class="paramname"></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Convenience function for easy access to the text inside an element. Although easy and concise, <a class="el" href="#a0fa5bea0a4daf3ddd503dcabb823eba6">GetText()</a> is limited compared to getting the <a class="el" href="classtinyxml2_1_1_x_m_l_text.html">XMLText</a> child and accessing it directly.</p>
|
|
<p>If the first child of 'this' is a <a class="el" href="classtinyxml2_1_1_x_m_l_text.html">XMLText</a>, the <a class="el" href="#a0fa5bea0a4daf3ddd503dcabb823eba6">GetText()</a> returns the character string of the Text node, else null is returned.</p>
|
|
<p>This is a convenient method for getting the text of simple contained text: </p><pre class="fragment"><foo>This is text</foo>
|
|
const char* str = fooElement->GetText();
|
|
</pre><p>'str' will be a pointer to "This is text".</p>
|
|
<p>Note that this function can be misleading. If the element foo was created from this XML: </p><pre class="fragment"> <foo><b>This is text</b></foo>
|
|
</pre><p>then the value of str would be null. The first child node isn't a text node, it is another element. From this XML: </p><pre class="fragment"> <foo>This is <b>text</b></foo>
|
|
</pre><p> <a class="el" href="#a0fa5bea0a4daf3ddd503dcabb823eba6">GetText()</a> will return "This is ". </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="abf01fdeb702165fddbc97bcc8af8a1ad" name="abf01fdeb702165fddbc97bcc8af8a1ad"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#abf01fdeb702165fddbc97bcc8af8a1ad">◆ </a></span>InsertNewChildElement()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classtinyxml2_1_1_x_m_l_element.html">XMLElement</a> * tinyxml2::XMLElement::InsertNewChildElement </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char *</td> <td class="paramname"><span class="paramname"><em>name</em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Convenience method to create a new <a class="el" href="classtinyxml2_1_1_x_m_l_element.html">XMLElement</a> and add it as last (right) child of this node. Returns the created and inserted element. </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a95a89b13bb14a2d4655e2b5b406c00d4" name="a95a89b13bb14a2d4655e2b5b406c00d4"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a95a89b13bb14a2d4655e2b5b406c00d4">◆ </a></span>IntAttribute()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int tinyxml2::XMLElement::IntAttribute </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char *</td> <td class="paramname"><span class="paramname"><em>name</em>, </span></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>defaultValue</em><span class="paramdefsep"> = </span><span class="paramdefval">0</span></span> ) const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Given an attribute name, <a class="el" href="#a95a89b13bb14a2d4655e2b5b406c00d4">IntAttribute()</a> returns the value of the attribute interpreted as an integer. The default value will be returned if the attribute isn't present, or if there is an error. (For a method with error checking, see <a class="el" href="#a8a78bc1187c1c45ad89f2690eab567b1">QueryIntAttribute()</a>). </p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5b7df3bed2b8954eabf227fa204522eb" name="a5b7df3bed2b8954eabf227fa204522eb"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5b7df3bed2b8954eabf227fa204522eb">◆ </a></span>QueryAttribute()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">XMLError tinyxml2::XMLElement::QueryAttribute </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char *</td> <td class="paramname"><span class="paramname"><em>name</em>, </span></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int *</td> <td class="paramname"><span class="paramname"><em>value</em></span> ) const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Given an attribute name, <a class="el" href="#a5b7df3bed2b8954eabf227fa204522eb">QueryAttribute()</a> returns XML_SUCCESS, XML_WRONG_ATTRIBUTE_TYPE if the conversion can't be performed, or XML_NO_ATTRIBUTE if the attribute doesn't exist. It is overloaded for the primitive types, and is a generally more convenient replacement of <a class="el" href="#a8a78bc1187c1c45ad89f2690eab567b1">QueryIntAttribute()</a> and related functions.</p>
|
|
<p>If successful, the result of the conversion will be written to 'value'. If not successful, nothing will be written to 'value'. This allows you to provide default value:</p>
|
|
<pre class="fragment">int value = 10;
|
|
QueryAttribute( "foo", &value ); // if "foo" isn't found, value will still be 10
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
<a id="a8a78bc1187c1c45ad89f2690eab567b1" name="a8a78bc1187c1c45ad89f2690eab567b1"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8a78bc1187c1c45ad89f2690eab567b1">◆ </a></span>QueryIntAttribute()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">XMLError tinyxml2::XMLElement::QueryIntAttribute </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char *</td> <td class="paramname"><span class="paramname"><em>name</em>, </span></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int *</td> <td class="paramname"><span class="paramname"><em>value</em></span> ) const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Given an attribute name, <a class="el" href="#a8a78bc1187c1c45ad89f2690eab567b1">QueryIntAttribute()</a> returns XML_SUCCESS, XML_WRONG_ATTRIBUTE_TYPE if the conversion can't be performed, or XML_NO_ATTRIBUTE if the attribute doesn't exist. If successful, the result of the conversion will be written to 'value'. If not successful, nothing will be written to 'value'. This allows you to provide default value:</p>
|
|
<pre class="fragment">int value = 10;
|
|
QueryIntAttribute( "foo", &value ); // if "foo" isn't found, value will still be 10
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
<a id="a926357996bef633cb736e1a558419632" name="a926357996bef633cb736e1a558419632"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a926357996bef633cb736e1a558419632">◆ </a></span>QueryIntText()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">XMLError tinyxml2::XMLElement::QueryIntText </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int *</td> <td class="paramname"><span class="paramname"><em>ival</em></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Convenience method to query the value of a child text node. This is probably best shown by example. Given you have a document is this form: </p><pre class="fragment"> <point>
|
|
<x>1</x>
|
|
<y>1.4</y>
|
|
</point>
|
|
</pre><p>The <a class="el" href="#a926357996bef633cb736e1a558419632">QueryIntText()</a> and similar functions provide a safe and easier way to get to the "value" of x and y.</p>
|
|
<pre class="fragment"> int x = 0;
|
|
float y = 0; // types of x and y are contrived for example
|
|
const XMLElement* xElement = pointElement->FirstChildElement( "x" );
|
|
const XMLElement* yElement = pointElement->FirstChildElement( "y" );
|
|
xElement->QueryIntText( &x );
|
|
yElement->QueryFloatText( &y );
|
|
</pre><dl class="section return"><dt>Returns</dt><dd>XML_SUCCESS (0) on success, XML_CAN_NOT_CONVERT_TEXT if the text cannot be converted to the requested type, and XML_NO_TEXT_NODE if there is no child text to query. </dd></dl>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a1f9c2cd61b72af5ae708d37b7ad283ce" name="a1f9c2cd61b72af5ae708d37b7ad283ce"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a1f9c2cd61b72af5ae708d37b7ad283ce">◆ </a></span>SetText()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void tinyxml2::XMLElement::SetText </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char *</td> <td class="paramname"><span class="paramname"><em>inText</em></span></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Convenience function for easy access to the text inside an element. Although easy and concise, <a class="el" href="#a1f9c2cd61b72af5ae708d37b7ad283ce">SetText()</a> is limited compared to creating an <a class="el" href="classtinyxml2_1_1_x_m_l_text.html">XMLText</a> child and mutating it directly.</p>
|
|
<p>If the first child of 'this' is a <a class="el" href="classtinyxml2_1_1_x_m_l_text.html">XMLText</a>, <a class="el" href="#a1f9c2cd61b72af5ae708d37b7ad283ce">SetText()</a> sets its value to the given string, otherwise it will create a first child that is an <a class="el" href="classtinyxml2_1_1_x_m_l_text.html">XMLText</a>.</p>
|
|
<p>This is a convenient method for setting the text of simple contained text: </p><pre class="fragment"><foo>This is text</foo>
|
|
fooElement->SetText( "Hullaballoo!" );
|
|
<foo>Hullaballoo!</foo>
|
|
</pre><p>Note that this function can be misleading. If the element foo was created from this XML: </p><pre class="fragment"> <foo><b>This is text</b></foo>
|
|
</pre><p>then it will not change "This is text", but rather prefix it with a text element: </p><pre class="fragment"> <foo>Hullaballoo!<b>This is text</b></foo>
|
|
</pre><p>For this XML: </p><pre class="fragment"> <foo />
|
|
</pre><p> <a class="el" href="#a1f9c2cd61b72af5ae708d37b7ad283ce">SetText()</a> will generate </p><pre class="fragment"> <foo>Hullaballoo!</foo>
|
|
</pre>
|
|
</div>
|
|
</div>
|
|
<a id="a6dc4d8774d1e77a8c37a7b3d039d3049" name="a6dc4d8774d1e77a8c37a7b3d039d3049"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a6dc4d8774d1e77a8c37a7b3d039d3049">◆ </a></span>ShallowClone()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual <a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> * tinyxml2::XMLElement::ShallowClone </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classtinyxml2_1_1_x_m_l_document.html">XMLDocument</a> *</td> <td class="paramname"><span class="paramname"><em>document</em></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Make a copy of this node, but not its children. You may pass in a Document pointer that will be the owner of the new Node. If the 'document' is null, then the node returned will be allocated from the current Document. (this-><a class="el" href="classtinyxml2_1_1_x_m_l_node.html#a48d1695f7c834129e072548957a50501" title="Get the XMLDocument that owns this XMLNode.">GetDocument()</a>)</p>
|
|
<p>Note: if called on a <a class="el" href="classtinyxml2_1_1_x_m_l_document.html">XMLDocument</a>, this will return null. </p>
|
|
|
|
<p>Implements <a class="el" href="classtinyxml2_1_1_x_m_l_node.html#a9046880c05b81ad99ee645f4b2a53ecd">tinyxml2::XMLNode</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aaba88737610559755425b8a59179817e" name="aaba88737610559755425b8a59179817e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aaba88737610559755425b8a59179817e">◆ </a></span>ShallowEqual()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="mlabels">
|
|
<tr>
|
|
<td class="mlabels-left">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">virtual bool tinyxml2::XMLElement::ShallowEqual </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="classtinyxml2_1_1_x_m_l_node.html">XMLNode</a> *</td> <td class="paramname"><span class="paramname"><em>compare</em></span></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
<td class="mlabels-right">
|
|
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
<p>Test if 2 nodes are the same, but don't test children. The 2 nodes do not need to be in the same Document.</p>
|
|
<p>Note: if called on a <a class="el" href="classtinyxml2_1_1_x_m_l_document.html">XMLDocument</a>, this will return false. </p>
|
|
|
|
<p>Implements <a class="el" href="classtinyxml2_1_1_x_m_l_node.html#a7ce18b751c3ea09eac292dca264f9226">tinyxml2::XMLNode</a>.</p>
|
|
|
|
</div>
|
|
</div>
|
|
<hr/>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="tinyxml2_8h_source.html">tinyxml2.h</a></li>
|
|
</ul>
|
|
</div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Sat Dec 30 2023 18:02:35 for TinyXML-2 by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
|
|
</small></address>
|
|
</body>
|
|
</html>
|