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

Revision 964, 24.7 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: vector&lt; T &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>vector&lt; T &gt; Class Template Reference<br>
25<small>
26[<a class="el" href="group___f_math.html">Mathematics Classes.</a>]</small>
27</h1><!-- doxytag: class="vector" --><!-- doxytag: inherits="std::vector" -->A dynamically-sized array. 
28<a href="#_details">More...</a>
29<p>
30<code>#include &lt;<a class="el" href="_f_m_array_8h-source.html">FMArray.h</a>&gt;</code>
31<p>
32<p>Inheritance diagram for vector&lt; T &gt;:
33<p><center><img src="classvector.png" usemap="#vector< T >_map" border="0" alt=""></center>
34<map name="vector< T >_map">
35</map>
36<a href="classvector-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
37<tr><td></td></tr>
38<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
39<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="00d237f22fd5eb1aa9a536993e82e54f"></a><!-- doxytag: member="vector::vector" ref="00d237f22fd5eb1aa9a536993e82e54f" args="()" -->
40&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#00d237f22fd5eb1aa9a536993e82e54f">vector</a> ()</td></tr>
41
42<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default constructor. <br></td></tr>
43<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#3cf10ee7159dfcd1064bfd84a1eee5b9">vector</a> (size_t size)</td></tr>
44
45<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor: Builds a dynamically-sized array of the wanted size.  <a href="#3cf10ee7159dfcd1064bfd84a1eee5b9"></a><br></td></tr>
46<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#ba97da948950e44cce86e0120221b485">vector</a> (size_t size, const T &amp;defaultValue)</td></tr>
47
48<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor: Builds a dynamically-sized array of the wanted size.  <a href="#ba97da948950e44cce86e0120221b485"></a><br></td></tr>
49<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#660e3e68d9c63fbd94f1fce19e81fc6a">vector</a> (const std::vector &amp;copy)</td></tr>
50
51<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor.  <a href="#660e3e68d9c63fbd94f1fce19e81fc6a"></a><br></td></tr>
52<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#7168cb7468dc4c26338cef3625583474">vector</a> (const T *values, size_t count)</td></tr>
53
54<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor: Builds a dynamically-sized array from a constant-sized array.  <a href="#7168cb7468dc4c26338cef3625583474"></a><br></td></tr>
55<tr><td class="memTemplParams" nowrap colspan="2">template&lt;typename _T&gt; </td></tr>
56<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">iterator&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classvector.html#00c4d8fce908b64c9eb805dc37afb458">find</a> (const _T &amp;value)</td></tr>
57
58<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves an iterator for a given element.  <a href="#00c4d8fce908b64c9eb805dc37afb458"></a><br></td></tr>
59<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="0461a6982868798239a4f92d23a7d797"></a><!-- doxytag: member="vector::find" ref="0461a6982868798239a4f92d23a7d797" args="(const _T &amp;value) const " -->
60template&lt;typename _T&gt; </td></tr>
61<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const_iterator&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classvector.html#0461a6982868798239a4f92d23a7d797">find</a> (const _T &amp;value) const </td></tr>
62
63<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See above. <br></td></tr>
64<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#a001aee5cdea3ab9078a4d34b8a7b216">erase</a> (iterator it)</td></tr>
65
66<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes the value at the given position within the list.  <a href="#a001aee5cdea3ab9078a4d34b8a7b216"></a><br></td></tr>
67<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#422bfaab14978bc0324e7c9483e00123">erase</a> (iterator first, iterator last)</td></tr>
68
69<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes the value at the given position within the list.  <a href="#422bfaab14978bc0324e7c9483e00123"></a><br></td></tr>
70<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#15e2710e61daf283afcf4a11c3a9e325">erase</a> (const T &amp;value)</td></tr>
71
72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes a value contained within the list, once.  <a href="#15e2710e61daf283afcf4a11c3a9e325"></a><br></td></tr>
73<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#51bb78c4da81421022d2368e15de15e4">erase</a> (size_t index)</td></tr>
74
75<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Removes an indexed value contained within the list.  <a href="#51bb78c4da81421022d2368e15de15e4"></a><br></td></tr>
76<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#c819ae18b5b7c82e41ec3d470993430a">release</a> (const T &amp;value)</td></tr>
77
78<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Releases a value contained within a list.  <a href="#c819ae18b5b7c82e41ec3d470993430a"></a><br></td></tr>
79<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#a0603dbd3b02ecb677cb1b41df32c4f9">contains</a> (const T &amp;value) const </td></tr>
80
81<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retrieves whether the list contains a given value.  <a href="#a0603dbd3b02ecb677cb1b41df32c4f9"></a><br></td></tr>
82</table>
83<hr><a name="_details"></a><h2>Detailed Description</h2>
84<h3>template&lt;class T&gt;<br>
85 class vector&lt; T &gt;</h3>
86
87A dynamically-sized array.
88<p>
89Built on top of the standard C++ vector class, this class improves on the interface by adding useful extra functionality, such as constructor that takes in a constant-sized array, comparison which a constant-sized array, erase and find functions that take in a value, etc.
90<p>
91<hr><h2>Constructor &amp; Destructor Documentation</h2>
92<a class="anchor" name="3cf10ee7159dfcd1064bfd84a1eee5b9"></a><!-- doxytag: member="vector::vector" ref="3cf10ee7159dfcd1064bfd84a1eee5b9" args="(size_t size)" --><p>
93<table class="mdTable" cellpadding="2" cellspacing="0">
94  <tr>
95    <td class="mdRow">
96      <table cellpadding="0" cellspacing="0" border="0">
97        <tr>
98          <td class="mdPrefix" colspan="4">
99template&lt;class T&gt; </td>
100        </tr>
101        <tr>
102          <td class="md" nowrap valign="top"><a class="el" href="classvector.html">vector</a>&lt; T &gt;::<a class="el" href="classvector.html">vector</a>           </td>
103          <td class="md" valign="top">(&nbsp;</td>
104          <td class="md" nowrap valign="top">size_t&nbsp;</td>
105          <td class="mdname1" valign="top" nowrap> <em>size</em>          </td>
106          <td class="md" valign="top">&nbsp;)&nbsp;</td>
107          <td class="md" nowrap><code> [inline]</code></td>
108        </tr>
109      </table>
110    </td>
111  </tr>
112</table>
113<table cellspacing="5" cellpadding="0" border="0">
114  <tr>
115    <td>
116      &nbsp;
117    </td>
118    <td>
119
120<p>
121Constructor: Builds a dynamically-sized array of the wanted size.
122<p>
123<dl compact><dt><b>Parameters:</b></dt><dd>
124  <table border="0" cellspacing="2" cellpadding="0">
125    <tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>The wanted size of the array. </td></tr>
126  </table>
127</dl>
128    </td>
129  </tr>
130</table>
131<a class="anchor" name="ba97da948950e44cce86e0120221b485"></a><!-- doxytag: member="vector::vector" ref="ba97da948950e44cce86e0120221b485" args="(size_t size, const T &amp;defaultValue)" --><p>
132<table class="mdTable" cellpadding="2" cellspacing="0">
133  <tr>
134    <td class="mdRow">
135      <table cellpadding="0" cellspacing="0" border="0">
136        <tr>
137          <td class="mdPrefix" colspan="4">
138template&lt;class T&gt; </td>
139        </tr>
140        <tr>
141          <td class="md" nowrap valign="top"><a class="el" href="classvector.html">vector</a>&lt; T &gt;::<a class="el" href="classvector.html">vector</a>           </td>
142          <td class="md" valign="top">(&nbsp;</td>
143          <td class="md" nowrap valign="top">size_t&nbsp;</td>
144          <td class="mdname" nowrap> <em>size</em>, </td>
145        </tr>
146        <tr>
147          <td class="md" nowrap align="right"></td>
148          <td class="md"></td>
149          <td class="md" nowrap>const T &amp;&nbsp;</td>
150          <td class="mdname" nowrap> <em>defaultValue</em></td>
151        </tr>
152        <tr>
153          <td class="md"></td>
154          <td class="md">)&nbsp;</td>
155          <td class="md" colspan="2"><code> [inline]</code></td>
156        </tr>
157      </table>
158    </td>
159  </tr>
160</table>
161<table cellspacing="5" cellpadding="0" border="0">
162  <tr>
163    <td>
164      &nbsp;
165    </td>
166    <td>
167
168<p>
169Constructor: Builds a dynamically-sized array of the wanted size.
170<p>
171<dl compact><dt><b>Parameters:</b></dt><dd>
172  <table border="0" cellspacing="2" cellpadding="0">
173    <tr><td valign="top"></td><td valign="top"><em>size</em>&nbsp;</td><td>The wanted size of the array </td></tr>
174    <tr><td valign="top"></td><td valign="top"><em>defaultValue</em>&nbsp;</td><td>The default value to use for all the entries of the array. </td></tr>
175  </table>
176</dl>
177    </td>
178  </tr>
179</table>
180<a class="anchor" name="660e3e68d9c63fbd94f1fce19e81fc6a"></a><!-- doxytag: member="vector::vector" ref="660e3e68d9c63fbd94f1fce19e81fc6a" args="(const std::vector &amp;copy)" --><p>
181<table class="mdTable" cellpadding="2" cellspacing="0">
182  <tr>
183    <td class="mdRow">
184      <table cellpadding="0" cellspacing="0" border="0">
185        <tr>
186          <td class="mdPrefix" colspan="4">
187template&lt;class T&gt; </td>
188        </tr>
189        <tr>
190          <td class="md" nowrap valign="top"><a class="el" href="classvector.html">vector</a>&lt; T &gt;::<a class="el" href="classvector.html">vector</a>           </td>
191          <td class="md" valign="top">(&nbsp;</td>
192          <td class="md" nowrap valign="top">const std::vector&lt; T &gt; &amp;&nbsp;</td>
193          <td class="mdname1" valign="top" nowrap> <em>copy</em>          </td>
194          <td class="md" valign="top">&nbsp;)&nbsp;</td>
195          <td class="md" nowrap><code> [inline]</code></td>
196        </tr>
197      </table>
198    </td>
199  </tr>
200</table>
201<table cellspacing="5" cellpadding="0" border="0">
202  <tr>
203    <td>
204      &nbsp;
205    </td>
206    <td>
207
208<p>
209Copy constructor.
210<p>
211<dl compact><dt><b>Parameters:</b></dt><dd>
212  <table border="0" cellspacing="2" cellpadding="0">
213    <tr><td valign="top"></td><td valign="top"><em>copy</em>&nbsp;</td><td>The dynamically-sized array to copy the values from. </td></tr>
214  </table>
215</dl>
216    </td>
217  </tr>
218</table>
219<a class="anchor" name="7168cb7468dc4c26338cef3625583474"></a><!-- doxytag: member="vector::vector" ref="7168cb7468dc4c26338cef3625583474" args="(const T *values, size_t count)" --><p>
220<table class="mdTable" cellpadding="2" cellspacing="0">
221  <tr>
222    <td class="mdRow">
223      <table cellpadding="0" cellspacing="0" border="0">
224        <tr>
225          <td class="mdPrefix" colspan="4">
226template&lt;class T&gt; </td>
227        </tr>
228        <tr>
229          <td class="md" nowrap valign="top"><a class="el" href="classvector.html">vector</a>&lt; T &gt;::<a class="el" href="classvector.html">vector</a>           </td>
230          <td class="md" valign="top">(&nbsp;</td>
231          <td class="md" nowrap valign="top">const T *&nbsp;</td>
232          <td class="mdname" nowrap> <em>values</em>, </td>
233        </tr>
234        <tr>
235          <td class="md" nowrap align="right"></td>
236          <td class="md"></td>
237          <td class="md" nowrap>size_t&nbsp;</td>
238          <td class="mdname" nowrap> <em>count</em></td>
239        </tr>
240        <tr>
241          <td class="md"></td>
242          <td class="md">)&nbsp;</td>
243          <td class="md" colspan="2"><code> [inline]</code></td>
244        </tr>
245      </table>
246    </td>
247  </tr>
248</table>
249<table cellspacing="5" cellpadding="0" border="0">
250  <tr>
251    <td>
252      &nbsp;
253    </td>
254    <td>
255
256<p>
257Constructor: Builds a dynamically-sized array from a constant-sized array.
258<p>
259<dl compact><dt><b>Parameters:</b></dt><dd>
260  <table border="0" cellspacing="2" cellpadding="0">
261    <tr><td valign="top"></td><td valign="top"><em>values</em>&nbsp;</td><td>A constant-sized array of floating-point values. </td></tr>
262    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>The size of the constant-sized array. </td></tr>
263  </table>
264</dl>
265    </td>
266  </tr>
267</table>
268<hr><h2>Member Function Documentation</h2>
269<a class="anchor" name="a0603dbd3b02ecb677cb1b41df32c4f9"></a><!-- doxytag: member="vector::contains" ref="a0603dbd3b02ecb677cb1b41df32c4f9" args="(const T &amp;value) const " --><p>
270<table class="mdTable" cellpadding="2" cellspacing="0">
271  <tr>
272    <td class="mdRow">
273      <table cellpadding="0" cellspacing="0" border="0">
274        <tr>
275          <td class="mdPrefix" colspan="4">
276template&lt;class T&gt; </td>
277        </tr>
278        <tr>
279          <td class="md" nowrap valign="top">bool <a class="el" href="classvector.html">vector</a>&lt; T &gt;::contains           </td>
280          <td class="md" valign="top">(&nbsp;</td>
281          <td class="md" nowrap valign="top">const T &amp;&nbsp;</td>
282          <td class="mdname1" valign="top" nowrap> <em>value</em>          </td>
283          <td class="md" valign="top">&nbsp;)&nbsp;</td>
284          <td class="md" nowrap> const<code> [inline]</code></td>
285        </tr>
286      </table>
287    </td>
288  </tr>
289</table>
290<table cellspacing="5" cellpadding="0" border="0">
291  <tr>
292    <td>
293      &nbsp;
294    </td>
295    <td>
296
297<p>
298Retrieves whether the list contains a given value.
299<p>
300<dl compact><dt><b>Returns:</b></dt><dd>Whether the list contains a given value. </dd></dl>
301    </td>
302  </tr>
303</table>
304<a class="anchor" name="51bb78c4da81421022d2368e15de15e4"></a><!-- doxytag: member="vector::erase" ref="51bb78c4da81421022d2368e15de15e4" args="(size_t index)" --><p>
305<table class="mdTable" cellpadding="2" cellspacing="0">
306  <tr>
307    <td class="mdRow">
308      <table cellpadding="0" cellspacing="0" border="0">
309        <tr>
310          <td class="mdPrefix" colspan="4">
311template&lt;class T&gt; </td>
312        </tr>
313        <tr>
314          <td class="md" nowrap valign="top">void <a class="el" href="classvector.html">vector</a>&lt; T &gt;::erase           </td>
315          <td class="md" valign="top">(&nbsp;</td>
316          <td class="md" nowrap valign="top">size_t&nbsp;</td>
317          <td class="mdname1" valign="top" nowrap> <em>index</em>          </td>
318          <td class="md" valign="top">&nbsp;)&nbsp;</td>
319          <td class="md" nowrap><code> [inline]</code></td>
320        </tr>
321      </table>
322    </td>
323  </tr>
324</table>
325<table cellspacing="5" cellpadding="0" border="0">
326  <tr>
327    <td>
328      &nbsp;
329    </td>
330    <td>
331
332<p>
333Removes an indexed value contained within the list.
334<p>
335<dl compact><dt><b>Parameters:</b></dt><dd>
336  <table border="0" cellspacing="2" cellpadding="0">
337    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>The index of the value to erase. </td></tr>
338  </table>
339</dl>
340    </td>
341  </tr>
342</table>
343<a class="anchor" name="15e2710e61daf283afcf4a11c3a9e325"></a><!-- doxytag: member="vector::erase" ref="15e2710e61daf283afcf4a11c3a9e325" args="(const T &amp;value)" --><p>
344<table class="mdTable" cellpadding="2" cellspacing="0">
345  <tr>
346    <td class="mdRow">
347      <table cellpadding="0" cellspacing="0" border="0">
348        <tr>
349          <td class="mdPrefix" colspan="4">
350template&lt;class T&gt; </td>
351        </tr>
352        <tr>
353          <td class="md" nowrap valign="top">bool <a class="el" href="classvector.html">vector</a>&lt; T &gt;::erase           </td>
354          <td class="md" valign="top">(&nbsp;</td>
355          <td class="md" nowrap valign="top">const T &amp;&nbsp;</td>
356          <td class="mdname1" valign="top" nowrap> <em>value</em>          </td>
357          <td class="md" valign="top">&nbsp;)&nbsp;</td>
358          <td class="md" nowrap><code> [inline]</code></td>
359        </tr>
360      </table>
361    </td>
362  </tr>
363</table>
364<table cellspacing="5" cellpadding="0" border="0">
365  <tr>
366    <td>
367      &nbsp;
368    </td>
369    <td>
370
371<p>
372Removes a value contained within the list, once.
373<p>
374<dl compact><dt><b>Parameters:</b></dt><dd>
375  <table border="0" cellspacing="2" cellpadding="0">
376    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value, contained within the list, to erase from it. </td></tr>
377  </table>
378</dl>
379<dl compact><dt><b>Returns:</b></dt><dd>Whether the value was found and erased from the list. </dd></dl>
380    </td>
381  </tr>
382</table>
383<a class="anchor" name="422bfaab14978bc0324e7c9483e00123"></a><!-- doxytag: member="vector::erase" ref="422bfaab14978bc0324e7c9483e00123" args="(iterator first, iterator last)" --><p>
384<table class="mdTable" cellpadding="2" cellspacing="0">
385  <tr>
386    <td class="mdRow">
387      <table cellpadding="0" cellspacing="0" border="0">
388        <tr>
389          <td class="mdPrefix" colspan="4">
390template&lt;class T&gt; </td>
391        </tr>
392        <tr>
393          <td class="md" nowrap valign="top">void <a class="el" href="classvector.html">vector</a>&lt; T &gt;::erase           </td>
394          <td class="md" valign="top">(&nbsp;</td>
395          <td class="md" nowrap valign="top">iterator&nbsp;</td>
396          <td class="mdname" nowrap> <em>first</em>, </td>
397        </tr>
398        <tr>
399          <td class="md" nowrap align="right"></td>
400          <td class="md"></td>
401          <td class="md" nowrap>iterator&nbsp;</td>
402          <td class="mdname" nowrap> <em>last</em></td>
403        </tr>
404        <tr>
405          <td class="md"></td>
406          <td class="md">)&nbsp;</td>
407          <td class="md" colspan="2"><code> [inline]</code></td>
408        </tr>
409      </table>
410    </td>
411  </tr>
412</table>
413<table cellspacing="5" cellpadding="0" border="0">
414  <tr>
415    <td>
416      &nbsp;
417    </td>
418    <td>
419
420<p>
421Removes the value at the given position within the list.
422<p>
423<dl compact><dt><b>Parameters:</b></dt><dd>
424  <table border="0" cellspacing="2" cellpadding="0">
425    <tr><td valign="top"></td><td valign="top"><em>it</em>&nbsp;</td><td>The list position for the value to remove. </td></tr>
426  </table>
427</dl>
428    </td>
429  </tr>
430</table>
431<a class="anchor" name="a001aee5cdea3ab9078a4d34b8a7b216"></a><!-- doxytag: member="vector::erase" ref="a001aee5cdea3ab9078a4d34b8a7b216" args="(iterator it)" --><p>
432<table class="mdTable" cellpadding="2" cellspacing="0">
433  <tr>
434    <td class="mdRow">
435      <table cellpadding="0" cellspacing="0" border="0">
436        <tr>
437          <td class="mdPrefix" colspan="4">
438template&lt;class T&gt; </td>
439        </tr>
440        <tr>
441          <td class="md" nowrap valign="top">void <a class="el" href="classvector.html">vector</a>&lt; T &gt;::erase           </td>
442          <td class="md" valign="top">(&nbsp;</td>
443          <td class="md" nowrap valign="top">iterator&nbsp;</td>
444          <td class="mdname1" valign="top" nowrap> <em>it</em>          </td>
445          <td class="md" valign="top">&nbsp;)&nbsp;</td>
446          <td class="md" nowrap><code> [inline]</code></td>
447        </tr>
448      </table>
449    </td>
450  </tr>
451</table>
452<table cellspacing="5" cellpadding="0" border="0">
453  <tr>
454    <td>
455      &nbsp;
456    </td>
457    <td>
458
459<p>
460Removes the value at the given position within the list.
461<p>
462<dl compact><dt><b>Parameters:</b></dt><dd>
463  <table border="0" cellspacing="2" cellpadding="0">
464    <tr><td valign="top"></td><td valign="top"><em>it</em>&nbsp;</td><td>The list position for the value to remove. </td></tr>
465  </table>
466</dl>
467    </td>
468  </tr>
469</table>
470<a class="anchor" name="00c4d8fce908b64c9eb805dc37afb458"></a><!-- doxytag: member="vector::find" ref="00c4d8fce908b64c9eb805dc37afb458" args="(const _T &amp;value)" --><p>
471<table class="mdTable" cellpadding="2" cellspacing="0">
472  <tr>
473    <td class="mdRow">
474      <table cellpadding="0" cellspacing="0" border="0">
475        <tr>
476          <td class="mdPrefix" colspan="4">
477template&lt;class T&gt; </td>
478        </tr>
479        <tr>
480          <td class="mdPrefix" colspan="4">
481template&lt;typename _T&gt; </td>
482        </tr>
483        <tr>
484          <td class="md" nowrap valign="top">iterator <a class="el" href="classvector.html">vector</a>&lt; T &gt;::find           </td>
485          <td class="md" valign="top">(&nbsp;</td>
486          <td class="md" nowrap valign="top">const _T &amp;&nbsp;</td>
487          <td class="mdname1" valign="top" nowrap> <em>value</em>          </td>
488          <td class="md" valign="top">&nbsp;)&nbsp;</td>
489          <td class="md" nowrap><code> [inline]</code></td>
490        </tr>
491      </table>
492    </td>
493  </tr>
494</table>
495<table cellspacing="5" cellpadding="0" border="0">
496  <tr>
497    <td>
498      &nbsp;
499    </td>
500    <td>
501
502<p>
503Retrieves an iterator for a given element.
504<p>
505<dl compact><dt><b>Parameters:</b></dt><dd>
506  <table border="0" cellspacing="2" cellpadding="0">
507    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value, contained within the list, to search for. </td></tr>
508  </table>
509</dl>
510<dl compact><dt><b>Returns:</b></dt><dd>An iterator to this element. The end() iterator is returned if the value is not found. </dd></dl>
511    </td>
512  </tr>
513</table>
514<a class="anchor" name="c819ae18b5b7c82e41ec3d470993430a"></a><!-- doxytag: member="vector::release" ref="c819ae18b5b7c82e41ec3d470993430a" args="(const T &amp;value)" --><p>
515<table class="mdTable" cellpadding="2" cellspacing="0">
516  <tr>
517    <td class="mdRow">
518      <table cellpadding="0" cellspacing="0" border="0">
519        <tr>
520          <td class="mdPrefix" colspan="4">
521template&lt;class T&gt; </td>
522        </tr>
523        <tr>
524          <td class="md" nowrap valign="top">bool <a class="el" href="classvector.html">vector</a>&lt; T &gt;::release           </td>
525          <td class="md" valign="top">(&nbsp;</td>
526          <td class="md" nowrap valign="top">const T &amp;&nbsp;</td>
527          <td class="mdname1" valign="top" nowrap> <em>value</em>          </td>
528          <td class="md" valign="top">&nbsp;)&nbsp;</td>
529          <td class="md" nowrap><code> [inline]</code></td>
530        </tr>
531      </table>
532    </td>
533  </tr>
534</table>
535<table cellspacing="5" cellpadding="0" border="0">
536  <tr>
537    <td>
538      &nbsp;
539    </td>
540    <td>
541
542<p>
543Releases a value contained within a list.
544<p>
545Use this function only if your vector contains pointers and you are certain that there is no duplicate pointers within the list. <dl compact><dt><b>Parameters:</b></dt><dd>
546  <table border="0" cellspacing="2" cellpadding="0">
547    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value, contained within the list, to release. </td></tr>
548  </table>
549</dl>
550<dl compact><dt><b>Returns:</b></dt><dd>Whether the value was found and released. </dd></dl>
551    </td>
552  </tr>
553</table>
554<hr>The documentation for this class was generated from the following file:<ul>
555<li>FMath/<a class="el" href="_f_m_array_8h-source.html">FMArray.h</a></ul>
556<hr size="1"><address style="align: right;"><small>Generated on Fri May 12 16:44:44 2006 for FCollada by&nbsp;
557<a href="http://www.doxygen.org/index.html">
558<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
559</body>
560</html>
Note: See TracBrowser for help on using the repository browser.