<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>dgnlib: DGNElemCore Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.2-20100208 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <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 class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>DGNElemCore Struct Reference</h1><!-- doxytag: class="DGNElemCore" --> <p><code>#include <<a class="el" href="dgnlib_8h_source.html">dgnlib.h</a>></code></p> <p><a href="structDGNElemCore-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1a95b34a93172c538054f871ebfe77ac"></a><!-- doxytag: member="DGNElemCore::offset" ref="a1a95b34a93172c538054f871ebfe77ac" args="" --> int </td><td class="memItemRight" valign="bottom"><b>offset</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8256481760056a800d9d63a4cf44848d"></a><!-- doxytag: member="DGNElemCore::size" ref="a8256481760056a800d9d63a4cf44848d" args="" --> int </td><td class="memItemRight" valign="bottom"><b>size</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDGNElemCore.html#a4ded80061bb4d25000bb91c96a938d2c">element_id</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDGNElemCore.html#aa45073b36d8d3dff7a3d10b92b3d411b">stype</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDGNElemCore.html#a794865555c0da0502f784abe99b81397">level</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDGNElemCore.html#a9ccae303d680aa59aee6930b5dc23d73">type</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDGNElemCore.html#a095649c8c2cc609ea88747cd5d550857">complex</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDGNElemCore.html#acca85b9b56ad5439d0b7396cd7e57e98">deleted</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDGNElemCore.html#aeef69ff417edabdfe0a1a4f3e7bfb906">graphic_group</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDGNElemCore.html#a51629daf39b97fc9e30360f0512f98d1">properties</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDGNElemCore.html#ae0462e87ea190c9fa9b6ac83ef84ea61">color</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDGNElemCore.html#a2607fdd2ebaf27101367feb82b09b4a7">weight</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDGNElemCore.html#a094dd7693f630860d09b22e636644199">style</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDGNElemCore.html#a1122343f3b1795d88d06aaf0d88f2b39">attr_bytes</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">unsigned char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structDGNElemCore.html#ad3a3e8d013892c09a7d4e1f7b5d940c1">attr_data</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="structDGNElemCore.html#adc329581f86d73470cdb2c45a141d826">raw_bytes</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">unsigned char * </td><td class="memItemRight" valign="bottom"><a class="el" href="structDGNElemCore.html#a6ea846a9c0527b3a45cf0315c1f4a399">raw_data</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Core element structure.</p> <p>Core information kept about each element that can be read from a DGN file. This structure is the first component of each specific element structure (like <a class="el" href="structDGNElemMultiPoint.html">DGNElemMultiPoint</a>). Normally the <a class="el" href="structDGNElemCore.html#aa45073b36d8d3dff7a3d10b92b3d411b">DGNElemCore.stype</a> field would be used to decide what specific structure type to case the <a class="el" href="structDGNElemCore.html">DGNElemCore</a> pointer to. </p> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a1122343f3b1795d88d06aaf0d88f2b39"></a><!-- doxytag: member="DGNElemCore::attr_bytes" ref="a1122343f3b1795d88d06aaf0d88f2b39" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structDGNElemCore.html#a1122343f3b1795d88d06aaf0d88f2b39">DGNElemCore::attr_bytes</a></td> </tr> </table> </div> <div class="memdoc"> <p>Bytes of attribute data, usually zero. </p> </div> </div> <a class="anchor" id="ad3a3e8d013892c09a7d4e1f7b5d940c1"></a><!-- doxytag: member="DGNElemCore::attr_data" ref="ad3a3e8d013892c09a7d4e1f7b5d940c1" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">unsigned char* <a class="el" href="structDGNElemCore.html#ad3a3e8d013892c09a7d4e1f7b5d940c1">DGNElemCore::attr_data</a></td> </tr> </table> </div> <div class="memdoc"> <p>Raw attribute data </p> </div> </div> <a class="anchor" id="ae0462e87ea190c9fa9b6ac83ef84ea61"></a><!-- doxytag: member="DGNElemCore::color" ref="ae0462e87ea190c9fa9b6ac83ef84ea61" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structDGNElemCore.html#ae0462e87ea190c9fa9b6ac83ef84ea61">DGNElemCore::color</a></td> </tr> </table> </div> <div class="memdoc"> <p>Color index (0-255) </p> </div> </div> <a class="anchor" id="a095649c8c2cc609ea88747cd5d550857"></a><!-- doxytag: member="DGNElemCore::complex" ref="a095649c8c2cc609ea88747cd5d550857" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structDGNElemCore.html#a095649c8c2cc609ea88747cd5d550857">DGNElemCore::complex</a></td> </tr> </table> </div> <div class="memdoc"> <p>Is element complex? </p> </div> </div> <a class="anchor" id="acca85b9b56ad5439d0b7396cd7e57e98"></a><!-- doxytag: member="DGNElemCore::deleted" ref="acca85b9b56ad5439d0b7396cd7e57e98" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structDGNElemCore.html#acca85b9b56ad5439d0b7396cd7e57e98">DGNElemCore::deleted</a></td> </tr> </table> </div> <div class="memdoc"> <p>Is element deleted? </p> </div> </div> <a class="anchor" id="a4ded80061bb4d25000bb91c96a938d2c"></a><!-- doxytag: member="DGNElemCore::element_id" ref="a4ded80061bb4d25000bb91c96a938d2c" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structDGNElemCore.html#a4ded80061bb4d25000bb91c96a938d2c">DGNElemCore::element_id</a></td> </tr> </table> </div> <div class="memdoc"> <p>Element number (zero based) </p> </div> </div> <a class="anchor" id="aeef69ff417edabdfe0a1a4f3e7bfb906"></a><!-- doxytag: member="DGNElemCore::graphic_group" ref="aeef69ff417edabdfe0a1a4f3e7bfb906" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structDGNElemCore.html#aeef69ff417edabdfe0a1a4f3e7bfb906">DGNElemCore::graphic_group</a></td> </tr> </table> </div> <div class="memdoc"> <p>Graphic group number </p> </div> </div> <a class="anchor" id="a794865555c0da0502f784abe99b81397"></a><!-- doxytag: member="DGNElemCore::level" ref="a794865555c0da0502f784abe99b81397" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structDGNElemCore.html#a794865555c0da0502f784abe99b81397">DGNElemCore::level</a></td> </tr> </table> </div> <div class="memdoc"> <p>Element Level: 0-63 </p> </div> </div> <a class="anchor" id="a51629daf39b97fc9e30360f0512f98d1"></a><!-- doxytag: member="DGNElemCore::properties" ref="a51629daf39b97fc9e30360f0512f98d1" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structDGNElemCore.html#a51629daf39b97fc9e30360f0512f98d1">DGNElemCore::properties</a></td> </tr> </table> </div> <div class="memdoc"> <p>Properties: ORing of DGNPF_ flags </p> </div> </div> <a class="anchor" id="adc329581f86d73470cdb2c45a141d826"></a><!-- doxytag: member="DGNElemCore::raw_bytes" ref="adc329581f86d73470cdb2c45a141d826" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structDGNElemCore.html#adc329581f86d73470cdb2c45a141d826">DGNElemCore::raw_bytes</a></td> </tr> </table> </div> <div class="memdoc"> <p>Bytes of raw data, usually zero. </p> </div> </div> <a class="anchor" id="a6ea846a9c0527b3a45cf0315c1f4a399"></a><!-- doxytag: member="DGNElemCore::raw_data" ref="a6ea846a9c0527b3a45cf0315c1f4a399" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">unsigned char* <a class="el" href="structDGNElemCore.html#a6ea846a9c0527b3a45cf0315c1f4a399">DGNElemCore::raw_data</a></td> </tr> </table> </div> <div class="memdoc"> <p>All raw element data including header. </p> </div> </div> <a class="anchor" id="a094dd7693f630860d09b22e636644199"></a><!-- doxytag: member="DGNElemCore::style" ref="a094dd7693f630860d09b22e636644199" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structDGNElemCore.html#a094dd7693f630860d09b22e636644199">DGNElemCore::style</a></td> </tr> </table> </div> <div class="memdoc"> <p>Line Style: One of DGNS_* values </p> </div> </div> <a class="anchor" id="aa45073b36d8d3dff7a3d10b92b3d411b"></a><!-- doxytag: member="DGNElemCore::stype" ref="aa45073b36d8d3dff7a3d10b92b3d411b" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structDGNElemCore.html#aa45073b36d8d3dff7a3d10b92b3d411b">DGNElemCore::stype</a></td> </tr> </table> </div> <div class="memdoc"> <p>Structure type: (DGNST_*) </p> </div> </div> <a class="anchor" id="a9ccae303d680aa59aee6930b5dc23d73"></a><!-- doxytag: member="DGNElemCore::type" ref="a9ccae303d680aa59aee6930b5dc23d73" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structDGNElemCore.html#a9ccae303d680aa59aee6930b5dc23d73">DGNElemCore::type</a></td> </tr> </table> </div> <div class="memdoc"> <p>Element type (DGNT_) </p> </div> </div> <a class="anchor" id="a2607fdd2ebaf27101367feb82b09b4a7"></a><!-- doxytag: member="DGNElemCore::weight" ref="a2607fdd2ebaf27101367feb82b09b4a7" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="structDGNElemCore.html#a2607fdd2ebaf27101367feb82b09b4a7">DGNElemCore::weight</a></td> </tr> </table> </div> <div class="memdoc"> <p>Line Weight (0-31) </p> </div> </div> <hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="dgnlib_8h_source.html">dgnlib.h</a></li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>