/usr/share/doc/libdime-doc/html/classdimeTable.html is in libdime-doc 0.20030921-4.
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 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 | <HTML>
<HEAD>
<TITLE>DIME Source Code Documentation</TITLE>
<META NAME=description
CONTENT="Documentation for DIME">
<META NAME=keywords
CONTENT="DXF, AutoCAD, C++ class library">
</HEAD>
<BODY>
<!-- Generated by Doxygen 1.8.4 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classdimeTable-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">dimeTable Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The <a class="el" href="classdimeTable.html" title="The dimeTable class stores table entries. ">dimeTable</a> class stores table entries.
<a href="classdimeTable.html#details">More...</a></p>
<p><code>#include <<a class="el" href="Table_8h_source.html">dime/tables/Table.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for dimeTable:</div>
<div class="dyncontent">
<div class="center">
<img src="classdimeTable.png" usemap="#dimeTable_map" alt=""/>
<map id="dimeTable_map" name="dimeTable_map">
<area href="classdimeBase.html" title="The dimeBase class is the superclass for most classes in Dime. " alt="dimeBase" shape="rect" coords="0,0,69,24"/>
</map>
</div></div>
<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:ab8eda471bf4c16c80be1c705c02f2a78"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeTable.html#ab8eda471bf4c16c80be1c705c02f2a78">dimeTable</a> (<a class="el" href="classdimeMemHandler.html">dimeMemHandler</a> *const memhandler)</td></tr>
<tr class="separator:ab8eda471bf4c16c80be1c705c02f2a78"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3f42a489d6d873415492cfef113d0e2f"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeTable.html#a3f42a489d6d873415492cfef113d0e2f">~dimeTable</a> ()</td></tr>
<tr class="separator:a3f42a489d6d873415492cfef113d0e2f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a558c7ca8a4496cb470848755ff6715fb"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeTable.html#a558c7ca8a4496cb470848755ff6715fb">read</a> (<a class="el" href="classdimeInput.html">dimeInput</a> *const in)</td></tr>
<tr class="separator:a558c7ca8a4496cb470848755ff6715fb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a480bce9f4e6e24a811d046da7864138b"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeTable.html#a480bce9f4e6e24a811d046da7864138b">write</a> (<a class="el" href="classdimeOutput.html">dimeOutput</a> *const out)</td></tr>
<tr class="separator:a480bce9f4e6e24a811d046da7864138b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3b9e1d42cd339bf3f2fc8617c39f5565"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3b9e1d42cd339bf3f2fc8617c39f5565"></a>
<a class="el" href="classdimeTable.html">dimeTable</a> * </td><td class="memItemRight" valign="bottom"><b>copy</b> (<a class="el" href="classdimeModel.html">dimeModel</a> *const model) const </td></tr>
<tr class="separator:a3b9e1d42cd339bf3f2fc8617c39f5565"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5088a4ac86eff9d4223fd7ad13fd405f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeTable.html#a5088a4ac86eff9d4223fd7ad13fd405f">typeId</a> () const </td></tr>
<tr class="separator:a5088a4ac86eff9d4223fd7ad13fd405f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a89d49557a5218b09236038e10c8c377d"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeTable.html#a89d49557a5218b09236038e10c8c377d">countRecords</a> () const </td></tr>
<tr class="separator:a89d49557a5218b09236038e10c8c377d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a358078b66916002887f12dd3fcaf683b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a358078b66916002887f12dd3fcaf683b"></a>
int </td><td class="memItemRight" valign="bottom"><b>tableType</b> () const </td></tr>
<tr class="separator:a358078b66916002887f12dd3fcaf683b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a803c02d1699819f7c23fed5fac31d6b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a803c02d1699819f7c23fed5fac31d6b9"></a>
void </td><td class="memItemRight" valign="bottom"><b>setTableName</b> (const char *name)</td></tr>
<tr class="separator:a803c02d1699819f7c23fed5fac31d6b9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4923320b12d16ad03ff1db8a36ffea5b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4923320b12d16ad03ff1db8a36ffea5b"></a>
const char * </td><td class="memItemRight" valign="bottom"><b>tableName</b> () const </td></tr>
<tr class="separator:a4923320b12d16ad03ff1db8a36ffea5b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa6f401222557b6c15f2c7f1a9e6ab77a"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeTable.html#aa6f401222557b6c15f2c7f1a9e6ab77a">getNumTableEntries</a> () const </td></tr>
<tr class="separator:aa6f401222557b6c15f2c7f1a9e6ab77a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a88efe3fc50834e0c620678d0155d8a96"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdimeTableEntry.html">dimeTableEntry</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeTable.html#a88efe3fc50834e0c620678d0155d8a96">getTableEntry</a> (const int idx)</td></tr>
<tr class="separator:a88efe3fc50834e0c620678d0155d8a96"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab1007b366cf6f4bc705d05f47e3da230"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeTable.html#ab1007b366cf6f4bc705d05f47e3da230">insertTableEntry</a> (<a class="el" href="classdimeTableEntry.html">dimeTableEntry</a> *const tableEntry, const int idx=-1)</td></tr>
<tr class="separator:ab1007b366cf6f4bc705d05f47e3da230"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad87bd6cbc99d9446fbe324858a14e7ae"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeTable.html#ad87bd6cbc99d9446fbe324858a14e7ae">removeTableEntry</a> (const int idx)</td></tr>
<tr class="separator:ad87bd6cbc99d9446fbe324858a14e7ae"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa9ea1b455037769eb867cd86636a3d42"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeTable.html#aa9ea1b455037769eb867cd86636a3d42">getNumTableRecords</a> () const </td></tr>
<tr class="separator:aa9ea1b455037769eb867cd86636a3d42"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad9c90bff93dde3fe3454f5f2746d1d59"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdimeRecord.html">dimeRecord</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeTable.html#ad9c90bff93dde3fe3454f5f2746d1d59">getTableRecord</a> (const int idx)</td></tr>
<tr class="separator:ad9c90bff93dde3fe3454f5f2746d1d59"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a628a28c31a8dd7717247c85bddebb6a3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeTable.html#a628a28c31a8dd7717247c85bddebb6a3">insertTableRecord</a> (<a class="el" href="classdimeRecord.html">dimeRecord</a> *const record, const int idx=-1)</td></tr>
<tr class="separator:a628a28c31a8dd7717247c85bddebb6a3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4b9007357ef54c818d372dff3519221d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeTable.html#a4b9007357ef54c818d372dff3519221d">removeTableRecord</a> (const int idx)</td></tr>
<tr class="separator:a4b9007357ef54c818d372dff3519221d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classdimeBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classdimeBase')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classdimeBase.html">dimeBase</a></td></tr>
<tr class="memitem:a0bdfd8bc437e82ada19130573c44cadf inherit pub_methods_classdimeBase"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeBase.html#a0bdfd8bc437e82ada19130573c44cadf">dimeBase</a> (void)</td></tr>
<tr class="separator:a0bdfd8bc437e82ada19130573c44cadf inherit pub_methods_classdimeBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5001bd8f586f933a472bac5021af85f2 inherit pub_methods_classdimeBase"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeBase.html#a5001bd8f586f933a472bac5021af85f2">~dimeBase</a> ()</td></tr>
<tr class="separator:a5001bd8f586f933a472bac5021af85f2 inherit pub_methods_classdimeBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a53a402868f8bc4b87331a6aaaa1cee3c inherit pub_methods_classdimeBase"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeBase.html#a53a402868f8bc4b87331a6aaaa1cee3c">isOfType</a> (const int thetypeid) const </td></tr>
<tr class="separator:a53a402868f8bc4b87331a6aaaa1cee3c inherit pub_methods_classdimeBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aef7dcd69adbc5341cdcfe616c9b5f0a7 inherit pub_methods_classdimeBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef7dcd69adbc5341cdcfe616c9b5f0a7"></a>
void * </td><td class="memItemRight" valign="bottom"><b>operator new</b> (size_t size, <a class="el" href="classdimeMemHandler.html">dimeMemHandler</a> *memhandler=NULL, const int alignment=4)</td></tr>
<tr class="separator:aef7dcd69adbc5341cdcfe616c9b5f0a7 inherit pub_methods_classdimeBase"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a59a2109399a95bdf1f220ffb368e6105 inherit pub_methods_classdimeBase"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a59a2109399a95bdf1f220ffb368e6105"></a>
void </td><td class="memItemRight" valign="bottom"><b>operator delete</b> (void *ptr)</td></tr>
<tr class="separator:a59a2109399a95bdf1f220ffb368e6105 inherit pub_methods_classdimeBase"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_types_classdimeBase"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classdimeBase')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classdimeBase.html">dimeBase</a></td></tr>
<tr class="memitem:a7e8962e8d373008de108b9344fff70d6 inherit pub_types_classdimeBase"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom">{ <br/>
  <b>dimeBaseType</b> = 1,
