📄 class_t_chat_sdp_attribute_parser.html
字号:
<a name="l00162"></a>00162 <span class="keywordflow">if</span> ( aValue.Int() != <a class="code" href="class_t_chat_sdp_attribute_parser.html#06a26af66f62382ad861a56a88e22a2b">iCurrentNode</a>.<a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#92eceddf2441d07f407cfede50f48a71">Value</a>() )<a name="l00163"></a>00163 {<a name="l00164"></a>00164 User::Leave( KErrArgument );<a name="l00165"></a>00165 }<a name="l00166"></a>00166 <span class="keywordflow">break</span>;<a name="l00167"></a>00167 <a name="l00168"></a>00168 <span class="keywordflow">case</span> ETypeBoolean:<a name="l00169"></a>00169 <span class="keywordflow">if</span> ( aValue.Bool() != <a class="code" href="class_t_chat_sdp_attribute_parser.html#06a26af66f62382ad861a56a88e22a2b">iCurrentNode</a>.<a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#92eceddf2441d07f407cfede50f48a71">Value</a>() )<a name="l00170"></a>00170 {<a name="l00171"></a>00171 User::Leave( KErrArgument );<a name="l00172"></a>00172 }<a name="l00173"></a>00173 <span class="keywordflow">break</span>;<a name="l00174"></a>00174 <a name="l00175"></a>00175 <span class="keywordflow">case</span> ETypeUUID:<a name="l00176"></a>00176 <span class="keywordflow">if</span> ( aValue.UUID() != TUUID( <a class="code" href="class_t_chat_sdp_attribute_parser.html#06a26af66f62382ad861a56a88e22a2b">iCurrentNode</a>.<a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#92eceddf2441d07f407cfede50f48a71">Value</a>() ) )<a name="l00177"></a>00177 {<a name="l00178"></a>00178 User::Leave( KErrArgument );<a name="l00179"></a>00179 }<a name="l00180"></a>00180 <span class="keywordflow">break</span>;<a name="l00181"></a>00181 <a name="l00182"></a>00182 <span class="keywordflow">case</span> ETypeDES:<a name="l00183"></a>00183 <span class="keywordflow">case</span> ETypeDEA:<a name="l00184"></a>00184 Panic( EChatSdpAttributeParserValueIsList );<a name="l00185"></a>00185 <span class="keywordflow">break</span>;<a name="l00186"></a>00186 <a name="l00187"></a>00187 <span class="keywordflow">default</span>:<a name="l00188"></a>00188 Panic( EChatSdpAttributeParserValueTypeUnsupported );<a name="l00189"></a>00189 <span class="keywordflow">break</span>;<a name="l00190"></a>00190 }<a name="l00191"></a>00191 }</pre></div><p> </td> </tr></table><a class="anchor" name="61bda7e6ece5da3a9e7f094cbc8c9225"></a><!-- doxytag: member="TChatSdpAttributeParser::ReadValueL" ref="61bda7e6ece5da3a9e7f094cbc8c9225" args="(CSdpAttrValue &aValue) const " --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void TChatSdpAttributeParser::ReadValueL </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">CSdpAttrValue & </td> <td class="mdname1" valign="top" nowrap> <em>aValue</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [private]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>ReadValueL Pass the data element value to the observer <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>aValue</em> </td><td>the value of the current data element. </td></tr> </table></dl><p>Definition at line <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00198">198</a> of file <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html">ChatSdpAttributeParser.cpp</a>.<p>References <a class="el" href="class_m_chat_sdp_attribute_notifier.html#b081256c1393c2846e7a2dc3ba0fce33">MChatSdpAttributeNotifier::FoundElementL()</a>, <a class="el" href="_chat_sdp_attribute_parser_8h-source.html#l00241">iCurrentNode</a>, <a class="el" href="_chat_sdp_attribute_parser_8h-source.html#l00225">iObserver</a>, and <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00295">TChatSdpAttributeParser::TChatSdpAttributeNode::Value()</a>.<p>Referenced by <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00065">VisitAttributeValueL()</a>.<div class="fragment"><pre class="fragment"><a name="l00199"></a>00199 {<a name="l00200"></a>00200 <a class="code" href="class_t_chat_sdp_attribute_parser.html#5598d19cc10719afd28055422087a200">iObserver</a>.<a class="code" href="class_m_chat_sdp_attribute_notifier.html#b081256c1393c2846e7a2dc3ba0fce33">FoundElementL</a>( <a class="code" href="class_t_chat_sdp_attribute_parser.html#06a26af66f62382ad861a56a88e22a2b">iCurrentNode</a>.<a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#92eceddf2441d07f407cfede50f48a71">Value</a>(), aValue );<a name="l00201"></a>00201 }</pre></div><p> </td> </tr></table><a class="anchor" name="528c8830ba4af2fd5ef6ff1ebd2efe9f"></a><!-- doxytag: member="TChatSdpAttributeParser::AdvanceL" ref="528c8830ba4af2fd5ef6ff1ebd2efe9f" args="()" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void TChatSdpAttributeParser::AdvanceL </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [private]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>AdvanceL Advance to the next node. Leaves with KErrEof if at the finished node. <p>Definition at line <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00208">208</a> of file <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html">ChatSdpAttributeParser.cpp</a>.<p>References <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00275">TChatSdpAttributeParser::TChatSdpAttributeNode::Command()</a>, and <a class="el" href="_chat_sdp_attribute_parser_8h-source.html#l00241">iCurrentNode</a>.<div class="fragment"><pre class="fragment"><a name="l00209"></a>00209 {<a name="l00210"></a>00210 <span class="comment">// check not at end</span><a name="l00211"></a>00211 <span class="keywordflow">if</span> ( <a class="code" href="class_t_chat_sdp_attribute_parser.html#06a26af66f62382ad861a56a88e22a2b">iCurrentNode</a>.<a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#5add53a5e87869faa4572145e57a9be7">Command</a>() == EFinished )<a name="l00212"></a>00212 {<a name="l00213"></a>00213 User::Leave( KErrEof );<a name="l00214"></a>00214 }<a name="l00215"></a>00215 <a name="l00216"></a>00216 <span class="comment">// move to the next item</span><a name="l00217"></a>00217 <a class="code" href="class_t_chat_sdp_attribute_parser.html#06a26af66f62382ad861a56a88e22a2b">iCurrentNode</a> = <a class="code" href="class_t_chat_sdp_attribute_parser.html#4319c6fe895a80606b244ec1c6bbf994">iNodeList</a>[++<a class="code" href="class_t_chat_sdp_attribute_parser.html#ef70e47ade28a45d750e36e35f2bea06">iCurrentNodeIndex</a>];<a name="l00218"></a>00218 }</pre></div><p> </td> </tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="5598d19cc10719afd28055422087a200"></a><!-- doxytag: member="TChatSdpAttributeParser::iObserver" ref="5598d19cc10719afd28055422087a200" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="class_m_chat_sdp_attribute_notifier.html">MChatSdpAttributeNotifier</a>& <a class="el" href="class_t_chat_sdp_attribute_parser.html#5598d19cc10719afd28055422087a200">TChatSdpAttributeParser::iObserver</a><code> [private]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>iObserver the observer to read values <p>Definition at line <a class="el" href="_chat_sdp_attribute_parser_8h-source.html#l00225">225</a> of file <a class="el" href="_chat_sdp_attribute_parser_8h-source.html">ChatSdpAttributeParser.h</a>.<p>Referenced by <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00198">ReadValueL()</a>. </td> </tr></table><a class="anchor" name="4319c6fe895a80606b244ec1c6bbf994"></a><!-- doxytag: member="TChatSdpAttributeParser::iNodeList" ref="4319c6fe895a80606b244ec1c6bbf994" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">RArray<<a class="el" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html">TChatSdpAttributeParser::TChatSdpAttributeNode</a>>& <a class="el" href="class_t_chat_sdp_attribute_parser.html#4319c6fe895a80606b244ec1c6bbf994">TChatSdpAttributeParser::iNodeList</a><code> [private]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>iNodeList a list defining the expected structure of the value <p>Definition at line <a class="el" href="_chat_sdp_attribute_parser_8h-source.html#l00231">231</a> of file <a class="el" href="_chat_sdp_attribute_parser_8h-source.html">ChatSdpAttributeParser.h</a>.<p>Referenced by <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00030">TChatSdpAttributeParser()</a>. </td> </tr></table><a class="anchor" name="ef70e47ade28a45d750e36e35f2bea06"></a><!-- doxytag: member="TChatSdpAttributeParser::iCurrentNodeIndex" ref="ef70e47ade28a45d750e36e35f2bea06" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">TInt <a class="el" href="class_t_chat_sdp_attribute_parser.html#ef70e47ade28a45d750e36e35f2bea06">TChatSdpAttributeParser::iCurrentNodeIndex</a><code> [private]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>iCurrentNodeIndex the index of the current node in iNodeList <p>Definition at line <a class="el" href="_chat_sdp_attribute_parser_8h-source.html#l00236">236</a> of file <a class="el" href="_chat_sdp_attribute_parser_8h-source.html">ChatSdpAttributeParser.h</a>.<p>Referenced by <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00030">TChatSdpAttributeParser()</a>. </td> </tr></table><a class="anchor" name="06a26af66f62382ad861a56a88e22a2b"></a><!-- doxytag: member="TChatSdpAttributeParser::iCurrentNode" ref="06a26af66f62382ad861a56a88e22a2b" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html">TChatSdpAttributeNode</a> <a class="el" href="class_t_chat_sdp_attribute_parser.html#06a26af66f62382ad861a56a88e22a2b">TChatSdpAttributeParser::iCurrentNode</a><code> [private]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>iCurrentNode the current node <p>Definition at line <a class="el" href="_chat_sdp_attribute_parser_8h-source.html#l00241">241</a> of file <a class="el" href="_chat_sdp_attribute_parser_8h-source.html">ChatSdpAttributeParser.h</a>.<p>Referenced by <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00208">AdvanceL()</a>, <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00133">CheckTypeL()</a>, <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00146">CheckValueL()</a>, <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00117">EndListL()</a>, <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00055">HasFinished()</a>, <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00198">ReadValueL()</a>, <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00030">TChatSdpAttributeParser()</a>, and <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00065">VisitAttributeValueL()</a>. </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="_chat_sdp_attribute_parser_8h-source.html">ChatSdpAttributeParser.h</a><li><a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html">ChatSdpAttributeParser.cpp</a></ul><hr><table x-use-null-cells style="x-cell-content-align: top; width: 100%; border-spacing: 0px; border-spacing: 0px;" cellspacing=0 width=100%> <col style="width: 50%;"> <col style="width: 50%;"> <tr style="x-cell-content-align: top;" valign=top> <td style="width: 50%; padding-right: 10px; padding-left: 10px; border-right-style: None; border-left-style: None; border-top-style: None; border-bottom-style: None;" width=50%> <p style="font-family: Arial;"><small style="font-size: smaller;">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -