Lines Matching full:keyword
92 <a name="l00085"></a>00085 <span class="keyword">class </span><a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>;
93 <a name="l00086"></a>00086 <span class="keyword">class </span><a class="code" href="classTiXmlElement.html">TiXmlElement</a>;
94 <a name="l00087"></a>00087 <span class="keyword">class </span><a class="code" href="classTiXmlComment.html">TiXmlComment</a>;
95 <a name="l00088"></a>00088 <span class="keyword">class </span><a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>;
96 <a name="l00089"></a>00089 <span class="keyword">class </span><a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>;
97 <a name="l00090"></a>00090 <span class="keyword">class </span><a class="code" href="classTiXmlText.html">TiXmlText</a>;
98 <a name="l00091"></a>00091 <span class="keyword">class </span><a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>;
99 <a name="l00092"></a>00092 <span class="keyword">class </span>TiXmlParsingData;
101 <a name="l00094"></a>00094 <span class="keyword">const</span> <span class="keywordtype">int</span> TIXML_MAJOR_VERSION = 2;
102 <a name="l00095"></a>00095 <span class="keyword">const</span> <span class="keywordtype">int</span> TIXML_MINOR_VERSION = 4;
103 <a name="l00096"></a>00096 <span class="keyword">const</span> <span class="keywordtype">int</span> TIXML_PATCH_VERSION = 0;
108 <a name="l00101"></a>00101 <span class="keyword">struct </span>TiXmlCursor
119 <a name="l00112"></a>00112 <span class="keyword">enum</span>
128 <a name="l00121"></a>00121 <span class="keyword">enum</span> TiXmlEncoding
135 <a name="l00128"></a>00128 <span class="keyword">const</span> TiXmlEncoding TIXML_DEFAULT_ENCODING = TIXML_ENCODING_UNKNOWN;
137 <a name="l00152"></a><a class="code" href="classTiXmlBase.html">00152</a> <span class="keyword">class </span><a class="code" href="classTiXmlBase.html">TiXmlBase</a>
139 <a name="l00154"></a>00154 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlNode.html">TiXmlNode</a>;
140 <a name="l00155"></a>00155 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlElement.html">TiXmlElement</a>;
141 <a name="l00156"></a>00156 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>;
143 <a name="l00158"></a>00158 <span class="keyword">public</span>:
145 <a name="l00160"></a>00160 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlBase.html">TiXmlBase</a>() {}
147 <a name="l00167"></a>00167 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlBase.html#a2">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const </span>= 0;
149 <a name="l00175"></a><a class="code" href="classTiXmlBase.html#e0">00175</a> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlBase.html#e0">SetCondenseWhiteSpace</a>( <span class="keywordtype">bool</span> condense ) { condenseWhiteSpace = condense; }
151 <a name="l00178"></a><a class="code" href="classTiXmlBase.html#e1">00178</a> <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlBase.html#e1">IsWhiteSpaceCondensed</a>() { <span class="keywordflow">return</span> condenseWhiteSpace; }
153 <a name="l00198"></a><a class="code" href="classTiXmlBase.html#a3">00198</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlBase.html#a3">Row</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> location.row + 1; }
154 <a name="l00199"></a><a class="code" href="classTiXmlBase.html#a4">00199</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlBase.html#a4">Column</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> location.col + 1; }
161 <a name="l00206"></a>00206 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> utf8ByteTable[256];
163 <a name="l00208"></a>00208 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlDocument.html#a12">Parse</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* p,
167 <a name="l00212"></a>00212 <span class="keyword">enum</span>
189 <a name="l00234"></a>00234 <span class="keyword">protected</span>:
193 <a name="l00238"></a>00238 <span class="keyword">class </span>StringToBuffer
195 <a name="l00240"></a>00240 <span class="keyword">public</span>:
196 <a name="l00241"></a>00241 StringToBuffer( <span class="keyword">const</span> TIXML_STRING& str );
201 <a name="l00246"></a>00246 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* SkipWhiteSpace( <span class="keyword">const</span> <span class="keywordtype">char</span>*, TiXmlEncoding encoding );
202 <a name="l00247"></a>00247 <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">bool</span> IsWhiteSpace( <span class="keywordtype">char</span> c )
207 <a name="l00252"></a>00252 <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamOut (TIXML_OSTREAM *) <span class="keyword">const </span>= 0;
210 <a name="l00255"></a>00255 <span class="preprocessor"></span> <span class="keyword">static</span> <span class="keywordtype">bool</span> StreamWhiteSpace( TIXML_ISTREAM * in, TIXML_STRING * tag );
211 <a name="l00256"></a>00256 <span class="keyword">static</span> <span class="keywordtype">bool</span> StreamTo( TIXML_ISTREAM * in, <span class="keywordtype">int</span> character, TIXML_STRING * tag );
218 <a name="l00263"></a>00263 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* ReadName( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TIXML_STRING* name, TiXmlEncoding encoding );
223 <a name="l00268"></a>00268 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* ReadText( <span class="keyword">const</span> <span class="keywordtype">char</span>* in, <span class="comment">// where to start</span>
226 <a name="l00271"></a>00271 <span class="keyword">const</span> <span class="keywordtype">char</span>* endTag, <span class="comment">// what ends this text</span>
231 <a name="l00276"></a>00276 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetEntity( <span class="keyword">const</span> <span class="keywordtype">char</span>* in, <span class="keywordtype">char</span>* value, <span class="keywordtype">int</span>* length, TiXmlEncoding encoding );
235 <a name="l00280"></a>00280 <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetChar( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, <span class="keywordtype">char</span>* _value, <span class="keywordtype">int</span>* length, TiXmlEncoding encoding )
273 <a name="l00318"></a>00318 <span class="keyword">static</span> <span class="keywordtype">void</span> PutString( <span class="keyword">const</span> TIXML_STRING& str, TIXML_OSTREAM* out );
275 <a name="l00320"></a>00320 <span class="keyword">static</span> <span class="keywordtype">void</span> PutString( <span class="keyword">const</span> TIXML_STRING& str, TIXML_STRING* out );
280 <a name="l00325"></a>00325 <span class="keyword">static</span> <span class="keywordtype">bool</span> StringEqual( <span class="keyword">const</span> <span class="keywordtype">char</span>* p,
281 <a name="l00326"></a>00326 <span class="keyword">const</span> <span class="keywordtype">char</span>* endTag,
285 <a name="l00330"></a>00330 <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* errorString[ TIXML_ERROR_STRING_COUNT ];
293 <a name="l00339"></a>00339 <span class="keyword">static</span> <span class="keywordtype">int</span> IsAlpha( <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> anyByte, TiXmlEncoding encoding );
294 <a name="l00340"></a>00340 <span class="keyword">static</span> <span class="keywordtype">int</span> IsAlphaNum( <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> anyByte, TiXmlEncoding encoding );
295 <a name="l00341"></a>00341 <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordtype">int</span> ToLower( <span class="keywordtype">int</span> v, TiXmlEncoding encoding )
307 <a name="l00353"></a>00353 <span class="keyword">static</span> <span class="keywordtype">void</span> ConvertUTF32ToUTF8( <span class="keywordtype">unsigned</span> <span class="keywordtype">long</span> input, <span class="keywordtype">char</span>* output, <span class="keywordtype">int</span>* length );
309 <a name="l00355"></a>00355 <span class="keyword">private</span>:
310 <a name="l00356"></a>00356 <a class="code" href="classTiXmlBase.html">TiXmlBase</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlBase.html">TiXmlBase</a>& ); <span class="comment">// not implemented.</span>
311 <a name="l00357"></a>00357 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlBase.html">TiXmlBase</a>& base ); <span class="comment">// not allowed.</span>
313 <a name="l00359"></a>00359 <span class="keyword">struct </span>Entity
315 <a name="l00361"></a>00361 <span class="keyword">const</span> <span class="keywordtype">char</span>* str;
319 <a name="l00365"></a>00365 <span class="keyword">enum</span>
325 <a name="l00371"></a>00371 <span class="keyword">static</span> Entity entity[ NUM_ENTITY ];
326 <a name="l00372"></a>00372 <span class="keyword">static</span> <span class="keywordtype">bool</span> condenseWhiteSpace;
330 <a name="l00382"></a><a class="code" href="classTiXmlNode.html">00382</a> <span class="keyword">class </span><a class="code" href="classTiXmlNode.html">TiXmlNode</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlBase.html">TiXmlBase</a>
332 <a name="l00384"></a>00384 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>;
333 <a name="l00385"></a>00385 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlElement.html">TiXmlElement</a>;
335 <a name="l00387"></a>00387 <span class="keyword">public</span>:
338 <a name="l00393"></a>00393 <span class="keyword
340 <a name="l00411"></a>00411 <span class="keyword">friend</span> std::ostream& <a class="code" href="classTiXmlNode.html#n3">operator<< </a>(std::ostream& out, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>& base);
342 <a name="l00414"></a>00414 <span class="keyword">friend</span> std::string& <a class="code" href="classTiXmlNode.html#n3">operator<< </a>(std::string& out, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>& base );
346 <a name="l00418"></a>00418 <span class="keyword">friend</span> TIXML_OSTREAM& <a class="code" href="classTiXmlNode.html#n3">operator<< </a>(TIXML_OSTREAM& out, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>& base);
349 <a name="l00424"></a><a class="code" href="classTiXmlNode.html#w7">00424</a> <span class="keyword">enum</span> <a class="code" href="classTiXmlNode.html#w7">NodeType</a>
360 <a name="l00435"></a>00435 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlNode.html">TiXmlNode</a>();
362 <a name="l00449"></a><a class="code" href="classTiXmlNode.html#a1">00449</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classTiXmlNode.html#a1">Value</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value.c_str (); }
366 <a name="l00456"></a><a class="code" href="classTiXmlNode.html#a2">00456</a> <span class="keyword">const</span> std::string& <a class="code" href="classTiXmlNode.html#a2">ValueStr</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value; }
369 <a name="l00468"></a><a class="code" href="classTiXmlNode.html#a3">00468</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlNode.html#a3">SetValue</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> * _value) { value = _value;}
373 <a name="l00472"></a><a class="code" href="classTiXmlNode.html#a4">00472</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlNode.html#a3">SetValue</a>( <span class="keyword">const</span> std::string& _value )
383 <a name="l00484"></a>00484 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a6">Parent</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> parent; }
385 <a name="l00486"></a><a class="code" href="classTiXmlNode.html#a8">00486</a> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a8">FirstChild</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> firstChild; }
387 <a name="l00488"></a>00488 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a8">FirstChild</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value ) <span class="keyword">const</span>;
388 <a name="l00489"></a>00489 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a8">FirstChild</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value );
390 <a name="l00491"></a>00491 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* LastChild()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> lastChild; }
392 <a name="l00493"></a>00493 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* LastChild( <span class="keyword">const</span> <span class="keywordtype">char</span> * value ) <span class="keyword">const</span>;
393 <a name="l00494"></a>00494 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* LastChild( <span class="keyword">const</span> <span class="keywordtype">char</span> * value );
396 <a name="l00497"></a><a class="code" href="classTiXmlNode.html#a16">00497</a> <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a8">FirstChild</a>( <span class="keyword">const</span> std::string& _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a8">FirstChild</a> (_value.c_str ()); }
397 <a name="l00498"></a><a class="code" href="classTiXmlNode.html#a17">00498</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a8">FirstChild</a>( <span class="keyword">const</span> std::string& _value ) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a8">FirstChild</a> (_value.c_str ()); }
398 <a name="l00499"></a><a class="code" href="classTiXmlNode.html#a18">00499</a> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* LastChild( <span class="keyword">const</span> std::string& _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> LastChild (_value.c_str ()); }
399 <a name="l00500"></a><a class="code" href="classTiXmlNode.html#a19">00500</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* LastChild( <span class="keyword">const</span> std::string& _value ) { <span class="keywordflow">return</span> LastChild (_value.c_str ()); }
402 <a name="l00519"></a>00519 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a20">IterateChildren</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* previous ) <span class="keyword">const</span>;
405 <a name="l00523"></a>00523 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a20">IterateChildren</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* previous ) <span class="keyword">const</span>;
406 <a name="l00524"></a>00524 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a20">IterateChildren</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value, <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* previous );
409 <a name="l00527"></a><a class="code" href="classTiXmlNode.html#a24">00527</a> <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a20">IterateChildren</a>( <span class="keyword">const</span> std::string& _value, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* previous )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a20">IterateChildren</a> (_value.c_str (), previous); }
410 <a name="l00528"></a><a class="code" href="classTiXmlNode.html#a25">00528</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a20">IterateChildren</a>( <span class="keyword">const</span> std::string& _value, <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* previous ) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a20">IterateChildren</a> (_value.c_str (), previous); }
413 <a name="l00534"></a>00534 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a26">InsertEndChild</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>& addThis );
418 <a name="l00551"></a>00551 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a28">InsertBeforeChild</a>( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* beforeThis, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>& addThis );
420 <a name="l00556"></a>00556 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a29">InsertAfterChild</a>( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* afterThis, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>& addThis );
422 <a name="l00561"></a>00561 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a30">ReplaceChild</a>( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* replaceThis, <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>& withThis );
426 <a name="l00567"></a><a class="code" href="classTiXmlNode.html#a32">00567</a> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a32">PreviousSibling</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> prev; }
429 <a name="l00571"></a>00571 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a32">PreviousSibling</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * ) <span class="keyword">const</span>;
430 <a name="l00572"></a>00572 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a32">PreviousSibling</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * );
433 <a name="l00575"></a><a class="code" href="classTiXmlNode.html#a36">00575</a> <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a32">PreviousSibling</a>( <span class="keyword">const</span> std::string& _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a32">PreviousSibling</a> (_value.c_str ()); }
434 <a name="l00576"></a><a class="code" href="classTiXmlNode.html#a37">00576</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a32">PreviousSibling</a>( <span class="keyword">const</span> std::string& _value ) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a32">PreviousSibling</a> (_value.c_str ()); }
435 <a name="l00577"></a><a class="code" href="classTiXmlNode.html#a38">00577</a> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a40">NextSibling</a>( <span class="keyword">const</span> std::string& _value)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a40">NextSibling</a> (_value.c_str ()); }
436 <a name="l00578"></a><a class="code" href="classTiXmlNode.html#a39">00578</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a40">NextSibling</a>( <span class="keyword
439 <a name="l00582"></a><a class="code" href="classTiXmlNode.html#a40">00582</a> <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a40">NextSibling</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> next; }
442 <a name="l00586"></a>00586 <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a40">NextSibling</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * ) <span class="keyword">const</span>;
443 <a name="l00587"></a>00587 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a40">NextSibling</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * );
445 <a name="l00593"></a>00593 <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a44">NextSiblingElement</a>() <span class="keyword">const</span>;
448 <a name="l00600"></a>00600 <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a44">NextSiblingElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * ) <span class="keyword">const</span>;
449 <a name="l00601"></a>00601 <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a44">NextSiblingElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * );
452 <a name="l00604"></a><a class="code" href="classTiXmlNode.html#a48">00604</a> <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a44">NextSiblingElement</a>( <span class="keyword">const</span> std::string& _value)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a44">NextSiblingElement</a> (_value.c_str ()); }
453 <a name="l00605"></a><a class="code" href="classTiXmlNode.html#a49">00605</a> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a44">NextSiblingElement</a>( <span class="keyword">const</span> std::string& _value) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a44">NextSiblingElement</a> (_value.c_str ()); }
456 <a name="l00609"></a>00609 <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a50">FirstChildElement</a>() <span class="keyword">const</span>;
459 <a name="l00613"></a>00613 <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a50">FirstChildElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value ) <span class="keyword">const</span>;
460 <a name="l00614"></a>00614 <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a50">FirstChildElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value );
463 <a name="l00617"></a><a class="code" href="classTiXmlNode.html#a54">00617</a> <span class="preprocessor"></span> <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a50">FirstChildElement</a>( <span class="keyword">const</span> std::string& _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a50">FirstChildElement</a> (_value.c_str ()); }
464 <a name="l00618"></a><a class="code" href="classTiXmlNode.html#a55">00618</a> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a50">FirstChildElement</a>( <span class="keyword">const</span> std::string& _value ) { <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a50">FirstChildElement</a> (_value.c_str ()); }
467 <a name="l00625"></a><a class="code" href="classTiXmlNode.html#a56">00625</a> <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="classTiXmlNode.html#a56">Type</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> type; }
469 <a name="l00630"></a>00630 <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* <a class="code" href="classTiXmlNode.html#a57">GetDocument</a>() <span class="keyword">const</span>;
472 <a name="l00634"></a><a class="code" href="classTiXmlNode.html#a59">00634</a> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlNode.html#a59">NoChildren</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !firstChild; }
474 <a name="l00636"></a><a class="code" href="classTiXmlNode.html#a60">00636</a> <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* <a class="code" href="classTiXmlNode.html#a60">ToDocument</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( <span class="keyword">this</span> && type == DOCUMENT ) ? (<span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>*) <span class="keyword">this</span> : 0; }
475 <a name="l00637"></a><a class="code" href="classTiXmlNode.html#a61">00637</a> <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a61">ToElement</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( <span class="keyword">this</span> && type == ELEMENT ) ? (<span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>*) <span class="keyword">this</span> : 0; }
476 <a name="l00638"></a><a class="code" href="classTiXmlNode.html#a62">00638</a> <span class="keyword">const</span> <a class="code" href="classTiXmlComment.html">TiXmlComment</a>* <a class="code" href="classTiXmlNode.html#a62">ToComment</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( <span class="keyword">this</span> && type == COMMENT ) ? (<span class="keyword">const</span> <a class="code" href="classTiXmlComment.html">TiXmlComment</a>*) <span class="keyword">this</span> : 0; }
477 <a name="l00639"></a><a class="code" href="classTiXmlNode.html#a63">00639</a> <span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>* <a class="code" href="classTiXmlNode.html#a63">ToUnknown</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( <span class="keyword">this</span> && type == UNKNOWN ) ? (<span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>*) <span class="keyword">this</span> : 0; }
478 <a name="l00640"></a><a class="code" href="classTiXmlNode.html#a64">00640</a> <span class="keyword">const</span> <a class="code" href="classTiXmlText.html">TiXmlText</a>* <a class="code" href="classTiXmlNode.html#a64">ToText</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( <span class="keyword">this</span> && type == TEXT ) ? (<span class="keyword">const</span> <a class="code" href="classTiXmlText.html">TiXmlText</a>*) <span class="keyword">this</span> : 0; }
479 <a name="l00641"></a><a class="code" href="classTiXmlNode.html#a65">00641</a> <span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>* <a class="code" href="classTiXmlNode.html#a65">ToDeclaration</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( <span class="keyword">this</span> && type == DECLARATION ) ? (<span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>*) <span class="keyword">this</span> : 0; }
481 <a name="l00643"></a><a class="code" href="classTiXmlNode.html#a66">00643</a> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* <a class="code" href="classTiXmlNode.html#a60">ToDocument</a>() { <span class="keywordflow">return</span> ( <span class="keyword">this</span> && type == DOCUMENT ) ? (<a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>*) <span class="keyword">this</span> : 0; }
482 <a name="l00644"></a><a class="code" href="classTiXmlNode.html#a67">00644</a> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.html#a61">ToElement</a>() { <span class="keywordflow">return</span> ( <span class="keyword">this</span> && type == ELEMENT ) ? (<a class="code" href="classTiXmlElement.html">TiXmlElement</a>*) <span class="keyword">this</span> : 0; }
483 <a name="l00645"></a><a class="code" href="classTiXmlNode.html#a68">00645</a> <a class="code" href="classTiXmlComment.html">TiXmlComment</a>* <a class="code" href="classTiXmlNode.html#a62">ToComment</a>() { <span class="keywordflow">return</span> ( <span class="keyword">this</span> && type == COMMENT ) ? (<a class="code" href="classTiXmlComment.html">TiXmlComment</a>*) <span class="keyword">this</span> : 0; }
484 <a name="l00646"></a><a class="code" href="classTiXmlNode.html#a69">00646</a> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>* <a class="code" href="classTiXmlNode.html#a63">ToUnknown</a>() { <span class="keywordflow">return</span> ( <span class="keyword">this</span> && type == UNKNOWN ) ? (<a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>*) <span class="keyword">this</span> : 0; }
485 <a name="l00647"></a><a class="code" href="classTiXmlNode.html#a70">00647</a> <a class="code" href="classTiXmlText.html">TiXmlText</a>* <a class="code" href="classTiXmlNode.html#a64">ToText</a>() { <span class="keywordflow">return</span> ( <span class="keyword">this</span> && type == TEXT ) ? (<a class="code" href="classTiXmlText.html">TiXmlText</a>*) <span class="keyword">this</span> : 0; }
486 <a name="l00648"></a><a class="code" href="classTiXmlNode.html#a71">00648</a> <a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>* <a class="code" href="classTiXmlNode.html#a65">ToDeclaration</a>() { <span class="keywordflow">return</span> ( <span class="keyword">this</span> && type == DECLARATION ) ? (<a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>*) <span class="keyword">this</span> : 0; }
488 <a name="l00653"></a>00653 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a72">Clone</a>() <span class="keyword">const </span>= 0;
490 <a name="l00655"></a>00655 <span class="keyword">protected</span>:
495 <a name="l00660"></a>00660 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* target ) <span class="keyword">const</span>;
499 <a name="l00664"></a>00664 <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( TIXML_ISTREAM* in, TIXML_STRING* tag ) = 0;
503 <a name="l00668"></a>00668 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* Identify( <span class="keyword">const</span> <span class="keywordtype">char</span>* start, TiXmlEncoding encoding );
516 <a name="l00681"></a>00681 <span class="keyword">private</span>:
517 <a name="l00682"></a>00682 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>& ); <span class="comment">// not implemented.</span>
518 <a name="l00683"></a>00683 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>& base ); <span class="comment">// not allowed.</span>
522 <a name="l00694"></a><a class="code" href="classTiXmlAttribute.html">00694</a> <span class="keyword">class </span><a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlBase.html">TiXmlBase</a>
524 keyword">friend</span> <span class="keyword">class </span>TiXmlAttributeSet;
526 <a name="l00698"></a>00698 <span class="keyword">public</span>:
535 <a name="l00708"></a><a class="code" href="classTiXmlAttribute.html#a1">00708</a> <a class="code" href="classTiXmlAttribute.html#a0">TiXmlAttribute</a>( <span class="keyword">const</span> std::string& _name, <span class="keyword">const</span> std::string& _value )
544 <a name="l00718"></a><a class="code" href="classTiXmlAttribute.html#a2">00718</a> <a class="code" href="classTiXmlAttribute.html#a0">TiXmlAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * _name, <span class="keyword">const</span> <span class="keywordtype">char</span> * _value )
552 <a name="l00726"></a><a class="code" href="classTiXmlAttribute.html#a3">00726</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlAttribute.html#a3">Name</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name.c_str (); }
553 <a name="l00727"></a><a class="code" href="classTiXmlAttribute.html#a4">00727</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlAttribute.html#a4">Value</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> value.c_str (); }
554 <a name="l00728"></a>00728 <span class="keywordtype">int</span> <a class="code" href="classTiXmlAttribute.html#a5">IntValue</a>() <span class="keyword">const</span>;
555 <a name="l00729"></a>00729 <span class="keywordtype">double</span> <a class="code" href="classTiXmlAttribute.html#a6">DoubleValue</a>() <span class="keyword">const</span>;
557 <a name="l00740"></a>00740 <span class="keywordtype">int</span> <a class="code" href="classTiXmlAttribute.html#a7">QueryIntValue</a>( <span class="keywordtype">int</span>* _value ) <span class="keyword">const</span>;
558 <a name="l00742"></a>00742 <span class="keywordtype">int</span> <a class="code" href="classTiXmlAttribute.html#a8">QueryDoubleValue</a>( <span class="keywordtype">double</span>* _value ) <span class="keyword">const</span>;
560 <a name="l00744"></a><a class="code" href="classTiXmlAttribute.html#a9">00744</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#a9">SetName</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _name ) { name = _name; }
561 <a name="l00745"></a><a class="code" href="classTiXmlAttribute.html#a10">00745</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#a10">SetValue</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _value ) { value = _value; }
568 <a name="l00752"></a><a class="code" href="classTiXmlAttribute.html#a13">00752</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#a9">SetName</a>( <span class="keyword">const</span> std::string& _name )
573 <a name="l00758"></a><a class="code" href="classTiXmlAttribute.html#a14">00758</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#a10">SetValue</a>( <span class="keyword">const</span> std::string& _value )
580 <a name="l00766"></a>00766 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <a class="code" href="classTiXmlAttribute.html#a15">Next</a>() <span class="keyword">const</span>;
582 <a name="l00769"></a>00769 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <a class="code" href="classTiXmlAttribute.html#a17">Previous</a>() <span class="keyword">const</span>;
585 <a name="l00772"></a>00772 <span class="keywordtype">bool</span> operator==( <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>& rhs )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> rhs.<a class="code" href="classTiXmlAttribute.html#r1">name</a> == name; }
586 <a name="l00773"></a>00773 <span class="keywordtype">bool</span> operator<( <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>& rhs )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name < rhs.<a class="code" href="classTiXmlAttribute.html#r1">name</a>; }
587 <a name="l00774"></a>00774 <span class="keywordtype">bool</span> operator>( <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>& rhs )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> name > rhs.<a class="code" href="classTiXmlAttribute.html#r1">name</a>; }
592 <a name="l00779"></a>00779 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding );
595 <a name="l00782"></a>00782 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#a23">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const</span>;
597 <a name="l00784"></a>00784 <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamOut( TIXML_OSTREAM * out ) <span class="keyword">const</span>;
602 <a name="l00789"></a>00789 <span class="keyword">private</span>:
603 <a name="l00790"></a>00790 <a class="code" href="classTiXmlAttribute.html#a0">TiXmlAttribute</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>& ); <span class="comment">// not implemented.</span>
604 <a name="l00791"></a>00791 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>& base ); <span class="comment">// not allowed.</span>
626 <a name="l00813"></a>00813 <span class="keyword">class </span>TiXmlAttributeSet
628 <a name="l00815"></a>00815 <span class="keyword">public</span>:
635 <a name="l00822"></a>00822 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* First()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( sentinel.next == &sentinel ) ? 0 : sentinel.next; }
637 <a name="l00824"></a>00824 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* Last()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( sentinel.prev == &sentinel ) ? 0 : sentinel.prev; }
640 <a name="l00827"></a>00827 <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* Find( <span class="keyword">const</span> <span class="keywordtype">char</span> * name ) <span class="keyword">const</span>;
641 <a name="l00828"></a>00828 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* Find( <span class="keyword">const</span> <span class="keywordtype">char</span> * name );
643 <a name="l00830"></a>00830 <span class="keyword">private</span>:
646 <a name="l00833"></a>00833 TiXmlAttributeSet( <span class="keyword">const</span> TiXmlAttributeSet& ); <span class="comment">// not allowed</span>
647 <a name="l00834"></a>00834 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> TiXmlAttributeSet& ); <span class="comment">// not allowed (as TiXmlAttribute)</span>
653 <a name="l00844"></a><a class="code" href="classTiXmlElement.html">00844</a> <span class="keyword">class </span><a class="code" href="classTiXmlElement.html">TiXmlElement</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>
655 <a name="l00846"></a>00846 <span class="keyword">public</span>:
656 <a name="l00848"></a>00848 <a class="code" href="classTiXmlElement.html#a0">TiXmlElement</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> * in_value);
660 <a name="l00852"></a>00852 <a class="code" href="classTiXmlElement.html#a0">TiXmlElement</a>( <span class="keyword">const</span> std::string& _value );
663 <a name="l00855"></a>00855 <a class="code" href="classTiXmlElement.html#a0">TiXmlElement</a>( <span class="keyword
665 <a name="l00857"></a>00857 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>& base );
667 <a name="l00859"></a>00859 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlElement.html">TiXmlElement</a>();
669 <a name="l00864"></a>00864 <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlElement.html#a5">Attribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name ) <span class="keyword">const</span>;
671 <a name="l00872"></a>00872 <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlElement.html#a5">Attribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">int</span>* i ) <span class="keyword">const</span>;
673 <a name="l00880"></a>00880 <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlElement.html#a5">Attribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">double</span>* d ) <span class="keyword">const</span>;
675 <a name="l00889"></a>00889 <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#a8">QueryIntAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">int</span>* _value ) <span class="keyword">const</span>;
676 <a name="l00891"></a>00891 <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#a9">QueryDoubleAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">double</span>* _value ) <span class="keyword">const</span>;
677 <a name="l00893"></a><a class="code" href="classTiXmlElement.html#a10">00893</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#a10">QueryFloatAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">float</span>* _value )<span class="keyword"> const </span>{
686 <a name="l00905"></a>00905 <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#a11">SetAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keyword">const</span> <span class="keywordtype">char</span> * _value );
689 <a name="l00908"></a>00908 <span class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlElement.html#a5">Attribute</a>( <span class="keyword">const</span> std::string& name )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlElement.html#a5">Attribute</a>( name.c_str() ); }
690 <a name="l00909"></a>00909 <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlElement.html#a5">Attribute</a>( <span class="keyword">const</span> std::string& name, <span class="keywordtype">int</span>* i )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlElement.html#a5">Attribute</a>( name.c_str(), i ); }
691 <a name="l00910"></a>00910 <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlElement.html#a5">Attribute</a>( <span class="keyword">const</span> std::string& name, <span class="keywordtype">double</span>* d )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlElement.html#a5">Attribute</a>( name.c_str(), d ); }
692 <a name="l00911"></a>00911 <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#a8">QueryIntAttribute</a>( <span class="keyword">const</span> std::string& name, <span class="keywordtype">int</span>* _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlElement.html#a8">QueryIntAttribute</a>( name.c_str(), _value ); }
693 <a name="l00912"></a>00912 <span class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#a9">QueryDoubleAttribute</a>( <span class="keyword">const</span> std::string& name, <span class="keywordtype">double</span>* _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlElement.html#a9">QueryDoubleAttribute</a>( name.c_str(), _value ); }
695 <a name="l00915"></a><a class="code" href="classTiXmlElement.html#a17">00915</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#a11">SetAttribute</a>( <span class="keyword">const</span> std::string& name, <span class="keyword">const</span> std::string& _value )
702 <a name="l00923"></a>00923 <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#a11">SetAttribute</a>( <span class="keyword">const</span> std::string& name, <span class="keywordtype">int</span> _value )
710 <a name="l00934"></a>00934 <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#a11">SetAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * name, <span class="keywordtype">int</span> value );
712 <a name="l00939"></a>00939 <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#a20">SetDoubleAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * name, <span class="keywordtype">double</span> value );
714 <a name="l00943"></a>00943 <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#a21">RemoveAttribute</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * name );
716 <a name="l00945"></a><a class="code" href="classTiXmlElement.html#a22">00945</a> <span class="preprocessor"></span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#a21">RemoveAttribute</a>( <span class="keyword">const</span> std::string& name ) { <a class="code" href="classTiXmlElement.html#a21">RemoveAttribute</a> (name.c_str ()); }
719 <a name="l00948"></a><a class="code" href="classTiXmlElement.html#a23">00948</a> <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <a class="code" href="classTiXmlElement.html#a23">FirstAttribute</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> attributeSet.First(); }
721 <a name="l00950"></a><a class="code" href="classTiXmlElement.html#a25">00950</a> <span class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <a class="code" href="classTiXmlElement.html#a25">LastAttribute</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> attributeSet.Last(); }
724 <a name="l00985"></a>00985 <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlElement.html#a27">GetText</a>() <span class="keyword">const</span>;
726 <a name="l00988"></a>00988 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlElement.html#a28">Clone</a>() <span class="keyword">const</span>;
728 <a name="l00990"></a>00990 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#a29">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const</span>;
733 <a name="l00995"></a>00995 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding );
735 <a name="l00997"></a>00997 <span class="keyword">protected</span>:
737 <a name="l00999"></a>00999 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* target ) <span class="keyword">const</span>;
742 <a name="l01004"></a>01004 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( TIXML_ISTREAM * in, TIXML_STRING * tag );
744 <a name="l01006"></a>01006 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamOut( TIXML_OSTREAM * out ) <span class="keyword">const</span>;
750 <a name="l01012"></a>01012 <span class="keyword">const</span> <span class="keywordtype">char</span>* ReadValue( <span class="keyword">const</span> <span class="keywordtype">char</span>* in, TiXmlParsingData* prevData, TiXmlEncoding encoding );
752 <a name="l01014"></a>01014 <span class="keyword">private</span>:
758 <a name="l01022"></a><a class="code" href="classTiXmlComment.html">01022</a> <span class="keyword">class </span><a class="code" href="classTiXmlComment.html">TiXmlComment</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>
760 <a name="l01024"></a>01024 <span class="keyword">public</span>:
762 <a name="l01027"></a>01027 <a class="code" href="classTiXmlComment.html#a0">TiXmlComment</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlComment.html">TiXmlComment</a>& );
763 <a name="l01028"></a>01028 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlComment.html">TiXmlComment</a>& base );
765 <a name="l01030"></a>01030 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlComment.html">TiXmlComment</a>() {}
767 <a name="l01033"></a>01033 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlComment.html#a4">Clone</a>() <span class="keyword">const</span>;
768 <a name="l01035"></a>01035 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlComment.html#a5">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const</span>;
773 <a name="l01040"></a>01040 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding );
775 <a name="l01042"></a>01042 <span class="keyword">protected</span>:
776 <a name="l01043"></a>01043 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlComment.html">TiXmlComment</a>* target ) <span class="keyword">const</span>;
780 <a name="l01047"></a>01047 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( TIXML_ISTREAM * in, TIXML_STRING * tag );
782 keyword">virtual</span> <span class="keywordtype">void</span> StreamOut( TIXML_OSTREAM * out ) <span class="keyword">const</span>;
784 <a name="l01051"></a>01051 <span class="keyword">private</span>:
789 <a name="l01061"></a><a class="code" href="classTiXmlText.html">01061</a> <span class="keyword">class </span><a class="code" href="classTiXmlText.html">TiXmlText</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>
791 <a name="l01063"></a>01063 <span class="keyword">friend</span> <span class="keyword">class </span><a class="code" href="classTiXmlElement.html">TiXmlElement</a>;
792 <a name="l01064"></a>01064 <span class="keyword">public</span>:
793 <a name="l01069"></a><a class="code" href="classTiXmlText.html#a0">01069</a> <a class="code" href="classTiXmlText.html#a0">TiXmlText</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> * initValue ) : <a class="code" href="classTiXmlNode.html">TiXmlNode</a> (<a class="code" href="classTiXmlNode.html">TiXmlNode</a>::TEXT)
796 <a name="l01072"></a>01072 cdata = <span class="keyword">false</span>;
798 <a name="l01074"></a>01074 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlText.html">TiXmlText</a>() {}
802 <a name="l01078"></a><a class="code" href="classTiXmlText.html#a2">01078</a> <a class="code" href="classTiXmlText.html#a0">TiXmlText</a>( <span class="keyword">const</span> std::string& initValue ) : <a class="code" href="classTiXmlNode.html">TiXmlNode</a> (<a class="code" href="classTiXmlNode.html">TiXmlNode</a>::TEXT)
805 <a name="l01081"></a>01081 cdata = <span class="keyword">false</span>;
809 <a name="l01085"></a>01085 <a class="code" href="classTiXmlText.html#a0">TiXmlText</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlText.html">TiXmlText</a>& copy ) : <a class="code" href="classTiXmlNode.html">TiXmlNode</a>( <a class="code" href="classTiXmlNode.html">TiXmlNode</a>::TEXT ) { copy.<a class="code" href="classTiXmlText.html#b1">CopyTo</a>( <span class="keyword">this</span> ); }
810 <a name="l01086"></a>01086 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlText.html">TiXmlText</a>& base ) { base.<a class="code" href="classTiXmlText.html#b1">CopyTo</a>( <span class="keyword">this</span> ); }
812 <a name="l01089"></a>01089 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlText.html#a5">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const</span>;
817 <a name="l01096"></a>01096 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding );
819 <a name="l01098"></a>01098 <span class="keyword">protected</span> :
820 <a name="l01100"></a>01100 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlText.html#b0">Clone</a>() <span class="keyword">const</span>;
821 <a name="l01101"></a>01101 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlText.html">TiXmlText</a>* target ) <span class="keyword">const</span>;
823 <a name="l01103"></a>01103 <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamOut ( TIXML_OSTREAM * out ) <span class="keyword">const</span>;
824 <a name="l01104"></a>01104 <span class="keywordtype">bool</span> Blank() <span class="keyword">const</span>; <span class="comment">// returns true if all white space and new lines</span>
827 <a name="l01107"></a>01107 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( TIXML_ISTREAM * in, TIXML_STRING * tag );
830 <a name="l01110"></a>01110 <span class="keyword">private</span>:
835 <a name="l01128"></a><a class="code" href="classTiXmlDeclaration.html">01128</a> <span class="keyword">class </span><a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>
837 <a name="l01130"></a>01130 <span class="keyword">public</span>:
842 <a name="l01136"></a>01136 <a class="code" href="classTiXmlDeclaration.html#a0">TiXmlDeclaration</a>( <span class="keyword">const</span> std::string& _version,
843 <a name="l01137"></a>01137 <span class="keyword">const</span> std::string& _encoding,
844 <a name="l01138"></a>01138 <span class="keyword">const</span> std::string& _standalone );
847 <a name="l01142"></a>01142 <a class="code" href="classTiXmlDeclaration.html#a0">TiXmlDeclaration</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* _version,
848 <a name="l01143"></a>01143 <span class="keyword">const</span> <span class="keywordtype">char</span>* _encoding,
849 <a name="l01144"></a>01144 <span class="keyword">const</span> <span class="keywordtype">char</span>* _standalone );
851 <a name="l01146"></a>01146 <a class="code" href="classTiXmlDeclaration.html#a0">TiXmlDeclaration</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>& copy );
852 <a name="l01147"></a>01147 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>& copy );
854 <a name="l01149"></a>01149 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>() {}
856 <a name="l01152"></a><a class="code" href="classTiXmlDeclaration.html#a6">01152</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classTiXmlDeclaration.html#a6">Version</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> version.c_str (); }
857 <a name="l01154"></a><a class="code" href="classTiXmlDeclaration.html#a7">01154</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classTiXmlDeclaration.html#a7">Encoding</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> encoding.c_str (); }
858 <a name="l01156"></a><a class="code" href="classTiXmlDeclaration.html#a8">01156</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="classTiXmlDeclaration.html#a8">Standalone</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> standalone.c_str (); }
860 <a name="l01159"></a>01159 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlDeclaration.html#a9">Clone</a>() <span class="keyword">const</span>;
861 <a name="l01161"></a>01161 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlDeclaration.html#a10">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const</span>;
863 <a name="l01163"></a>01163 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding );
865 <a name="l01165"></a>01165 <span class="keyword">protected</span>:
866 <a name="l01166"></a>01166 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlDeclaration.html">TiXmlDeclaration</a>* target ) <span class="keyword">const</span>;
869 <a name="l01169"></a>01169 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( TIXML_ISTREAM * in, TIXML_STRING * tag );
871 <a name="l01171"></a>01171 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamOut ( TIXML_OSTREAM * out) <span class="keyword">const</span>;
873 <a name="l01173"></a>01173 <span class="keyword">private</span>:
881 <a name="l01188"></a><a class="code" href="classTiXmlUnknown.html">01188</a> <span class="keyword">class </span><a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>
883 <a name="l01190"></a>01190 <span class="keyword">public</span>:
885 <a name="l01192"></a>01192 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>() {}
887 <a name="l01194"></a>01194 <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>& copy ) : <a class="code" href="classTiXmlNode.html">TiXmlNode</a>( TiXmlNode::UNKNOWN ) { copy.<a class="code" href="classTiXmlUnknown.html#b0">CopyTo</a>( <span class="keyword">this</span> ); }
888 <a name="l01195"></a>01195 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>& copy ) { copy.<a class="code" href="classTiXmlUnknown.html#b0">CopyTo</a>( <span class="keyword">this</span> ); }
890 <a name="l01198"></a>01198 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlUnknown.html#a4">Clone</a>() <span class="keyword">const</span>;
891 <a name="l01200"></a>01200 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlUnknown.html#a5">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth ) <span class="keyword">const</span>;
893 <a name="l01202"></a>01202 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* Parse( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data, TiXmlEncoding encoding );
895 <a name="l01204"></a>01204 <span class="keyword">protected</span>:
896 <a name="l01205"></a>01205 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>* target ) <span class="keyword">const</span>;
899 <a name="l01208"></a>01208 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( TIXML_ISTREAM * in, TIXML_STRING * tag );
901 <a name="l01210"></a>01210 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamOut ( TIXML_OSTREAM * out ) <span class="keyword">const</span>;
903 <a name="l01212"></a>01212 <span class="keyword">private</span>:
908 <a name="l01221"></a><a class="code" href="classTiXmlDocument.html">01221</a> <span class="keyword">class </span><a class="code" href="classTiXmlDocument.html">TiXmlDocument</a> : <span class="keyword">public</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>
910 <a name="l01223"></a>01223 <span class="keyword">public</span>:
912 <a name="l01227"></a>01227 <a class="code" href="classTiXmlDocument.html#a0">TiXmlDocument</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * documentName );
916 <a name="l01231"></a>01231 <a class="code" href="classTiXmlDocument.html#a0">TiXmlDocument</a>( <span class="keyword">const</span> std::string& documentName );
919 <a name="l01234"></a>01234 <a class="code" href="classTiXmlDocument.html#a0">TiXmlDocument</a>( <span class="keyword
920 <a name="l01235"></a>01235 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>& copy );
922 <a name="l01237"></a>01237 <span class="keyword">virtual</span> ~<a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>() {}
925 <a name="l01245"></a>01245 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a7">SaveFile</a>() <span class="keyword">const</span>;
926 <a name="l01247"></a>01247 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a6">LoadFile</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * filename, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING );
927 <a name="l01249"></a>01249 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a7">SaveFile</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * filename ) <span class="keyword">const</span>;
930 <a name="l01252"></a><a class="code" href="classTiXmlDocument.html#a10">01252</a> <span class="preprocessor"></span> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a6">LoadFile</a>( <span class="keyword">const</span> std::string& filename, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING )
935 <a name="l01257"></a><a class="code" href="classTiXmlDocument.html#a11">01257</a> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a7">SaveFile</a>( <span class="keyword">const</span> std::string& filename ) <span class="keyword">const</span>
942 <a name="l01268"></a>01268 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiXmlDocument.html#a12">Parse</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* p, TiXmlParsingData* data = 0, TiXmlEncoding encoding = TIXML_DEFAULT_ENCODING );
944 <a name="l01274"></a><a class="code" href="classTiXmlDocument.html#a13">01274</a> <span class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlDocument.html#a13">RootElement</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlNode.html#a50">FirstChildElement</a>(); }
947 <a name="l01282"></a><a class="code" href="classTiXmlDocument.html#a15">01282</a> <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a15">Error</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> error; }
949 <a name="l01285"></a><a class="code" href="classTiXmlDocument.html#a16">01285</a> <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="classTiXmlDocument.html#a16">ErrorDesc</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> errorDesc.c_str (); }
951 <a name="l01290"></a><a class="code" href="classTiXmlDocument.html#a17">01290</a> <span class="keywordtype">int</span> <a class="code" href="classTiXmlDocument.html#a17">ErrorId</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> errorId; }
958 <a name="l01328"></a>01328 <span class="keywordtype">int</span> TabSize()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> tabsize; }
960 <a name="l01333"></a><a class="code" href="classTiXmlDocument.html#a22">01333</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlDocument.html#a22">ClearError</a>() { error = <span class="keyword">false</span>;
967 <a name="l01341"></a><a class="code" href="classTiXmlDocument.html#a23">01341</a> <span class="keywordtype">void</span> <a class="code" href="classTiXmlDocument.html#a23">Print</a>()<span class="keyword"> const </span>{ <a class="code" href="classTiXmlDocument.html#a23">Print</a>( stdout, 0 ); }
969 <a name="l01344"></a>01344 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTiXmlDocument.html#a23">Print</a>( FILE* cfile, <span class="keywordtype">int</span> depth = 0 ) <span class="keyword">const</span>;
971 <a name="l01346"></a>01346 <span class="keywordtype">void</span> SetError( <span class="keywordtype">int</span> err, <span class="keyword">const</span> <span class="keywordtype">char</span>* errorLocation, TiXmlParsingData* prevData, TiXmlEncoding encoding );
973 <a name="l01348"></a>01348 <span class="keyword">protected</span> :
974 <a name="l01349"></a>01349 <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamOut ( TIXML_OSTREAM * out) <span class="keyword">const</span>;
976 <a name="l01351"></a>01351 <span class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlDocument.html#b1">Clone</a>() <span class="keyword">const</span>;
978 <a name="l01353"></a>01353 <span class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamIn( TIXML_ISTREAM * in, TIXML_STRING * tag );
981 <a name="l01356"></a>01356 <span class="keyword">private</span>:
982 <a name="l01357"></a>01357 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* target ) <span class="keyword">const</span>;
993 <a name="l01448"></a><a class="code" href="classTiXmlHandle.html">01448</a> <span class="keyword">class </span><a class="code" href="classTiXmlHandle.html">TiXmlHandle</a>
995 <a name="l01450"></a>01450 <span class="keyword">public</span>:
997 <a name="l01454"></a><a class="code" href="classTiXmlHandle.html#a1">01454</a> <a class="code" href="classTiXmlHandle.html#a0">TiXmlHandle</a>( <span class="keyword">const</span> <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a>& ref ) { this->node = ref.<a class="code" href="classTiXmlHandle.html#r0">node</a>; }
998 <a name="l01455"></a>01455 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> operator=( <span class="keyword">const</span> <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a>& ref ) { this->node = ref.<a class="code" href="classTiXmlHandle.html#r0">node</a>; <span class="keywordflow">return</span> *<span class="keyword">this</span>; }
1000 <a name="l01458"></a>01458 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a3">FirstChild</a>() <span class="keyword">const</span>;
1001 <a name="l01460"></a>01460 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a3">FirstChild</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value ) <span class="keyword">const</span>;
1002 <a name="l01462"></a>01462 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a5">FirstChildElement</a>() <span class="keyword">const</span>;
1003 <a name="l01464"></a>01464 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a5">FirstChildElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> * value ) <span class="keyword">const</span>;
1005 <a name="l01469"></a>01469 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a7">Child</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* value, <span class="keywordtype">int</span> index ) <span class="keyword">const</span>;
1006 <a name="l01473"></a>01473 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a7">Child</a>( <span class="keywordtype">int</span> index ) <span class="keyword">const</span>;
1007 <a name="l01478"></a>01478 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a9">ChildElement</a>( <span class="keyword">const</span> <span class="keywordtype">char</span>* value, <span class="keywordtype">int</span> index ) <span class="keyword">const</span>;
1008 <a name="l01483"></a>01483 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a9">ChildElement</a>( <span class="keywordtype">int</span> index ) <span class="keyword">const</span>;
1011 <a name="l01486"></a>01486 <span class="preprocessor"></span> <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a3">FirstChild</a>( <span class="keyword">const</span> std::string& _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#a3">FirstChild</a>( _value.c_str() ); }
1012 <a name="l01487"></a>01487 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a5">FirstChildElement</a>( <span class="keyword">const</span> std::string& _value )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#a5">FirstChildElement</a>( _value.c_str() ); }
1014 <a name="l01489"></a>01489 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a7">Child</a>( <span class="keyword">const</span> std::string& _value, <span class="keywordtype">int</span> index )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#a7">Child</a>( _value.c_str(), index ); }
1015 <a name="l01490"></a>01490 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.html#a9">ChildElement</a>( <span class="keyword">const</span> std::string& _value, <span class="keywordtype">int</span> index )<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classTiXmlHandle.html#a9">ChildElement</a>( _value.c_str(), index ); }
1018 <a name="l01494"></a><a class="code" href="classTiXmlHandle.html#a15">01494</a> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlHandle.html#a15">Node</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> node; }
1019 <a name="l01496"></a><a class="code" href="classTiXmlHandle.html#a16">01496</a> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlHandle.html#a16">Element</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( ( node && node-><a class="code" href="classTiXmlNode.html#a61">ToElement</a>() ) ? node-><a class="code" href="classTiXmlNode.html#a61">ToElement</a>() : 0 ); }
1020 <a name="l01498"></a><a class="code" href="classTiXmlHandle.html#a17">01498</a> <a class="code" href="classTiXmlText.html">TiXmlText</a>* <a class="code" href="classTiXmlHandle.html#a17">Text</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> ( ( node && node-><a class="code" href="classTiXmlNode.html#a64">ToText</a>() ) ? node-><a class="code" href="classTiXmlNode.html#a64">ToText</a>() : 0 ); }
1021 <a name="l01500"></a><a class="code" href="classTiXmlHandle.html#a18">01500</a> <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>* <a class="code" href="classTiXmlHandle.html#a18">Unknown</a>()<span class="keyword
1023 <a name="l01502"></a>01502 <span class="keyword">private</span>: