Symbian3/SDK/Source/GUID-6DAF85AD-E412-5823-81C2-FC1755A90A84.dita
changeset 8 ae94777fff8f
parent 7 51a74ef9ed63
child 13 48780e181b38
equal deleted inserted replaced
7:51a74ef9ed63 8:ae94777fff8f
    32 </ul>
    32 </ul>
    33 <p> <xref href="GUID-1CDD0B97-8B00-3373-9908-512C9BC1CF51.dita"><apiname>CMDBElement</apiname></xref> derives from <xref href="GUID-1CDD0B97-8B00-3373-9908-512C9BC1CF51.dita"><apiname>MMetaDatabase</apiname></xref>. <codeph>MMetaDatabase</codeph> provides
    33 <p> <xref href="GUID-1CDD0B97-8B00-3373-9908-512C9BC1CF51.dita"><apiname>CMDBElement</apiname></xref> derives from <xref href="GUID-1CDD0B97-8B00-3373-9908-512C9BC1CF51.dita"><apiname>MMetaDatabase</apiname></xref>. <codeph>MMetaDatabase</codeph> provides
    34 the behaviour that allows an element to operate with the Comms Database. [See
    34 the behaviour that allows an element to operate with the Comms Database. [See
    35 accessing the database or words to that effect.] </p>
    35 accessing the database or words to that effect.] </p>
    36 <fig id="GUID-3FE9490C-8766-5F31-9147-7F20A03BBF2D">
    36 <fig id="GUID-3FE9490C-8766-5F31-9147-7F20A03BBF2D">
    37 <image href="GUID-4B7FA629-BFC9-594B-B253-AC920EAD6E67_d0e85908_href.png" placement="inline"/>
    37 <image href="GUID-4B7FA629-BFC9-594B-B253-AC920EAD6E67_d0e79196_href.png" placement="inline"/>
    38 </fig>
    38 </fig>
    39 <section id="GUID-4DDD4947-D379-5B68-8DC0-B67B074FA852"><title>The Element
    39 <section id="GUID-4DDD4947-D379-5B68-8DC0-B67B074FA852"><title>The Element
    40 Id</title> <p>The <codeph>iElementId</codeph> data member of <xref href="GUID-1CDD0B97-8B00-3373-9908-512C9BC1CF51.dita"><apiname>CMDBElement</apiname></xref> is
    40 Id</title> <p>The <codeph>iElementId</codeph> data member of <xref href="GUID-1CDD0B97-8B00-3373-9908-512C9BC1CF51.dita"><apiname>CMDBElement</apiname></xref> is
    41 a 32 bit number that contains: </p> <ul>
    41 a 32 bit number that contains: </p> <ul>
    42 <li id="GUID-4F41A6A2-79FC-5CA7-AC9C-B242D7DC925E"><p>the unique numeric Id
    42 <li id="GUID-4F41A6A2-79FC-5CA7-AC9C-B242D7DC925E"><p>the unique numeric Id
    53 Id identifies an instance of this type of element. </p> <p>The class <xref href="GUID-1CDD0B97-8B00-3373-9908-512C9BC1CF51.dita"><apiname>CMDBElement</apiname></xref> provides the member functions <xref href="GUID-1CDD0B97-8B00-3373-9908-512C9BC1CF51.dita"><apiname>CommsDat::CMDBElement::TypeId()</apiname></xref> and <xref href="GUID-1CDD0B97-8B00-3373-9908-512C9BC1CF51.dita"><apiname>CommsDat::CMDBElement::RecordId()</apiname></xref> to
    53 Id identifies an instance of this type of element. </p> <p>The class <xref href="GUID-1CDD0B97-8B00-3373-9908-512C9BC1CF51.dita"><apiname>CMDBElement</apiname></xref> provides the member functions <xref href="GUID-1CDD0B97-8B00-3373-9908-512C9BC1CF51.dita"><apiname>CommsDat::CMDBElement::TypeId()</apiname></xref> and <xref href="GUID-1CDD0B97-8B00-3373-9908-512C9BC1CF51.dita"><apiname>CommsDat::CMDBElement::RecordId()</apiname></xref> to
    54 extract this information. </p> <p>Internally, the Type Id includes a 8 bit
    54 extract this information. </p> <p>Internally, the Type Id includes a 8 bit
    55 number and a 7 bit number. The 8 bit number is the Table Id and the 7 bit
    55 number and a 7 bit number. The 8 bit number is the Table Id and the 7 bit
    56 number is the Column Id. The Type Id and the Record Id are in defined locations
    56 number is the Column Id. The Type Id and the Record Id are in defined locations
    57 in the 32 bit number <codeph>iElementId</codeph>. </p> <fig id="GUID-B3A732DF-8D24-532C-A4AB-D5B42408D832">
    57 in the 32 bit number <codeph>iElementId</codeph>. </p> <fig id="GUID-B3A732DF-8D24-532C-A4AB-D5B42408D832">
    58 <image href="GUID-0B151FE8-21E1-58A1-BEB3-5502EDF052C0_d0e85988_href.png" placement="inline"/>
    58 <image href="GUID-0B151FE8-21E1-58A1-BEB3-5502EDF052C0_d0e79276_href.png" placement="inline"/>
    59 </fig> <p>The header file <filepath>comsdat.h</filepath> contains the constants
    59 </fig> <p>The header file <filepath>comsdat.h</filepath> contains the constants
    60 that define the location of these Ids in the 32 bit number: </p> <table id="GUID-1369F999-F42E-5268-AF6F-0D5C9A362878">
    60 that define the location of these Ids in the 32 bit number: </p> <table id="GUID-1369F999-F42E-5268-AF6F-0D5C9A362878">
    61 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/>
    61 <tgroup cols="2"><colspec colname="col0"/><colspec colname="col1"/>
    62 <tbody>
    62 <tbody>
    63 <row>
    63 <row>
    82 <section><p id="GUID-EE8E5985-4159-5780-8001-E51EB4821D05"><b> The set of
    82 <section><p id="GUID-EE8E5985-4159-5780-8001-E51EB4821D05"><b> The set of
    83 attributes that controls access to the data</b> </p><p>The access levels of
    83 attributes that controls access to the data</b> </p><p>The access levels of
    84 an element are defined by the bits in the element. The <xref href="GUID-2AF9DED8-0AAE-370B-8FA2-B2910939A7B8.dita"><apiname>TCDAttributeFlags</apiname></xref> enum
    84 an element are defined by the bits in the element. The <xref href="GUID-2AF9DED8-0AAE-370B-8FA2-B2910939A7B8.dita"><apiname>TCDAttributeFlags</apiname></xref> enum
    85 defines the access levels of an element. These bits are stored in the fourth
    85 defines the access levels of an element. These bits are stored in the fourth
    86 byte of the <codeph>iElementId</codeph> member of <xref href="GUID-C36F41FE-1776-3735-89F3-DAAAFA7FDC91.dita"><apiname>CMDBElement</apiname></xref>. </p><fig id="GUID-A1C2FF44-AA19-42B8-8F10-E927170A317A">
    86 byte of the <codeph>iElementId</codeph> member of <xref href="GUID-C36F41FE-1776-3735-89F3-DAAAFA7FDC91.dita"><apiname>CMDBElement</apiname></xref>. </p><fig id="GUID-A1C2FF44-AA19-42B8-8F10-E927170A317A">
    87 <image href="GUID-46673FC4-ADA9-59D1-A743-B4784425D240_d0e86097_href.png" placement="inline"/>
    87 <image href="GUID-46673FC4-ADA9-59D1-A743-B4784425D240_d0e79385_href.png" placement="inline"/>
    88 </fig><p> <xref href="GUID-DC185E84-1DC0-36F7-9B3D-19B4B3E641D7.dita"><apiname>KCDMaskShowAttributes</apiname></xref> in the header file <filepath>comsdat.h</filepath> defines
    88 </fig><p> <xref href="GUID-DC185E84-1DC0-36F7-9B3D-19B4B3E641D7.dita"><apiname>KCDMaskShowAttributes</apiname></xref> in the header file <filepath>comsdat.h</filepath> defines
    89 the location of these access control bits in the 32 bit number.</p>  </section>
    89 the location of these access control bits in the 32 bit number.</p>  </section>
    90 </conbody></concept>
    90 </conbody></concept>