<b>dimeRecordType</b>,
<b>dimeStringRecordType</b>,
<b>dimeFloatRecordType</b>,
<br/>
  <b>dimeDoubleRecordType</b>,
<b>dimeInt8RecordType</b>,
<b>dimeInt16RecordType</b>,
<b>dimeInt32RecordType</b>,
<br/>
  <b>dimeHexRecordType</b>,
<b>dimeRecordHolderType</b>,
<b>dimeClassType</b>,
<b>dimeUnknownClassType</b>,
<br/>
  <b>dimeObjectType</b>,
<b>dimeUnknownObjectType</b>,
<b>dimeEntityType</b>,
<b>dimeUnknownEntityType</b>,
<br/>
  <b>dimePolylineType</b>,
<b>dimeVertexType</b>,
<b>dimeFaceEntityType</b>,
<b>dimeExtrusionEntityType</b>,
<br/>
  <b>dime3DFaceType</b>,
<b>dimeSolidType</b>,
<b>dimeTraceType</b>,
<b>dimeLineType</b>,
<br/>
  <b>dimePointType</b>,
<b>dimeBlockType</b>,
<b>dimeInsertType</b>,
<b>dimeCircleType</b>,
<br/>
  <b>dimeArcType</b>,
<b>dimeLWPolylineType</b>,
<b>dimeEllipseType</b>,
<b>dimeSplineType</b>,
<br/>
  <b>dimeSectionType</b>,
