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

Revision 964, 13.3 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: SFprintF Class 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>SFprintF Class Reference</h1><!-- doxytag: class="SFprintF" -->Encapsulates the Unicode string numerical conversion functions. 
25<a href="#_details">More...</a>
26<p>
27<code>#include &lt;<a class="el" href="_f_u_string_builder_8h-source.html">FUStringBuilder.h</a>&gt;</code>
28<p>
29<a href="class_s_fprint_f-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
30<tr><td></td></tr>
31<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
32<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_fprint_f.html#00754b6a56d19fa3328064e831409242">PrintInt32</a> (fchar *output, uint32 length, int32 i)</td></tr>
33
34<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts a signed integer into the given constant-sized string.  <a href="#00754b6a56d19fa3328064e831409242"></a><br></td></tr>
35<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_fprint_f.html#aff4403847c01494c22fe22bce34d16b">PrintUInt32</a> (fchar *output, uint32 length, uint32 i)</td></tr>
36
37<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts an unsigned integer into the given constant-sized string.  <a href="#aff4403847c01494c22fe22bce34d16b"></a><br></td></tr>
38<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_fprint_f.html#5c9dde3dd946889f6d5e254305001055">PrintUInt64</a> (fchar *output, uint32 length, uint64 i)</td></tr>
39
40<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts an unsigned integer into the given constant-sized string.  <a href="#5c9dde3dd946889f6d5e254305001055"></a><br></td></tr>
41<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_fprint_f.html#541661bc6d313414a578a7bd7703cb9d">PrintFloat</a> (fchar *output, uint32 length, double f)</td></tr>
42
43<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts a floating-point value into the given constant-sized string.  <a href="#541661bc6d313414a578a7bd7703cb9d"></a><br></td></tr>
44<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_fprint_f.html#baf2df4140c2aa3112f3790383e8056f">StrLen</a> (const fchar *in)</td></tr>
45
46<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the length of a constant-sized string.  <a href="#baf2df4140c2aa3112f3790383e8056f"></a><br></td></tr>
47</table>
48<hr><a name="_details"></a><h2>Detailed Description</h2>
49Encapsulates the Unicode string numerical conversion functions.
50<p>
51The 'fsnprintf' function is used so no locale information is handled.
52<p>
53<hr><h2>Member Function Documentation</h2>
54<a class="anchor" name="541661bc6d313414a578a7bd7703cb9d"></a><!-- doxytag: member="SFprintF::PrintFloat" ref="541661bc6d313414a578a7bd7703cb9d" args="(fchar *output, uint32 length, double f)" --><p>
55<table class="mdTable" cellpadding="2" cellspacing="0">
56  <tr>
57    <td class="mdRow">
58      <table cellpadding="0" cellspacing="0" border="0">
59        <tr>
60          <td class="md" nowrap valign="top">void SFprintF::PrintFloat           </td>
61          <td class="md" valign="top">(&nbsp;</td>
62          <td class="md" nowrap valign="top">fchar *&nbsp;</td>
63          <td class="mdname" nowrap> <em>output</em>, </td>
64        </tr>
65        <tr>
66          <td class="md" nowrap align="right"></td>
67          <td class="md"></td>
68          <td class="md" nowrap>uint32&nbsp;</td>
69          <td class="mdname" nowrap> <em>length</em>, </td>
70        </tr>
71        <tr>
72          <td class="md" nowrap align="right"></td>
73          <td class="md"></td>
74          <td class="md" nowrap>double&nbsp;</td>
75          <td class="mdname" nowrap> <em>f</em></td>
76        </tr>
77        <tr>
78          <td class="md"></td>
79          <td class="md">)&nbsp;</td>
80          <td class="md" colspan="2"><code> [inline]</code></td>
81        </tr>
82      </table>
83    </td>
84  </tr>
85</table>
86<table cellspacing="5" cellpadding="0" border="0">
87  <tr>
88    <td>
89      &nbsp;
90    </td>
91    <td>
92
93<p>
94Converts a floating-point value into the given constant-sized string.
95<p>
96<dl compact><dt><b>Parameters:</b></dt><dd>
97  <table border="0" cellspacing="2" cellpadding="0">
98    <tr><td valign="top"></td><td valign="top"><em>output</em>&nbsp;</td><td>A constant-sized string. </td></tr>
99    <tr><td valign="top"></td><td valign="top"><em>length</em>&nbsp;</td><td>The size of the constant-sized string. </td></tr>
100    <tr><td valign="top"></td><td valign="top"><em>f</em>&nbsp;</td><td>A floating-point value. </td></tr>
101  </table>
102</dl>
103    </td>
104  </tr>
105</table>
106<a class="anchor" name="00754b6a56d19fa3328064e831409242"></a><!-- doxytag: member="SFprintF::PrintInt32" ref="00754b6a56d19fa3328064e831409242" args="(fchar *output, uint32 length, int32 i)" --><p>
107<table class="mdTable" cellpadding="2" cellspacing="0">
108  <tr>
109    <td class="mdRow">
110      <table cellpadding="0" cellspacing="0" border="0">
111        <tr>
112          <td class="md" nowrap valign="top">void SFprintF::PrintInt32           </td>
113          <td class="md" valign="top">(&nbsp;</td>
114          <td class="md" nowrap valign="top">fchar *&nbsp;</td>
115          <td class="mdname" nowrap> <em>output</em>, </td>
116        </tr>
117        <tr>
118          <td class="md" nowrap align="right"></td>
119          <td class="md"></td>
120          <td class="md" nowrap>uint32&nbsp;</td>
121          <td class="mdname" nowrap> <em>length</em>, </td>
122        </tr>
123        <tr>
124          <td class="md" nowrap align="right"></td>
125          <td class="md"></td>
126          <td class="md" nowrap>int32&nbsp;</td>
127          <td class="mdname" nowrap> <em>i</em></td>
128        </tr>
129        <tr>
130          <td class="md"></td>
131          <td class="md">)&nbsp;</td>
132          <td class="md" colspan="2"><code> [inline]</code></td>
133        </tr>
134      </table>
135    </td>
136  </tr>
137</table>
138<table cellspacing="5" cellpadding="0" border="0">
139  <tr>
140    <td>
141      &nbsp;
142    </td>
143    <td>
144
145<p>
146Converts a signed integer into the given constant-sized string.
147<p>
148<dl compact><dt><b>Parameters:</b></dt><dd>
149  <table border="0" cellspacing="2" cellpadding="0">
150    <tr><td valign="top"></td><td valign="top"><em>output</em>&nbsp;</td><td>A constant-sized string. </td></tr>
151    <tr><td valign="top"></td><td valign="top"><em>length</em>&nbsp;</td><td>The size of the constant-sized string. </td></tr>
152    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>A signed integer. </td></tr>
153  </table>
154</dl>
155    </td>
156  </tr>
157</table>
158<a class="anchor" name="aff4403847c01494c22fe22bce34d16b"></a><!-- doxytag: member="SFprintF::PrintUInt32" ref="aff4403847c01494c22fe22bce34d16b" args="(fchar *output, uint32 length, uint32 i)" --><p>
159<table class="mdTable" cellpadding="2" cellspacing="0">
160  <tr>
161    <td class="mdRow">
162      <table cellpadding="0" cellspacing="0" border="0">
163        <tr>
164          <td class="md" nowrap valign="top">void SFprintF::PrintUInt32           </td>
165          <td class="md" valign="top">(&nbsp;</td>
166          <td class="md" nowrap valign="top">fchar *&nbsp;</td>
167          <td class="mdname" nowrap> <em>output</em>, </td>
168        </tr>
169        <tr>
170          <td class="md" nowrap align="right"></td>
171          <td class="md"></td>
172          <td class="md" nowrap>uint32&nbsp;</td>
173          <td class="mdname" nowrap> <em>length</em>, </td>
174        </tr>
175        <tr>
176          <td class="md" nowrap align="right"></td>
177          <td class="md"></td>
178          <td class="md" nowrap>uint32&nbsp;</td>
179          <td class="mdname" nowrap> <em>i</em></td>
180        </tr>
181        <tr>
182          <td class="md"></td>
183          <td class="md">)&nbsp;</td>
184          <td class="md" colspan="2"><code> [inline]</code></td>
185        </tr>
186      </table>
187    </td>
188  </tr>
189</table>
190<table cellspacing="5" cellpadding="0" border="0">
191  <tr>
192    <td>
193      &nbsp;
194    </td>
195    <td>
196
197<p>
198Converts an unsigned integer into the given constant-sized string.
199<p>
200<dl compact><dt><b>Parameters:</b></dt><dd>
201  <table border="0" cellspacing="2" cellpadding="0">
202    <tr><td valign="top"></td><td valign="top"><em>output</em>&nbsp;</td><td>A constant-sized string. </td></tr>
203    <tr><td valign="top"></td><td valign="top"><em>length</em>&nbsp;</td><td>The size of the constant-sized string. </td></tr>
204    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>An unsigned integer. </td></tr>
205  </table>
206</dl>
207    </td>
208  </tr>
209</table>
210<a class="anchor" name="5c9dde3dd946889f6d5e254305001055"></a><!-- doxytag: member="SFprintF::PrintUInt64" ref="5c9dde3dd946889f6d5e254305001055" args="(fchar *output, uint32 length, uint64 i)" --><p>
211<table class="mdTable" cellpadding="2" cellspacing="0">
212  <tr>
213    <td class="mdRow">
214      <table cellpadding="0" cellspacing="0" border="0">
215        <tr>
216          <td class="md" nowrap valign="top">void SFprintF::PrintUInt64           </td>
217          <td class="md" valign="top">(&nbsp;</td>
218          <td class="md" nowrap valign="top">fchar *&nbsp;</td>
219          <td class="mdname" nowrap> <em>output</em>, </td>
220        </tr>
221        <tr>
222          <td class="md" nowrap align="right"></td>
223          <td class="md"></td>
224          <td class="md" nowrap>uint32&nbsp;</td>
225          <td class="mdname" nowrap> <em>length</em>, </td>
226        </tr>
227        <tr>
228          <td class="md" nowrap align="right"></td>
229          <td class="md"></td>
230          <td class="md" nowrap>uint64&nbsp;</td>
231          <td class="mdname" nowrap> <em>i</em></td>
232        </tr>
233        <tr>
234          <td class="md"></td>
235          <td class="md">)&nbsp;</td>
236          <td class="md" colspan="2"><code> [inline]</code></td>
237        </tr>
238      </table>
239    </td>
240  </tr>
241</table>
242<table cellspacing="5" cellpadding="0" border="0">
243  <tr>
244    <td>
245      &nbsp;
246    </td>
247    <td>
248
249<p>
250Converts an unsigned integer into the given constant-sized string.
251<p>
252<dl compact><dt><b>Parameters:</b></dt><dd>
253  <table border="0" cellspacing="2" cellpadding="0">
254    <tr><td valign="top"></td><td valign="top"><em>output</em>&nbsp;</td><td>A constant-sized string. </td></tr>
255    <tr><td valign="top"></td><td valign="top"><em>length</em>&nbsp;</td><td>The size of the constant-sized string. </td></tr>
256    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>An unsigned integer. </td></tr>
257  </table>
258</dl>
259    </td>
260  </tr>
261</table>
262<a class="anchor" name="baf2df4140c2aa3112f3790383e8056f"></a><!-- doxytag: member="SFprintF::StrLen" ref="baf2df4140c2aa3112f3790383e8056f" args="(const fchar *in)" --><p>
263<table class="mdTable" cellpadding="2" cellspacing="0">
264  <tr>
265    <td class="mdRow">
266      <table cellpadding="0" cellspacing="0" border="0">
267        <tr>
268          <td class="md" nowrap valign="top">size_t SFprintF::StrLen           </td>
269          <td class="md" valign="top">(&nbsp;</td>
270          <td class="md" nowrap valign="top">const fchar *&nbsp;</td>
271          <td class="mdname1" valign="top" nowrap> <em>in</em>          </td>
272          <td class="md" valign="top">&nbsp;)&nbsp;</td>
273          <td class="md" nowrap><code> [inline]</code></td>
274        </tr>
275      </table>
276    </td>
277  </tr>
278</table>
279<table cellspacing="5" cellpadding="0" border="0">
280  <tr>
281    <td>
282      &nbsp;
283    </td>
284    <td>
285
286<p>
287Retrieves the length of a constant-sized string.
288<p>
289<dl compact><dt><b>Parameters:</b></dt><dd>
290  <table border="0" cellspacing="2" cellpadding="0">
291    <tr><td valign="top"></td><td valign="top"><em>in</em>&nbsp;</td><td>A character array which is terminated with a 'zero' element. </td></tr>
292  </table>
293</dl>
294<dl compact><dt><b>Returns:</b></dt><dd>The number of element preceeding the 'zero' element. </dd></dl>
295    </td>
296  </tr>
297</table>
298<hr>The documentation for this class was generated from the following file:<ul>
299<li>FUtils/<a class="el" href="_f_u_string_builder_8h-source.html">FUStringBuilder.h</a></ul>
300<hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:44 2006 for FCollada by&nbsp;
301<a href="http://www.doxygen.org/index.html">
302<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
303</body>
304</html>
Note: See TracBrowser for help on using the repository browser.