Lines Matching full:class

7class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="hi…
8 <h1>tinyxml.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span clas…
9 <a name="l00002"></a>00002 <span class="comment">www.sourceforge.net/projects/tinyxml</span>
10 <a name="l00003"></a>00003 <span class="comment">Original code (2.0 and earlier )copyright (c) 2000…
11 <a name="l00004"></a>00004 <span class="comment"></span>
12 <a name="l00005"></a>00005 <span class="comment">This software is provided 'as-is', without any exp…
13 <a name="l00006"></a>00006 <span class="comment">warranty. In no event will the authors be held lia…
14 <a name="l00007"></a>00007 <span class="comment">damages arising from the use of this software.</sp…
15 <a name="l00008"></a>00008 <span class="comment"></span>
16 <a name="l00009"></a>00009 <span class="comment">Permission is granted to anyone to use this softwa…
17 <a name="l00010"></a>00010 <span class="comment">purpose, including commercial applications, and to…
18 <a name="l00011"></a>00011 <span class="comment">redistribute it freely, subject to the following r…
19 <a name="l00012"></a>00012 <span class="comment"></span>
20 <a name="l00013"></a>00013 <span class="comment">1. The origin of this software must not be misrepr…
21 <a name="l00014"></a>00014 <span class="comment">not claim that you wrote the original software. If…
22 <a name="l00015"></a>00015 <span class="comment">software in a product, an acknowledgment in the pr…
23 <a name="l00016"></a>00016 <span class="comment">would be appreciated but is not required.</span>
24 <a name="l00017"></a>00017 <span class="comment"></span>
25 <a name="l00018"></a>00018 <span class="comment">2. Altered source versions must be plainly marked …
26 <a name="l00019"></a>00019 <span class="comment">must not be misrepresented as being the original s…
27 <a name="l00020"></a>00020 <span class="comment"></span>
28 <a name="l00021"></a>00021 <span class="comment">3. This notice may not be removed or altered from …
29 <a name="l00022"></a>00022 <span class="comment">distribution.</span>
30 <a name="l00023"></a>00023 <span class="comment">*/</span>
33 <a name="l00026"></a>00026 <span class="preprocessor">#ifndef TINYXML_INCLUDED</span>
34 <a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor">#define TIN…
35 <a name="l00028"></a>00028 <span class="preprocessor"></span>
36 <a name="l00029"></a>00029 <span class="preprocessor">#ifdef _MSC_VER</span>
37 <a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#pragma war…
38 <a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor">#pragma war…
39 <a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor">#pragma war…
40 <a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor">#endif</spa…
41 <a name="l00034"></a>00034 <span class="preprocessor"></span>
42 <a name="l00035"></a>00035 <span class="preprocessor">#include &lt;ctype.h&gt;</span>
43 <a name="l00036"></a>00036 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
44 <a name="l00037"></a>00037 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
45 <a name="l00038"></a>00038 <span class="preprocessor">#include &lt;string.h&gt;</span>
46 <a name="l00039"></a>00039 <span class="preprocessor">#include &lt;assert.h&gt;</span>
48 <a name="l00041"></a>00041 <span class="comment">// Help out windows:</span>
49 <a name="l00042"></a>00042 <span class="preprocessor">#if defined( _DEBUG ) &amp;&amp; !defined( DE…
50 <a name="l00043"></a>00043 <span class="preprocessor"></span><span class="preprocessor">#define DEB…
51 <a name="l00044"></a>00044 <span class="preprocessor"></span><span class="preprocessor">#endif</spa…
52 <a name="l00045"></a>00045 <span class="preprocessor"></span>
53 <a name="l00046"></a>00046 <span class="preprocessor">#if defined( DEBUG ) &amp;&amp; defined( _MSC…
54 <a name="l00047"></a>00047 <span class="preprocessor"></span><span class="preprocessor">#include &l…
55 <a name="l00048"></a>00048 <span class="preprocessor">#define TIXML_LOG OutputDebugString</span>
56 <a name="l00049"></a>00049 <span class="preprocessor"></span><span class="preprocessor">#else</span>
57 <a name="l00050"></a>00050 <span class="preprocessor"></span><span class="preprocessor">#define TIX…
58 <a name="l00051"></a>00051 <span class="preprocessor"></span><span class="preprocessor">#endif</spa…
59 <a name="l00052"></a>00052 <span class="preprocessor"></span>
60 <a name="l00053"></a>00053 <span class="preprocessor">#ifdef TIXML_USE_STL</span>
61 <a name="l00054"></a>00054 <span class="preprocessor"></span><span class="preprocessor"> #includ…
62 <a name="l00055"></a>00055 <span class="preprocessor"> #include &lt;iostream&gt;</span>
63 <a name="l00056"></a>00056 <span class="preprocessor"> #define TIXML_STRING std::string</span>
64 <a name="l00057"></a>00057 <span class="preprocessor"></span><span class="preprocessor"> #define…
65 <a name="l00058"></a>00058 <span class="preprocessor"></span><span class="preprocessor"> #define…
66 <a name="l00059"></a>00059 <span class="preprocessor"></span><span class="preprocessor">#else</span>
67 <a name="l00060"></a>00060 <span class="preprocessor"></span><span class="preprocessor"> #includ…
68 <a name="l00061"></a>00061 <span class="preprocessor"> #define TIXML_STRING TiXmlString</span>
69 <a name="l00062"></a>00062 <span class="preprocessor"></span><span class="preprocessor"> #define…
70 <a name="l00063"></a>00063 <span class="preprocessor"></span><span class="preprocessor">#endif</spa…
71 <a name="l00064"></a>00064 <span class="preprocessor"></span>
72 <a name="l00065"></a>00065 <span class="comment">// Deprecated library function hell. Compilers wan…
73 <a name="l00066"></a>00066 <span class="comment">// new safe versions. This probably doesn't fully …
74 <a name="l00067"></a>00067 <span class="comment">// but it gets closer. There are too many compiler…
75 <a name="l00068"></a>00068 <span class="comment">// test. If you get compilation troubles, undefine…
77 <a name="l00070"></a>00070 <span class="preprocessor">#define TIXML_SAFE // TinyXml isn't full…
78 <a name="l00071"></a>00071 <span class="preprocessor"></span><span class="preprocessor">#ifdef TIXM…
79 <a name="l00072"></a>00072 <span class="preprocessor"></span><span class="preprocessor"> #if def…
80 <a name="l00073"></a>00073 <span class="preprocessor"></span> <span class="comment">// Micro…
81 <a name="l00074"></a>00074 <span class="comment">//#pragma message( "Using _sn* functions."…
82 <a name="l00075"></a>00075 <span class="preprocessor"> #define TIXML_SNPRINTF _snprintf</spa…
83 <a name="l00076"></a>00076 <span class="preprocessor"></span><span class="preprocessor"> #de…
84 <a name="l00077"></a>00077 <span class="preprocessor"></span><span class="preprocessor"> #elif d…
85 <a name="l00078"></a>00078 <span class="preprocessor"></span> <span class="comment">// GCC v…
86 <a name="l00079"></a>00079 <span class="comment">//#warning( "Using sn* functions." )</span>
87 <a name="l00080"></a>00080 <span class="preprocessor"> #define TIXML_SNPRINTF snprintf</span>
88 <a name="l00081"></a>00081 <span class="preprocessor"></span><span class="preprocessor"> #de…
89 <a name="l00082"></a>00082 <span class="preprocessor"></span><span class="preprocessor"> #endif<…
90 <a name="l00083"></a>00083 <span class="preprocessor"></span><span class="preprocessor">#endif </s…
91 <a name="l00084"></a>00084 <span class="preprocessor"></span>
92 <a name="l00085"></a>00085 <span class="keyword">class </span><a class="code" href="classTiXmlDocum…
93 <a name="l00086"></a>00086 <span class="keyword">class </span><a class="code" href="classTiXmlEleme…
94 <a name="l00087"></a>00087 <span class="keyword">class </span><a class="code" href="classTiXmlComme…
95 <a name="l00088"></a>00088 <span class="keyword">class </span><a class="code" href="classTiXmlUnkno…
96 <a name="l00089"></a>00089 <span class="keyword">class </span><a class="code" href="classTiXmlAttri…
97 <a name="l00090"></a>00090 <span class="keyword">class </span><a class="code" href="classTiXmlText.…
98 <a name="l00091"></a>00091 <span class="keyword">class </span><a class="code" href="classTiXmlDecla…
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> …
102 <a name="l00095"></a>00095 <span class="keyword">const</span> <span class="keywordtype">int</span> …
103 <a name="l00096"></a>00096 <span class="keyword">const</span> <span class="keywordtype">int</span> …
105 <a name="l00098"></a>00098 <span class="comment">/* Internal structure for tracking location of it…
106 <a name="l00099"></a>00099 <span class="comment"> in the XML file.</span>
107 <a name="l00100"></a>00100 <span class="comment">*/</span>
108 <a name="l00101"></a>00101 <span class="keyword">struct </span>TiXmlCursor
111 <a name="l00104"></a>00104 <span class="keywordtype">void</span> Clear() { row = col = -…
113 <a name="l00106"></a>00106 <span class="keywordtype">int</span> row; <span class="comment">/…
114 <a name="l00107"></a>00107 <span class="keywordtype">int</span> col; <span class="comment">/…
118 <a name="l00111"></a>00111 <span class="comment">// Only used by Attribute::Query functions</span>
119 <a name="l00112"></a>00112 <span class="keyword">enum</span>
127 <a name="l00120"></a>00120 <span class="comment">// Used by the parsing routines.</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 …
137 <a name="l00152"></a><a class="code" href="classTiXmlBase.html">00152</a> <span class="keyword">cla…
139 <a name="l00154"></a>00154 <span class="keyword">friend</span> <span class="keyword">class </sp…
140 <a name="l00155"></a>00155 <span class="keyword">friend</span> <span class="keyword">class </sp…
141 <a name="l00156"></a>00156 <span class="keyword">friend</span> <span class="keyword">class </sp…
143 <a name="l00158"></a>00158 <span class="keyword">public</span>:
144 <a name="l00159"></a>00159 <a class="code" href="classTiXmlBase.html">TiXmlBase</a>() : <a cl…
145 <a name="l00160"></a>00160 <span class="keyword">virtual</span> ~<a class="code" href="classTiX…
147class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTi…
149class="code" href="classTiXmlBase.html#e0">00175</a> <span class="keyword">static</span> <span…
151class="code" href="classTiXmlBase.html#e1">00178</a> <span class="keyword">static</span> <span…
153class="code" href="classTiXmlBase.html#a3">00198</a> <span class="keywordtype">int</span> <a c…
154class="code" href="classTiXmlBase.html#a4">00199</a> <span class="keywordtype">int</span> <a c…
156 …></a>00201 <span class="keywordtype">void</span> SetUserData( <span class="keywordtype">void<…
157 …a>00202 <span class="keywordtype">void</span>* GetUserData() { <span class
159 <a name="l00204"></a>00204 <span class="comment">// Table that returs, for a given lead byte, t…
160 <a name="l00205"></a>00205 <span class="comment">// in the UTF-8 sequence.</span>
161 <a name="l00206"></a>00206 <span class="keyword">static</span> <span class="keyword">const</spa…
163class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</…
165 <a name="l00210"></a>00210 TiXmlEncoding encoding <span class="comm…
167 <a name="l00212"></a>00212 <span class="keyword">enum</span>
189 <a name="l00234"></a>00234 <span class="keyword">protected</span>:
191 <a name="l00236"></a>00236 <span class="comment">// See STL_STRING_BUG</span>
192 <a name="l00237"></a>00237 <span class="comment">// Utility class to overcome a bug.</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&…
198 <a name="l00243"></a>00243 <span class="keywordtype">char</span>* buffer;
201class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</s…
202 … <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keywordt…
204class="keywordflow">return</span> ( isspace( (<span class="keywordtype">unsigned</span> <span clas…
207 …"></a>00252 <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamO…
209 <a name="l00254"></a>00254 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
210 <a name="l00255"></a>00255 <span class="preprocessor"></span> <span class="keyword">static</…
211 …a>00256 <span class="keyword">static</span> <span class="keywordtype">bool</span> StreamTo…
212 <a name="l00257"></a>00257 <span class="preprocessor"> #endif</span>
213 <a name="l00258"></a>00258 <span class="preprocessor"></span>
214 <a name="l00259"></a>00259 <span class="comment">/* Reads an XML name into the string provided…
215 <a name="l00260"></a>00260 <span class="comment"> a pointer just past the last character of …
216 <a name="l00261"></a>00261 <span class="comment"> or 0 if the function has an error.</span>
217 <a name="l00262"></a>00262 <span class="comment"> */</span>
218class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</s…
220 <a name="l00265"></a>00265 <span class="comment">/* Reads text. Returns a pointer past the giv…
221 <a name="l00266"></a>00266 <span class="comment"> Wickedly complex options, but it keeps the…
222 <a name="l00267"></a>00267 <span class="comment"> */</span>
223class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</s…
224 …269 TIXML_STRING* text, <span class="comment">// the s…
225 … <span class="keywordtype">bool</span> ignoreWhiteSpace, …
226 … <span class="keyword">const</span> <span class="keywordtype">char</span>* e…
227 … <span class="keywordtype">bool</span> ignoreCase, …
228 …273 TiXmlEncoding encoding ); <span class="comment">// the c…
230 <a name="l00275"></a>00275 <span class="comment">// If an entity has been found, transform it i…
231class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</s…
233 <a name="l00278"></a>00278 <span class="comment">// Get a character, while interpreting entitie…
234 <a name="l00279"></a>00279 <span class="comment">// The length can be from 0 to 4 bytes.</span>
235class="keyword">inline</span> <span class="keyword">static</span> <span class="keyword">const</spa…
238 <a name="l00283"></a>00283 <span class="keywordflow">if</span> ( encoding == TIXML_ENCODING…
240 …>00285 *length = utf8ByteTable[ *((<span class="keywordtype">unsigned</span> <span cla…
243 <a name="l00288"></a>00288 <span class="keywordflow">else</span>
248 <a name="l00293"></a>00293 <span class="keywordflow">if</span> ( *length == 1 )
250 <a name="l00295"></a>00295 <span class="keywordflow">if</span> ( *p == <span class="cha…
251 <a name="l00296"></a>00296 <span class="keywordflow">return</span> GetEntity( p, _v…
253 <a name="l00298"></a>00298 <span class="keywordflow">return</span> p+1;
255 <a name="l00300"></a>00300 <span class="keywordflow">else</span> <span class="keywordflow">…
257 <a name="l00302"></a>00302 <span class="comment">//strncpy( _value, p, *length ); //…
258 <a name="l00303"></a>00303 <span class="comment">//…
259 <a name="l00304"></a>00304 <span class="keywordflow">for</span>( <span class="keywordty…
262 <a name="l00307"></a>00307 <span class="keywordflow">return</span> p + (*length);
264 <a name="l00309"></a>00309 <span class="keywordflow">else</span>
266 <a name="l00311"></a>00311 <span class="comment">// Not valid text.</span>
267 <a name="l00312"></a>00312 <span class="keywordflow">return</span> 0;
271 <a name="l00316"></a>00316 <span class="comment">// Puts a string to a stream, expanding entiti…
272 <a name="l00317"></a>00317 <span class="comment">// Note this should not contian the '&lt;', '&…
273 …e="l00318"></a>00318 <span class="keyword">static</span> <span class="keywordtype">void</span>…
275 …e="l00320"></a>00320 <span class="keyword">static</span> <span class="keywordtype">void</span>…
277 <a name="l00322"></a>00322 <span class="comment">// Return true if the next characters in the s…
278 <a name="l00323"></a>00323 <span class="comment">// Ignore case only works for english, and sho…
279 <a name="l00324"></a>00324 <span class="comment">// to English words: StringEqual( p, "version"…
280 … <span class="keyword">static</span> <span class="keywordtype">bool</span> StringEqual( <sp…
281 …l00326"></a>00326 <span class="keyword">const</span> <span class="…
282 <a name="l00327"></a>00327 <span class="keywordtype">bool</span> ig…
285 <a name="l00330"></a>00330 <span class="keyword">static</span> <span class="keyword">const</spa…
289 …me="l00335"></a><a class="code" href="classTiXmlBase.html#p1">00335</a> <span class="keywordty…
291 <a name="l00337"></a>00337 <span class="comment">// None of these methods are reliable for any …
292 <a name="l00338"></a>00338 <span class="comment">// Good for approximation, not great for accur…
293 …9 <span class="keyword">static</span> <span class="keywordtype">int</span> IsAlpha( <span clas…
294 … <span class="keyword">static</span> <span class="keywordtype">int</span> IsAlphaNum( <span cla…
295 …0341 <span class="keyword">inline</span> <span class="keyword">static</span> <span class="keyw…
297 <a name="l00343"></a>00343 <span class="keywordflow">if</span> ( encoding == TIXML_ENCODING…
299 <a name="l00345"></a>00345 <span class="keywordflow">if</span> ( v &lt; 128 ) <span cla…
300 <a name="l00346"></a>00346 <span class="keywordflow">return</span> v;
302 <a name="l00348"></a>00348 <span class="keywordflow">else</span>
304 <a name="l00350"></a>00350 <span class="keywordflow">return</span> tolower( v );
307class="keyword">static</span> <span class="keywordtype">void</span> ConvertUTF32ToUTF8( <span clas…
309 <a name="l00355"></a>00355 <span class="keyword">private</span>:
310class="code" href="classTiXmlBase.html">TiXmlBase</a>( <span class="keyword">const</span> <a class
311class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href…
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">cha…
316 <a name="l00362"></a>00362 <span class="keywordtype">unsigned</span> <span class="keywordty…
317 <a name="l00363"></a>00363 <span class="keywordtype">char</span> chr;
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</…
330class="code" href="classTiXmlNode.html">00382</a> <span class="keyword">class </span><a class="cod…
332 <a name="l00384"></a>00384 <span class="keyword">friend</span> <span class="keyword">class </sp…
333 <a name="l00385"></a>00385 <span class="keyword">friend</span> <span class="keyword">class </sp…
335 <a name="l00387"></a>00387 <span class="keyword">public</span>:
336 <a name="l00388"></a>00388 <span class="preprocessor"> #ifdef TIXML_USE_STL </span>
337 <a name="l00389"></a>00389 <span class="preprocessor"></span>
338 …an class="keyword">friend</span> std::istream&amp; <a class="code" href="classTiXmlNode.html#n2">o…
340class="keyword">friend</span> std::ostream&amp; <a class="code" href="classTiXmlNode.html#n3">oper…
342class="keyword">friend</span> std::string&amp; <a class="code" href="classTiXmlNode.html#n3">opera…
344 <a name="l00416"></a>00416 <span class="preprocessor"> #else</span>
345 <a name="l00417"></a>00417 <span class="preprocessor"></span> <span class="comment">// Used …
346class="keyword">friend</span> TIXML_OSTREAM&amp; <a class="code" href="classTiXmlNode.html#n3">ope…
347 <a name="l00419"></a>00419 <span class="preprocessor"> #endif</span>
348 <a name="l00420"></a>00420 <span class="preprocessor"></span>
349 <a name="l00424"></a><a class="code" href="classTiXmlNode.html#w7">00424</a> <span class="keywo…
360 <a name="l00435"></a>00435 <span class="keyword">virtual</span> ~<a class="code" href="classTiX…
362class="code" href="classTiXmlNode.html#a1">00449</a> <span class="keyword">const</span> <span
364 <a name="l00451"></a>00451 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
365 <a name="l00452"></a>00452 <span class="preprocessor"></span>
366class="code" href="classTiXmlNode.html#a2">00456</a> <span class="keyword">const</span> std::s…
367 <a name="l00457"></a>00457 <span class="preprocessor"> #endif</span>
368 <a name="l00458"></a>00458 <span class="preprocessor"></span>
369class="code" href="classTiXmlNode.html#a3">00468</a> <span class="keywordtype">void</span> <a
371 <a name="l00470"></a>00470 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
372 <a name="l00471"></a>00471 <span class="preprocessor"></span>
373class="code" href="classTiXmlNode.html#a4">00472</a> <span class="keywordtype">void</span> <a
376 …l00475"></a>00475 <a class="code" href="classTiXmlNode.html#a3">SetValue</a>( buf.buffer ?…
378 <a name="l00477"></a>00477 <span class="preprocessor"> #endif</span>
379 <a name="l00478"></a>00478 <span class="preprocessor"></span>
380 <a name="l00480"></a>00480 <span class="keywordtype">void</span> <a class="code" href="classTiX…
382class="code" href="classTiXmlNode.html#a6">00483</a> <a class="code" href="classTiXmlNode.html…
383class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="c…
385class="code" href="classTiXmlNode.html#a8">00486</a> <span class="keyword">const</span> <a cla…
386 …<a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.htm…
387class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="c…
388class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a…
390 …n class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* LastChild…
391 …a><a class="code" href="classTiXmlNode.html#a13">00492</a> <a class="code" href="classTiXmlNod…
392class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* LastChild( …
393 …4"></a>00494 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* LastChild( <span class=…
395 <a name="l00496"></a>00496 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
396class="code" href="classTiXmlNode.html#a16">00497</a> <span class="preprocessor"></span> <span
397class="code" href="classTiXmlNode.html#a17">00498</a> <a class="code" href="classTiXmlNode.htm…
398class="code" href="classTiXmlNode.html#a18">00499</a> <span class="keyword">const</span> <a cl…
399class="code" href="classTiXmlNode.html#a19">00500</a> <a class="code" href="classTiXmlNode.htm…
400 <a name="l00501"></a>00501 <span class="preprocessor"> #endif</span>
401 <a name="l00502"></a>00502 <span class="preprocessor"></span>
402class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="c…
403 …520 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXml…
405class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="c…
406class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a…
408 <a name="l00526"></a>00526 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
409class="code" href="classTiXmlNode.html#a24">00527</a> <span class="preprocessor"></span> <span
410class="code" href="classTiXmlNode.html#a25">00528</a> <a class="code" href="classTiXmlNode.htm…
411 <a name="l00529"></a>00529 <span class="preprocessor"> #endif</span>
412 <a name="l00530"></a>00530 <span class="preprocessor"></span>
413class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a…
416 …0546 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXm…
418class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a…
420class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a…
422class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a…
424 …64"></a>00564 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlNode.html#…
426class="code" href="classTiXmlNode.html#a32">00567</a> <span class="keyword">const</span> <a cl…
427class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a…
429class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="c…
430class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a…
432 <a name="l00574"></a>00574 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
433class="code" href="classTiXmlNode.html#a36">00575</a> <span class="preprocessor"></span> <span
434class="code" href="classTiXmlNode.html#a37">00576</a> <a class="code" href="classTiXmlNode.htm…
435class="code" href="classTiXmlNode.html#a38">00577</a> <span class="keyword">const</span> <a cl…
436class="code" href="classTiXmlNode.html#a39">00578</a> <a class="code" href="classTiXmlNode.htm…
437 <a name="l00579"></a>00579 <span class="preprocessor"> #endif</span>
438 <a name="l00580"></a>00580 <span class="preprocessor"></span>
439class="code" href="classTiXmlNode.html#a40">00582</a> <span class="keyword">const</span> <a cl…
440class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a…
442class="keyword">const</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="c…
443class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class="code" href="classTiXmlNode.html#a…
445class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a cl…
446 <a name="l00594"></a>00594 <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a c…
448class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a cl…
449class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.…
451 <a name="l00603"></a>00603 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
452class="code" href="classTiXmlNode.html#a48">00604</a> <span class="preprocessor"></span> <span
453class="code" href="classTiXmlNode.html#a49">00605</a> <a class="code" href="classTiXmlElement.…
454 <a name="l00606"></a>00606 <span class="preprocessor"> #endif</span>
455 <a name="l00607"></a>00607 <span class="preprocessor"></span>
456class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a cl…
457 <a name="l00610"></a>00610 <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a c…
459class="keyword">const</span> <a class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a cl…
460class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlNode.…
462 <a name="l00616"></a>00616 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
463class="code" href="classTiXmlNode.html#a54">00617</a> <span class="preprocessor"></span> <span
464class="code" href="classTiXmlNode.html#a55">00618</a> <a class="code" href="classTiXmlElement.…
465 <a name="l00619"></a>00619 <span class="preprocessor"> #endif</span>
466 <a name="l00620"></a>00620 <span class="preprocessor"></span>
467class="code" href="classTiXmlNode.html#a56">00625</a> <span class="keyword">virtual</span> <sp…
469class="keyword">const</span> <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* <a
470 <a name="l00631"></a>00631 <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* <a…
472class="code" href="classTiXmlNode.html#a59">00634</a> <span class="keywordtype">bool</span> <a…
474class="code" href="classTiXmlNode.html#a60">00636</a> <span class="keyword">const</span> <a cl…
475class="code" href="classTiXmlNode.html#a61">00637</a> <span class="keyword">const</span> <a cl…
476class="code" href="classTiXmlNode.html#a62">00638</a> <span class="keyword">const</span> <a cl…
477class="code" href="classTiXmlNode.html#a63">00639</a> <span class="keyword">const</span> <a cl…
478class="code" href="classTiXmlNode.html#a64">00640</a> <span class="keyword">const</span> <a cl…
479class="code" href="classTiXmlNode.html#a65">00641</a> <span class="keyword">const</span> <a cl…
481class="code" href="classTiXmlNode.html#a66">00643</a> <a class="code" href="classTiXmlDocument…
482class="code" href="classTiXmlNode.html#a67">00644</a> <a class="code" href="classTiXmlElement.…
483class="code" href="classTiXmlNode.html#a68">00645</a> <a class="code" href="classTiXmlComment.…
484class="code" href="classTiXmlNode.html#a69">00646</a> <a class="code" href="classTiXmlUnknown.…
485class="code" href="classTiXmlNode.html#a70">00647</a> <a class="code" href="classTiXmlText.htm…
486class="code" href="classTiXmlNode.html#a71">00648</a> <a class="code" href="classTiXmlDeclarat…
488class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class=…
490 <a name="l00655"></a>00655 <span class="keyword">protected</span>:
491 <a name="l00656"></a>00656 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>( <a class="…
493 <a name="l00658"></a>00658 <span class="comment">// Copy to the allocated object. Shared functi…
494 <a name="l00659"></a>00659 <span class="comment">// and the assignment operator.</span>
495 …>00660 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlNode.html…
497 <a name="l00662"></a>00662 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
498 <a name="l00663"></a>00663 <span class="preprocessor"></span> <span class="comment">// The r…
499 <a name="l00664"></a>00664 <span class="keyword">virtual</span> <span class="keywordtype">v…
500 <a name="l00665"></a>00665 <span class="preprocessor"> #endif</span>
501 <a name="l00666"></a>00666 <span class="preprocessor"></span>
502 <a name="l00667"></a>00667 <span class="comment">// Figure out what is at *p, and parse it. Ret…
503 …68"></a>00668 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* Identify( <span class=…
505 <a name="l00670"></a>00670 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* paren…
506 <a name="l00671"></a>00671 <a class="code" href="classTiXmlNode.html#w7">NodeType</a> ty…
508 <a name="l00673"></a>00673 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* first…
509 <a name="l00674"></a>00674 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* lastC…
513 <a name="l00678"></a>00678 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* prev;
514 <a name="l00679"></a>00679 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* next;
516 <a name="l00681"></a>00681 <span class="keyword">private</span>:
517class="code" href="classTiXmlNode.html">TiXmlNode</a>( <span class="keyword">const</span> <a class
518class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href…
522class="code" href="classTiXmlAttribute.html">00694</a> <span class="keyword">class </span><a class
524 <a name="l00696"></a>00696 <span class="keyword">friend</span> <span class="keyword">class </sp…
526 <a name="l00698"></a>00698 <span class="keyword">public</span>:
527 …><a class="code" href="classTiXmlAttribute.html#a0">00700</a> <a class="code" href="classTiXml…
533 <a name="l00706"></a>00706 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
534 <a name="l00707"></a>00707 <span class="preprocessor"></span>
535class="code" href="classTiXmlAttribute.html#a1">00708</a> <a class="code" href="classTiXmlAttr…
542 <a name="l00715"></a>00715 <span class="preprocessor"> #endif</span>
543 <a name="l00716"></a>00716 <span class="preprocessor"></span>
544class="code" href="classTiXmlAttribute.html#a2">00718</a> <a class="code" href="classTiXmlAttr…
552class="code" href="classTiXmlAttribute.html#a3">00726</a> <span class="keyword">const</span> <…
553class="code" href="classTiXmlAttribute.html#a4">00727</a> <span class="keyword">const</span> <…
554 …00728 <span class="keywordtype">int</span> <a class="code" href="classTiXmlAttribu…
555 …0729 <span class="keywordtype">double</span> <a class="code" href="classTiXmlAttribut…
557class="keywordtype">int</span> <a class="code" href="classTiXmlAttribute.html#a7">QueryIntValue</a…
558class="keywordtype">int</span> <a class="code" href="classTiXmlAttribute.html#a8">QueryDoubleValue…
560class="code" href="classTiXmlAttribute.html#a9">00744</a> <span class="keywordtype">void</span…
561class="code" href="classTiXmlAttribute.html#a10">00745</a> <span class="keywordtype">void</spa…
563 …</a>00747 <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html…
564 …/a>00748 <span class="keywordtype">void</span> <a class="code" href="classTiXmlAttribute.html#…
566 <a name="l00750"></a>00750 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
567 <a name="l00751"></a>00751 <span class="preprocessor"></span>
568class="code" href="classTiXmlAttribute.html#a13">00752</a> <span class="keywordtype">void</spa…
571 …0755"></a>00755 <a class="code" href="classTiXmlAttribute.html#a9">SetName</a> ( buf.buffe…
573class="code" href="classTiXmlAttribute.html#a14">00758</a> <span class="keywordtype">void</spa…
576 …761"></a>00761 <a class="code" href="classTiXmlAttribute.html#a10">SetValue</a>( buf.buffe…
578 <a name="l00763"></a>00763 <span class="preprocessor"> #endif</span>
579 <a name="l00764"></a>00764 <span class="preprocessor"></span>
580class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <…
581 <a name="l00767"></a>00767 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* …
582class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <…
583 <a name="l00770"></a>00770 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* …
585class="keywordtype">bool</span> operator==( <span class="keyword">const</span> <a class="code" hre…
586class="keywordtype">bool</span> operator&lt;( <span class="keyword">const</span> <a class="code" h…
587class="keywordtype">bool</span> operator&gt;( <span class="keyword">const</span> <a class="code" h…
589 <a name="l00776"></a>00776 <span class="comment">/* Attribute parsing starts: first letter of …
590 <a name="l00777"></a>00777 <span class="comment"> returns: the next char af…
591 <a name="l00778"></a>00778 <span class="comment"> */</span>
592class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</…
594 <a name="l00781"></a>00781 <span class="comment">// Prints this Attribute to a FILE stream.</sp…
595class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTi…
597 …</a>00784 <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamOut…
598 <a name="l00785"></a>00785 <span class="comment">// [internal use]</span>
599 <a name="l00786"></a>00786 <span class="comment">// Set the document pointer so the attribute c…
600 <a name="l00787"></a>00787 <span class="keywordtype">void</span> SetDocument( <a class="code" h…
602 <a name="l00789"></a>00789 <span class="keyword">private</span>:
603class="code" href="classTiXmlAttribute.html#a0">TiXmlAttribute</a>( <span class="keyword">const</s…
604class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href…
606 …a name="l00793"></a>00793 <a class="code" href="classTiXmlDocument.html">TiXmlDocument</a>* d…
609 <a name="l00796"></a>00796 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* …
610 <a name="l00797"></a>00797 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* …
614 <a name="l00801"></a>00801 <span class="comment">/* A class used to manage a group of attributes.<…
615 <a name="l00802"></a>00802 <span class="comment"> It is only used internally, both by the ELEMEN…
616 <a name="l00803"></a>00803 <span class="comment"> </span>
617 <a name="l00804"></a>00804 <span class="comment"> The set can be changed transparent to the Elem…
618 <a name="l00805"></a>00805 <span class="comment"> classes that use it, but NOT transparent to th…
619 <a name="l00806"></a>00806 <span class="comment"> which has to implement a next() and previous()…
620 <a name="l00807"></a>00807 <span class="comment"> it a bit problematic and prevents the use of S…
621 <a name="l00808"></a>00808 <span class="comment"></span>
622 <a name="l00809"></a>00809 <span class="comment"> This version is implemented with circular list…
623 <a name="l00810"></a>00810 <span class="comment"> - I like circular lists</span>
624 <a name="l00811"></a>00811 <span class="comment"> - it demonstrates some independence from t…
625 <a name="l00812"></a>00812 <span class="comment">*/</span>
626 <a name="l00813"></a>00813 <span class="keyword">class </span>TiXmlAttributeSet
628 <a name="l00815"></a>00815 <span class="keyword">public</span>:
632 <a name="l00819"></a>00819 <span class="keywordtype">void</span> Add( <a class="code" href="cla…
633 <a name="l00820"></a>00820 <span class="keywordtype">void</span> Remove( <a class="code" href="…
635class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* F…
636 …l00823"></a>00823 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* First() …
637class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* L…
638 …l00825"></a>00825 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* Last() …
640class="keyword">const</span> <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* …
641 …></a>00828 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* Find( <span cla…
643 <a name="l00830"></a>00830 <span class="keyword">private</span>:
644 <a name="l00831"></a>00831 <span class="comment">//*ME: Because of hidden/disabled copy-constr…
645 <a name="l00832"></a>00832 <span class="comment">//*ME: this class must be also use a hidden/d…
646 …33"></a>00833 TiXmlAttributeSet( <span class="keyword">const</span> TiXmlAttributeSet&amp; ); …
647 …/a>00834 <span class="keywordtype">void</span> operator=( <span class="keyword">const</span> T…
649 <a name="l00836"></a>00836 <a class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a> s…
653class="code" href="classTiXmlElement.html">00844</a> <span class="keyword">class </span><a class="…
655 <a name="l00846"></a>00846 <span class="keyword">public</span>:
656 …48"></a>00848 <a class="code" href="classTiXmlElement.html#a0">TiXmlElement</a> (<span class="…
658 <a name="l00850"></a>00850 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
659 <a name="l00851"></a>00851 <span class="preprocessor"></span>
660 <a name="l00852"></a>00852 <a class="code" href="classTiXmlElement.html#a0">TiXmlElement</a>( <…
661 <a name="l00853"></a>00853 <span class="preprocessor"> #endif</span>
662 <a name="l00854"></a>00854 <span class="preprocessor"></span>
663 …0855"></a>00855 <a class="code" href="classTiXmlElement.html#a0">TiXmlElement</a>( <span class
665 …ame="l00857"></a>00857 <span class="keywordtype">void</span> operator=( <span class="keyword">…
667 <a name="l00859"></a>00859 <span class="keyword">virtual</span> ~<a class="code" href="classTiX…
669class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiX…
671class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiX…
673class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiX…
675class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#a8">QueryIntAttribute<…
676class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#a9">QueryDoubleAttribu…
677class="code" href="classTiXmlElement.html#a10">00893</a> <span class="keywordtype">int</span> …
678 <a name="l00894"></a>00894 <span class="keywordtype">double</span> d;
679 <a name="l00895"></a>00895 <span class="keywordtype">int</span> result = <a class="code" hr…
680 <a name="l00896"></a>00896 <span class="keywordflow">if</span> ( result == TIXML_SUCCESS ) {
683 <a name="l00899"></a>00899 <span class="keywordflow">return</span> result;
686class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#a11">SetAttribute</a>…
688 <a name="l00907"></a>00907 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
689class="preprocessor"></span> <span class="keyword">const</span> <span class="keywordtype">char<…
690class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiX…
691class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classTiX…
692class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#a8">QueryIntAttribute<…
693class="keywordtype">int</span> <a class="code" href="classTiXmlElement.html#a9">QueryDoubleAttribu…
695class="code" href="classTiXmlElement.html#a17">00915</a> <span class="keywordtype">void</span>…
699 <a name="l00919"></a>00919 <span class="keywordflow">if</span> ( n.buffer &amp;&amp; v.buff…
700 <a name="l00920"></a>00920 <a class="code" href="classTiXmlElement.html#a11">SetAttribu…
702class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#a11">SetAttribute</a>…
705 <a name="l00926"></a>00926 <span class="keywordflow">if</span> ( n.buffer )
706 <a name="l00927"></a>00927 <a class="code" href="classTiXmlElement.html#a11">SetAttribu…
708 <a name="l00929"></a>00929 <span class="preprocessor"> #endif</span>
709 <a name="l00930"></a>00930 <span class="preprocessor"></span>
710class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#a11">SetAttribute</a>…
712class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#a20">SetDoubleAttribu…
714 …n class="keywordtype">void</span> <a class="code" href="classTiXmlElement.html#a21">RemoveAttribut…
715 <a name="l00944"></a>00944 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
716class="code" href="classTiXmlElement.html#a22">00945</a> <span class="preprocessor"></span> <sp…
717 <a name="l00946"></a>00946 <span class="preprocessor"> #endif</span>
718 <a name="l00947"></a>00947 <span class="preprocessor"></span>
719class="code" href="classTiXmlElement.html#a23">00948</a> <span class="keyword">const</span> <a…
720class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <a class="code" href="classTiXmlE…
721class="code" href="classTiXmlElement.html#a25">00950</a> <span class="keyword">const</span> <a…
722class="code" href="classTiXmlAttribute.html">TiXmlAttribute</a>* <a class="code" href="classTiXmlE…
724 …span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="cla…
726class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class=…
727 <a name="l00989"></a>00989 <span class="comment">// Print the Element to a FILE stream.</span>
728class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTi…
730 <a name="l00992"></a>00992 <span class="comment">/* Attribtue parsing starts: next char past '…
731 <a name="l00993"></a>00993 <span class="comment"> returns: next char past '…
732 <a name="l00994"></a>00994 <span class="comment"> */</span>
733class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</…
735 <a name="l00997"></a>00997 <span class="keyword">protected</span>:
737 …999 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlElement.html…
738 <a name="l01000"></a>01000 <span class="keywordtype">void</span> ClearThis(); <span class="co…
740 <a name="l01002"></a>01002 <span class="comment">// Used to be public [internal use]</span>
741 <a name="l01003"></a>01003 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
742 <a name="l01004"></a>01004 <span class="preprocessor"></span> <span class="keyword">virtual<…
743 <a name="l01005"></a>01005 <span class="preprocessor"> #endif</span>
744class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">vo…
746 <a name="l01008"></a>01008 <span class="comment">/* [internal use]</span>
747 <a name="l01009"></a>01009 <span class="comment"> Reads the "value" of the element -- anothe…
748 <a name="l01010"></a>01010 <span class="comment"> This should terminate with the current end…
749 <a name="l01011"></a>01011 <span class="comment"> */</span>
750 …012 <span class="keyword">const</span> <span class="keywordtype">char</span>* ReadValue( <span…
752 <a name="l01014"></a>01014 <span class="keyword">private</span>:
758class="code" href="classTiXmlComment.html">01022</a> <span class="keyword">class </span><a class="…
760 <a name="l01024"></a>01024 <span class="keyword">public</span>:
761class="code" href="classTiXmlComment.html#a0">01026</a> <a class="code" href="classTiXmlCommen…
762 …1027"></a>01027 <a class="code" href="classTiXmlComment.html#a0">TiXmlComment</a>( <span class
763 …ame="l01028"></a>01028 <span class="keywordtype">void</span> operator=( <span class="keyword">…
765 <a name="l01030"></a>01030 <span class="keyword">virtual</span> ~<a class="code" href="classTiX…
767class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class=…
768class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTi…
770 <a name="l01037"></a>01037 <span class="comment">/* Attribtue parsing starts: at the ! of the …
771 <a name="l01038"></a>01038 <span class="comment"> returns: next char past '…
772 <a name="l01039"></a>01039 <span class="comment"> */</span>
773class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</…
775 <a name="l01042"></a>01042 <span class="keyword">protected</span>:
776 …043 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlComment.html…
778 <a name="l01045"></a>01045 <span class="comment">// used to be public</span>
779 <a name="l01046"></a>01046 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
780 <a name="l01047"></a>01047 <span class="preprocessor"></span> <span class="keyword">virtual<…
781 <a name="l01048"></a>01048 <span class="preprocessor"> #endif</span>
782class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">vo…
784 <a name="l01051"></a>01051 <span class="keyword">private</span>:
789class="code" href="classTiXmlText.html">01061</a> <span class="keyword">class </span><a class="cod…
791 <a name="l01063"></a>01063 <span class="keyword">friend</span> <span class="keyword">class </sp…
792 <a name="l01064"></a>01064 <span class="keyword">public</span>:
793class="code" href="classTiXmlText.html#a0">01069</a> <a class="code" href="classTiXmlText.html…
795 <a name="l01071"></a>01071 <a class="code" href="classTiXmlNode.html#a3">SetValue</a>( init…
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="classTiX…
800 <a name="l01076"></a>01076 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
801 <a name="l01077"></a>01077 <span class="preprocessor"></span>
802class="code" href="classTiXmlText.html#a2">01078</a> <a class="code" href="classTiXmlText.html…
804 <a name="l01080"></a>01080 <a class="code" href="classTiXmlNode.html#a3">SetValue</a>( init…
805 <a name="l01081"></a>01081 cdata = <span class="keyword">false</span>;
807 <a name="l01083"></a>01083 <span class="preprocessor"> #endif</span>
808 <a name="l01084"></a>01084 <span class="preprocessor"></span>
809class="code" href="classTiXmlText.html#a0">TiXmlText</a>( <span class="keyword">const</span> <a cl…
810class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href…
812class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTi…
814class="code" href="classTiXmlText.html#a6">01092</a> <span class="keywordtype">bool</span> <a
815class="code" href="classTiXmlText.html#a7">01094</a> <span class="keywordtype">void</span> <a
817class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</…
819 <a name="l01098"></a>01098 <span class="keyword">protected</span> :
820class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class=…
821 …>01101 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlText.html…
823 …/a>01103 <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamOut …
824 …ame="l01104"></a>01104 <span class="keywordtype">bool</span> Blank() <span class="keyword">con…
825 <a name="l01105"></a>01105 <span class="comment">// [internal use]</span>
826 <a name="l01106"></a>01106 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
827 <a name="l01107"></a>01107 <span class="preprocessor"></span> <span class="keyword">virtual<…
828 <a name="l01108"></a>01108 <span class="preprocessor"> #endif</span>
829 <a name="l01109"></a>01109 <span class="preprocessor"></span>
830 <a name="l01110"></a>01110 <span class="keyword">private</span>:
831 <a name="l01111"></a>01111 <span class="keywordtype">bool</span> cdata; <span class="co…
835class="code" href="classTiXmlDeclaration.html">01128</a> <span class="keyword">class </span><a cla…
837 <a name="l01130"></a>01130 <span class="keyword">public</span>:
838class="code" href="classTiXmlDeclaration.html#a0">01132</a> <a class="code" href="classTiXmlDe…
840 <a name="l01134"></a>01134 <span class="preprocessor">#ifdef TIXML_USE_STL</span>
841 <a name="l01135"></a>01135 <span class="preprocessor"></span>
842 <a name="l01136"></a>01136 <a class="code" href="classTiXmlDeclaration.html#a0">TiXmlDeclaratio…
843 <a name="l01137"></a>01137 <span class="keyword">const</span> std::string&a…
844 <a name="l01138"></a>01138 <span class="keyword">const</span> std::string&a…
845 <a name="l01139"></a>01139 <span class="preprocessor">#endif</span>
846 <a name="l01140"></a>01140 <span class="preprocessor"></span>
847 …/a>01142 <a class="code" href="classTiXmlDeclaration.html#a0">TiXmlDeclaration</a>( <span cl…
848 <a name="l01143"></a>01143 <span class="keyword">const</span> <span class="…
849 <a name="l01144"></a>01144 <span class="keyword">const</span> <span class="…
851 …"></a>01146 <a class="code" href="classTiXmlDeclaration.html#a0">TiXmlDeclaration</a>( <span c…
852 …ame="l01147"></a>01147 <span class="keywordtype">void</span> operator=( <span class="keyword">…
854 <a name="l01149"></a>01149 <span class="keyword">virtual</span> ~<a class="code" href="classTiX…
856class="code" href="classTiXmlDeclaration.html#a6">01152</a> <span class="keyword">const</span>…
857class="code" href="classTiXmlDeclaration.html#a7">01154</a> <span class="keyword">const</span>…
858class="code" href="classTiXmlDeclaration.html#a8">01156</a> <span class="keyword">const</span>…
860class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class=…
861class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTi…
863class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</…
865 <a name="l01165"></a>01165 <span class="keyword">protected</span>:
866 … <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlDeclaration.html…
867 <a name="l01167"></a>01167 <span class="comment">// used to be public</span>
868 <a name="l01168"></a>01168 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
869 <a name="l01169"></a>01169 <span class="preprocessor"></span> <span class="keyword">virtual<…
870 <a name="l01170"></a>01170 <span class="preprocessor"> #endif</span>
871class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">vo…
873 <a name="l01173"></a>01173 <span class="keyword">private</span>:
881class="code" href="classTiXmlUnknown.html">01188</a> <span class="keyword">class </span><a class="…
883 <a name="l01190"></a>01190 <span class="keyword">public</span>:
884 <a name="l01191"></a>01191 <a class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>() : <…
885 <a name="l01192"></a>01192 <span class="keyword">virtual</span> ~<a class="code" href="classTiX…
887class="code" href="classTiXmlUnknown.html">TiXmlUnknown</a>( <span class="keyword">const</span> <a…
888class="keywordtype">void</span> operator=( <span class="keyword">const</span> <a class="code" href…
890class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class=…
891class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTi…
893class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</…
895 <a name="l01204"></a>01204 <span class="keyword">protected</span>:
896 …205 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlUnknown.html…
898 <a name="l01207"></a>01207 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
899 <a name="l01208"></a>01208 <span class="preprocessor"></span> <span class="keyword">virtual<…
900 <a name="l01209"></a>01209 <span class="preprocessor"> #endif</span>
901class="preprocessor"></span> <span class="keyword">virtual</span> <span class="keywordtype">voi…
903 <a name="l01212"></a>01212 <span class="keyword">private</span>:
908class="code" href="classTiXmlDocument.html">01221</a> <span class="keyword">class </span><a class=…
910 <a name="l01223"></a>01223 <span class="keyword">public</span>:
911 <a name="l01225"></a>01225 <a class="code" href="classTiXmlDocument.html#a0">TiXmlDocument</a>(…
912 …7"></a>01227 <a class="code" href="classTiXmlDocument.html#a0">TiXmlDocument</a>( <span class=…
914 <a name="l01229"></a>01229 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
915 <a name="l01230"></a>01230 <span class="preprocessor"></span>
916 <a name="l01231"></a>01231 <a class="code" href="classTiXmlDocument.html#a0">TiXmlDocument</a>(…
917 <a name="l01232"></a>01232 <span class="preprocessor"> #endif</span>
918 <a name="l01233"></a>01233 <span class="preprocessor"></span>
919 …234"></a>01234 <a class="code" href="classTiXmlDocument.html#a0">TiXmlDocument</a>( <span clas…
920 …ame="l01235"></a>01235 <span class="keywordtype">void</span> operator=( <span class="keyword">…
922 <a name="l01237"></a>01237 <span class="keyword">virtual</span> ~<a class="code" href="classTiX…
924 <a name="l01243"></a>01243 <span class="keywordtype">bool</span> <a class="code" href="classTiX…
925 …"></a>01245 <span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.htm…
926 …span class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a6">LoadFile</a…
927class="keywordtype">bool</span> <a class="code" href="classTiXmlDocument.html#a7">SaveFile</a>( <s…
929 <a name="l01251"></a>01251 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
930class="code" href="classTiXmlDocument.html#a10">01252</a> <span class="preprocessor"></span> <s…
933 <a name="l01255"></a>01255 <span class="keywordflow">return</span> ( f.buffer &amp;&amp; Lo…
935class="code" href="classTiXmlDocument.html#a11">01257</a> <span class="keywordtype">bool</span…
938 <a name="l01260"></a>01260 <span class="keywordflow">return</span> ( f.buffer &amp;&amp; Sa…
940 <a name="l01262"></a>01262 <span class="preprocessor"> #endif</span>
941 <a name="l01263"></a>01263 <span class="preprocessor"></span>
942class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</…
944class="code" href="classTiXmlDocument.html#a13">01274</a> <span class="keyword">const</span> <…
945class="code" href="classTiXmlElement.html">TiXmlElement</a>* <a class="code" href="classTiXmlDocum…
947class="code" href="classTiXmlDocument.html#a15">01282</a> <span class="keywordtype">bool</span…
949class="code" href="classTiXmlDocument.html#a16">01285</a> <span class="keyword">const</span> <…
951class="code" href="classTiXmlDocument.html#a17">01290</a> <span class="keywordtype">int</span>…
953class="code" href="classTiXmlDocument.html#a18">01299</a> <span class="keywordtype">int</span>…
954class="code" href="classTiXmlDocument.html#a19">01300</a> <span class="keywordtype">int</span>…
956class="code" href="classTiXmlDocument.html#a20">01326</a> <span class="keywordtype">void</span…
958 …me="l01328"></a>01328 <span class="keywordtype">int</span> TabSize()<span class="keyword"> con…
960class="code" href="classTiXmlDocument.html#a22">01333</a> <span class="keywordtype">void</span…
962 <a name="l01335"></a>01335 errorDesc = <span class=…
964 <a name="l01337"></a>01337 <span class="comment">//…
967class="code" href="classTiXmlDocument.html#a23">01341</a> <span class="keywordtype">void</span…
969class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTi…
970 <a name="l01345"></a>01345 <span class="comment">// [internal use]</span>
971 … <span class="keywordtype">void</span> SetError( <span class="keywordtype">int</span> err, <sp…
973 <a name="l01348"></a>01348 <span class="keyword">protected</span> :
974 …</a>01349 <span class="keyword">virtual</span> <span class="keywordtype">void</span> StreamOut…
975 <a name="l01350"></a>01350 <span class="comment">// [internal use]</span>
976class="keyword">virtual</span> <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* <a class=…
977 <a name="l01352"></a>01352 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
978 <a name="l01353"></a>01353 <span class="preprocessor"></span> <span class="keyword">virtual<…
979 <a name="l01354"></a>01354 <span class="preprocessor"> #endif</span>
980 <a name="l01355"></a>01355 <span class="preprocessor"></span>
981 <a name="l01356"></a>01356 <span class="keyword">private</span>:
982 …57 <span class="keywordtype">void</span> CopyTo( <a class="code" href="classTiXmlDocument.html…
984 <a name="l01359"></a>01359 <span class="keywordtype">bool</span> error;
985 <a name="l01360"></a>01360 <span class="keywordtype">int</span> errorId;
987 <a name="l01362"></a>01362 <span class="keywordtype">int</span> tabsize;
989 <a name="l01364"></a>01364 <span class="keywordtype">bool</span> useMicrosoftBOM; <span c…
993 <a name="l01448"></a><a class="code" href="classTiXmlHandle.html">01448</a> <span class="keyword">c…
995 <a name="l01450"></a>01450 <span class="keyword">public</span>:
996 …2"></a><a class="code" href="classTiXmlHandle.html#a0">01452</a> <a class="code" href="classTi…
997class="code" href="classTiXmlHandle.html#a1">01454</a> <a class="code" href="classTiXmlHandle.…
998class="code" href="classTiXmlHandle.html">TiXmlHandle</a> operator=( <span class="keyword">const</…
1000 …8 <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXm…
1001class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.h…
1002 … <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHa…
1003class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.h…
1005class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.h…
1006class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.h…
1007class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.h…
1008class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.h…
1010 <a name="l01485"></a>01485 <span class="preprocessor"> #ifdef TIXML_USE_STL</span>
1011class="preprocessor"></span> <a class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a cl…
1012class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.h…
1014class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.h…
1015class="code" href="classTiXmlHandle.html">TiXmlHandle</a> <a class="code" href="classTiXmlHandle.h…
1016 <a name="l01491"></a>01491 <span class="preprocessor"> #endif</span>
1017 <a name="l01492"></a>01492 <span class="preprocessor"></span>
1018class="code" href="classTiXmlHandle.html#a15">01494</a> <a class="code" href="classTiXmlNode.h…
1019class="code" href="classTiXmlHandle.html#a16">01496</a> <a class="code" href="classTiXmlElemen…
1020class="code" href="classTiXmlHandle.html#a17">01498</a> <a class="code" href="classTiXmlText.h…
1021class="code" href="classTiXmlHandle.html#a18">01500</a> <a class="code" href="classTiXmlUnknow…
1023 <a name="l01502"></a>01502 <span class="keyword">private</span>:
1024 <a name="l01503"></a>01503 <a class="code" href="classTiXmlNode.html">TiXmlNode</a>* node;
1027 <a name="l01506"></a>01506 <span class="preprocessor">#ifdef _MSC_VER</span>
1028 <a name="l01507"></a>01507 <span class="preprocessor"></span><span class="preprocessor">#pragma war…
1029 <a name="l01508"></a>01508 <span class="preprocessor"></span><span class="preprocessor">#endif</spa…
1030 <a name="l01509"></a>01509 <span class="preprocessor"></span>
1031 <a name="l01510"></a>01510 <span class="preprocessor">#endif</span>
1032 <a name="l01511"></a>01511 <span class="preprocessor"></span>