/usr/share/doc/libdime-doc/html/classdimeArray.html is in libdime-doc 0.20111205-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>dimeArray< T > Class Template Reference</title>
<link href="stylesheet.css" rel="stylesheet" type="text/css">
</head><body><table width="100%">
<tr>
<td>
<img src="Coin_logo.png" alt="Coin Logo">
</td>
<td align="right">
<a href="http://www.coin3d.org/">http://www.coin3d.org/</a><br />
<a href="http://www.kongsberg.com/kogt/">http://www.kongsberg.com/kogt/</a><br />
</td>
</tr>
</table>
<hr noshade />
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classdimeArray-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">dimeArray< T > Class Template Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The <a class="el" href="classdimeArray.html" title="The dimeArray class is internal / private. ">dimeArray</a> class is internal / private.
<a href="classdimeArray.html#details">More...</a></p>
<p><code>#include <<a class="el" href="Array_8h_source.html">dime/util/Array.h</a>></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa5e0966c4ad5c618708f09591a0904c6"><td class="memItemLeft" align="right" valign="top"><a id="aa5e0966c4ad5c618708f09591a0904c6"></a>
 </td><td class="memItemRight" valign="bottom"><b>dimeArray</b> (const int initsize=4)</td></tr>
<tr class="separator:aa5e0966c4ad5c618708f09591a0904c6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a75b56d0fcfa7fcdfb691faaa51879583"><td class="memItemLeft" align="right" valign="top"><a id="a75b56d0fcfa7fcdfb691faaa51879583"></a>
void </td><td class="memItemRight" valign="bottom"><b>append</b> (const T &value)</td></tr>
<tr class="separator:a75b56d0fcfa7fcdfb691faaa51879583"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a00ac62310e015b2ea643d297cbb16b31"><td class="memItemLeft" align="right" valign="top"><a id="a00ac62310e015b2ea643d297cbb16b31"></a>
void </td><td class="memItemRight" valign="bottom"><b>append</b> (const <a class="el" href="classdimeArray.html">dimeArray</a>< T > &array)</td></tr>
<tr class="separator:a00ac62310e015b2ea643d297cbb16b31"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a51fc8ff4d0e1cda3a4a59f6397f36a57"><td class="memItemLeft" align="right" valign="top"><a id="a51fc8ff4d0e1cda3a4a59f6397f36a57"></a>
void </td><td class="memItemRight" valign="bottom"><b>prepend</b> (const <a class="el" href="classdimeArray.html">dimeArray</a>< T > &array)</td></tr>
<tr class="separator:a51fc8ff4d0e1cda3a4a59f6397f36a57"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a83431ef2d41b6d8e1edebfb47f0daf2c"><td class="memItemLeft" align="right" valign="top"><a id="a83431ef2d41b6d8e1edebfb47f0daf2c"></a>
void </td><td class="memItemRight" valign="bottom"><b>insertElem</b> (const int idx, const T &value)</td></tr>
<tr class="separator:a83431ef2d41b6d8e1edebfb47f0daf2c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a071ceb311c90efad3061205bc0b9acdf"><td class="memItemLeft" align="right" valign="top"><a id="a071ceb311c90efad3061205bc0b9acdf"></a>
void </td><td class="memItemRight" valign="bottom"><b>setElem</b> (const int index, const T &value)</td></tr>
<tr class="separator:a071ceb311c90efad3061205bc0b9acdf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae15140db21979e3cfae5390bba28f9fc"><td class="memItemLeft" align="right" valign="top"><a id="ae15140db21979e3cfae5390bba28f9fc"></a>
T </td><td class="memItemRight" valign="bottom"><b>getElem</b> (const int index) const</td></tr>
<tr class="separator:ae15140db21979e3cfae5390bba28f9fc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a37503fda24ee174f1edc0c0daf0475a8"><td class="memItemLeft" align="right" valign="top"><a id="a37503fda24ee174f1edc0c0daf0475a8"></a>
void </td><td class="memItemRight" valign="bottom"><b>getElem</b> (const int index, T &elem) const</td></tr>
<tr class="separator:a37503fda24ee174f1edc0c0daf0475a8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8288751c705595fd6ab45f6e426c193a"><td class="memItemLeft" align="right" valign="top"><a id="a8288751c705595fd6ab45f6e426c193a"></a>
T </td><td class="memItemRight" valign="bottom"><b>getLastElem</b> () const</td></tr>
<tr class="separator:a8288751c705595fd6ab45f6e426c193a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4640e27857eebadf01e70e15a3b0499d"><td class="memItemLeft" align="right" valign="top"><a id="a4640e27857eebadf01e70e15a3b0499d"></a>
void </td><td class="memItemRight" valign="bottom"><b>getLastElem</b> (T &elem) const</td></tr>
<tr class="separator:a4640e27857eebadf01e70e15a3b0499d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a99551c05f6150c35e205d2c605501192"><td class="memItemLeft" align="right" valign="top"><a id="a99551c05f6150c35e205d2c605501192"></a>
T & </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (const int index)</td></tr>
<tr class="separator:a99551c05f6150c35e205d2c605501192"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a872c30276d398904afd16c2ad52d2887"><td class="memItemLeft" align="right" valign="top"><a id="a872c30276d398904afd16c2ad52d2887"></a>
T </td><td class="memItemRight" valign="bottom"><b>operator[]</b> (const int index) const</td></tr>
<tr class="separator:a872c30276d398904afd16c2ad52d2887"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9a8eff67a38404cc8ddc3456d9c6d71f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeArray.html#a9a8eff67a38404cc8ddc3456d9c6d71f">removeElem</a> (const int index)</td></tr>
<tr class="separator:a9a8eff67a38404cc8ddc3456d9c6d71f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5333d0fa9ab65b27de5fbe05325f84b5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeArray.html#a5333d0fa9ab65b27de5fbe05325f84b5">removeElemFast</a> (const int index)</td></tr>
<tr class="separator:a5333d0fa9ab65b27de5fbe05325f84b5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a407eb4ed84e9e84a64ba5edbf420de02"><td class="memItemLeft" align="right" valign="top"><a id="a407eb4ed84e9e84a64ba5edbf420de02"></a>
void </td><td class="memItemRight" valign="bottom"><b>reverse</b> ()</td></tr>
<tr class="separator:a407eb4ed84e9e84a64ba5edbf420de02"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a831458028ce692871a5b8478c69012af"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeArray.html#a831458028ce692871a5b8478c69012af">setCount</a> (const int <a class="el" href="classdimeArray.html#a54a7701b4ecab42fff8f12984b5704e2">count</a>)</td></tr>
<tr class="separator:a831458028ce692871a5b8478c69012af"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2bf3a91f40f7e1034b0b7640cdb91237"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeArray.html#a2bf3a91f40f7e1034b0b7640cdb91237">makeEmpty</a> (const int initsize=4)</td></tr>
<tr class="separator:a2bf3a91f40f7e1034b0b7640cdb91237"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6f5d1b4b4047077ebf37cd7a86a289cd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeArray.html#a6f5d1b4b4047077ebf37cd7a86a289cd">freeMemory</a> ()</td></tr>
<tr class="separator:a6f5d1b4b4047077ebf37cd7a86a289cd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a54a7701b4ecab42fff8f12984b5704e2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeArray.html#a54a7701b4ecab42fff8f12984b5704e2">count</a> () const</td></tr>
<tr class="separator:a54a7701b4ecab42fff8f12984b5704e2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8ca927e4ea6a12978504686fb2e0128e"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeArray.html#a8ca927e4ea6a12978504686fb2e0128e">allocSize</a> () const</td></tr>
<tr class="separator:a8ca927e4ea6a12978504686fb2e0128e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac59a9ce50a282c6919357120a7b3dc1e"><td class="memItemLeft" align="right" valign="top">T * </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeArray.html#ac59a9ce50a282c6919357120a7b3dc1e">arrayPointer</a> ()</td></tr>
<tr class="separator:ac59a9ce50a282c6919357120a7b3dc1e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab2416d83c990f1fadb2644ced5d0d085"><td class="memItemLeft" align="right" valign="top">const T * </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeArray.html#ab2416d83c990f1fadb2644ced5d0d085">constArrayPointer</a> () const</td></tr>
<tr class="separator:ab2416d83c990f1fadb2644ced5d0d085"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af4b1b292d4fe1d7a077b7714b238bdcf"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeArray.html#af4b1b292d4fe1d7a077b7714b238bdcf">shrinkToFit</a> ()</td></tr>
<tr class="separator:af4b1b292d4fe1d7a077b7714b238bdcf"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template<class T><br />
class dimeArray< T ></h3>
<p>The <a class="el" href="classdimeArray.html" title="The dimeArray class is internal / private. ">dimeArray</a> class is internal / private. </p>
<p>The <a class="el" href="classdimeArray.html" title="The dimeArray class is internal / private. ">dimeArray</a> class is a container class for a growable array. Whenever the allocated space for the array becomes too small, the array is moved to a memory block that is twice as large. This class is dangerous to use, because it does not check for bounds and other things for efficiency reasons. Inspect the source code - don't assume anything... </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a8ca927e4ea6a12978504686fb2e0128e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ca927e4ea6a12978504686fb2e0128e">◆ </a></span>allocSize()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="classdimeArray.html">dimeArray</a>< T >::allocSize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method returns the size allocated for the array. </p>
</div>
</div>
<a id="ac59a9ce50a282c6919357120a7b3dc1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac59a9ce50a282c6919357120a7b3dc1e">◆ </a></span>arrayPointer()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">T * <a class="el" href="classdimeArray.html">dimeArray</a>< T >::arrayPointer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method returns a pointer to the allocated array. </p>
</div>
</div>
<a id="ab2416d83c990f1fadb2644ced5d0d085"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2416d83c990f1fadb2644ced5d0d085">◆ </a></span>constArrayPointer()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const T * <a class="el" href="classdimeArray.html">dimeArray</a>< T >::constArrayPointer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method returns a pointer to the allocated array. </p>
<p class="reference">Referenced by <a class="el" href="classdimeBlock.html#ab6774c182ecad935bbd1dd1954bba8e7">dimeBlock::copy()</a>, and <a class="el" href="classdimeEntitiesSection.html#a0e69f29f0a9e231602674fd6159de23c">dimeEntitiesSection::~dimeEntitiesSection()</a>.</p>
</div>
</div>
<a id="a54a7701b4ecab42fff8f12984b5704e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54a7701b4ecab42fff8f12984b5704e2">◆ </a></span>count()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int <a class="el" href="classdimeArray.html">dimeArray</a>< T >::count </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method returns the number of elements in the array. </p>
<p class="reference">Referenced by <a class="el" href="classdimeModel.html#a9c3cc1dda8637364cd8c91abaa570718">dimeModel::addLayer()</a>, <a class="el" href="classdxfLayerData.html#a0ee3b4c5d734c02b23f51498bc7d55b5">dxfLayerData::addLine()</a>, <a class="el" href="classdimeBSPTree.html#ad0d00da31b467264775609b4dd818dd9">dimeBSPTree::addPoint()</a>, <a class="el" href="classdimeModel.html#ab6fb494e1ec44a0cc5648c17df95ef7c">dimeModel::copy()</a>, <a class="el" href="classdimeBlock.html#ab6774c182ecad935bbd1dd1954bba8e7">dimeBlock::copy()</a>, <a class="el" href="classdimeTablesSection.html#a903cfa1575fce51f7d3559c3ba5512a9">dimeTablesSection::countRecords()</a>, <a class="el" href="classdimeBlocksSection.html#a0ab8b6707f79dfdeac166b9ffe77eff1">dimeBlocksSection::countRecords()</a>, <a class="el" href="classdimeEntitiesSection.html#a751cbaaa463ff8b5533cc4be81a39a94">dimeEntitiesSection::countRecords()</a>, <a class="el" href="classdimeClassesSection.html#a89bbf0249f36023862ebf84b063d3386">dimeClassesSection::countRecords()</a>, <a class="el" href="classdimeObjectsSection.html#a87b8dbf56bc74f3265f4d5c5bd6f3d04">dimeObjectsSection::countRecords()</a>, <a class="el" href="classdimeTable.html#ad4c73384c11f857d33a4bef9ff51494f">dimeTable::countRecords()</a>, <a class="el" href="classdimeHeaderSection.html#adeb601b6aaadc5894063a96f257229e7">dimeHeaderSection::countRecords()</a>, <a class="el" href="classdimeModel.html#a06ed10cba87619c204a0cda74576fb2d">dimeModel::countRecords()</a>, <a class="el" href="classdimeBlock.html#a9e8acd13c60dd59556a1a5344d861cfc">dimeBlock::countRecords()</a>, <a class="el" href="classdimeModel.html#adba52b121c722b79a6418267e3a1b25f">dimeModel::findSection()</a>, <a class="el" href="classdimeBlocksSection.html#acceb65c2f42d356fceed002c61572535">dimeBlocksSection::fixReferences()</a>, <a class="el" href="classdimeEntitiesSection.html#a8c849d810c9fe305b5645da1a6efbf3e">dimeEntitiesSection::fixReferences()</a>, <a class="el" href="classdimeBlock.html#a9f10da3a145908cf5519c10be32b880e">dimeBlock::fixReferences()</a>, <a class="el" href="classdimeBlocksSection.html#ac71a60bc07333d1b163f47e4a3e8b00f">dimeBlocksSection::getBlock()</a>, <a class="el" href="classdimeClassesSection.html#ae8246f07c59395e4e275e99eea45f17d">dimeClassesSection::getClass()</a>, <a class="el" href="classdimeEntitiesSection.html#ac996bb421ecfe8929476b88c351fd276">dimeEntitiesSection::getEntity()</a>, <a class="el" href="classdimeModel.html#ad4c084a57d9f97b82cbe147ce0f728a1">dimeModel::getLayer()</a>, <a class="el" href="classdimeBlocksSection.html#aaeaf6597721b284c1c0ad819f4d24c0a">dimeBlocksSection::getNumBlocks()</a>, <a class="el" href="classdimeClassesSection.html#aa5d057f6bd6b7d0e21355263be132bdb">dimeClassesSection::getNumClasses()</a>, <a class="el" href="classdimeEntitiesSection.html#a4f0941b75dff5c41a298f9c6a7ce24f4">dimeEntitiesSection::getNumEntities()</a>, <a class="el" href="classdimeModel.html#a8804a68876e00d428bdb6c25a752bef3">dimeModel::getNumLayers()</a>, <a class="el" href="classdimeObjectsSection.html#afd1abc561b3f1cac53bbd3b7c878f2d6">dimeObjectsSection::getNumObjects()</a>, <a class="el" href="classdimeModel.html#a7a0e7edad087bc38602b90a635a5970f">dimeModel::getNumSections()</a>, <a class="el" href="classdimeTable.html#a9a2fbcb362f89a03025e668d3c6d3f73">dimeTable::getNumTableEntries()</a>, <a class="el" href="classdimeTable.html#a91694897f88560e63ad0dc46ab6f6bc9">dimeTable::getNumTableRecords()</a>, <a class="el" href="classdimeTablesSection.html#ac40c29fc2a85ab5523e823bbf1eac78c">dimeTablesSection::getNumTables()</a>, <a class="el" href="classdimeObjectsSection.html#a0b97b82fda7312923de8e98f0023f1e9">dimeObjectsSection::getObject()</a>, <a class="el" href="classdimeBSPTree.html#a5e5090272e17672b3204cfcb4adffb20">dimeBSPTree::getPoint()</a>, <a class="el" href="classdimeModel.html#a2ca8f42ef9d45b161edca47452c65688">dimeModel::getSection()</a>, <a class="el" href="classdimeTablesSection.html#aed9107cffb97d23b15981f8a9ec0cf1a">dimeTablesSection::getTable()</a>, <a class="el" href="classdimeTable.html#a88efe3fc50834e0c620678d0155d8a96">dimeTable::getTableEntry()</a>, <a class="el" href="classdimeTable.html#ad9c90bff93dde3fe3454f5f2746d1d59">dimeTable::getTableRecord()</a>, <a class="el" href="classdimeBSPTree.html#a4fa8954956246bc3c16ad76eca34ab24">dimeBSPTree::getUserData()</a>, <a class="el" href="classdimeHeaderSection.html#af704fc9c90a7d4739e728971592607cb">dimeHeaderSection::getVariable()</a>, <a class="el" href="classdimeBlocksSection.html#a3f305c518edf72e124d10a341caa956a">dimeBlocksSection::insertBlock()</a>, <a class="el" href="classdimeClassesSection.html#ab715c69eef0014439247344d99d31b27">dimeClassesSection::insertClass()</a>, <a class="el" href="classdimeEntitiesSection.html#a6fbffd978308007551afd8d9a0fbbef3">dimeEntitiesSection::insertEntity()</a>, <a class="el" href="classdimeBlock.html#a43078477c2e020a153b8de135cd14f95">dimeBlock::insertEntity()</a>, <a class="el" href="classdimeObjectsSection.html#a6b5081557bc962f812865c3cad52061e">dimeObjectsSection::insertObject()</a>, <a class="el" href="classdimeModel.html#a6ae45881a20d6e906b223ba8a4ce2265">dimeModel::insertSection()</a>, <a class="el" href="classdimeTablesSection.html#a8d0fdeb4ebd323446096230e6b28a14f">dimeTablesSection::insertTable()</a>, <a class="el" href="classdimeTable.html#ab1007b366cf6f4bc705d05f47e3da230">dimeTable::insertTableEntry()</a>, <a class="el" href="classdimeTable.html#a628a28c31a8dd7717247c85bddebb6a3">dimeTable::insertTableRecord()</a>, <a class="el" href="classdimeBSPTree.html#a91dd8b6ee22050113bef33e8095f9f6a">dimeBSPTree::numPoints()</a>, <a class="el" href="classdimeTablesSection.html#a055bcf8d9cde26a7f27434b8fafd3f73">dimeTablesSection::read()</a>, <a class="el" href="classdimeInsert.html#a1b9c9baae9eef9f83b10fadd67152efc">dimeInsert::read()</a>, <a class="el" href="classdimeRecordHolder.html#a1c352cacad3d4711dd522931908cee1e">dimeRecordHolder::read()</a>, <a class="el" href="classdimePolyline.html#af7cb5aab0453a8d224f171297da2e5f3">dimePolyline::read()</a>, <a class="el" href="classdimeBlocksSection.html#a7fc5a62272d85d1e9f7693ecf1bddbc5">dimeBlocksSection::removeBlock()</a>, <a class="el" href="classdimeClassesSection.html#acb1ddbde059a15513f1852033fbcf877">dimeClassesSection::removeClass()</a>, <a class="el" href="classdimeEntitiesSection.html#a51a1040471115fbc9da032f13351a8e8">dimeEntitiesSection::removeEntity()</a>, <a class="el" href="classdimeBlock.html#a807f9b0279102e54aaa87e93e149a079">dimeBlock::removeEntity()</a>, <a class="el" href="classdimeObjectsSection.html#a21d43f1ac202cd167473b18212e342ab">dimeObjectsSection::removeObject()</a>, <a class="el" href="classdimeBSPTree.html#ad84ad1eec9e4fbe59eadf2b806ef7bad">dimeBSPTree::removePoint()</a>, <a class="el" href="classdimeModel.html#acdd3c1eaa304606154d9f637efc4bf46">dimeModel::removeSection()</a>, <a class="el" href="classdimeTablesSection.html#a4b40d577e441996afbf681f0f3ecf91f">dimeTablesSection::removeTable()</a>, <a class="el" href="classdimeTable.html#ad87bd6cbc99d9446fbe324858a14e7ae">dimeTable::removeTableEntry()</a>, <a class="el" href="classdimeTable.html#a4b9007357ef54c818d372dff3519221d">dimeTable::removeTableRecord()</a>, <a class="el" href="classdimeArray.html#a831458028ce692871a5b8478c69012af">dimeArray< dimeBlock *>::setCount()</a>, <a class="el" href="classdimeRecordHolder.html#aec7cbfb81036eef1c7b7862b2deb9229">dimeRecordHolder::setRecords()</a>, <a class="el" href="classdimeBSPTree.html#a6b0f0610ca9380e85d24a69d1342dc84">dimeBSPTree::setUserData()</a>, <a class="el" href="classdimeHeaderSection.html#ae2a364e84e6c0eb3fb0bb567abdadcd0">dimeHeaderSection::setVariable()</a>, <a class="el" href="classdimeBlock.html#ac2346e2054a8480e8bfe99932bb95a21">dimeBlock::traverse()</a>, <a class="el" href="classdimeTable.html#ae97666c16c6e4ec1ef908e99ec8b5f4e">dimeTable::typeId()</a>, <a class="el" href="classdimeBlocksSection.html#abe4bbf80bd89468f66b88e78138c745e">dimeBlocksSection::write()</a>, <a class="el" href="classdimeTable.html#a480bce9f4e6e24a811d046da7864138b">dimeTable::write()</a>, <a class="el" href="classdimeModel.html#a5055905c82d651855c00c04d5daf8cb6">dimeModel::write()</a>, <a class="el" href="classdimeBlock.html#a8ef6516ae91c29e5bd0161b955fdf619">dimeBlock::write()</a>, <a class="el" href="classdxfLayerData.html#a3f12b5da16b8b05fd318e6c72ad735fa">dxfLayerData::writeWrl()</a>, <a class="el" href="classdimeBlock.html#a007853663ca6a9e888fb7f9df2fbc35a">dimeBlock::~dimeBlock()</a>, <a class="el" href="classdimeBlocksSection.html#ad9a846eea47e037fe5ae4ef296aa6ef4">dimeBlocksSection::~dimeBlocksSection()</a>, <a class="el" href="classdimeClassesSection.html#ab4479dcb8c75b33ed35203b98ab64b14">dimeClassesSection::~dimeClassesSection()</a>, <a class="el" href="classdimeEntitiesSection.html#a0e69f29f0a9e231602674fd6159de23c">dimeEntitiesSection::~dimeEntitiesSection()</a>, <a class="el" href="classdimeHeaderSection.html#a0c3ab5bc8c44304af5d32be76297f6cf">dimeHeaderSection::~dimeHeaderSection()</a>, <a class="el" href="classdimeModel.html#a01776cdda6edae951c4e0a0a5c29a8f2">dimeModel::~dimeModel()</a>, <a class="el" href="classdimeObjectsSection.html#a858fcca0d12fb72b7fd5a2ff5bc35908">dimeObjectsSection::~dimeObjectsSection()</a>, <a class="el" href="classdimeTable.html#a3f42a489d6d873415492cfef113d0e2f">dimeTable::~dimeTable()</a>, <a class="el" href="classdimeTablesSection.html#a0cd5a0a2707cfb1b848716f16cbc8e7f">dimeTablesSection::~dimeTablesSection()</a>, and <a class="el" href="classdimeUnknownSection.html#a326a55b334deba40389253630afc3b34">dimeUnknownSection::~dimeUnknownSection()</a>.</p>
</div>
</div>
<a id="a6f5d1b4b4047077ebf37cd7a86a289cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6f5d1b4b4047077ebf37cd7a86a289cd">◆ </a></span>freeMemory()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classdimeArray.html">dimeArray</a>< T >::freeMemory </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method frees all the memory used by the class. The <a class="el" href="classdimeArray.html" title="The dimeArray class is internal / private. ">dimeArray</a> class is probably unusable afterwards. </p>
</div>
</div>
<a id="a2bf3a91f40f7e1034b0b7640cdb91237"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2bf3a91f40f7e1034b0b7640cdb91237">◆ </a></span>makeEmpty()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classdimeArray.html">dimeArray</a>< T >::makeEmpty </td>
<td>(</td>
<td class="paramtype">const int </td>
<td class="paramname"><em>initsize</em> = <code>4</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method makes the logical array empty, and deallocates the memory used by it, only allocating space for a small array of size <em>initsize</em>. </p>
<p class="reference">Referenced by <a class="el" href="classdimeBSPTree.html#aac0def29f4206dae27438a8dddc11d7b">dimeBSPTree::clear()</a>, <a class="el" href="classdimeEntity.html#af41a4b6f052d158c29f166c2515bbbbd">dimeEntity::copyEntityArray()</a>, <a class="el" href="classdimeTable.html#a558c7ca8a4496cb470848755ff6715fb">dimeTable::read()</a>, <a class="el" href="classdimeBlock.html#aac41b0a9939a61cfa27de3ec0aaa21f3">dimeBlock::read()</a>, <a class="el" href="classdimeHeaderSection.html#ae2a364e84e6c0eb3fb0bb567abdadcd0">dimeHeaderSection::setVariable()</a>, <a class="el" href="classdimeClassesSection.html#ab4479dcb8c75b33ed35203b98ab64b14">dimeClassesSection::~dimeClassesSection()</a>, <a class="el" href="classdimeEntitiesSection.html#a0e69f29f0a9e231602674fd6159de23c">dimeEntitiesSection::~dimeEntitiesSection()</a>, <a class="el" href="classdimeObjectsSection.html#a858fcca0d12fb72b7fd5a2ff5bc35908">dimeObjectsSection::~dimeObjectsSection()</a>, <a class="el" href="classdimeTable.html#a3f42a489d6d873415492cfef113d0e2f">dimeTable::~dimeTable()</a>, and <a class="el" href="classdimeTablesSection.html#a0cd5a0a2707cfb1b848716f16cbc8e7f">dimeTablesSection::~dimeTablesSection()</a>.</p>
</div>
</div>
<a id="a9a8eff67a38404cc8ddc3456d9c6d71f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a8eff67a38404cc8ddc3456d9c6d71f">◆ </a></span>removeElem()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classdimeArray.html">dimeArray</a>< T >::removeElem </td>
<td>(</td>
<td class="paramtype">const int </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method removes an element from the array, moving all subsequent elements one position up. </p>
<p class="reference">Referenced by <a class="el" href="classdimeBlocksSection.html#a7fc5a62272d85d1e9f7693ecf1bddbc5">dimeBlocksSection::removeBlock()</a>, <a class="el" href="classdimeClassesSection.html#acb1ddbde059a15513f1852033fbcf877">dimeClassesSection::removeClass()</a>, <a class="el" href="classdimeEntitiesSection.html#a51a1040471115fbc9da032f13351a8e8">dimeEntitiesSection::removeEntity()</a>, <a class="el" href="classdimeBlock.html#a807f9b0279102e54aaa87e93e149a079">dimeBlock::removeEntity()</a>, <a class="el" href="classdimeObjectsSection.html#a21d43f1ac202cd167473b18212e342ab">dimeObjectsSection::removeObject()</a>, <a class="el" href="classdimeModel.html#acdd3c1eaa304606154d9f637efc4bf46">dimeModel::removeSection()</a>, <a class="el" href="classdimeTablesSection.html#a4b40d577e441996afbf681f0f3ecf91f">dimeTablesSection::removeTable()</a>, <a class="el" href="classdimeTable.html#ad87bd6cbc99d9446fbe324858a14e7ae">dimeTable::removeTableEntry()</a>, and <a class="el" href="classdimeTable.html#a4b9007357ef54c818d372dff3519221d">dimeTable::removeTableRecord()</a>.</p>
</div>
</div>
<a id="a5333d0fa9ab65b27de5fbe05325f84b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5333d0fa9ab65b27de5fbe05325f84b5">◆ </a></span>removeElemFast()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classdimeArray.html">dimeArray</a>< T >::removeElemFast </td>
<td>(</td>
<td class="paramtype">const int </td>
<td class="paramname"><em>index</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method removes an element from the array, and moves the last element into its place at the same index. The order of the elements is distorted, in other words. </p>
</div>
</div>
<a id="a831458028ce692871a5b8478c69012af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a831458028ce692871a5b8478c69012af">◆ </a></span>setCount()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classdimeArray.html">dimeArray</a>< T >::setCount </td>
<td>(</td>
<td class="paramtype">const int </td>
<td class="paramname"><em>count</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method sets the logical size of the array to <em>count</em> without changing the size of the array. Do not increase the array size with this function! This method is useful for reusing an array that will grow to approximately the same size each time it is used. </p>
<p class="reference">Referenced by <a class="el" href="classdimeEntity.html#af41a4b6f052d158c29f166c2515bbbbd">dimeEntity::copyEntityArray()</a>, <a class="el" href="classdimeFaceEntity.html#a59ae2f06d88465e2de26cb6db937afa7">dimeFaceEntity::extractGeometry()</a>, <a class="el" href="classdimeArc.html#abc81ccb02080ce389cbbfa71ce1e58e7">dimeArc::extractGeometry()</a>, <a class="el" href="classdimeEntity.html#ac05ceb27ce59e88f616b2d6e29cc965b">dimeEntity::extractGeometry()</a>, <a class="el" href="classdimePolyline.html#a71beeb74451a7b0c08454e7683d0662d">dimePolyline::extractGeometry()</a>, <a class="el" href="classdimeModel.html#a694b527c3e50ad71e8f730ecf1995343">dimeModel::init()</a>, and <a class="el" href="classdimeInput.html#a768660b8b3f804109411d36e84847ba8">dimeInput::~dimeInput()</a>.</p>
</div>
</div>
<a id="af4b1b292d4fe1d7a077b7714b238bdcf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4b1b292d4fe1d7a077b7714b238bdcf">◆ </a></span>shrinkToFit()</h2>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<class T > </div>
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classdimeArray.html">dimeArray</a>< T >::shrinkToFit </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This method moves the array into a memory block exactly the same size of the array. This will free up any overhead caused by the array doubling mechanism. </p>
<p class="reference">Referenced by <a class="el" href="classdimeBlock.html#a0f2a9736d89ac5d26f4e0d9538c09b4c">dimeBlock::fitEntities()</a>, <a class="el" href="classdimeTable.html#a558c7ca8a4496cb470848755ff6715fb">dimeTable::read()</a>, <a class="el" href="classdimeBlock.html#aac41b0a9939a61cfa27de3ec0aaa21f3">dimeBlock::read()</a>, and <a class="el" href="classdimeHeaderSection.html#ae2a364e84e6c0eb3fb0bb567abdadcd0">dimeHeaderSection::setVariable()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="Array_8h_source.html">Array.h</a></li>
<li>Array.cpp</li>
</ul>
</div><!-- contents -->
<hr noshade>
<p align="right">Copyright © by <a href="http://www.kongsberg.com/kogt">Kongsberg Oil & Gas Technologies</a>. All rights reserved.</p>
<address style="align: right;"><small>
Generated on Sat Jan 20 2018 13:16:37 for Dime by <a href="http://www.doxygen.org/">Doxygen</a> 1.8.13.</small></address>
</body>
</html>
|