⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_t_chat_sdp_attribute_parser.html

📁 一个聊天的软件
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>TChatSdpAttributeParser Class Reference</title><link href="style.css" rel="stylesheet" type="text/css"></head><table border="0" width="100%" height="8" bgcolor="#eeeeee"><tr> <td width="100%" height="1"><b><font size="2" color="#000000" face="Arial, Helvetica, sans-serif"><strong><a name=Top></a>S60 3rd Edition SDK FP1 for Symbian OS </strong></font></b><br><i>Example Applications Guide</i></td></tr> </table><!-- Generated by Doxygen 1.4.5 --><div class="tabs">  <ul>    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>    <li id="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&nbsp;List</span></a></li>    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>  </ul></div><h1>TChatSdpAttributeParser Class Reference</h1><!-- doxytag: class="TChatSdpAttributeParser" --><!-- doxytag: inherits="MSdpAttributeValueVisitor" --><code>#include &lt;<a class="el" href="_chat_sdp_attribute_parser_8h-source.html">ChatSdpAttributeParser.h</a>&gt;</code><p>Inherits MSdpAttributeValueVisitor.<p>Inheritance diagram for TChatSdpAttributeParser:<p><center><img src="class_t_chat_sdp_attribute_parser__inherit__graph.png" border="0" usemap="#_t_chat_sdp_attribute_parser__inherit__map" alt="Inheritance graph"></center><a href="class_t_chat_sdp_attribute_parser-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>TChatSdpAttributeParser An instance of TChatSdpAttributeParser is used to check an SDP attribute value, and read selected parts <p><p>Definition at line <a class="el" href="_chat_sdp_attribute_parser_8h-source.html#l00031">31</a> of file <a class="el" href="_chat_sdp_attribute_parser_8h-source.html">ChatSdpAttributeParser.h</a>.<table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Public Types</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser.html#26743b8b65ea09aa12de6db8d3f820d2">TNodeCommand</a> { <br>&nbsp;&nbsp;<b>ECheckType</b>, <b>ECheckValue</b>, <b>ECheckEnd</b>, <b>ESkip</b>, <br>&nbsp;&nbsp;<b>EReadValue</b>, <b>EFinished</b><br> }</td></tr><tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser.html#74cfd209bafb0bd78f5cb065aeac3013">TChatSdpAttributeParser</a> (RArray&lt; <a class="el" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html">TChatSdpAttributeParser::TChatSdpAttributeNode</a> &gt; &amp;aNodeList, <a class="el" href="class_m_chat_sdp_attribute_notifier.html">MChatSdpAttributeNotifier</a> &amp;aObserver)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser.html#7b9e184cdc48bd25f070d3f0afdda1d3">~TChatSdpAttributeParser</a> ()</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">TBool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser.html#ba5408005cbe1bf273e78972661ec9d5">HasFinished</a> () const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser.html#1b70d77b7dc10935f08574fc1ec3e9ed">VisitAttributeValueL</a> (CSdpAttrValue &amp;aValue, TSdpElementType aType)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser.html#4b7b6774453ca1580c2f0aebc4002ffe">StartListL</a> (CSdpAttrValueList &amp;aList)</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser.html#40a01b5f18f581c7b8e9c1907b8bdba1">EndListL</a> ()</td></tr><tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser.html#f4272d2abd5aed5a16b71115a76a0c5a">CheckTypeL</a> (TSdpElementType aElementType) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser.html#0ea935565972e69a5dc8dd49268b0b39">CheckValueL</a> (CSdpAttrValue &amp;aValue) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser.html#61bda7e6ece5da3a9e7f094cbc8c9225">ReadValueL</a> (CSdpAttrValue &amp;aValue) const </td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser.html#528c8830ba4af2fd5ef6ff1ebd2efe9f">AdvanceL</a> ()</td></tr><tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_m_chat_sdp_attribute_notifier.html">MChatSdpAttributeNotifier</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser.html#5598d19cc10719afd28055422087a200">iObserver</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">RArray&lt; <a class="el" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html">TChatSdpAttributeParser::TChatSdpAttributeNode</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser.html#4319c6fe895a80606b244ec1c6bbf994">iNodeList</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">TInt&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser.html#ef70e47ade28a45d750e36e35f2bea06">iCurrentNodeIndex</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html">TChatSdpAttributeNode</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser.html#06a26af66f62382ad861a56a88e22a2b">iCurrentNode</a></td></tr><tr><td colspan="2"><br><h2>Classes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html">TChatSdpAttributeNode</a></td></tr></table><hr><h2>Member Enumeration Documentation</h2><a class="anchor" name="26743b8b65ea09aa12de6db8d3f820d2"></a><!-- doxytag: member="TChatSdpAttributeParser::TNodeCommand" ref="26743b8b65ea09aa12de6db8d3f820d2" 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">enum <a class="el" href="class_t_chat_sdp_attribute_parser.html#26743b8b65ea09aa12de6db8d3f820d2">TChatSdpAttributeParser::TNodeCommand</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>TNodeCommand The command to be carried out at a node ECheckType. Check the type of the value ECheckValue. Check the type and the value ECheckEnd. Check that a list ends at this point ESkip. Do not check this value - can not match a list end EReadValue. Pass the value onto the observer EFinished. Marks the end of the node list <p>Definition at line <a class="el" href="_chat_sdp_attribute_parser_8h-source.html#l00045">45</a> of file <a class="el" href="_chat_sdp_attribute_parser_8h-source.html">ChatSdpAttributeParser.h</a>.<div class="fragment"><pre class="fragment"><a name="l00046"></a>00046             {<a name="l00047"></a>00047             ECheckType,     <a name="l00048"></a>00048             ECheckValue,  <a name="l00049"></a>00049             ECheckEnd,      <a name="l00050"></a>00050             ESkip,        <a name="l00051"></a>00051             EReadValue,    <a name="l00052"></a>00052             EFinished<a name="l00053"></a>00053             };</pre></div><p>    </td>  </tr></table><hr><h2>Constructor &amp; Destructor Documentation</h2><a class="anchor" name="74cfd209bafb0bd78f5cb065aeac3013"></a><!-- doxytag: member="TChatSdpAttributeParser::TChatSdpAttributeParser" ref="74cfd209bafb0bd78f5cb065aeac3013" args="(RArray&lt; TChatSdpAttributeParser::TChatSdpAttributeNode &gt; &amp;aNodeList, MChatSdpAttributeNotifier &amp;aObserver)" --><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">TChatSdpAttributeParser::TChatSdpAttributeParser           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">RArray&lt; <a class="el" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html">TChatSdpAttributeParser::TChatSdpAttributeNode</a> &gt; &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>aNodeList</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td class="md"></td>          <td class="md" nowrap><a class="el" href="class_m_chat_sdp_attribute_notifier.html">MChatSdpAttributeNotifier</a> &amp;&nbsp;</td>          <td class="mdname" nowrap> <em>aObserver</em></td>        </tr>        <tr>          <td class="md"></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>TChatSdpAttributeParser Construct a TChatSdpAttributeParser <dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>aNodeList</em>&nbsp;</td><td>the list of expected nodes </td></tr>    <tr><td valign="top"></td><td valign="top"><em>aObserver</em>&nbsp;</td><td>an observer to read specified node values </td></tr>  </table></dl><p>Definition at line <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00030">30</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_8h-source.html#l00241">iCurrentNode</a>, <a class="el" href="_chat_sdp_attribute_parser_8h-source.html#l00236">iCurrentNodeIndex</a>, and <a class="el" href="_chat_sdp_attribute_parser_8h-source.html#l00231">iNodeList</a>.<div class="fragment"><pre class="fragment"><a name="l00032"></a>00032                                            : <a name="l00033"></a>00033     <a class="code" href="class_t_chat_sdp_attribute_parser.html#5598d19cc10719afd28055422087a200">iObserver</a>( aObserver ),<a name="l00034"></a>00034     <a class="code" href="class_t_chat_sdp_attribute_parser.html#4319c6fe895a80606b244ec1c6bbf994">iNodeList</a>( aNodeList ),<a name="l00035"></a>00035     <a class="code" href="class_t_chat_sdp_attribute_parser.html#ef70e47ade28a45d750e36e35f2bea06">iCurrentNodeIndex</a>( 0 )<a name="l00036"></a>00036     {<a name="l00037"></a>00037     <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="l00038"></a>00038     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="7b9e184cdc48bd25f070d3f0afdda1d3"></a><!-- doxytag: member="TChatSdpAttributeParser::~TChatSdpAttributeParser" ref="7b9e184cdc48bd25f070d3f0afdda1d3" 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">TChatSdpAttributeParser::~TChatSdpAttributeParser           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>~TChatSdpAttributeParser Destructor <p>Definition at line <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00045">45</a> of file <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html">ChatSdpAttributeParser.cpp</a>.<div class="fragment"><pre class="fragment"><a name="l00046"></a>00046         {<a name="l00047"></a>00047         <span class="comment">// No implementation needed     </span><a name="l00048"></a>00048         }</pre></div><p>    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="ba5408005cbe1bf273e78972661ec9d5"></a><!-- doxytag: member="TChatSdpAttributeParser::HasFinished" ref="ba5408005cbe1bf273e78972661ec9d5" args="() 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">TBool TChatSdpAttributeParser::HasFinished           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap> const</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>HasFinished Check if parsing processed the whole list <dl compact><dt><b>Returns:</b></dt><dd>true is the index refers to the EFinished node </dd></dl><p>Definition at line <a class="el" href="_chat_sdp_attribute_parser_8cpp-source.html#l00055">55</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>.<p>Referenced by <a class="el" href="_chat_bt_service_searcher_8cpp-source.html#l00194">CChatBtServiceSearcher::AttributeRequestResultL()</a>.<div class="fragment"><pre class="fragment"><a name="l00056"></a>00056     {<a name="l00057"></a>00057     <span class="keywordflow">return</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="l00058"></a>00058     }</pre></div><p>    </td>  </tr></table><a class="anchor" name="1b70d77b7dc10935f08574fc1ec3e9ed"></a><!-- doxytag: member="TChatSdpAttributeParser::VisitAttributeValueL" ref="1b70d77b7dc10935f08574fc1ec3e9ed" args="(CSdpAttrValue &amp;aValue, TSdpElementType aType)" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -