[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< T > 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 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 Pages</span></a></li> |
---|
| 16 | </ul></div> |
---|
| 17 | <div class="tabs"> |
---|
| 18 | <ul> |
---|
| 19 | <li><a href="classes.html"><span>Alphabetical List</span></a></li> |
---|
| 20 | <li><a href="annotated.html"><span>Class List</span></a></li> |
---|
| 21 | <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
---|
| 22 | <li><a href="functions.html"><span>Class Members</span></a></li> |
---|
| 23 | </ul></div> |
---|
| 24 | <h1>vector< T > 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 <<a class="el" href="_f_m_array_8h-source.html">FMArray.h</a>></code> |
---|
| 31 | <p> |
---|
| 32 | <p>Inheritance diagram for vector< T >: |
---|
| 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 | </td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#00d237f22fd5eb1aa9a536993e82e54f">vector</a> ()</td></tr> |
---|
| 41 | |
---|
| 42 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <br></td></tr> |
---|
| 43 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </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"> </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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#ba97da948950e44cce86e0120221b485">vector</a> (size_t size, const T &defaultValue)</td></tr> |
---|
| 47 | |
---|
| 48 | <tr><td class="mdescLeft"> </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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#660e3e68d9c63fbd94f1fce19e81fc6a">vector</a> (const std::vector &copy)</td></tr> |
---|
| 50 | |
---|
| 51 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#660e3e68d9c63fbd94f1fce19e81fc6a"></a><br></td></tr> |
---|
| 52 | <tr><td class="memItemLeft" nowrap align="right" valign="top"> </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"> </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<typename _T> </td></tr> |
---|
| 56 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">iterator </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classvector.html#00c4d8fce908b64c9eb805dc37afb458">find</a> (const _T &value)</td></tr> |
---|
| 57 | |
---|
| 58 | <tr><td class="mdescLeft"> </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 &value) const " --> |
---|
| 60 | template<typename _T> </td></tr> |
---|
| 61 | <tr><td class="memTemplItemLeft" nowrap align="right" valign="top">const_iterator </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classvector.html#0461a6982868798239a4f92d23a7d797">find</a> (const _T &value) const </td></tr> |
---|
| 62 | |
---|
| 63 | <tr><td class="mdescLeft"> </td><td class="mdescRight">See above. <br></td></tr> |
---|
| 64 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </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"> </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 </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"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#15e2710e61daf283afcf4a11c3a9e325">erase</a> (const T &value)</td></tr> |
---|
| 71 | |
---|
| 72 | <tr><td class="mdescLeft"> </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 </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"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#c819ae18b5b7c82e41ec3d470993430a">release</a> (const T &value)</td></tr> |
---|
| 77 | |
---|
| 78 | <tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classvector.html#a0603dbd3b02ecb677cb1b41df32c4f9">contains</a> (const T &value) const </td></tr> |
---|
| 80 | |
---|
| 81 | <tr><td class="mdescLeft"> </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<class T><br> |
---|
| 85 | class vector< T ></h3> |
---|
| 86 | |
---|
| 87 | A dynamically-sized array. |
---|
| 88 | <p> |
---|
| 89 | Built 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 & 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"> |
---|
| 99 | template<class T> </td> |
---|
| 100 | </tr> |
---|
| 101 | <tr> |
---|
| 102 | <td class="md" nowrap valign="top"><a class="el" href="classvector.html">vector</a>< T >::<a class="el" href="classvector.html">vector</a> </td> |
---|
| 103 | <td class="md" valign="top">( </td> |
---|
| 104 | <td class="md" nowrap valign="top">size_t </td> |
---|
| 105 | <td class="mdname1" valign="top" nowrap> <em>size</em> </td> |
---|
| 106 | <td class="md" valign="top"> ) </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 | |
---|
| 117 | </td> |
---|
| 118 | <td> |
---|
| 119 | |
---|
| 120 | <p> |
---|
| 121 | Constructor: 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> </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 &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"> |
---|
| 138 | template<class T> </td> |
---|
| 139 | </tr> |
---|
| 140 | <tr> |
---|
| 141 | <td class="md" nowrap valign="top"><a class="el" href="classvector.html">vector</a>< T >::<a class="el" href="classvector.html">vector</a> </td> |
---|
| 142 | <td class="md" valign="top">( </td> |
---|
| 143 | <td class="md" nowrap valign="top">size_t </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 & </td> |
---|
| 150 | <td class="mdname" nowrap> <em>defaultValue</em></td> |
---|
| 151 | </tr> |
---|
| 152 | <tr> |
---|
| 153 | <td class="md"></td> |
---|
| 154 | <td class="md">) </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 | |
---|
| 165 | </td> |
---|
| 166 | <td> |
---|
| 167 | |
---|
| 168 | <p> |
---|
| 169 | Constructor: 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> </td><td>The wanted size of the array </td></tr> |
---|
| 174 | <tr><td valign="top"></td><td valign="top"><em>defaultValue</em> </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 &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"> |
---|
| 187 | template<class T> </td> |
---|
| 188 | </tr> |
---|
| 189 | <tr> |
---|
| 190 | <td class="md" nowrap valign="top"><a class="el" href="classvector.html">vector</a>< T >::<a class="el" href="classvector.html">vector</a> </td> |
---|
| 191 | <td class="md" valign="top">( </td> |
---|
| 192 | <td class="md" nowrap valign="top">const std::vector< T > & </td> |
---|
| 193 | <td class="mdname1" valign="top" nowrap> <em>copy</em> </td> |
---|
| 194 | <td class="md" valign="top"> ) </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 | |
---|
| 205 | </td> |
---|
| 206 | <td> |
---|
| 207 | |
---|
| 208 | <p> |
---|
| 209 | Copy 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> </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"> |
---|
| 226 | template<class T> </td> |
---|
| 227 | </tr> |
---|
| 228 | <tr> |
---|
| 229 | <td class="md" nowrap valign="top"><a class="el" href="classvector.html">vector</a>< T >::<a class="el" href="classvector.html">vector</a> </td> |
---|
| 230 | <td class="md" valign="top">( </td> |
---|
| 231 | <td class="md" nowrap valign="top">const T * </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 </td> |
---|
| 238 | <td class="mdname" nowrap> <em>count</em></td> |
---|
| 239 | </tr> |
---|
| 240 | <tr> |
---|
| 241 | <td class="md"></td> |
---|
| 242 | <td class="md">) </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 | |
---|
| 253 | </td> |
---|
| 254 | <td> |
---|
| 255 | |
---|
| 256 | <p> |
---|
| 257 | Constructor: 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> </td><td>A constant-sized array of floating-point values. </td></tr> |
---|
| 262 | <tr><td valign="top"></td><td valign="top"><em>count</em> </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 &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"> |
---|
| 276 | template<class T> </td> |
---|
| 277 | </tr> |
---|
| 278 | <tr> |
---|
| 279 | <td class="md" nowrap valign="top">bool <a class="el" href="classvector.html">vector</a>< T >::contains </td> |
---|
| 280 | <td class="md" valign="top">( </td> |
---|
| 281 | <td class="md" nowrap valign="top">const T & </td> |
---|
| 282 | <td class="mdname1" valign="top" nowrap> <em>value</em> </td> |
---|
| 283 | <td class="md" valign="top"> ) </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 | |
---|
| 294 | </td> |
---|
| 295 | <td> |
---|
| 296 | |
---|
| 297 | <p> |
---|
| 298 | Retrieves 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"> |
---|
| 311 | template<class T> </td> |
---|
| 312 | </tr> |
---|
| 313 | <tr> |
---|
| 314 | <td class="md" nowrap valign="top">void <a class="el" href="classvector.html">vector</a>< T >::erase </td> |
---|
| 315 | <td class="md" valign="top">( </td> |
---|
| 316 | <td class="md" nowrap valign="top">size_t </td> |
---|
| 317 | <td class="mdname1" valign="top" nowrap> <em>index</em> </td> |
---|
| 318 | <td class="md" valign="top"> ) </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 | |
---|
| 329 | </td> |
---|
| 330 | <td> |
---|
| 331 | |
---|
| 332 | <p> |
---|
| 333 | Removes 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> </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 &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"> |
---|
| 350 | template<class T> </td> |
---|
| 351 | </tr> |
---|
| 352 | <tr> |
---|
| 353 | <td class="md" nowrap valign="top">bool <a class="el" href="classvector.html">vector</a>< T >::erase </td> |
---|
| 354 | <td class="md" valign="top">( </td> |
---|
| 355 | <td class="md" nowrap valign="top">const T & </td> |
---|
| 356 | <td class="mdname1" valign="top" nowrap> <em>value</em> </td> |
---|
| 357 | <td class="md" valign="top"> ) </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 | |
---|
| 368 | </td> |
---|
| 369 | <td> |
---|
| 370 | |
---|
| 371 | <p> |
---|
| 372 | Removes 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> </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"> |
---|
| 390 | template<class T> </td> |
---|
| 391 | </tr> |
---|
| 392 | <tr> |
---|
| 393 | <td class="md" nowrap valign="top">void <a class="el" href="classvector.html">vector</a>< T >::erase </td> |
---|
| 394 | <td class="md" valign="top">( </td> |
---|
| 395 | <td class="md" nowrap valign="top">iterator </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 </td> |
---|
| 402 | <td class="mdname" nowrap> <em>last</em></td> |
---|
| 403 | </tr> |
---|
| 404 | <tr> |
---|
| 405 | <td class="md"></td> |
---|
| 406 | <td class="md">) </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 | |
---|
| 417 | </td> |
---|
| 418 | <td> |
---|
| 419 | |
---|
| 420 | <p> |
---|
| 421 | Removes 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> </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"> |
---|
| 438 | template<class T> </td> |
---|
| 439 | </tr> |
---|
| 440 | <tr> |
---|
| 441 | <td class="md" nowrap valign="top">void <a class="el" href="classvector.html">vector</a>< T >::erase </td> |
---|
| 442 | <td class="md" valign="top">( </td> |
---|
| 443 | <td class="md" nowrap valign="top">iterator </td> |
---|
| 444 | <td class="mdname1" valign="top" nowrap> <em>it</em> </td> |
---|
| 445 | <td class="md" valign="top"> ) </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 | |
---|
| 456 | </td> |
---|
| 457 | <td> |
---|
| 458 | |
---|
| 459 | <p> |
---|
| 460 | Removes 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> </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 &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"> |
---|
| 477 | template<class T> </td> |
---|
| 478 | </tr> |
---|
| 479 | <tr> |
---|
| 480 | <td class="mdPrefix" colspan="4"> |
---|
| 481 | template<typename _T> </td> |
---|
| 482 | </tr> |
---|
| 483 | <tr> |
---|
| 484 | <td class="md" nowrap valign="top">iterator <a class="el" href="classvector.html">vector</a>< T >::find </td> |
---|
| 485 | <td class="md" valign="top">( </td> |
---|
| 486 | <td class="md" nowrap valign="top">const _T & </td> |
---|
| 487 | <td class="mdname1" valign="top" nowrap> <em>value</em> </td> |
---|
| 488 | <td class="md" valign="top"> ) </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 | |
---|
| 499 | </td> |
---|
| 500 | <td> |
---|
| 501 | |
---|
| 502 | <p> |
---|
| 503 | Retrieves 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> </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 &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"> |
---|
| 521 | template<class T> </td> |
---|
| 522 | </tr> |
---|
| 523 | <tr> |
---|
| 524 | <td class="md" nowrap valign="top">bool <a class="el" href="classvector.html">vector</a>< T >::release </td> |
---|
| 525 | <td class="md" valign="top">( </td> |
---|
| 526 | <td class="md" nowrap valign="top">const T & </td> |
---|
| 527 | <td class="mdname1" valign="top" nowrap> <em>value</em> </td> |
---|
| 528 | <td class="md" valign="top"> ) </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 | |
---|
| 539 | </td> |
---|
| 540 | <td> |
---|
| 541 | |
---|
| 542 | <p> |
---|
| 543 | Releases a value contained within a list. |
---|
| 544 | <p> |
---|
| 545 | Use 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> </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 |
---|
| 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> |
---|