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

Revision 964, 11.4 KB checked in by igarcia, 18 years ago (diff)
RevLine 
[964]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: SprintF 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>SprintF Class Reference</h1><!-- doxytag: class="SprintF" -->Encapsulates the 8-bit 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_sprint_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_sprint_f.html#f7e05374b4ff509f7a350aa728aa57d1">PrintInt32</a> (char *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="#f7e05374b4ff509f7a350aa728aa57d1"></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_sprint_f.html#2b620bbb5f367717d87f2c3a3b78ecb6">PrintUInt32</a> (char *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="#2b620bbb5f367717d87f2c3a3b78ecb6"></a><br></td></tr>
38<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1887ed57bf0cd1f8072f28f3aba30133"></a><!-- doxytag: member="SprintF::PrintUInt64" ref="1887ed57bf0cd1f8072f28f3aba30133" args="(char *output, uint32 length, uint64 i)" -->
39void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprint_f.html#1887ed57bf0cd1f8072f28f3aba30133">PrintUInt64</a> (char *output, uint32 length, uint64 i)</td></tr>
40
41<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
42<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprint_f.html#e92f15ccaff204641f4bc34aa2827a61">PrintFloat</a> (char *output, uint32 length, double f)</td></tr>
43
44<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts a floating-point value into the given constant-sized string.  <a href="#e92f15ccaff204641f4bc34aa2827a61"></a><br></td></tr>
45<tr><td class="memItemLeft" nowrap align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sprint_f.html#03ca2d1e8a136d608a9c543380ce08d4">StrLen</a> (const char *in)</td></tr>
46
47<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves the length of a constant-sized string.  <a href="#03ca2d1e8a136d608a9c543380ce08d4"></a><br></td></tr>
48</table>
49<hr><a name="_details"></a><h2>Detailed Description</h2>
50Encapsulates the 8-bit string numerical conversion functions.
51<p>
52The 'snprintf' function is used so no locale information is handled.
53<p>
54<hr><h2>Member Function Documentation</h2>
55<a class="anchor" name="e92f15ccaff204641f4bc34aa2827a61"></a><!-- doxytag: member="SprintF::PrintFloat" ref="e92f15ccaff204641f4bc34aa2827a61" args="(char *output, uint32 length, double f)" --><p>
56<table class="mdTable" cellpadding="2" cellspacing="0">
57  <tr>
58    <td class="mdRow">
59      <table cellpadding="0" cellspacing="0" border="0">
60        <tr>
61          <td class="md" nowrap valign="top">void SprintF::PrintFloat           </td>
62          <td class="md" valign="top">(&nbsp;</td>
63          <td class="md" nowrap valign="top">char *&nbsp;</td>
64          <td class="mdname" nowrap> <em>output</em>, </td>
65        </tr>
66        <tr>
67          <td class="md" nowrap align="right"></td>
68          <td class="md"></td>
69          <td class="md" nowrap>uint32&nbsp;</td>
70          <td class="mdname" nowrap> <em>length</em>, </td>
71        </tr>
72        <tr>
73          <td class="md" nowrap align="right"></td>
74          <td class="md"></td>
75          <td class="md" nowrap>double&nbsp;</td>
76          <td class="mdname" nowrap> <em>f</em></td>
77        </tr>
78        <tr>
79          <td class="md"></td>
80          <td class="md">)&nbsp;</td>
81          <td class="md" colspan="2"><code> [inline]</code></td>
82        </tr>
83      </table>
84    </td>
85  </tr>
86</table>
87<table cellspacing="5" cellpadding="0" border="0">
88  <tr>
89    <td>
90      &nbsp;
91    </td>
92    <td>
93
94<p>
95Converts a floating-point value into the given constant-sized string.
96<p>
97<dl compact><dt><b>Parameters:</b></dt><dd>
98  <table border="0" cellspacing="2" cellpadding="0">
99    <tr><td valign="top"></td><td valign="top"><em>output</em>&nbsp;</td><td>A constant-sized string. </td></tr>
100    <tr><td valign="top"></td><td valign="top"><em>length</em>&nbsp;</td><td>The size of the constant-sized string. </td></tr>
101    <tr><td valign="top"></td><td valign="top"><em>f</em>&nbsp;</td><td>A floating-point value. </td></tr>
102  </table>
103</dl>
104    </td>
105  </tr>
106</table>
107<a class="anchor" name="f7e05374b4ff509f7a350aa728aa57d1"></a><!-- doxytag: member="SprintF::PrintInt32" ref="f7e05374b4ff509f7a350aa728aa57d1" args="(char *output, uint32 length, int32 i)" --><p>
108<table class="mdTable" cellpadding="2" cellspacing="0">
109  <tr>
110    <td class="mdRow">
111      <table cellpadding="0" cellspacing="0" border="0">
112        <tr>
113          <td class="md" nowrap valign="top">void SprintF::PrintInt32           </td>
114          <td class="md" valign="top">(&nbsp;</td>
115          <td class="md" nowrap valign="top">char *&nbsp;</td>
116          <td class="mdname" nowrap> <em>output</em>, </td>
117        </tr>
118        <tr>
119          <td class="md" nowrap align="right"></td>
120          <td class="md"></td>
121          <td class="md" nowrap>uint32&nbsp;</td>
122          <td class="mdname" nowrap> <em>length</em>, </td>
123        </tr>
124        <tr>
125          <td class="md" nowrap align="right"></td>
126          <td class="md"></td>
127          <td class="md" nowrap>int32&nbsp;</td>
128          <td class="mdname" nowrap> <em>i</em></td>
129        </tr>
130        <tr>
131          <td class="md"></td>
132          <td class="md">)&nbsp;</td>
133          <td class="md" colspan="2"><code> [inline]</code></td>
134        </tr>
135      </table>
136    </td>
137  </tr>
138</table>
139<table cellspacing="5" cellpadding="0" border="0">
140  <tr>
141    <td>
142      &nbsp;
143    </td>
144    <td>
145
146<p>
147Converts a signed integer into the given constant-sized string.
148<p>
149<dl compact><dt><b>Parameters:</b></dt><dd>
150  <table border="0" cellspacing="2" cellpadding="0">
151    <tr><td valign="top"></td><td valign="top"><em>output</em>&nbsp;</td><td>A constant-sized string. </td></tr>
152    <tr><td valign="top"></td><td valign="top"><em>length</em>&nbsp;</td><td>The size of the constant-sized string. </td></tr>
153    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>A signed integer. </td></tr>
154  </table>
155</dl>
156    </td>
157  </tr>
158</table>
159<a class="anchor" name="2b620bbb5f367717d87f2c3a3b78ecb6"></a><!-- doxytag: member="SprintF::PrintUInt32" ref="2b620bbb5f367717d87f2c3a3b78ecb6" args="(char *output, uint32 length, uint32 i)" --><p>
160<table class="mdTable" cellpadding="2" cellspacing="0">
161  <tr>
162    <td class="mdRow">
163      <table cellpadding="0" cellspacing="0" border="0">
164        <tr>
165          <td class="md" nowrap valign="top">void SprintF::PrintUInt32           </td>
166          <td class="md" valign="top">(&nbsp;</td>
167          <td class="md" nowrap valign="top">char *&nbsp;</td>
168          <td class="mdname" nowrap> <em>output</em>, </td>
169        </tr>
170        <tr>
171          <td class="md" nowrap align="right"></td>
172          <td class="md"></td>
173          <td class="md" nowrap>uint32&nbsp;</td>
174          <td class="mdname" nowrap> <em>length</em>, </td>
175        </tr>
176        <tr>
177          <td class="md" nowrap align="right"></td>
178          <td class="md"></td>
179          <td class="md" nowrap>uint32&nbsp;</td>
180          <td class="mdname" nowrap> <em>i</em></td>
181        </tr>
182        <tr>
183          <td class="md"></td>
184          <td class="md">)&nbsp;</td>
185          <td class="md" colspan="2"><code> [inline]</code></td>
186        </tr>
187      </table>
188    </td>
189  </tr>
190</table>
191<table cellspacing="5" cellpadding="0" border="0">
192  <tr>
193    <td>
194      &nbsp;
195    </td>
196    <td>
197
198<p>
199Converts an unsigned integer into the given constant-sized string.
200<p>
201<dl compact><dt><b>Parameters:</b></dt><dd>
202  <table border="0" cellspacing="2" cellpadding="0">
203    <tr><td valign="top"></td><td valign="top"><em>output</em>&nbsp;</td><td>A constant-sized string. </td></tr>
204    <tr><td valign="top"></td><td valign="top"><em>length</em>&nbsp;</td><td>The size of the constant-sized string. </td></tr>
205    <tr><td valign="top"></td><td valign="top"><em>i</em>&nbsp;</td><td>An unsigned integer. </td></tr>
206  </table>
207</dl>
208    </td>
209  </tr>
210</table>
211<a class="anchor" name="03ca2d1e8a136d608a9c543380ce08d4"></a><!-- doxytag: member="SprintF::StrLen" ref="03ca2d1e8a136d608a9c543380ce08d4" args="(const char *in)" --><p>
212<table class="mdTable" cellpadding="2" cellspacing="0">
213  <tr>
214    <td class="mdRow">
215      <table cellpadding="0" cellspacing="0" border="0">
216        <tr>
217          <td class="md" nowrap valign="top">size_t SprintF::StrLen           </td>
218          <td class="md" valign="top">(&nbsp;</td>
219          <td class="md" nowrap valign="top">const char *&nbsp;</td>
220          <td class="mdname1" valign="top" nowrap> <em>in</em>          </td>
221          <td class="md" valign="top">&nbsp;)&nbsp;</td>
222          <td class="md" nowrap><code> [inline]</code></td>
223        </tr>
224      </table>
225    </td>
226  </tr>
227</table>
228<table cellspacing="5" cellpadding="0" border="0">
229  <tr>
230    <td>
231      &nbsp;
232    </td>
233    <td>
234
235<p>
236Retrieves the length of a constant-sized string.
237<p>
238<dl compact><dt><b>Parameters:</b></dt><dd>
239  <table border="0" cellspacing="2" cellpadding="0">
240    <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>
241  </table>
242</dl>
243<dl compact><dt><b>Returns:</b></dt><dd>The number of element preceeding the 'zero' element. </dd></dl>
244    </td>
245  </tr>
246</table>
247<hr>The documentation for this class was generated from the following file:<ul>
248<li>FUtils/<a class="el" href="_f_u_string_builder_8h-source.html">FUStringBuilder.h</a></ul>
249<hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:44 2006 for FCollada by&nbsp;
250<a href="http://www.doxygen.org/index.html">
251<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
252</body>
253</html>
Note: See TracBrowser for help on using the repository browser.