<b>dimeUnknownSectionType</b>,
<b>dimeEntitiesSectionType</b>,
<b>dimeBlocksSectionType</b>,
<br/>
  <b>dimeTablesSectionType</b>,
<b>dimeHeaderSectionType</b>,
<b>dimeClassesSectionType</b>,
<b>dimeObjectsSectionType</b>,
<br/>
  <b>dimeTableType</b>,
<b>dimeTableEntryType</b>,
<b>dimeUnknownTableType</b>,
<b>dimeUCSTableType</b>,
<br/>
  <b>dimeLayerTableType</b>,
<b>dimeLastTypeTag</b>
<br/>
}</td></tr>
<tr class="separator:a7e8962e8d373008de108b9344fff70d6 inherit pub_types_classdimeBase"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="classdimeTable.html" title="The dimeTable class stores table entries. ">dimeTable</a> class stores table entries. </p>
<p>This class will not be allocated by the memory handler, but it will store a pointer to the memory handler, and it will be used to allocate table entries and records. </p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="ab8eda471bf4c16c80be1c705c02f2a78"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">dimeTable::dimeTable </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdimeMemHandler.html">dimeMemHandler</a> *const </td>
<td class="paramname"><em>memhandler</em>)</td><td></td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>
</div>
</div>
<a class="anchor" id="a3f42a489d6d873415492cfef113d0e2f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">dimeTable::~dimeTable </td>
<td>(</td>
<td class="paramname">)</td><td></td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a89d49557a5218b09236038e10c8c377d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dimeTable::countRecords </td>
<td>(</td>
<td class="paramname">)</td><td></td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Counts the number of records in this table. </p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>.</p>
</div>
</div>
<a class="anchor" id="aa6f401222557b6c15f2c7f1a9e6ab77a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dimeTable::getNumTableEntries </td>
<td>(</td>
<td class="paramname">)</td><td></td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of table enties in this table. </p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>.</p>
</div>
</div>
<a class="anchor" id="aa9ea1b455037769eb867cd86636a3d42"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dimeTable::getNumTableRecords </td>
<td>(</td>
<td class="paramname">)</td><td></td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of table records in this table. Table records precedes the table entries, and contain som information about this table. The max. entries record (group code 70), is handled automatically by this class, and should not be set by the user. </p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>.</p>
</div>
</div>
<a class="anchor" id="a88efe3fc50834e0c620678d0155d8a96"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classdimeTableEntry.html">dimeTableEntry</a> * dimeTable::getTableEntry </td>
<td>(</td>
<td class="paramtype">const int </td>
<td class="paramname"><em>idx</em>)</td><td></td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the table entry at index <em>idx</em>. </p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>.</p>
</div>
</div>
<a class="anchor" id="ad9c90bff93dde3fe3454f5f2746d1d59"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classdimeRecord.html">dimeRecord</a> * dimeTable::getTableRecord </td>
<td>(</td>
<td class="paramtype">const int </td>
<td class="paramname"><em>idx</em>)</td><td></td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the table record at index <em>idx</em>. </p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>.</p>
</div>
</div>
<a class="anchor" id="ab1007b366cf6f4bc705d05f47e3da230"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dimeTable::insertTableEntry </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdimeTableEntry.html">dimeTableEntry</a> *const </td>
<td class="paramname"><em>tableEntry</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const int </td>
<td class="paramname"><em>idx</em> = <code>-1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Inserts a new table entry at index <em>idx</em>. If <em>idx</em> is negative, the table entry will be inserted at the end of the list of tableEntries. </p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>.</p>
</div>
</div>
<a class="anchor" id="a628a28c31a8dd7717247c85bddebb6a3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dimeTable::insertTableRecord </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdimeRecord.html">dimeRecord</a> *const </td>
<td class="paramname"><em>record</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const int </td>
<td class="paramname"><em>idx</em> = <code>-1</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Inserts a new record at index <em>idx</em>. If <em>idx</em> is negative, the record will be inserted at the end of the list of records. </p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>, <a class="el" href="classdimeRecord.html#ae9cd97c07164b809456b38758ea8ade2">dimeRecord::getGroupCode()</a>, and <a class="el" href="classdimeStringRecord.html#a1faa1b8abba5adaa674a38e0df236cb9">dimeStringRecord::getString()</a>.</p>
</div>
</div>
<a class="anchor" id="a558c7ca8a4496cb470848755ff6715fb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool dimeTable::read </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdimeInput.html">dimeInput</a> *const </td>
<td class="paramname"><em>file</em>)</td><td></td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Reads a table. </p>
<p>References <a class="el" href="classdimeRecord.html#ac0730bcfee86cbc2a80fda3d63acb46e">dimeRecord::createRecord()</a>, <a class="el" href="classdimeTableEntry.html#a2126722c709a8490423c998be0d43153">dimeTableEntry::createTableEntry()</a>, <a class="el" href="classdimeInput.html#a9b69a424226e31a4810bed06dabe59de">dimeInput::getMemHandler()</a>, <a class="el" href="classdimeArray.html#a2bf3a91f40f7e1034b0b7640cdb91237">dimeArray< T >::makeEmpty()</a>, <a class="el" href="classdimeTableEntry.html#a1f969e602d765638cd2624c80e7c3557">dimeTableEntry::read()</a>, <a class="el" href="classdimeRecord.html#a81dab7e43388e0e6f00d52f0a5672b42">dimeRecord::read()</a>, <a class="el" href="classdimeInput.html#aee6ef945760775f72261f8be35a28aef">dimeInput::readGroupCode()</a>, <a class="el" href="classdimeInput.html#aa2ea6336fee3005f2a4be7b65abe909e">dimeInput::readInt16()</a>, <a class="el" href="classdimeInput.html#a153ce3568e89d051b07365871d4f9ced">dimeInput::readString()</a>, and <a class="el" href="classdimeArray.html#af4b1b292d4fe1d7a077b7714b238bdcf">dimeArray< T >::shrinkToFit()</a>.</p>
<p>Referenced by <a class="el" href="classdimeTablesSection.html#a055bcf8d9cde26a7f27434b8fafd3f73">dimeTablesSection::read()</a>.</p>
</div>
</div>
<a class="anchor" id="ad87bd6cbc99d9446fbe324858a14e7ae"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dimeTable::removeTableEntry </td>
<td>(</td>
<td class="paramtype">const int </td>
<td class="paramname"><em>idx</em>)</td><td></td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes (and deletes if no memhandler is used) the table entry at index <em>idx</em>. </p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>, and <a class="el" href="classdimeArray.html#a9a8eff67a38404cc8ddc3456d9c6d71f">dimeArray< T >::removeElem()</a>.</p>
</div>
</div>
<a class="anchor" id="a4b9007357ef54c818d372dff3519221d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dimeTable::removeTableRecord </td>
<td>(</td>
<td class="paramtype">const int </td>
<td class="paramname"><em>idx</em>)</td><td></td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Removes (and deletes if no memhandler is used) the record at index <em>idx</em>. </p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>, and <a class="el" href="classdimeArray.html#a9a8eff67a38404cc8ddc3456d9c6d71f">dimeArray< T >::removeElem()</a>.</p>
</div>
</div>
<a class="anchor" id="a5088a4ac86eff9d4223fd7ad13fd405f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int dimeTable::typeId </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">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Must be implemented by all subclasses, and should return an unique id for that class. </p>
<p>Implements <a class="el" href="classdimeBase.html#ad057cc147eddf080fa13c406ee435fa1">dimeBase</a>.</p>
</div>
</div>
<a class="anchor" id="a480bce9f4e6e24a811d046da7864138b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool dimeTable::write </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdimeOutput.html">dimeOutput</a> *const </td>
<td class="paramname"><em>file</em>)</td><td></td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the table to <em>file</em>. </p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>, <a class="el" href="classdimeOutput.html#a0f59c6d325880f60c9754e4ed23d3749">dimeOutput::writeGroupCode()</a>, <a class="el" href="classdimeOutput.html#abeaa3dafc10cc5bc9ca2a0b8ab12b317">dimeOutput::writeInt16()</a>, and <a class="el" href="classdimeOutput.html#a0cd6b0eacb5231a1312b8797e4f3b1d6">dimeOutput::writeString()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="Table_8h_source.html">Table.h</a></li>
<li>Table.cpp</li>
</ul>
</div><!-- contents -->
<HR>
<DIV ALIGN=right>
<FONT SIZE=-2><I>
Copyright © 1998-1999, <A HREF=http://www.sim.no/>Systems In Motion</A>
<<A HREF=mailto:sales@sim.no>sales@sim.no</A>>.
All rights reserved.
<BR>
System documentation was generated using
<A HREF=http://www.stack.nl/~dimitri/doxygen/>doxygen</A>.
</I></FONT>
<DIV ALIGN=left>
</BODY>
</HTML>
|