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

📄 _chat_sdp_attribute_parser_8cpp-source.html

📁 一个聊天的软件
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<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     }<a name="l00219"></a>00219 <a name="l00220"></a>00220 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00221"></a>00221 <span class="comment">// TChatSdpAttributeParser::TChatSdpAttributeNode::TChatSdpAttributeNode()</span><a name="l00222"></a>00222 <span class="comment">// constructor.</span><a name="l00223"></a>00223 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00224"></a>00224 <span class="comment">//</span><a name="l00225"></a><a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#8ae8eb5b62804ab53bcf3159ac873b30">00225</a> <a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#8ae8eb5b62804ab53bcf3159ac873b30">TChatSdpAttributeParser::TChatSdpAttributeNode::TChatSdpAttributeNode</a>()<a name="l00226"></a>00226   {<a name="l00227"></a>00227   <span class="comment">// no implementation needed</span><a name="l00228"></a>00228   }<a name="l00229"></a>00229             <a name="l00230"></a>00230 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00231"></a>00231 <span class="comment">// TChatSdpAttributeParser::TChatSdpAttributeNode::~TChatSdpAttributeNode()</span><a name="l00232"></a>00232 <span class="comment">// destructor.</span><a name="l00233"></a>00233 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00234"></a>00234 <span class="comment">//</span><a name="l00235"></a><a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#aae613a887adfc110cd0c4bbd69af26f">00235</a> <a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#aae613a887adfc110cd0c4bbd69af26f">TChatSdpAttributeParser::TChatSdpAttributeNode::~TChatSdpAttributeNode</a>()<a name="l00236"></a>00236   {<a name="l00237"></a>00237     <span class="comment">// no implementation needed</span><a name="l00238"></a>00238     }<a name="l00239"></a>00239 <a name="l00240"></a>00240 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00241"></a>00241 <span class="comment">// TChatSdpAttributeParser::TChatSdpAttributeNode::SetCommand( TNodeCommand aCommand )</span><a name="l00242"></a>00242 <span class="comment">// set iCommand member variable.</span><a name="l00243"></a>00243 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00244"></a>00244 <span class="comment">//            </span><a name="l00245"></a><a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#156c0e62f47d5ceac7079a53a4c0c546">00245</a> <span class="keywordtype">void</span> <a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#156c0e62f47d5ceac7079a53a4c0c546">TChatSdpAttributeParser::TChatSdpAttributeNode::SetCommand</a>( <a class="code" href="class_t_chat_sdp_attribute_parser.html#26743b8b65ea09aa12de6db8d3f820d2">TNodeCommand</a> aCommand )<a name="l00246"></a>00246     {<a name="l00247"></a>00247     <a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#d91fb2caba5aa70d2081682f7ec5ebd8">iCommand</a> = aCommand;<a name="l00248"></a>00248     }<a name="l00249"></a>00249 <a name="l00250"></a>00250 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00251"></a>00251 <span class="comment">// TChatSdpAttributeParser::TChatSdpAttributeNode::SetType( TChatSdpElementType aType )</span><a name="l00252"></a>00252 <span class="comment">// set iType member variable.</span><a name="l00253"></a>00253 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00254"></a>00254 <span class="comment">//          </span><a name="l00255"></a><a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#6e32f35a92af83af7f7250d94be6e1de">00255</a> <span class="keywordtype">void</span> <a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#6e32f35a92af83af7f7250d94be6e1de">TChatSdpAttributeParser::TChatSdpAttributeNode::SetType</a>( TSdpElementType aType )<a name="l00256"></a>00256     {<a name="l00257"></a>00257     <a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#e00ef68ac7b08f725700d08a246e6b1f">iType</a> = aType;<a name="l00258"></a>00258     }<a name="l00259"></a>00259 <a name="l00260"></a>00260 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00261"></a>00261 <span class="comment">// void TChatSdpAttributeParser::TChatSdpAttributeNode::SetValue( TInt aValue )</span><a name="l00262"></a>00262 <span class="comment">// set iValue member variable.</span><a name="l00263"></a>00263 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00264"></a>00264 <span class="comment">//          </span><a name="l00265"></a><a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#fc2d1e44fb7a2749358617eb9c8034ca">00265</a> <span class="keywordtype">void</span> <a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#fc2d1e44fb7a2749358617eb9c8034ca">TChatSdpAttributeParser::TChatSdpAttributeNode::SetValue</a>( TInt aValue )<a name="l00266"></a>00266     {<a name="l00267"></a>00267     <a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#919018c9944f9ff9d2dda2bb136ad40a">iValue</a> = aValue;<a name="l00268"></a>00268     }<a name="l00269"></a>00269 <a name="l00270"></a>00270 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00271"></a>00271 <span class="comment">// TChatSdpAttributeParser::TChatSdpAttributeNode::Command()</span><a name="l00272"></a>00272 <span class="comment">// get iCommand member variable value.</span><a name="l00273"></a>00273 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00274"></a>00274 <span class="comment">//            </span><a name="l00275"></a><a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#5add53a5e87869faa4572145e57a9be7">00275</a> <a class="code" href="class_t_chat_sdp_attribute_parser.html#26743b8b65ea09aa12de6db8d3f820d2">TChatSdpAttributeParser::TNodeCommand</a> <a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#5add53a5e87869faa4572145e57a9be7">TChatSdpAttributeParser::TChatSdpAttributeNode::Command</a>()<span class="keyword"> const</span><a name="l00276"></a>00276 <span class="keyword">    </span>{<a name="l00277"></a>00277     <span class="keywordflow">return</span> <a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#d91fb2caba5aa70d2081682f7ec5ebd8">iCommand</a>;<a name="l00278"></a>00278     }<a name="l00279"></a>00279 <a name="l00280"></a>00280 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00281"></a>00281 <span class="comment">// TChatSdpAttributeParser::TChatSdpAttributeNode::Type()</span><a name="l00282"></a>00282 <span class="comment">// get iType member variable value.</span><a name="l00283"></a>00283 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00284"></a>00284 <span class="comment">//            </span><a name="l00285"></a><a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#543a812bf1666d4e2c7bf72452142660">00285</a> TSdpElementType <a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#543a812bf1666d4e2c7bf72452142660">TChatSdpAttributeParser::TChatSdpAttributeNode::Type</a>()<span class="keyword"> const</span><a name="l00286"></a>00286 <span class="keyword">    </span>{<a name="l00287"></a>00287     <span class="keywordflow">return</span> <a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#e00ef68ac7b08f725700d08a246e6b1f">iType</a>;<a name="l00288"></a>00288     }<a name="l00289"></a>00289 <a name="l00290"></a>00290 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00291"></a>00291 <span class="comment">// TChatSdpAttributeParser::TChatSdpAttributeNode::Value()</span><a name="l00292"></a>00292 <span class="comment">// get iValue member variable value.</span><a name="l00293"></a>00293 <span class="comment">// ----------------------------------------------------------------------------</span><a name="l00294"></a>00294 <span class="comment">//            </span><a name="l00295"></a><a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#92eceddf2441d07f407cfede50f48a71">00295</a> TInt <a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#92eceddf2441d07f407cfede50f48a71">TChatSdpAttributeParser::TChatSdpAttributeNode::Value</a>()<span class="keyword"> const</span><a name="l00296"></a>00296 <span class="keyword">    </span>{<a name="l00297"></a>00297     <span class="keywordflow">return</span> <a class="code" href="class_t_chat_sdp_attribute_parser_1_1_t_chat_sdp_attribute_node.html#919018c9944f9ff9d2dda2bb136ad40a">iValue</a>;<a name="l00298"></a>00298     }   <a name="l00299"></a>00299             <a name="l00300"></a>00300 <a name="l00301"></a>00301 <span class="comment">// End of File</span></pre></div><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 + -