diff options
Diffstat (limited to 'docs/_example_4.html')
-rw-r--r-- | docs/_example_4.html | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/docs/_example_4.html b/docs/_example_4.html index fd36ac8..10c0c07 100644 --- a/docs/_example_4.html +++ b/docs/_example_4.html @@ -3,7 +3,7 @@ <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> -<meta name="generator" content="Doxygen 1.8.18"/> +<meta name="generator" content="Doxygen 1.9.1"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>TinyXML-2: Read attributes and text information.</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> @@ -22,7 +22,7 @@ <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">TinyXML-2 -  <span id="projectnumber">8.0.0</span> +  <span id="projectnumber">8.1.0</span> </div> </td> </tr> @@ -30,10 +30,10 @@ </table> </div> <!-- end header part --> -<!-- Generated by Doxygen 1.8.18 --> +<!-- Generated by Doxygen 1.9.1 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ -var searchBox = new SearchBox("searchBox", "search",false,'Search'); +var searchBox = new SearchBox("searchBox", "search",false,'Search','.html'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> @@ -77,20 +77,18 @@ $(function() { <div class="line"> <span class="stringliteral">" <v>2</v>"</span></div> <div class="line"> <span class="stringliteral">" </textApproach>"</span></div> <div class="line"> <span class="stringliteral">"</information>"</span>;</div> -</div><!-- fragment --><p>TinyXML-2 has accessors for both approaches.</p> +</div><!-- fragment --><p> TinyXML-2 has accessors for both approaches.</p> <p>When using an attribute, you navigate to the XMLElement with that attribute and use the QueryIntAttribute() group of methods. (Also QueryFloatAttribute(), etc.)</p> <div class="fragment"><div class="line"> XMLElement* attributeApproachElement = doc.FirstChildElement()->FirstChildElement( <span class="stringliteral">"attributeApproach"</span> );</div> <div class="line"> attributeApproachElement->QueryIntAttribute( <span class="stringliteral">"v"</span>, &v0 );</div> -</div><!-- fragment --><p>When using the text approach, you need to navigate down one more step to the XMLElement that contains the text. Note the extra FirstChildElement( "v" ) in the code below. The value of the text can then be safely queried with the QueryIntText() group of methods. (Also QueryFloatText(), etc.)</p> +</div><!-- fragment --><p> When using the text approach, you need to navigate down one more step to the XMLElement that contains the text. Note the extra FirstChildElement( "v" ) in the code below. The value of the text can then be safely queried with the QueryIntText() group of methods. (Also QueryFloatText(), etc.)</p> <div class="fragment"><div class="line"> XMLElement* textApproachElement = doc.FirstChildElement()->FirstChildElement( <span class="stringliteral">"textApproach"</span> );</div> <div class="line"> textApproachElement->FirstChildElement( <span class="stringliteral">"v"</span> )->QueryIntText( &v1 );</div> -</div><!-- fragment --> </div></div><!-- contents --> +</div><!-- fragment --></div></div><!-- contents --> </div><!-- PageDoc --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> -Generated on Sat Jun 13 2020 19:01:40 for TinyXML-2 by  <a href="http://www.doxygen.org/index.html"> -<img class="footer" src="doxygen.png" alt="doxygen"/> -</a> 1.8.18 +Generated on Sat May 15 2021 20:26:18 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.9.1 </small></address> </body> </html> |