source: NonGTP/FCollada/Documentation/class_f_u_string_builder_t.html @ 964

Revision 964, 54.5 KB checked in by igarcia, 18 years ago (diff)
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>FCollada: FUStringBuilderT&lt; Char, SPrintF &gt; Class Template Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.4.6-NO -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="modules.html"><span>Modules</span></a></li>
12    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
13    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
14    <li><a href="files.html"><span>Files</span></a></li>
15    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
16  </ul></div>
17<div class="tabs">
18  <ul>
19    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
20    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
21    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
22    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
23  </ul></div>
24<h1>FUStringBuilderT&lt; Char, SPrintF &gt; Class Template Reference<br>
25<small>
26[<a class="el" href="group___f_utils.html">Utility Classes.</a>]</small>
27</h1><!-- doxytag: class="FUStringBuilderT" -->A dynamically-sized string object. 
28<a href="#_details">More...</a>
29<p>
30<code>#include &lt;<a class="el" href="_f_u_string_builder_8h-source.html">FUStringBuilder.h</a>&gt;</code>
31<p>
32<a href="class_f_u_string_builder_t-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
33<tr><td></td></tr>
34<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
35<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="56f872f5493b078f39ef885fa64a0291"></a><!-- doxytag: member="FUStringBuilderT::String" ref="56f872f5493b078f39ef885fa64a0291" args="" -->
36typedef std::basic_string&lt;<br>
37 Char &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#56f872f5493b078f39ef885fa64a0291">String</a></td></tr>
38
39<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The standard string object which correspond to the builder. <br></td></tr>
40<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
41<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#bc9ed6068dd9506d5d73350fda28c2bb">FUStringBuilderT</a> (const <a class="el" href="class_f_u_string_builder_t.html#56f872f5493b078f39ef885fa64a0291">String</a> &amp;sz)</td></tr>
42
43<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new builder with the content of the given string.  <a href="#bc9ed6068dd9506d5d73350fda28c2bb"></a><br></td></tr>
44<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#51c608d04779567394f407ede3215375">FUStringBuilderT</a> (const Char *sz)</td></tr>
45
46<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new builder with the content of the given character array.  <a href="#51c608d04779567394f407ede3215375"></a><br></td></tr>
47<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#6a1bcdc8154bcb2458bdbda23965fdd3">FUStringBuilderT</a> (Char ch, size_t count)</td></tr>
48
49<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new builder with the given character repeated multiple times over the array.  <a href="#6a1bcdc8154bcb2458bdbda23965fdd3"></a><br></td></tr>
50<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#31a1037f438b71b8c40acebd781b6af2">FUStringBuilderT</a> (size_t reserved)</td></tr>
51
52<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new builder with an empty buffer.  <a href="#31a1037f438b71b8c40acebd781b6af2"></a><br></td></tr>
53<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3b92a51f395836f5558f14000060579e"></a><!-- doxytag: member="FUStringBuilderT::FUStringBuilderT" ref="3b92a51f395836f5558f14000060579e" args="()" -->
54&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#3b92a51f395836f5558f14000060579e">FUStringBuilderT</a> ()</td></tr>
55
56<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new builder with an empty buffer. <br></td></tr>
57<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#73d27bbd97e1d5733feb915049d72fc7">~FUStringBuilderT</a> ()</td></tr>
58
59<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Deletes the builder.  <a href="#73d27bbd97e1d5733feb915049d72fc7"></a><br></td></tr>
60<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#64127a6ba4365638a73ee33807763baf">reserve</a> (size_t length)</td></tr>
61
62<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Reserves a given number of character slots.  <a href="#64127a6ba4365638a73ee33807763baf"></a><br></td></tr>
63<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#6b831ec54bab38e20e1a57e771453533">length</a> ()</td></tr>
64
65<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the length of the content within the builder.  <a href="#6b831ec54bab38e20e1a57e771453533"></a><br></td></tr>
66<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#c6c4a1e21c124eedbb39047ca94b4a2b">clear</a> ()</td></tr>
67
68<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clears the content of the builder.  <a href="#c6c4a1e21c124eedbb39047ca94b4a2b"></a><br></td></tr>
69<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#0c720250e8927ee479fbd824180424ad">empty</a> ()</td></tr>
70
71<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves whether the builder is empty.  <a href="#0c720250e8927ee479fbd824180424ad"></a><br></td></tr>
72<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#50253c8fbc7591fd3e603d5583200ccb">append</a> (Char c)</td></tr>
73
74<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Appends a character to the content of the builder.  <a href="#50253c8fbc7591fd3e603d5583200ccb"></a><br></td></tr>
75<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#a15263dcfa36987a03aa88a3f203bbf0">append</a> (const <a class="el" href="class_f_u_string_builder_t.html#56f872f5493b078f39ef885fa64a0291">String</a> &amp;sz)</td></tr>
76
77<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Appends a string to the content of the builder.  <a href="#a15263dcfa36987a03aa88a3f203bbf0"></a><br></td></tr>
78<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#a220f12cd75139c3be2ee87866593467">append</a> (const Char *sz)</td></tr>
79
80<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Appends a character array to the content of the builder.  <a href="#a220f12cd75139c3be2ee87866593467"></a><br></td></tr>
81<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#9166ca44f8f66ef444319f93739de712">append</a> (const <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a> &amp;b)</td></tr>
82
83<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Appends the content of a builder to the content of this builder.  <a href="#9166ca44f8f66ef444319f93739de712"></a><br></td></tr>
84<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#343f33ad51e7d39deefd45c5b5fe200a">append</a> (int32 i)</td></tr>
85
86<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Appends the integer value, after converting it to a string, to the content of the builder.  <a href="#343f33ad51e7d39deefd45c5b5fe200a"></a><br></td></tr>
87<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8329f5623c8fbb037a515dcacb47b648"></a><!-- doxytag: member="FUStringBuilderT::append" ref="8329f5623c8fbb037a515dcacb47b648" args="(uint32 i)" -->
88void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#8329f5623c8fbb037a515dcacb47b648">append</a> (uint32 i)</td></tr>
89
90<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
91<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b6842afc64d5050e83faa3c8d108772c"></a><!-- doxytag: member="FUStringBuilderT::append" ref="b6842afc64d5050e83faa3c8d108772c" args="(uint64 i)" -->
92void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#b6842afc64d5050e83faa3c8d108772c">append</a> (uint64 i)</td></tr>
93
94<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
95<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c5c2486278e01c771f38dc327524d8ff"></a><!-- doxytag: member="FUStringBuilderT::append" ref="c5c2486278e01c771f38dc327524d8ff" args="(int i)" -->
96void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#c5c2486278e01c771f38dc327524d8ff">append</a> (int i)</td></tr>
97
98<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
99<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fda44e8a511ea05d7df4462b26536bde"></a><!-- doxytag: member="FUStringBuilderT::append" ref="fda44e8a511ea05d7df4462b26536bde" args="(unsigned int i)" -->
100void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#fda44e8a511ea05d7df4462b26536bde">append</a> (unsigned int i)</td></tr>
101
102<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
103<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#d0400b32174541faa906cb6ab9eead41">append</a> (float f)</td></tr>
104
105<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Appends the floating-point value, after converting it to a string, to the content of the builder.  <a href="#d0400b32174541faa906cb6ab9eead41"></a><br></td></tr>
106<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0415d202a0e46500345331edcb0cb370"></a><!-- doxytag: member="FUStringBuilderT::append" ref="0415d202a0e46500345331edcb0cb370" args="(double f)" -->
107void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#0415d202a0e46500345331edcb0cb370">append</a> (double f)</td></tr>
108
109<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
110<tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename TYPE&gt; </td></tr>
111<tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a> &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#ffacf60781399efab674503dba424dae">operator+=</a> (const TYPE &amp;val)</td></tr>
112
113<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Appends a value to the content of the builder.  <a href="#ffacf60781399efab674503dba424dae"></a><br></td></tr>
114<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#d47eb054aec1d0c046fb05697c60bf66">appendLine</a> (const Char *sz)</td></tr>
115
116<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Appends a character array to the content of the builder.  <a href="#d47eb054aec1d0c046fb05697c60bf66"></a><br></td></tr>
117<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#b67d89559eab0194d4506d553213a085">remove</a> (int32 start)</td></tr>
118
119<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes a section of the content of the builder.  <a href="#b67d89559eab0194d4506d553213a085"></a><br></td></tr>
120<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#99858563d244072fa7029560c639a7e0">remove</a> (int32 start, int32 end)</td></tr>
121
122<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes a section of the content of the builder.  <a href="#99858563d244072fa7029560c639a7e0"></a><br></td></tr>
123<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1089af53ab87c88d10349bbc3456db7f"></a><!-- doxytag: member="FUStringBuilderT::pop_back" ref="1089af53ab87c88d10349bbc3456db7f" args="()" -->
124void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#1089af53ab87c88d10349bbc3456db7f">pop_back</a> ()</td></tr>
125
126<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes the last character of the content of the builder. <br></td></tr>
127<tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename TYPE&gt; </td></tr>
128<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#552095c3500bbcbee1c474f91af1b537">set</a> (const TYPE &amp;val)</td></tr>
129
130<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the content of the builder to a given value.  <a href="#552095c3500bbcbee1c474f91af1b537"></a><br></td></tr>
131<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="b09f2370f4993d6acd8fc84a4ae6568c"></a><!-- doxytag: member="FUStringBuilderT::operator=" ref="b09f2370f4993d6acd8fc84a4ae6568c" args="(const TYPE &amp;val)" -->
132template&lt;typename TYPE&gt; </td></tr>
133<tr><td class="memTemplItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a> &amp;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#b09f2370f4993d6acd8fc84a4ae6568c">operator=</a> (const TYPE &amp;val)</td></tr>
134
135<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
136<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_f_u_string_builder_t.html#56f872f5493b078f39ef885fa64a0291">String</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#84c7caa79c4639aeaf05831aa1534c65">ToString</a> ()</td></tr>
137
138<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts the content of the builder to a standard string.  <a href="#84c7caa79c4639aeaf05831aa1534c65"></a><br></td></tr>
139<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b477ca7ae65f867c5c0607a30134ab5a"></a><!-- doxytag: member="FUStringBuilderT::operator String" ref="b477ca7ae65f867c5c0607a30134ab5a" args="()" -->
140&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#b477ca7ae65f867c5c0607a30134ab5a">operator String</a> ()</td></tr>
141
142<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
143<tr><td class="memItemLeft" nowrap align="right" valign="top">const Char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#1fa2543a75ae974e86aaef3ebf726e0c">ToCharPtr</a> ()</td></tr>
144
145<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts the content of the builder to a character array.  <a href="#1fa2543a75ae974e86aaef3ebf726e0c"></a><br></td></tr>
146<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="485b36648e632cff2f495374d25c7d25"></a><!-- doxytag: member="FUStringBuilderT::operator const Char *" ref="485b36648e632cff2f495374d25c7d25" args="()" -->
147&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#485b36648e632cff2f495374d25c7d25">operator const Char *</a> ()</td></tr>
148
149<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
150<tr><td class="memItemLeft" nowrap align="right" valign="top">int32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#468e24745f22f07b2ff3aaebedb92158">index</a> (Char c)</td></tr>
151
152<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the index of the first character within the content of the builder that is equivalent to the given character.  <a href="#468e24745f22f07b2ff3aaebedb92158"></a><br></td></tr>
153<tr><td class="memItemLeft" nowrap align="right" valign="top">int32&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_f_u_string_builder_t.html#c9c5a141f6775db8e5dbd5a228d4d154">rindex</a> (Char c)</td></tr>
154
155<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the index of the last character within the content of the builder that is equivalent to the given character.  <a href="#c9c5a141f6775db8e5dbd5a228d4d154"></a><br></td></tr>
156</table>
157<hr><a name="_details"></a><h2>Detailed Description</h2>
158<h3>template&lt;class Char, class SPrintF&gt;<br>
159 class FUStringBuilderT&lt; Char, SPrintF &gt;</h3>
160
161A dynamically-sized string object.
162<p>
163The template has two arguments: the character definition and the sprintf() functor class for float to string conversions.<p>
164This class should be used for all the string operations, as it contains a dynamically-resized buffer that is not directly tied to its content's length.
165<p>
166<hr><h2>Constructor &amp; Destructor Documentation</h2>
167<a class="anchor" name="bc9ed6068dd9506d5d73350fda28c2bb"></a><!-- doxytag: member="FUStringBuilderT::FUStringBuilderT" ref="bc9ed6068dd9506d5d73350fda28c2bb" args="(const String &amp;sz)" --><p>
168<table class="mdTable" cellpadding="2" cellspacing="0">
169  <tr>
170    <td class="mdRow">
171      <table cellpadding="0" cellspacing="0" border="0">
172        <tr>
173          <td class="mdPrefix" colspan="4">
174template&lt;class Char, class SPrintF&gt; </td>
175        </tr>
176        <tr>
177          <td class="md" nowrap valign="top"><a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::<a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>           </td>
178          <td class="md" valign="top">(&nbsp;</td>
179          <td class="md" nowrap valign="top">const <a class="el" href="class_f_u_string_builder_t.html#56f872f5493b078f39ef885fa64a0291">String</a> &amp;&nbsp;</td>
180          <td class="mdname1" valign="top" nowrap> <em>sz</em>          </td>
181          <td class="md" valign="top">&nbsp;)&nbsp;</td>
182          <td class="md" nowrap></td>
183        </tr>
184      </table>
185    </td>
186  </tr>
187</table>
188<table cellspacing="5" cellpadding="0" border="0">
189  <tr>
190    <td>
191      &nbsp;
192    </td>
193    <td>
194
195<p>
196Creates a new builder with the content of the given string.
197<p>
198<dl compact><dt><b>Parameters:</b></dt><dd>
199  <table border="0" cellspacing="2" cellpadding="0">
200    <tr><td valign="top"></td><td valign="top"><em>sz</em>&nbsp;</td><td>A string. Its content will be copied within the builder. </td></tr>
201  </table>
202</dl>
203    </td>
204  </tr>
205</table>
206<a class="anchor" name="51c608d04779567394f407ede3215375"></a><!-- doxytag: member="FUStringBuilderT::FUStringBuilderT" ref="51c608d04779567394f407ede3215375" args="(const Char *sz)" --><p>
207<table class="mdTable" cellpadding="2" cellspacing="0">
208  <tr>
209    <td class="mdRow">
210      <table cellpadding="0" cellspacing="0" border="0">
211        <tr>
212          <td class="mdPrefix" colspan="4">
213template&lt;class Char, class SPrintF&gt; </td>
214        </tr>
215        <tr>
216          <td class="md" nowrap valign="top"><a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::<a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>           </td>
217          <td class="md" valign="top">(&nbsp;</td>
218          <td class="md" nowrap valign="top">const Char *&nbsp;</td>
219          <td class="mdname1" valign="top" nowrap> <em>sz</em>          </td>
220          <td class="md" valign="top">&nbsp;)&nbsp;</td>
221          <td class="md" nowrap></td>
222        </tr>
223      </table>
224    </td>
225  </tr>
226</table>
227<table cellspacing="5" cellpadding="0" border="0">
228  <tr>
229    <td>
230      &nbsp;
231    </td>
232    <td>
233
234<p>
235Creates a new builder with the content of the given character array.
236<p>
237<dl compact><dt><b>Parameters:</b></dt><dd>
238  <table border="0" cellspacing="2" cellpadding="0">
239    <tr><td valign="top"></td><td valign="top"><em>sz</em>&nbsp;</td><td>A character array. Its content will be copied within the builder. It must terminate with an element containing the 'zero' value. </td></tr>
240  </table>
241</dl>
242    </td>
243  </tr>
244</table>
245<a class="anchor" name="6a1bcdc8154bcb2458bdbda23965fdd3"></a><!-- doxytag: member="FUStringBuilderT::FUStringBuilderT" ref="6a1bcdc8154bcb2458bdbda23965fdd3" args="(Char ch, size_t count)" --><p>
246<table class="mdTable" cellpadding="2" cellspacing="0">
247  <tr>
248    <td class="mdRow">
249      <table cellpadding="0" cellspacing="0" border="0">
250        <tr>
251          <td class="mdPrefix" colspan="4">
252template&lt;class Char, class SPrintF&gt; </td>
253        </tr>
254        <tr>
255          <td class="md" nowrap valign="top"><a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::<a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>           </td>
256          <td class="md" valign="top">(&nbsp;</td>
257          <td class="md" nowrap valign="top">Char&nbsp;</td>
258          <td class="mdname" nowrap> <em>ch</em>, </td>
259        </tr>
260        <tr>
261          <td class="md" nowrap align="right"></td>
262          <td class="md"></td>
263          <td class="md" nowrap>size_t&nbsp;</td>
264          <td class="mdname" nowrap> <em>count</em></td>
265        </tr>
266        <tr>
267          <td class="md"></td>
268          <td class="md">)&nbsp;</td>
269          <td class="md" colspan="2"></td>
270        </tr>
271      </table>
272    </td>
273  </tr>
274</table>
275<table cellspacing="5" cellpadding="0" border="0">
276  <tr>
277    <td>
278      &nbsp;
279    </td>
280    <td>
281
282<p>
283Creates a new builder with the given character repeated multiple times over the array.
284<p>
285<dl compact><dt><b>Parameters:</b></dt><dd>
286  <table border="0" cellspacing="2" cellpadding="0">
287    <tr><td valign="top"></td><td valign="top"><em>ch</em>&nbsp;</td><td>A character to repeat. </td></tr>
288    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>The number of times to repeat the given character. </td></tr>
289  </table>
290</dl>
291    </td>
292  </tr>
293</table>
294<a class="anchor" name="31a1037f438b71b8c40acebd781b6af2"></a><!-- doxytag: member="FUStringBuilderT::FUStringBuilderT" ref="31a1037f438b71b8c40acebd781b6af2" args="(size_t reserved)" --><p>
295<table class="mdTable" cellpadding="2" cellspacing="0">
296  <tr>
297    <td class="mdRow">
298      <table cellpadding="0" cellspacing="0" border="0">
299        <tr>
300          <td class="mdPrefix" colspan="4">
301template&lt;class Char, class SPrintF&gt; </td>
302        </tr>
303        <tr>
304          <td class="md" nowrap valign="top"><a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::<a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>           </td>
305          <td class="md" valign="top">(&nbsp;</td>
306          <td class="md" nowrap valign="top">size_t&nbsp;</td>
307          <td class="mdname1" valign="top" nowrap> <em>reserved</em>          </td>
308          <td class="md" valign="top">&nbsp;)&nbsp;</td>
309          <td class="md" nowrap></td>
310        </tr>
311      </table>
312    </td>
313  </tr>
314</table>
315<table cellspacing="5" cellpadding="0" border="0">
316  <tr>
317    <td>
318      &nbsp;
319    </td>
320    <td>
321
322<p>
323Creates a new builder with an empty buffer.
324<p>
325<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_f_u_string_builder_t.html#64127a6ba4365638a73ee33807763baf">reserve</a> </dd></dl>
326<dl compact><dt><b>Parameters:</b></dt><dd>
327  <table border="0" cellspacing="2" cellpadding="0">
328    <tr><td valign="top"></td><td valign="top"><em>reserved</em>&nbsp;</td><td>The number of character slots to reserve within the empty buffer. </td></tr>
329  </table>
330</dl>
331    </td>
332  </tr>
333</table>
334<a class="anchor" name="73d27bbd97e1d5733feb915049d72fc7"></a><!-- doxytag: member="FUStringBuilderT::~FUStringBuilderT" ref="73d27bbd97e1d5733feb915049d72fc7" args="()" --><p>
335<table class="mdTable" cellpadding="2" cellspacing="0">
336  <tr>
337    <td class="mdRow">
338      <table cellpadding="0" cellspacing="0" border="0">
339        <tr>
340          <td class="mdPrefix" colspan="4">
341template&lt;class Char, class SPrintF&gt; </td>
342        </tr>
343        <tr>
344          <td class="md" nowrap valign="top"><a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::~<a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>           </td>
345          <td class="md" valign="top">(&nbsp;</td>
346          <td class="mdname1" valign="top" nowrap>          </td>
347          <td class="md" valign="top">&nbsp;)&nbsp;</td>
348          <td class="md" nowrap></td>
349        </tr>
350      </table>
351    </td>
352  </tr>
353</table>
354<table cellspacing="5" cellpadding="0" border="0">
355  <tr>
356    <td>
357      &nbsp;
358    </td>
359    <td>
360
361<p>
362Deletes the builder.
363<p>
364Its buffer will be cleared. Any pointers to its data will be dangling.     </td>
365  </tr>
366</table>
367<hr><h2>Member Function Documentation</h2>
368<a class="anchor" name="d0400b32174541faa906cb6ab9eead41"></a><!-- doxytag: member="FUStringBuilderT::append" ref="d0400b32174541faa906cb6ab9eead41" args="(float f)" --><p>
369<table class="mdTable" cellpadding="2" cellspacing="0">
370  <tr>
371    <td class="mdRow">
372      <table cellpadding="0" cellspacing="0" border="0">
373        <tr>
374          <td class="mdPrefix" colspan="4">
375template&lt;class Char, class SPrintF&gt; </td>
376        </tr>
377        <tr>
378          <td class="md" nowrap valign="top">void <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::append           </td>
379          <td class="md" valign="top">(&nbsp;</td>
380          <td class="md" nowrap valign="top">float&nbsp;</td>
381          <td class="mdname1" valign="top" nowrap> <em>f</em>          </td>
382          <td class="md" valign="top">&nbsp;)&nbsp;</td>
383          <td class="md" nowrap></td>
384        </tr>
385      </table>
386    </td>
387  </tr>
388</table>
389<table cellspacing="5" cellpadding="0" border="0">
390  <tr>
391    <td>
392      &nbsp;
393    </td>
394    <td>
395
396<p>
397Appends the floating-point value, after converting it to a string, to the content of the builder.
398<p>
399If the floating-point value is the special token that represents infinity, the string "INF" is appended. If it represents the negative infinity, the string "-INF" is appended. If it represents the impossibility, the string "NaN" is appended. <dl compact><dt><b>Parameters:</b></dt><dd>
400  <table border="0" cellspacing="2" cellpadding="0">
401    <tr><td valign="top"></td><td valign="top"><em>f</em>&nbsp;</td><td>A floating-point value. </td></tr>
402  </table>
403</dl>
404    </td>
405  </tr>
406</table>
407<a class="anchor" name="343f33ad51e7d39deefd45c5b5fe200a"></a><!-- doxytag: member="FUStringBuilderT::append" ref="343f33ad51e7d39deefd45c5b5fe200a" args="(int32 i)" --><p>
408<table class="mdTable" cellpadding="2" cellspacing="0">
409  <tr>
410    <td class="mdRow">
411      <table cellpadding="0" cellspacing="0" border="0">
412        <tr>
413          <td class="mdPrefix" colspan="4">
414template&lt;class Char, class SPrintF&gt; </td>
415        </tr>
416        <tr>
417          <td class="md" nowrap valign="top">void <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::append           </td>
418          <td class="md" valign="top">(&nbsp;</td>
419          <td class="md" nowrap valign="top">int32&nbsp;</td>
420          <td class="mdname1" valign="top" nowrap> <em>i</em>          </td>
421          <td class="md" valign="top">&nbsp;)&nbsp;</td>
422          <td class="md" nowrap></td>
423        </tr>
424      </table>
425    </td>
426  </tr>
427</table>
428<table cellspacing="5" cellpadding="0" border="0">
429  <tr>
430    <td>
431      &nbsp;
432    </td>
433    <td>
434
435<p>
436Appends the integer value, after converting it to a string, to the content of the builder.
437<p>
438<dl compact><dt><b>Parameters:</b></dt><dd>
439  <table border="0" cellspacing="2" cellpadding="0">
440    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>An integer value. </td></tr>
441  </table>
442</dl>
443    </td>
444  </tr>
445</table>
446<a class="anchor" name="9166ca44f8f66ef444319f93739de712"></a><!-- doxytag: member="FUStringBuilderT::append" ref="9166ca44f8f66ef444319f93739de712" args="(const FUStringBuilderT &amp;b)" --><p>
447<table class="mdTable" cellpadding="2" cellspacing="0">
448  <tr>
449    <td class="mdRow">
450      <table cellpadding="0" cellspacing="0" border="0">
451        <tr>
452          <td class="mdPrefix" colspan="4">
453template&lt;class Char, class SPrintF&gt; </td>
454        </tr>
455        <tr>
456          <td class="md" nowrap valign="top">void <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::append           </td>
457          <td class="md" valign="top">(&nbsp;</td>
458          <td class="md" nowrap valign="top">const <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt; &amp;&nbsp;</td>
459          <td class="mdname1" valign="top" nowrap> <em>b</em>          </td>
460          <td class="md" valign="top">&nbsp;)&nbsp;</td>
461          <td class="md" nowrap></td>
462        </tr>
463      </table>
464    </td>
465  </tr>
466</table>
467<table cellspacing="5" cellpadding="0" border="0">
468  <tr>
469    <td>
470      &nbsp;
471    </td>
472    <td>
473
474<p>
475Appends the content of a builder to the content of this builder.
476<p>
477<dl compact><dt><b>Parameters:</b></dt><dd>
478  <table border="0" cellspacing="2" cellpadding="0">
479    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>A string builder. </td></tr>
480  </table>
481</dl>
482    </td>
483  </tr>
484</table>
485<a class="anchor" name="a220f12cd75139c3be2ee87866593467"></a><!-- doxytag: member="FUStringBuilderT::append" ref="a220f12cd75139c3be2ee87866593467" args="(const Char *sz)" --><p>
486<table class="mdTable" cellpadding="2" cellspacing="0">
487  <tr>
488    <td class="mdRow">
489      <table cellpadding="0" cellspacing="0" border="0">
490        <tr>
491          <td class="mdPrefix" colspan="4">
492template&lt;class Char, class SPrintF&gt; </td>
493        </tr>
494        <tr>
495          <td class="md" nowrap valign="top">void <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::append           </td>
496          <td class="md" valign="top">(&nbsp;</td>
497          <td class="md" nowrap valign="top">const Char *&nbsp;</td>
498          <td class="mdname1" valign="top" nowrap> <em>sz</em>          </td>
499          <td class="md" valign="top">&nbsp;)&nbsp;</td>
500          <td class="md" nowrap></td>
501        </tr>
502      </table>
503    </td>
504  </tr>
505</table>
506<table cellspacing="5" cellpadding="0" border="0">
507  <tr>
508    <td>
509      &nbsp;
510    </td>
511    <td>
512
513<p>
514Appends a character array to the content of the builder.
515<p>
516<dl compact><dt><b>Parameters:</b></dt><dd>
517  <table border="0" cellspacing="2" cellpadding="0">
518    <tr><td valign="top"></td><td valign="top"><em>sz</em>&nbsp;</td><td>A character array. It must terminate with an element containing the 'zero' value. </td></tr>
519  </table>
520</dl>
521    </td>
522  </tr>
523</table>
524<a class="anchor" name="a15263dcfa36987a03aa88a3f203bbf0"></a><!-- doxytag: member="FUStringBuilderT::append" ref="a15263dcfa36987a03aa88a3f203bbf0" args="(const String &amp;sz)" --><p>
525<table class="mdTable" cellpadding="2" cellspacing="0">
526  <tr>
527    <td class="mdRow">
528      <table cellpadding="0" cellspacing="0" border="0">
529        <tr>
530          <td class="mdPrefix" colspan="4">
531template&lt;class Char, class SPrintF&gt; </td>
532        </tr>
533        <tr>
534          <td class="md" nowrap valign="top">void <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::append           </td>
535          <td class="md" valign="top">(&nbsp;</td>
536          <td class="md" nowrap valign="top">const <a class="el" href="class_f_u_string_builder_t.html#56f872f5493b078f39ef885fa64a0291">String</a> &amp;&nbsp;</td>
537          <td class="mdname1" valign="top" nowrap> <em>sz</em>          </td>
538          <td class="md" valign="top">&nbsp;)&nbsp;</td>
539          <td class="md" nowrap></td>
540        </tr>
541      </table>
542    </td>
543  </tr>
544</table>
545<table cellspacing="5" cellpadding="0" border="0">
546  <tr>
547    <td>
548      &nbsp;
549    </td>
550    <td>
551
552<p>
553Appends a string to the content of the builder.
554<p>
555<dl compact><dt><b>Parameters:</b></dt><dd>
556  <table border="0" cellspacing="2" cellpadding="0">
557    <tr><td valign="top"></td><td valign="top"><em>sz</em>&nbsp;</td><td>A string. </td></tr>
558  </table>
559</dl>
560    </td>
561  </tr>
562</table>
563<a class="anchor" name="50253c8fbc7591fd3e603d5583200ccb"></a><!-- doxytag: member="FUStringBuilderT::append" ref="50253c8fbc7591fd3e603d5583200ccb" args="(Char c)" --><p>
564<table class="mdTable" cellpadding="2" cellspacing="0">
565  <tr>
566    <td class="mdRow">
567      <table cellpadding="0" cellspacing="0" border="0">
568        <tr>
569          <td class="mdPrefix" colspan="4">
570template&lt;class Char, class SPrintF&gt; </td>
571        </tr>
572        <tr>
573          <td class="md" nowrap valign="top">void <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::append           </td>
574          <td class="md" valign="top">(&nbsp;</td>
575          <td class="md" nowrap valign="top">Char&nbsp;</td>
576          <td class="mdname1" valign="top" nowrap> <em>c</em>          </td>
577          <td class="md" valign="top">&nbsp;)&nbsp;</td>
578          <td class="md" nowrap></td>
579        </tr>
580      </table>
581    </td>
582  </tr>
583</table>
584<table cellspacing="5" cellpadding="0" border="0">
585  <tr>
586    <td>
587      &nbsp;
588    </td>
589    <td>
590
591<p>
592Appends a character to the content of the builder.
593<p>
594<dl compact><dt><b>Parameters:</b></dt><dd>
595  <table border="0" cellspacing="2" cellpadding="0">
596    <tr><td valign="top"></td><td valign="top"><em>c</em>&nbsp;</td><td>A character. May not be the 'zero' value. </td></tr>
597  </table>
598</dl>
599    </td>
600  </tr>
601</table>
602<a class="anchor" name="d47eb054aec1d0c046fb05697c60bf66"></a><!-- doxytag: member="FUStringBuilderT::appendLine" ref="d47eb054aec1d0c046fb05697c60bf66" args="(const Char *sz)" --><p>
603<table class="mdTable" cellpadding="2" cellspacing="0">
604  <tr>
605    <td class="mdRow">
606      <table cellpadding="0" cellspacing="0" border="0">
607        <tr>
608          <td class="mdPrefix" colspan="4">
609template&lt;class Char, class SPrintF&gt; </td>
610        </tr>
611        <tr>
612          <td class="md" nowrap valign="top">void <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::appendLine           </td>
613          <td class="md" valign="top">(&nbsp;</td>
614          <td class="md" nowrap valign="top">const Char *&nbsp;</td>
615          <td class="mdname1" valign="top" nowrap> <em>sz</em>          </td>
616          <td class="md" valign="top">&nbsp;)&nbsp;</td>
617          <td class="md" nowrap></td>
618        </tr>
619      </table>
620    </td>
621  </tr>
622</table>
623<table cellspacing="5" cellpadding="0" border="0">
624  <tr>
625    <td>
626      &nbsp;
627    </td>
628    <td>
629
630<p>
631Appends a character array to the content of the builder.
632<p>
633A newline character will be appended after the character array. <dl compact><dt><b>Parameters:</b></dt><dd>
634  <table border="0" cellspacing="2" cellpadding="0">
635    <tr><td valign="top"></td><td valign="top"><em>sz</em>&nbsp;</td><td>A character array. It must terminate with an element containing the 'zero' value. </td></tr>
636  </table>
637</dl>
638    </td>
639  </tr>
640</table>
641<a class="anchor" name="c6c4a1e21c124eedbb39047ca94b4a2b"></a><!-- doxytag: member="FUStringBuilderT::clear" ref="c6c4a1e21c124eedbb39047ca94b4a2b" args="()" --><p>
642<table class="mdTable" cellpadding="2" cellspacing="0">
643  <tr>
644    <td class="mdRow">
645      <table cellpadding="0" cellspacing="0" border="0">
646        <tr>
647          <td class="mdPrefix" colspan="4">
648template&lt;class Char, class SPrintF&gt; </td>
649        </tr>
650        <tr>
651          <td class="md" nowrap valign="top">void <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::clear           </td>
652          <td class="md" valign="top">(&nbsp;</td>
653          <td class="mdname1" valign="top" nowrap>          </td>
654          <td class="md" valign="top">&nbsp;)&nbsp;</td>
655          <td class="md" nowrap></td>
656        </tr>
657      </table>
658    </td>
659  </tr>
660</table>
661<table cellspacing="5" cellpadding="0" border="0">
662  <tr>
663    <td>
664      &nbsp;
665    </td>
666    <td>
667
668<p>
669Clears the content of the builder.
670<p>
671This does not re-allocate a new buffer.     </td>
672  </tr>
673</table>
674<a class="anchor" name="0c720250e8927ee479fbd824180424ad"></a><!-- doxytag: member="FUStringBuilderT::empty" ref="0c720250e8927ee479fbd824180424ad" args="()" --><p>
675<table class="mdTable" cellpadding="2" cellspacing="0">
676  <tr>
677    <td class="mdRow">
678      <table cellpadding="0" cellspacing="0" border="0">
679        <tr>
680          <td class="mdPrefix" colspan="4">
681template&lt;class Char, class SPrintF&gt; </td>
682        </tr>
683        <tr>
684          <td class="md" nowrap valign="top">bool <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::empty           </td>
685          <td class="md" valign="top">(&nbsp;</td>
686          <td class="mdname1" valign="top" nowrap>          </td>
687          <td class="md" valign="top">&nbsp;)&nbsp;</td>
688          <td class="md" nowrap><code> [inline]</code></td>
689        </tr>
690      </table>
691    </td>
692  </tr>
693</table>
694<table cellspacing="5" cellpadding="0" border="0">
695  <tr>
696    <td>
697      &nbsp;
698    </td>
699    <td>
700
701<p>
702Retrieves whether the builder is empty.
703<p>
704A builder is considered empty when it has no content, regardless of the size or allocation status of its buffer. <dl compact><dt><b>Returns:</b></dt><dd>Whether the builder is empty. </dd></dl>
705    </td>
706  </tr>
707</table>
708<a class="anchor" name="468e24745f22f07b2ff3aaebedb92158"></a><!-- doxytag: member="FUStringBuilderT::index" ref="468e24745f22f07b2ff3aaebedb92158" args="(Char c)" --><p>
709<table class="mdTable" cellpadding="2" cellspacing="0">
710  <tr>
711    <td class="mdRow">
712      <table cellpadding="0" cellspacing="0" border="0">
713        <tr>
714          <td class="mdPrefix" colspan="4">
715template&lt;class Char, class SPrintF&gt; </td>
716        </tr>
717        <tr>
718          <td class="md" nowrap valign="top">int32 <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::index           </td>
719          <td class="md" valign="top">(&nbsp;</td>
720          <td class="md" nowrap valign="top">Char&nbsp;</td>
721          <td class="mdname1" valign="top" nowrap> <em>c</em>          </td>
722          <td class="md" valign="top">&nbsp;)&nbsp;</td>
723          <td class="md" nowrap></td>
724        </tr>
725      </table>
726    </td>
727  </tr>
728</table>
729<table cellspacing="5" cellpadding="0" border="0">
730  <tr>
731    <td>
732      &nbsp;
733    </td>
734    <td>
735
736<p>
737Retrieves the index of the first character within the content of the builder that is equivalent to the given character.
738<p>
739<dl compact><dt><b>Parameters:</b></dt><dd>
740  <table border="0" cellspacing="2" cellpadding="0">
741    <tr><td valign="top"></td><td valign="top"><em>c</em>&nbsp;</td><td>The character to match. </td></tr>
742  </table>
743</dl>
744<dl compact><dt><b>Returns:</b></dt><dd>The index of the first equivalent character. -1 is returned if no character matches the given character. </dd></dl>
745    </td>
746  </tr>
747</table>
748<a class="anchor" name="6b831ec54bab38e20e1a57e771453533"></a><!-- doxytag: member="FUStringBuilderT::length" ref="6b831ec54bab38e20e1a57e771453533" args="()" --><p>
749<table class="mdTable" cellpadding="2" cellspacing="0">
750  <tr>
751    <td class="mdRow">
752      <table cellpadding="0" cellspacing="0" border="0">
753        <tr>
754          <td class="mdPrefix" colspan="4">
755template&lt;class Char, class SPrintF&gt; </td>
756        </tr>
757        <tr>
758          <td class="md" nowrap valign="top">size_t <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::length           </td>
759          <td class="md" valign="top">(&nbsp;</td>
760          <td class="mdname1" valign="top" nowrap>          </td>
761          <td class="md" valign="top">&nbsp;)&nbsp;</td>
762          <td class="md" nowrap><code> [inline]</code></td>
763        </tr>
764      </table>
765    </td>
766  </tr>
767</table>
768<table cellspacing="5" cellpadding="0" border="0">
769  <tr>
770    <td>
771      &nbsp;
772    </td>
773    <td>
774
775<p>
776Retrieves the length of the content within the builder.
777<p>
778<dl compact><dt><b>Returns:</b></dt><dd>The length of the string. </dd></dl>
779    </td>
780  </tr>
781</table>
782<a class="anchor" name="ffacf60781399efab674503dba424dae"></a><!-- doxytag: member="FUStringBuilderT::operator+=" ref="ffacf60781399efab674503dba424dae" args="(const TYPE &amp;val)" --><p>
783<table class="mdTable" cellpadding="2" cellspacing="0">
784  <tr>
785    <td class="mdRow">
786      <table cellpadding="0" cellspacing="0" border="0">
787        <tr>
788          <td class="mdPrefix" colspan="4">
789template&lt;class Char, class SPrintF&gt; </td>
790        </tr>
791        <tr>
792          <td class="mdPrefix" colspan="4">
793template&lt;typename TYPE&gt; </td>
794        </tr>
795        <tr>
796          <td class="md" nowrap valign="top"><a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&amp; <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::operator+=           </td>
797          <td class="md" valign="top">(&nbsp;</td>
798          <td class="md" nowrap valign="top">const TYPE &amp;&nbsp;</td>
799          <td class="mdname1" valign="top" nowrap> <em>val</em>          </td>
800          <td class="md" valign="top">&nbsp;)&nbsp;</td>
801          <td class="md" nowrap><code> [inline]</code></td>
802        </tr>
803      </table>
804    </td>
805  </tr>
806</table>
807<table cellspacing="5" cellpadding="0" border="0">
808  <tr>
809    <td>
810      &nbsp;
811    </td>
812    <td>
813
814<p>
815Appends a value to the content of the builder.
816<p>
817This is a shortcut for the append function. <dl compact><dt><b>See also:</b></dt><dd><a class="el" href="class_f_u_string_builder_t.html#50253c8fbc7591fd3e603d5583200ccb">append</a> </dd></dl>
818<dl compact><dt><b>Parameters:</b></dt><dd>
819  <table border="0" cellspacing="2" cellpadding="0">
820    <tr><td valign="top"></td><td valign="top"><em>val</em>&nbsp;</td><td>A value. This may be numerical, a character, a character array or a string. </td></tr>
821  </table>
822</dl>
823    </td>
824  </tr>
825</table>
826<a class="anchor" name="99858563d244072fa7029560c639a7e0"></a><!-- doxytag: member="FUStringBuilderT::remove" ref="99858563d244072fa7029560c639a7e0" args="(int32 start, int32 end)" --><p>
827<table class="mdTable" cellpadding="2" cellspacing="0">
828  <tr>
829    <td class="mdRow">
830      <table cellpadding="0" cellspacing="0" border="0">
831        <tr>
832          <td class="mdPrefix" colspan="4">
833template&lt;class Char, class SPrintF&gt; </td>
834        </tr>
835        <tr>
836          <td class="md" nowrap valign="top">void <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::remove           </td>
837          <td class="md" valign="top">(&nbsp;</td>
838          <td class="md" nowrap valign="top">int32&nbsp;</td>
839          <td class="mdname" nowrap> <em>start</em>, </td>
840        </tr>
841        <tr>
842          <td class="md" nowrap align="right"></td>
843          <td class="md"></td>
844          <td class="md" nowrap>int32&nbsp;</td>
845          <td class="mdname" nowrap> <em>end</em></td>
846        </tr>
847        <tr>
848          <td class="md"></td>
849          <td class="md">)&nbsp;</td>
850          <td class="md" colspan="2"></td>
851        </tr>
852      </table>
853    </td>
854  </tr>
855</table>
856<table cellspacing="5" cellpadding="0" border="0">
857  <tr>
858    <td>
859      &nbsp;
860    </td>
861    <td>
862
863<p>
864Removes a section of the content of the builder.
865<p>
866The substring defined by the 'start' and 'end' indices will be removed. The 'start' character is removed and is replaced by the 'end' character. <dl compact><dt><b>Parameters:</b></dt><dd>
867  <table border="0" cellspacing="2" cellpadding="0">
868    <tr><td valign="top"></td><td valign="top"><em>start</em>&nbsp;</td><td>The index of the first character of the substring to remove. </td></tr>
869    <tr><td valign="top"></td><td valign="top"><em>end</em>&nbsp;</td><td>The index of the first character after the removed substring. </td></tr>
870  </table>
871</dl>
872    </td>
873  </tr>
874</table>
875<a class="anchor" name="b67d89559eab0194d4506d553213a085"></a><!-- doxytag: member="FUStringBuilderT::remove" ref="b67d89559eab0194d4506d553213a085" args="(int32 start)" --><p>
876<table class="mdTable" cellpadding="2" cellspacing="0">
877  <tr>
878    <td class="mdRow">
879      <table cellpadding="0" cellspacing="0" border="0">
880        <tr>
881          <td class="mdPrefix" colspan="4">
882template&lt;class Char, class SPrintF&gt; </td>
883        </tr>
884        <tr>
885          <td class="md" nowrap valign="top">void <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::remove           </td>
886          <td class="md" valign="top">(&nbsp;</td>
887          <td class="md" nowrap valign="top">int32&nbsp;</td>
888          <td class="mdname1" valign="top" nowrap> <em>start</em>          </td>
889          <td class="md" valign="top">&nbsp;)&nbsp;</td>
890          <td class="md" nowrap></td>
891        </tr>
892      </table>
893    </td>
894  </tr>
895</table>
896<table cellspacing="5" cellpadding="0" border="0">
897  <tr>
898    <td>
899      &nbsp;
900    </td>
901    <td>
902
903<p>
904Removes a section of the content of the builder.
905<p>
906Every character that occurs after the given index will be removed, resulting in a shrunk string. <dl compact><dt><b>Parameters:</b></dt><dd>
907  <table border="0" cellspacing="2" cellpadding="0">
908    <tr><td valign="top"></td><td valign="top"><em>start</em>&nbsp;</td><td>An index within the content of the builder. </td></tr>
909  </table>
910</dl>
911    </td>
912  </tr>
913</table>
914<a class="anchor" name="64127a6ba4365638a73ee33807763baf"></a><!-- doxytag: member="FUStringBuilderT::reserve" ref="64127a6ba4365638a73ee33807763baf" args="(size_t length)" --><p>
915<table class="mdTable" cellpadding="2" cellspacing="0">
916  <tr>
917    <td class="mdRow">
918      <table cellpadding="0" cellspacing="0" border="0">
919        <tr>
920          <td class="mdPrefix" colspan="4">
921template&lt;class Char, class SPrintF&gt; </td>
922        </tr>
923        <tr>
924          <td class="md" nowrap valign="top">void <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::reserve           </td>
925          <td class="md" valign="top">(&nbsp;</td>
926          <td class="md" nowrap valign="top">size_t&nbsp;</td>
927          <td class="mdname1" valign="top" nowrap> <em>length</em>          </td>
928          <td class="md" valign="top">&nbsp;)&nbsp;</td>
929          <td class="md" nowrap></td>
930        </tr>
931      </table>
932    </td>
933  </tr>
934</table>
935<table cellspacing="5" cellpadding="0" border="0">
936  <tr>
937    <td>
938      &nbsp;
939    </td>
940    <td>
941
942<p>
943Reserves a given number of character slots.
944<p>
945If the builder has a buffer with a different number of character slots, a new buffer will be allocated. If the builder has contents, it will be copied within the new buffer. If there is more content than the new buffer can handle, it will be discarded. <dl compact><dt><b>Parameters:</b></dt><dd>
946  <table border="0" cellspacing="2" cellpadding="0">
947    <tr><td valign="top"></td><td valign="top"><em>length</em>&nbsp;</td><td>The number of character slots to reserve. </td></tr>
948  </table>
949</dl>
950    </td>
951  </tr>
952</table>
953<a class="anchor" name="c9c5a141f6775db8e5dbd5a228d4d154"></a><!-- doxytag: member="FUStringBuilderT::rindex" ref="c9c5a141f6775db8e5dbd5a228d4d154" args="(Char c)" --><p>
954<table class="mdTable" cellpadding="2" cellspacing="0">
955  <tr>
956    <td class="mdRow">
957      <table cellpadding="0" cellspacing="0" border="0">
958        <tr>
959          <td class="mdPrefix" colspan="4">
960template&lt;class Char, class SPrintF&gt; </td>
961        </tr>
962        <tr>
963          <td class="md" nowrap valign="top">int32 <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::rindex           </td>
964          <td class="md" valign="top">(&nbsp;</td>
965          <td class="md" nowrap valign="top">Char&nbsp;</td>
966          <td class="mdname1" valign="top" nowrap> <em>c</em>          </td>
967          <td class="md" valign="top">&nbsp;)&nbsp;</td>
968          <td class="md" nowrap></td>
969        </tr>
970      </table>
971    </td>
972  </tr>
973</table>
974<table cellspacing="5" cellpadding="0" border="0">
975  <tr>
976    <td>
977      &nbsp;
978    </td>
979    <td>
980
981<p>
982Retrieves the index of the last character within the content of the builder that is equivalent to the given character.
983<p>
984<dl compact><dt><b>Parameters:</b></dt><dd>
985  <table border="0" cellspacing="2" cellpadding="0">
986    <tr><td valign="top"></td><td valign="top"><em>c</em>&nbsp;</td><td>The character to match. </td></tr>
987  </table>
988</dl>
989<dl compact><dt><b>Returns:</b></dt><dd>The index of the last equivalent character. -1 is returned if no character matches the given character. </dd></dl>
990    </td>
991  </tr>
992</table>
993<a class="anchor" name="552095c3500bbcbee1c474f91af1b537"></a><!-- doxytag: member="FUStringBuilderT::set" ref="552095c3500bbcbee1c474f91af1b537" args="(const TYPE &amp;val)" --><p>
994<table class="mdTable" cellpadding="2" cellspacing="0">
995  <tr>
996    <td class="mdRow">
997      <table cellpadding="0" cellspacing="0" border="0">
998        <tr>
999          <td class="mdPrefix" colspan="4">
1000template&lt;class Char, class SPrintF&gt; </td>
1001        </tr>
1002        <tr>
1003          <td class="mdPrefix" colspan="4">
1004template&lt;typename TYPE&gt; </td>
1005        </tr>
1006        <tr>
1007          <td class="md" nowrap valign="top">void <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::set           </td>
1008          <td class="md" valign="top">(&nbsp;</td>
1009          <td class="md" nowrap valign="top">const TYPE &amp;&nbsp;</td>
1010          <td class="mdname1" valign="top" nowrap> <em>val</em>          </td>
1011          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1012          <td class="md" nowrap><code> [inline]</code></td>
1013        </tr>
1014      </table>
1015    </td>
1016  </tr>
1017</table>
1018<table cellspacing="5" cellpadding="0" border="0">
1019  <tr>
1020    <td>
1021      &nbsp;
1022    </td>
1023    <td>
1024
1025<p>
1026Sets the content of the builder to a given value.
1027<p>
1028This clears the builder of all its content and appends the given value. <dl compact><dt><b>Parameters:</b></dt><dd>
1029  <table border="0" cellspacing="2" cellpadding="0">
1030    <tr><td valign="top"></td><td valign="top"><em>val</em>&nbsp;</td><td>A value. This may be numerical, a character, a character array or a string. </td></tr>
1031  </table>
1032</dl>
1033    </td>
1034  </tr>
1035</table>
1036<a class="anchor" name="1fa2543a75ae974e86aaef3ebf726e0c"></a><!-- doxytag: member="FUStringBuilderT::ToCharPtr" ref="1fa2543a75ae974e86aaef3ebf726e0c" args="()" --><p>
1037<table class="mdTable" cellpadding="2" cellspacing="0">
1038  <tr>
1039    <td class="mdRow">
1040      <table cellpadding="0" cellspacing="0" border="0">
1041        <tr>
1042          <td class="mdPrefix" colspan="4">
1043template&lt;class Char, class SPrintF&gt; </td>
1044        </tr>
1045        <tr>
1046          <td class="md" nowrap valign="top">const Char * <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::ToCharPtr           </td>
1047          <td class="md" valign="top">(&nbsp;</td>
1048          <td class="mdname1" valign="top" nowrap>          </td>
1049          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1050          <td class="md" nowrap></td>
1051        </tr>
1052      </table>
1053    </td>
1054  </tr>
1055</table>
1056<table cellspacing="5" cellpadding="0" border="0">
1057  <tr>
1058    <td>
1059      &nbsp;
1060    </td>
1061    <td>
1062
1063<p>
1064Converts the content of the builder to a character array.
1065<p>
1066<dl compact><dt><b>Returns:</b></dt><dd>A character array with the content of the builder. This pointer is valid for the lifetime of the buffer of the builder, so do not keep it around. This character array should not be modified. </dd></dl>
1067    </td>
1068  </tr>
1069</table>
1070<a class="anchor" name="84c7caa79c4639aeaf05831aa1534c65"></a><!-- doxytag: member="FUStringBuilderT::ToString" ref="84c7caa79c4639aeaf05831aa1534c65" args="()" --><p>
1071<table class="mdTable" cellpadding="2" cellspacing="0">
1072  <tr>
1073    <td class="mdRow">
1074      <table cellpadding="0" cellspacing="0" border="0">
1075        <tr>
1076          <td class="mdPrefix" colspan="4">
1077template&lt;class Char, class SPrintF&gt; </td>
1078        </tr>
1079        <tr>
1080          <td class="md" nowrap valign="top"><a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::<a class="el" href="class_f_u_string_builder_t.html#56f872f5493b078f39ef885fa64a0291">String</a> <a class="el" href="class_f_u_string_builder_t.html">FUStringBuilderT</a>&lt; Char, SPrintF &gt;::ToString           </td>
1081          <td class="md" valign="top">(&nbsp;</td>
1082          <td class="mdname1" valign="top" nowrap>          </td>
1083          <td class="md" valign="top">&nbsp;)&nbsp;</td>
1084          <td class="md" nowrap></td>
1085        </tr>
1086      </table>
1087    </td>
1088  </tr>
1089</table>
1090<table cellspacing="5" cellpadding="0" border="0">
1091  <tr>
1092    <td>
1093      &nbsp;
1094    </td>
1095    <td>
1096
1097<p>
1098Converts the content of the builder to a standard string.
1099<p>
1100<dl compact><dt><b>Returns:</b></dt><dd>A string with the content of the builder. </dd></dl>
1101    </td>
1102  </tr>
1103</table>
1104<hr>The documentation for this class was generated from the following files:<ul>
1105<li>FUtils/<a class="el" href="_f_u_string_builder_8h-source.html">FUStringBuilder.h</a><li>FUtils/<a class="el" href="_f_u_string_builder_8hpp-source.html">FUStringBuilder.hpp</a></ul>
1106<hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:44 2006 for FCollada by&nbsp;
1107<a href="http://www.doxygen.org/index.html">
1108<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
1109</body>
1110</html>
Note: See TracBrowser for help on using the repository browser.