/usr/share/doc/libdime-doc/html/classdimeEntitiesSection.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 | <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="#friends">Friends</a> |
<a href="classdimeEntitiesSection-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">dimeEntitiesSection Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The <a class="el" href="classdimeEntitiesSection.html" title="The dimeEntitiesSection class handles an ENTITIES section. ">dimeEntitiesSection</a> class handles an ENTITIES <em>section</em>.
<a href="classdimeEntitiesSection.html#details">More...</a></p>
<p><code>#include <<a class="el" href="EntitiesSection_8h_source.html">dime/sections/EntitiesSection.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for dimeEntitiesSection:</div>
<div class="dyncontent">
<div class="center">
<img src="classdimeEntitiesSection.png" usemap="#dimeEntitiesSection_map" alt=""/>
<map id="dimeEntitiesSection_map" name="dimeEntitiesSection_map">
<area href="classdimeSection.html" title="The dimeSection class is the superclass for all section classes. " alt="dimeSection" shape="rect" coords="0,56,120,80"/>
<area href="classdimeBase.html" title="The dimeBase class is the superclass for most classes in Dime. " alt="dimeBase" shape="rect" coords="0,0,120,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:a1c13365357cb59eb82a955b067f232f7"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeEntitiesSection.html#a1c13365357cb59eb82a955b067f232f7">dimeEntitiesSection</a> (<a class="el" href="classdimeMemHandler.html">dimeMemHandler</a> *const memhandler=NULL)</td></tr>
<tr class="separator:a1c13365357cb59eb82a955b067f232f7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0e69f29f0a9e231602674fd6159de23c"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeEntitiesSection.html#a0e69f29f0a9e231602674fd6159de23c">~dimeEntitiesSection</a> ()</td></tr>
<tr class="separator:a0e69f29f0a9e231602674fd6159de23c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a70428196bd3e60c79bd08e1d4723f954"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a70428196bd3e60c79bd08e1d4723f954"></a>
virtual const char * </td><td class="memItemRight" valign="bottom"><b>getSectionName</b> () const </td></tr>
<tr class="separator:a70428196bd3e60c79bd08e1d4723f954"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a3708e551c495f97b67a021beb342da"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2a3708e551c495f97b67a021beb342da"></a>
virtual <a class="el" href="classdimeSection.html">dimeSection</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:a2a3708e551c495f97b67a021beb342da"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9f6acaeb3dba811531290e0a37a18b42"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9f6acaeb3dba811531290e0a37a18b42"></a>
virtual bool </td><td class="memItemRight" valign="bottom"><b>read</b> (<a class="el" href="classdimeInput.html">dimeInput</a> *const file)</td></tr>
<tr class="separator:a9f6acaeb3dba811531290e0a37a18b42"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1a9f50535c73006bfab5a1fcc1a709fe"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1a9f50535c73006bfab5a1fcc1a709fe"></a>
virtual bool </td><td class="memItemRight" valign="bottom"><b>write</b> (<a class="el" href="classdimeOutput.html">dimeOutput</a> *const file)</td></tr>
<tr class="separator:a1a9f50535c73006bfab5a1fcc1a709fe"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa295fea9a8e5e6c554c6e66a7c839ab9"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeEntitiesSection.html#aa295fea9a8e5e6c554c6e66a7c839ab9">typeId</a> () const </td></tr>
<tr class="separator:aa295fea9a8e5e6c554c6e66a7c839ab9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad68eaf934c1069be2bdf4b3f7c3beff5"><td class="memItemLeft" align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeEntitiesSection.html#ad68eaf934c1069be2bdf4b3f7c3beff5">countRecords</a> () const </td></tr>
<tr class="separator:ad68eaf934c1069be2bdf4b3f7c3beff5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8c849d810c9fe305b5645da1a6efbf3e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeEntitiesSection.html#a8c849d810c9fe305b5645da1a6efbf3e">fixReferences</a> (<a class="el" href="classdimeModel.html">dimeModel</a> *const model)</td></tr>
<tr class="separator:a8c849d810c9fe305b5645da1a6efbf3e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab04747c25df2bdb6b2c6c5aea4eae661"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeEntitiesSection.html#ab04747c25df2bdb6b2c6c5aea4eae661">getNumEntities</a> () const </td></tr>
<tr class="separator:ab04747c25df2bdb6b2c6c5aea4eae661"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac996bb421ecfe8929476b88c351fd276"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classdimeEntity.html">dimeEntity</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeEntitiesSection.html#ac996bb421ecfe8929476b88c351fd276">getEntity</a> (const int idx)</td></tr>
<tr class="separator:ac996bb421ecfe8929476b88c351fd276"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a51a1040471115fbc9da032f13351a8e8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeEntitiesSection.html#a51a1040471115fbc9da032f13351a8e8">removeEntity</a> (const int idx)</td></tr>
<tr class="separator:a51a1040471115fbc9da032f13351a8e8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6fbffd978308007551afd8d9a0fbbef3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeEntitiesSection.html#a6fbffd978308007551afd8d9a0fbbef3">insertEntity</a> (<a class="el" href="classdimeEntity.html">dimeEntity</a> *const entity, const int idx=-1)</td></tr>
<tr class="separator:a6fbffd978308007551afd8d9a0fbbef3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classdimeSection"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classdimeSection')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classdimeSection.html">dimeSection</a></td></tr>
<tr class="memitem:abac07327f035dffe91f6b95d773ee1cb inherit pub_methods_classdimeSection"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeSection.html#abac07327f035dffe91f6b95d773ee1cb">dimeSection</a> (<a class="el" href="classdimeMemHandler.html">dimeMemHandler</a> *const memhandler)</td></tr>
<tr class="separator:abac07327f035dffe91f6b95d773ee1cb inherit pub_methods_classdimeSection"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa010d2c3930f7e37ef94857887c2c54e inherit pub_methods_classdimeSection"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeSection.html#aa010d2c3930f7e37ef94857887c2c54e">~dimeSection</a> ()</td></tr>
<tr class="separator:aa010d2c3930f7e37ef94857887c2c54e inherit pub_methods_classdimeSection"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abe0bce3465958d5ae88d77e0f173f801 inherit pub_methods_classdimeSection"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeSection.html#abe0bce3465958d5ae88d77e0f173f801">isOfType</a> (const int thetypeid) const </td></tr>
<tr class="separator:abe0bce3465958d5ae88d77e0f173f801 inherit pub_methods_classdimeSection"><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: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="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a839b1a9fec2bc2736df156a00efa2ba2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a839b1a9fec2bc2736df156a00efa2ba2"></a>
class </td><td class="memItemRight" valign="bottom"><b>dimeModel</b></td></tr>
<tr class="separator:a839b1a9fec2bc2736df156a00efa2ba2"><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>
<tr class="inherit_header pub_static_methods_classdimeSection"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classdimeSection')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classdimeSection.html">dimeSection</a></td></tr>
<tr class="memitem:a294c1bb069cabd514623540616070b3e inherit pub_static_methods_classdimeSection"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classdimeSection.html">dimeSection</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classdimeSection.html#a294c1bb069cabd514623540616070b3e">createSection</a> (const char *const sectionname, <a class="el" href="classdimeMemHandler.html">dimeMemHandler</a> *memhandler)</td></tr>
<tr class="separator:a294c1bb069cabd514623540616070b3e inherit pub_static_methods_classdimeSection"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classdimeSection"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classdimeSection')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classdimeSection.html">dimeSection</a></td></tr>
<tr class="memitem:aa693ace54f2680bb5b89ebb28ca36a55 inherit pro_attribs_classdimeSection"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa693ace54f2680bb5b89ebb28ca36a55"></a>
<a class="el" href="classdimeMemHandler.html">dimeMemHandler</a> * </td><td class="memItemRight" valign="bottom"><b>memHandler</b></td></tr>
<tr class="separator:aa693ace54f2680bb5b89ebb28ca36a55 inherit pro_attribs_classdimeSection"><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="classdimeEntitiesSection.html" title="The dimeEntitiesSection class handles an ENTITIES section. ">dimeEntitiesSection</a> class handles an ENTITIES <em>section</em>. </p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="a1c13365357cb59eb82a955b067f232f7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">dimeEntitiesSection::dimeEntitiesSection </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdimeMemHandler.html">dimeMemHandler</a> *const </td>
<td class="paramname"><em>memhandler</em> = <code>NULL</code>)</td><td></td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>
</div>
</div>
<a class="anchor" id="a0e69f29f0a9e231602674fd6159de23c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">dimeEntitiesSection::~dimeEntitiesSection </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="ad68eaf934c1069be2bdf4b3f7c3beff5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int dimeEntitiesSection::countRecords </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>Returns the number of records in this section. </p>
<p>Implements <a class="el" href="classdimeSection.html#aab99b8204a76d5fd95524df17073cc1d">dimeSection</a>.</p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>.</p>
</div>
</div>
<a class="anchor" id="a8c849d810c9fe305b5645da1a6efbf3e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dimeEntitiesSection::fixReferences </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdimeModel.html">dimeModel</a> *const </td>
<td class="paramname"><em>model</em>)</td><td></td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This function should be called after loading has ended, and will find all forward BLOCK references. </p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>.</p>
<p>Referenced by <a class="el" href="classdimeModel.html#a70c3cca7f6d0424333714468a945ba14">dimeModel::copy()</a>, and <a class="el" href="classdimeModel.html#ac2c5c3f7f565a71e333b34ede26f1e3a">dimeModel::read()</a>.</p>
</div>
</div>
<a class="anchor" id="ac996bb421ecfe8929476b88c351fd276"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classdimeEntity.html">dimeEntity</a> * dimeEntitiesSection::getEntity </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 entity at index <em>idx</em>. </p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>.</p>
<p>Referenced by <a class="el" href="classdimeModel.html#a22ff66c23610384c1e8fd16286496eca">dimeModel::traverseEntities()</a>.</p>
</div>
</div>
<a class="anchor" id="ab04747c25df2bdb6b2c6c5aea4eae661"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int dimeEntitiesSection::getNumEntities </td>
<td>(</td>
<td class="paramname">)</td><td></td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the number of entities in this section. Be aware that a POLYLINE entity with attached VERTEX entities will count as a single entity. </p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>.</p>
<p>Referenced by <a class="el" href="classdimeModel.html#a22ff66c23610384c1e8fd16286496eca">dimeModel::traverseEntities()</a>.</p>
</div>
</div>
<a class="anchor" id="a6fbffd978308007551afd8d9a0fbbef3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dimeEntitiesSection::insertEntity </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classdimeEntity.html">dimeEntity</a> *const </td>
<td class="paramname"><em>entity</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 entity at index <em>idx</em>. If <em>idx</em> is negative, the entity will be inserted at the end of the list of entities.</p>
<p>Entities should never be allocated on the stack. Use the new and delete operators to create/destroy entities. </p>
<p>References <a class="el" href="classdimeArray.html#add9be4dd10a364b0d4f72c5cc68c433c">dimeArray< T >::count()</a>.</p>
<p>Referenced by <a class="el" href="classdimeModel.html#ad18e7b317b6151a2f0b09ec28499a43f">dimeModel::addEntity()</a>.</p>
</div>
</div>
<a class="anchor" id="a51a1040471115fbc9da032f13351a8e8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void dimeEntitiesSection::removeEntity </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 entity 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="aa295fea9a8e5e6c554c6e66a7c839ab9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int dimeEntitiesSection::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="classdimeSection.html#afbc1f44e4fcc7c0fba86fb85ac14c5c1">dimeSection</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="EntitiesSection_8h_source.html">EntitiesSection.h</a></li>
<li>EntitiesSection.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>
|