17:39
[skypekit:skypekit.git] / skypekit_2.0.0.190_29281_CB30 / interfaces / skype / cpp_embedded / documentation / html / class_s_e_string.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <title>SkypeKit C++ Wrapper: Main Page</title>
6 <link href="tabs.css" rel="stylesheet" type="text/css"/>
7 <link href="islander.css" rel="stylesheet" type="text/css"/>
8 </head>
9 <body>
10 <img src="..\skypekit.png" align="right">
11 <!-- Generated by Doxygen 1.6.2 -->
12 <script type="text/javascript">
13 <!--
14 function changeDisplayState (e){
15   var num=this.id.replace(/[^[0-9]/g,'');
16   var button=this.firstChild;
17   var sectionDiv=document.getElementById('dynsection'+num);
18   if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){
19     sectionDiv.style.display='block';
20     button.src='open.gif';
21   }else{
22     sectionDiv.style.display='none';
23     button.src='closed.gif';
24   }
25 }
26 function initDynSections(){
27   var divs=document.getElementsByTagName('div');
28   var sectionCounter=1;
29   for(var i=0;i<divs.length-1;i++){
30     if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){
31       var header=divs[i];
32       var section=divs[i+1];
33       var button=header.firstChild;
34       if (button!='IMG'){
35         divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild);
36         button=document.createElement('img');
37         divs[i].insertBefore(button,divs[i].firstChild);
38       }
39       header.style.cursor='pointer';
40       header.onclick=changeDisplayState;
41       header.id='dynheader'+sectionCounter;
42       button.src='closed.gif';
43       section.id='dynsection'+sectionCounter;
44       section.style.display='none';
45       section.style.marginLeft='14px';
46       sectionCounter++;
47     }
48   }
49 }
50 window.onload = initDynSections;
51 -->
52 </script>
53 <div class="navigation" id="top">
54   <div class="tabs">
55     <ul>
56       <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
57       <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
58       <li><a href="files.html"><span>Files</span></a></li>
59       <li><a href="examples.html"><span>Examples</span></a></li>
60     </ul>
61   </div>
62   <div class="tabs">
63     <ul>
64       <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
65       <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
66       <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
67     </ul>
68   </div>
69 </div>
70 <div class="contents">
71 <h1>SEString Class Reference</h1><!-- doxytag: class="SEString" -->
72 <p><a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a> is basic char* based string class.  
73 <a href="#_details">More...</a></p>
74
75 <p><code>#include &lt;<a class="el" href="skype-string_8h_source.html">skype-string.h</a>&gt;</code></p>
76 <div class="dynheader">
77 Inheritance diagram for SEString:</div>
78 <div class="dynsection">
79 <div class="center"><img src="class_s_e_string__inherit__graph.png" border="0" usemap="#_s_e_string_inherit__map" alt="Inheritance graph"/></div>
80 <map name="_s_e_string_inherit__map" id="_s_e_string_inherit__map">
81 <area shape="rect" href="class_s_e_filename.html" title="SEFilename Represents a file name. Currently not too much different from SEString..." alt="" coords="39,750,159,902"/></map>
82 </div>
83
84 <p><a href="class_s_e_string-members.html">List of all members.</a></p>
85 <table border="0" cellpadding="0" cellspacing="0">
86 <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
87 <tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a140b27d5acde102d2242c93b73a73c1d">SEString</a> ()</td></tr>
88 <tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a929f007a41949c69557c0f1d94dd9444">SEString</a> (const char *str)</td></tr>
89 <tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a7245aa17f007997da724066a68766f15">SEString</a> (const <a class="el" href="class_s_e_string.html">SEString</a> &amp;str)</td></tr>
90 <tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a76ba3bb99550f2b3bb685f8aa86bbb4f">~SEString</a> ()</td></tr>
91 <tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a6ff403fcfc585613a469d1e9374b93b4">operator const char *</a> () const </td></tr>
92 <tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a391238e048f04a2c6cd71986dc006687">data</a> () const </td></tr>
93 <tr><td class="memItemLeft" align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#af8eae54e22a79d607805ed04a51839a3">size</a> () const </td></tr>
94 <tr><td class="memItemLeft" align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a87a356c4ae857391795bd5d49aa6c903">length</a> () const </td></tr>
95 <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a3b17b59131528082deeb14560f5f729b">isNull</a> () const </td></tr>
96 <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#aa8068b1dfcb7a601a11d712612f65789">isEmpty</a> () const </td></tr>
97 <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a27062508105028783038c337b1dda581">isBinary</a> () const </td></tr>
98 <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a8d75f3f0117073e7d1271ff86192130a">startWith</a> (const <a class="el" href="class_s_e_string.html">SEString</a> &amp;str) const </td></tr>
99 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_e_string.html">SEString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a9ebcedcc34819576d536224d1bcbf300">right</a> (unsigned int len) const </td></tr>
100 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_e_string.html">SEString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a78a5acf25aa850e9e327731815b4d1e3">trim</a> (const <a class="el" href="class_s_e_string.html">SEString</a> &amp;str) const </td></tr>
101 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_e_string.html">SEString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a38c17ded14d6930f7fe60099ed7dfe68">substr</a> (int from, int to) const </td></tr>
102 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_e_string.html">SEString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a7dbf962ab7af62f56f2217a34a7024a5">deepCopy</a> () const </td></tr>
103 <tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#aa04ccd9c93f313140f9d4e21f500b1ff">hash</a> (unsigned int size=1) const </td></tr>
104 <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#ac553400b9cf66a189d08e98be13ea66b">equals</a> (const <a class="el" href="class_s_e_string.html">SEString</a> &amp;str) const </td></tr>
105 <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a2fe92797b271bc771a7a5f23ba180a67">equals</a> (const char *str) const </td></tr>
106 <tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a3d1e2b9feda0e5d288e74293f0e37974">find</a> (char c) const </td></tr>
107 <tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#aaf263b27f72d310ccf55022ceed03201">find</a> (int startpos, char c) const </td></tr>
108 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_e_string.html">SEString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#af7060e65cc773ca331a4d8b1df20df42">operator+=</a> (const <a class="el" href="class_s_e_string.html">SEString</a> &amp;str)</td></tr>
109 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_e_string.html">SEString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a8f7a145939be2dcc0960ea595a9713bb">operator+=</a> (const char *str)</td></tr>
110 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_e_string.html">SEString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a12daafcfe3e0fad6e7f745a153ec879a">operator=</a> (const <a class="el" href="class_s_e_string.html">SEString</a> &amp;str)</td></tr>
111 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_e_string.html">SEString</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#aba33fce847e3668b08ec46a4389140a9">operator=</a> (const char *str)</td></tr>
112 <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a777f54cf0d4e9fc0ca230c18bc6e442a">toBool</a> () const </td></tr>
113 <tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#ad0aeff3864de0f10f7e68146586a2f64">toInt</a> () const </td></tr>
114 <tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#ad638d3479025452c9d3cc9a8df5bc41f">toUInt</a> () const </td></tr>
115 <tr><td class="memItemLeft" align="right" valign="top">size_t&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a43483973b01934ca55b1671c61bad1c5">toBinary</a> (char *bin) const </td></tr>
116 <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_s_e_string.html">SEString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#ad1da547c5772a8a7f2c6fc630ff081ec">getHexRepresentation</a> () const </td></tr>
117 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a5761ebbb7662089c0f4ede51d4daac26">Format</a> (const char *format, va_list arglist)</td></tr>
118 <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a9e74796273e1df82b1acac13da0c6e9f">Format</a> (const char *format,...)</td></tr>
119 <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
120 <tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="class_s_e_string.html">SEString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a315f0dd8f3d6e532192b4e95835ebf92">from</a> (int n)</td></tr>
121 <tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="class_s_e_string.html">SEString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a48d52850abc1c66247ee28263ad65f54">from</a> (unsigned int u, unsigned int base=10)</td></tr>
122 <tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="class_s_e_string.html">SEString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a0c7bda9fae59faa45e3bf2423077e500">from</a> (bool b)</td></tr>
123 <tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="class_s_e_string.html">SEString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a1f1c3250ab62e5f695d9bcfbf320f9cf">from</a> (char *bin, unsigned int len)</td></tr>
124 <tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="class_s_e_string.html">SEString</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_e_string.html#a94d622b9c44de68df83236751d9ee56f">from</a> (unsigned char chr)</td></tr>
125 </table>
126 <hr/><a name="_details"></a><h2>Detailed Description</h2>
127 <p><a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a> is basic char* based string class. </p>
128 <p><a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a> uses implicit sharing (i.e. reference counting). In all of the <a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a> methods that take const char * parameters, the const char * is interpreted as a classic C-style '\0'-terminated ASCII string. A <a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a> that has not been assigned to anything is null, i.e. both the length and data pointer is 0. A <a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a> that references the empty string ("", a single '\0' char) is empty. Use if ( !str.<a class="el" href="class_s_e_string.html#a3b17b59131528082deeb14560f5f729b">isNull()</a> ) to check for a non-null string.</p>
129 <p>This class is not thread-safe. Make sure to use <a class="el" href="class_s_e_string.html#a7dbf962ab7af62f56f2217a34a7024a5">deepCopy()</a> when passing between threads. </p>
130 <dl><dt><b>Examples: </b></dt><dd>
131 <p><a class="el" href="tutorial__1_8cpp-example.html#_a3">tutorial_1.cpp</a>, <a class="el" href="tutorial__10_8cpp-example.html#_a5">tutorial_10.cpp</a>, <a class="el" href="tutorial__2_8cpp-example.html#_a14">tutorial_2.cpp</a>, <a class="el" href="tutorial__3_8cpp-example.html#_a10">tutorial_3.cpp</a>, <a class="el" href="tutorial__4_8cpp-example.html#_a4">tutorial_4.cpp</a>, <a class="el" href="tutorial__5_8cpp-example.html#_a5">tutorial_5.cpp</a>, <a class="el" href="tutorial__6_8cpp-example.html#_a7">tutorial_6.cpp</a>, <a class="el" href="tutorial__7_8cpp-example.html#_a1">tutorial_7.cpp</a>, <a class="el" href="tutorial__8_8cpp-example.html#_a0">tutorial_8.cpp</a>, and <a class="el" href="tutorial__9_8cpp-example.html#_a2">tutorial_9.cpp</a>.</p>
132 </dd>
133 </dl>
134 <p>Definition at line <a class="el" href="skype-string_8h_source.html#l00022">22</a> of file <a class="el" href="skype-string_8h_source.html">skype-string.h</a>.</p>
135 <hr/><h2>Constructor &amp; Destructor Documentation</h2>
136 <a class="anchor" id="a140b27d5acde102d2242c93b73a73c1d"></a><!-- doxytag: member="SEString::SEString" ref="a140b27d5acde102d2242c93b73a73c1d" args="()" -->
137 <div class="memitem">
138 <div class="memproto">
139       <table class="memname">
140         <tr>
141           <td class="memname">SEString::SEString </td>
142           <td>(</td>
143           <td class="paramname"></td>
144           <td>&nbsp;)&nbsp;</td>
145           <td><code> [inline]</code></td>
146         </tr>
147       </table>
148 </div>
149 <div class="memdoc">
150 <p>Constructs a null string, i.e. both the length and data pointer are 0. See also <a class="el" href="class_s_e_string.html#a3b17b59131528082deeb14560f5f729b">isNull()</a>. </p>
151
152 <p>Definition at line <a class="el" href="skype-string_8h_source.html#l00291">291</a> of file <a class="el" href="skype-string_8h_source.html">skype-string.h</a>.</p>
153
154 </div>
155 </div>
156 <a class="anchor" id="a929f007a41949c69557c0f1d94dd9444"></a><!-- doxytag: member="SEString::SEString" ref="a929f007a41949c69557c0f1d94dd9444" args="(const char *str)" -->
157 <div class="memitem">
158 <div class="memproto">
159       <table class="memname">
160         <tr>
161           <td class="memname">SEString::SEString </td>
162           <td>(</td>
163           <td class="paramtype">const char *&nbsp;</td>
164           <td class="paramname"> <em>str</em></td>
165           <td>&nbsp;)&nbsp;</td>
166           <td><code> [inline]</code></td>
167         </tr>
168       </table>
169 </div>
170 <div class="memdoc">
171 <p>Constructs a string that is a deep copy of str, interpreted as a classic C string. If str is 0, then a null string is created. </p>
172
173 <p>Definition at line <a class="el" href="skype-string_8h_source.html#l00297">297</a> of file <a class="el" href="skype-string_8h_source.html">skype-string.h</a>.</p>
174
175 </div>
176 </div>
177 <a class="anchor" id="a7245aa17f007997da724066a68766f15"></a><!-- doxytag: member="SEString::SEString" ref="a7245aa17f007997da724066a68766f15" args="(const SEString &amp;str)" -->
178 <div class="memitem">
179 <div class="memproto">
180       <table class="memname">
181         <tr>
182           <td class="memname">SEString::SEString </td>
183           <td>(</td>
184           <td class="paramtype">const <a class="el" href="class_s_e_string.html">SEString</a> &amp;&nbsp;</td>
185           <td class="paramname"> <em>str</em></td>
186           <td>&nbsp;)&nbsp;</td>
187           <td><code> [inline]</code></td>
188         </tr>
189       </table>
190 </div>
191 <div class="memdoc">
192 <p>Constructs an implicitly shared copy of str. This is very fast since it only involves incrementing a reference count. </p>
193 <dl><dt><b>Parameters:</b></dt><dd>
194   <table border="0" cellspacing="2" cellpadding="0">
195     <tr><td valign="top"></td><td valign="top"><em>str</em>&nbsp;</td><td>is a string to copy </td></tr>
196   </table>
197   </dd>
198 </dl>
199
200 <p>Definition at line <a class="el" href="skype-string_8h_source.html#l00303">303</a> of file <a class="el" href="skype-string_8h_source.html">skype-string.h</a>.</p>
201
202 </div>
203 </div>
204 <a class="anchor" id="a76ba3bb99550f2b3bb685f8aa86bbb4f"></a><!-- doxytag: member="SEString::~SEString" ref="a76ba3bb99550f2b3bb685f8aa86bbb4f" args="()" -->
205 <div class="memitem">
206 <div class="memproto">
207       <table class="memname">
208         <tr>
209           <td class="memname">SEString::~SEString </td>
210           <td>(</td>
211           <td class="paramname"></td>
212           <td>&nbsp;)&nbsp;</td>
213           <td><code> [inline]</code></td>
214         </tr>
215       </table>
216 </div>
217 <div class="memdoc">
218 <p>Destroys the string and frees the string's data if this is the last reference to the string. </p>
219
220 <p>Definition at line <a class="el" href="skype-string_8h_source.html#l00309">309</a> of file <a class="el" href="skype-string_8h_source.html">skype-string.h</a>.</p>
221
222 </div>
223 </div>
224 <hr/><h2>Member Function Documentation</h2>
225 <a class="anchor" id="a391238e048f04a2c6cd71986dc006687"></a><!-- doxytag: member="SEString::data" ref="a391238e048f04a2c6cd71986dc006687" args="() const " -->
226 <div class="memitem">
227 <div class="memproto">
228       <table class="memname">
229         <tr>
230           <td class="memname">const char* SEString::data </td>
231           <td>(</td>
232           <td class="paramname"></td>
233           <td>&nbsp;)&nbsp;</td>
234           <td> const<code> [inline]</code></td>
235         </tr>
236       </table>
237 </div>
238 <div class="memdoc">
239
240 <p>Definition at line <a class="el" href="skype-string_8h_source.html#l00102">102</a> of file <a class="el" href="skype-string_8h_source.html">skype-string.h</a>.</p>
241
242 <p>References <a class="el" href="skype-string_8cpp_source.html#l00149">operator const char *()</a>.</p>
243
244 </div>
245 </div>
246 <a class="anchor" id="a7dbf962ab7af62f56f2217a34a7024a5"></a><!-- doxytag: member="SEString::deepCopy" ref="a7dbf962ab7af62f56f2217a34a7024a5" args="() const " -->
247 <div class="memitem">
248 <div class="memproto">
249       <table class="memname">
250         <tr>
251           <td class="memname"><a class="el" href="class_s_e_string.html">SEString</a> SEString::deepCopy </td>
252           <td>(</td>
253           <td class="paramname"></td>
254           <td>&nbsp;)&nbsp;</td>
255           <td> const</td>
256         </tr>
257       </table>
258 </div>
259 <div class="memdoc">
260 <p>Creates a copy of the string that can be passed between threads.</p>
261
262 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00527">527</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
263
264 </div>
265 </div>
266 <a class="anchor" id="a2fe92797b271bc771a7a5f23ba180a67"></a><!-- doxytag: member="SEString::equals" ref="a2fe92797b271bc771a7a5f23ba180a67" args="(const char *str) const " -->
267 <div class="memitem">
268 <div class="memproto">
269       <table class="memname">
270         <tr>
271           <td class="memname">bool SEString::equals </td>
272           <td>(</td>
273           <td class="paramtype">const char *&nbsp;</td>
274           <td class="paramname"> <em>str</em></td>
275           <td>&nbsp;)&nbsp;</td>
276           <td> const</td>
277         </tr>
278       </table>
279 </div>
280 <div class="memdoc">
281 <p>Returns true if str is equal to the string; otherwise returns false. Note that a null string is not equal to a not-null empty string. </p>
282
283 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00573">573</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
284
285 <p>References <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>.</p>
286
287 </div>
288 </div>
289 <a class="anchor" id="ac553400b9cf66a189d08e98be13ea66b"></a><!-- doxytag: member="SEString::equals" ref="ac553400b9cf66a189d08e98be13ea66b" args="(const SEString &amp;str) const " -->
290 <div class="memitem">
291 <div class="memproto">
292       <table class="memname">
293         <tr>
294           <td class="memname">bool SEString::equals </td>
295           <td>(</td>
296           <td class="paramtype">const <a class="el" href="class_s_e_string.html">SEString</a> &amp;&nbsp;</td>
297           <td class="paramname"> <em>str</em></td>
298           <td>&nbsp;)&nbsp;</td>
299           <td> const</td>
300         </tr>
301       </table>
302 </div>
303 <div class="memdoc">
304 <p>Returns true if str is equal to the string; otherwise returns false. Note that a null string is not equal to a not-null empty string. </p>
305
306 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00562">562</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
307
308 <p>References <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>.</p>
309
310 </div>
311 </div>
312 <a class="anchor" id="aaf263b27f72d310ccf55022ceed03201"></a><!-- doxytag: member="SEString::find" ref="aaf263b27f72d310ccf55022ceed03201" args="(int startpos, char c) const " -->
313 <div class="memitem">
314 <div class="memproto">
315       <table class="memname">
316         <tr>
317           <td class="memname">int SEString::find </td>
318           <td>(</td>
319           <td class="paramtype">int&nbsp;</td>
320           <td class="paramname"> <em>startpos</em>, </td>
321         </tr>
322         <tr>
323           <td class="paramkey"></td>
324           <td></td>
325           <td class="paramtype">char&nbsp;</td>
326           <td class="paramname"> <em>c</em></td><td>&nbsp;</td>
327         </tr>
328         <tr>
329           <td></td>
330           <td>)</td>
331           <td></td><td></td><td> const</td>
332         </tr>
333       </table>
334 </div>
335 <div class="memdoc">
336
337 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00597">597</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
338
339 <p>References <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>.</p>
340
341 </div>
342 </div>
343 <a class="anchor" id="a3d1e2b9feda0e5d288e74293f0e37974"></a><!-- doxytag: member="SEString::find" ref="a3d1e2b9feda0e5d288e74293f0e37974" args="(char c) const " -->
344 <div class="memitem">
345 <div class="memproto">
346       <table class="memname">
347         <tr>
348           <td class="memname">int SEString::find </td>
349           <td>(</td>
350           <td class="paramtype">char&nbsp;</td>
351           <td class="paramname"> <em>c</em></td>
352           <td>&nbsp;)&nbsp;</td>
353           <td> const</td>
354         </tr>
355       </table>
356 </div>
357 <div class="memdoc">
358 <p>Finds the first occurrence of the character. </p>
359 <dl class="return"><dt><b>Returns:</b></dt><dd>Returns the position of c or -1 if c could not be found. </dd></dl>
360
361 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00584">584</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
362
363 <p>References <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>.</p>
364
365 </div>
366 </div>
367 <a class="anchor" id="a9e74796273e1df82b1acac13da0c6e9f"></a><!-- doxytag: member="SEString::Format" ref="a9e74796273e1df82b1acac13da0c6e9f" args="(const char *format,...)" -->
368 <div class="memitem">
369 <div class="memproto">
370       <table class="memname">
371         <tr>
372           <td class="memname">void SEString::Format </td>
373           <td>(</td>
374           <td class="paramtype">const char *&nbsp;</td>
375           <td class="paramname"> <em>format</em>, </td>
376         </tr>
377         <tr>
378           <td class="paramkey"></td>
379           <td></td>
380           <td class="paramtype">&nbsp;</td>
381           <td class="paramname"> <em>...</em></td><td>&nbsp;</td>
382         </tr>
383         <tr>
384           <td></td>
385           <td>)</td>
386           <td></td><td></td><td><code> [inline]</code></td>
387         </tr>
388       </table>
389 </div>
390 <div class="memdoc">
391
392 <p>Definition at line <a class="el" href="skype-string_8h_source.html#l00205">205</a> of file <a class="el" href="skype-string_8h_source.html">skype-string.h</a>.</p>
393
394 <p>References <a class="el" href="skype-string_8cpp_source.html#l00623">Format()</a>.</p>
395
396 </div>
397 </div>
398 <a class="anchor" id="a5761ebbb7662089c0f4ede51d4daac26"></a><!-- doxytag: member="SEString::Format" ref="a5761ebbb7662089c0f4ede51d4daac26" args="(const char *format, va_list arglist)" -->
399 <div class="memitem">
400 <div class="memproto">
401       <table class="memname">
402         <tr>
403           <td class="memname">void SEString::Format </td>
404           <td>(</td>
405           <td class="paramtype">const char *&nbsp;</td>
406           <td class="paramname"> <em>format</em>, </td>
407         </tr>
408         <tr>
409           <td class="paramkey"></td>
410           <td></td>
411           <td class="paramtype">va_list&nbsp;</td>
412           <td class="paramname"> <em>arglist</em></td><td>&nbsp;</td>
413         </tr>
414         <tr>
415           <td></td>
416           <td>)</td>
417           <td></td><td></td><td></td>
418         </tr>
419       </table>
420 </div>
421 <div class="memdoc">
422
423 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00623">623</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
424
425 </div>
426 </div>
427 <a class="anchor" id="a94d622b9c44de68df83236751d9ee56f"></a><!-- doxytag: member="SEString::from" ref="a94d622b9c44de68df83236751d9ee56f" args="(unsigned char chr)" -->
428 <div class="memitem">
429 <div class="memproto">
430       <table class="memname">
431         <tr>
432           <td class="memname">const <a class="el" href="class_s_e_string.html">SEString</a> SEString::from </td>
433           <td>(</td>
434           <td class="paramtype">unsigned char&nbsp;</td>
435           <td class="paramname"> <em>chr</em></td>
436           <td>&nbsp;)&nbsp;</td>
437           <td><code> [static]</code></td>
438         </tr>
439       </table>
440 </div>
441 <div class="memdoc">
442
443 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00253">253</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
444
445 <p>References <a class="el" href="skype-string_8h_source.html#l00291">SEString()</a>.</p>
446
447 </div>
448 </div>
449 <a class="anchor" id="a1f1c3250ab62e5f695d9bcfbf320f9cf"></a><!-- doxytag: member="SEString::from" ref="a1f1c3250ab62e5f695d9bcfbf320f9cf" args="(char *bin, unsigned int len)" -->
450 <div class="memitem">
451 <div class="memproto">
452       <table class="memname">
453         <tr>
454           <td class="memname">const <a class="el" href="class_s_e_string.html">SEString</a> SEString::from </td>
455           <td>(</td>
456           <td class="paramtype">char *&nbsp;</td>
457           <td class="paramname"> <em>bin</em>, </td>
458         </tr>
459         <tr>
460           <td class="paramkey"></td>
461           <td></td>
462           <td class="paramtype">unsigned int&nbsp;</td>
463           <td class="paramname"> <em>len</em></td><td>&nbsp;</td>
464         </tr>
465         <tr>
466           <td></td>
467           <td>)</td>
468           <td></td><td></td><td><code> [static]</code></td>
469         </tr>
470       </table>
471 </div>
472 <div class="memdoc">
473 <p>Converts a binary into a <a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a>. </p>
474
475 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00289">289</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
476
477 </div>
478 </div>
479 <a class="anchor" id="a0c7bda9fae59faa45e3bf2423077e500"></a><!-- doxytag: member="SEString::from" ref="a0c7bda9fae59faa45e3bf2423077e500" args="(bool b)" -->
480 <div class="memitem">
481 <div class="memproto">
482       <table class="memname">
483         <tr>
484           <td class="memname">const <a class="el" href="class_s_e_string.html">SEString</a> SEString::from </td>
485           <td>(</td>
486           <td class="paramtype">bool&nbsp;</td>
487           <td class="paramname"> <em>b</em></td>
488           <td>&nbsp;)&nbsp;</td>
489           <td><code> [static]</code></td>
490         </tr>
491       </table>
492 </div>
493 <div class="memdoc">
494 <p>Converts a boolean into a <a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a>. </p>
495
496 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00275">275</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
497
498 <p>References <a class="el" href="skype-string_8h_source.html#l00291">SEString()</a>.</p>
499
500 </div>
501 </div>
502 <a class="anchor" id="a48d52850abc1c66247ee28263ad65f54"></a><!-- doxytag: member="SEString::from" ref="a48d52850abc1c66247ee28263ad65f54" args="(unsigned int u, unsigned int base=10)" -->
503 <div class="memitem">
504 <div class="memproto">
505       <table class="memname">
506         <tr>
507           <td class="memname">const <a class="el" href="class_s_e_string.html">SEString</a> SEString::from </td>
508           <td>(</td>
509           <td class="paramtype">unsigned int&nbsp;</td>
510           <td class="paramname"> <em>u</em>, </td>
511         </tr>
512         <tr>
513           <td class="paramkey"></td>
514           <td></td>
515           <td class="paramtype">unsigned int&nbsp;</td>
516           <td class="paramname"> <em>base</em> = <code>10</code></td><td>&nbsp;</td>
517         </tr>
518         <tr>
519           <td></td>
520           <td>)</td>
521           <td></td><td></td><td><code> [static]</code></td>
522         </tr>
523       </table>
524 </div>
525 <div class="memdoc">
526 <p>Converts an integer into a <a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a> using the given base. Only base 10 and 16 are supported. </p>
527
528 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00263">263</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
529
530 <p>References <a class="el" href="skype-string_8h_source.html#l00291">SEString()</a>.</p>
531
532 </div>
533 </div>
534 <a class="anchor" id="a315f0dd8f3d6e532192b4e95835ebf92"></a><!-- doxytag: member="SEString::from" ref="a315f0dd8f3d6e532192b4e95835ebf92" args="(int n)" -->
535 <div class="memitem">
536 <div class="memproto">
537       <table class="memname">
538         <tr>
539           <td class="memname">const <a class="el" href="class_s_e_string.html">SEString</a> SEString::from </td>
540           <td>(</td>
541           <td class="paramtype">int&nbsp;</td>
542           <td class="paramname"> <em>n</em></td>
543           <td>&nbsp;)&nbsp;</td>
544           <td><code> [static]</code></td>
545         </tr>
546       </table>
547 </div>
548 <div class="memdoc">
549 <p>Converts an integer into a <a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a>. </p>
550
551 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00244">244</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
552
553 <p>References <a class="el" href="skype-string_8h_source.html#l00291">SEString()</a>.</p>
554
555 </div>
556 </div>
557 <a class="anchor" id="ad1da547c5772a8a7f2c6fc630ff081ec"></a><!-- doxytag: member="SEString::getHexRepresentation" ref="ad1da547c5772a8a7f2c6fc630ff081ec" args="() const " -->
558 <div class="memitem">
559 <div class="memproto">
560       <table class="memname">
561         <tr>
562           <td class="memname"><a class="el" href="class_s_e_string.html">SEString</a> SEString::getHexRepresentation </td>
563           <td>(</td>
564           <td class="paramname"></td>
565           <td>&nbsp;)&nbsp;</td>
566           <td> const</td>
567         </tr>
568       </table>
569 </div>
570 <div class="memdoc">
571 <p>For binaries returns a string with the hexa representation </p>
572
573 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00383">383</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
574
575 <p>References <a class="el" href="skype-string_8cpp_source.html#l00167">isBinary()</a>, <a class="el" href="skype-string_8cpp_source.html#l00159">length()</a>, <a class="el" href="skype-string_8h_source.html#l00291">SEString()</a>, and <a class="el" href="skype-string_8cpp_source.html#l00352">toBinary()</a>.</p>
576
577 </div>
578 </div>
579 <a class="anchor" id="aa04ccd9c93f313140f9d4e21f500b1ff"></a><!-- doxytag: member="SEString::hash" ref="aa04ccd9c93f313140f9d4e21f500b1ff" args="(unsigned int size=1) const " -->
580 <div class="memitem">
581 <div class="memproto">
582       <table class="memname">
583         <tr>
584           <td class="memname">unsigned int SEString::hash </td>
585           <td>(</td>
586           <td class="paramtype">unsigned int&nbsp;</td>
587           <td class="paramname"> <em>size</em> = <code>1</code></td>
588           <td>&nbsp;)&nbsp;</td>
589           <td> const</td>
590         </tr>
591       </table>
592 </div>
593 <div class="memdoc">
594 <p>Returns a hashed value of the string. For internal use. </p>
595
596 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00536">536</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
597
598 <p>References <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>.</p>
599
600 </div>
601 </div>
602 <a class="anchor" id="a27062508105028783038c337b1dda581"></a><!-- doxytag: member="SEString::isBinary" ref="a27062508105028783038c337b1dda581" args="() const " -->
603 <div class="memitem">
604 <div class="memproto">
605       <table class="memname">
606         <tr>
607           <td class="memname">bool SEString::isBinary </td>
608           <td>(</td>
609           <td class="paramname"></td>
610           <td>&nbsp;)&nbsp;</td>
611           <td> const</td>
612         </tr>
613       </table>
614 </div>
615 <div class="memdoc">
616 <p>Checks if the string contains binary data </p>
617
618 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00167">167</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
619
620 </div>
621 </div>
622 <a class="anchor" id="aa8068b1dfcb7a601a11d712612f65789"></a><!-- doxytag: member="SEString::isEmpty" ref="aa8068b1dfcb7a601a11d712612f65789" args="() const " -->
623 <div class="memitem">
624 <div class="memproto">
625       <table class="memname">
626         <tr>
627           <td class="memname">bool SEString::isEmpty </td>
628           <td>(</td>
629           <td class="paramname"></td>
630           <td>&nbsp;)&nbsp;</td>
631           <td> const<code> [inline]</code></td>
632         </tr>
633       </table>
634 </div>
635 <div class="memdoc">
636 <p>Returns true if the string is empty, i.e. if <a class="el" href="class_s_e_string.html#a87a356c4ae857391795bd5d49aa6c903">length()</a> == 0; otherwise returns false. Null strings are also empty. <a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a> a(""); a.isEmpty(); // TRUE a.isNull(); // FALSE</p>
637 <p><a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a> b; b.isEmpty(); // TRUE b.isNull(); // TRUE</p>
638 <p>See also <a class="el" href="class_s_e_string.html#a3b17b59131528082deeb14560f5f729b">isNull()</a> and <a class="el" href="class_s_e_string.html#a87a356c4ae857391795bd5d49aa6c903">length()</a>. </p>
639 <dl><dt><b>Examples: </b></dt><dd><a class="el" href="tutorial__9_8cpp-example.html#a3">tutorial_9.cpp</a>.</dd>
640 </dl>
641 <p>Definition at line <a class="el" href="skype-string_8h_source.html#l00319">319</a> of file <a class="el" href="skype-string_8h_source.html">skype-string.h</a>.</p>
642
643 <p>References <a class="el" href="skype-string_8cpp_source.html#l00159">length()</a>.</p>
644
645 </div>
646 </div>
647 <a class="anchor" id="a3b17b59131528082deeb14560f5f729b"></a><!-- doxytag: member="SEString::isNull" ref="a3b17b59131528082deeb14560f5f729b" args="() const " -->
648 <div class="memitem">
649 <div class="memproto">
650       <table class="memname">
651         <tr>
652           <td class="memname">bool SEString::isNull </td>
653           <td>(</td>
654           <td class="paramname"></td>
655           <td>&nbsp;)&nbsp;</td>
656           <td> const<code> [inline]</code></td>
657         </tr>
658       </table>
659 </div>
660 <div class="memdoc">
661 <p>Returns true if the string is null; otherwise returns false. A null string is always empty. See also <a class="el" href="class_s_e_string.html#aa8068b1dfcb7a601a11d712612f65789">isEmpty()</a> and <a class="el" href="class_s_e_string.html#a87a356c4ae857391795bd5d49aa6c903">length()</a>. </p>
662
663 <p>Definition at line <a class="el" href="skype-string_8h_source.html#l00314">314</a> of file <a class="el" href="skype-string_8h_source.html">skype-string.h</a>.</p>
664
665 </div>
666 </div>
667 <a class="anchor" id="a87a356c4ae857391795bd5d49aa6c903"></a><!-- doxytag: member="SEString::length" ref="a87a356c4ae857391795bd5d49aa6c903" args="() const " -->
668 <div class="memitem">
669 <div class="memproto">
670       <table class="memname">
671         <tr>
672           <td class="memname">size_t SEString::length </td>
673           <td>(</td>
674           <td class="paramname"></td>
675           <td>&nbsp;)&nbsp;</td>
676           <td> const</td>
677         </tr>
678       </table>
679 </div>
680 <div class="memdoc">
681 <p>Returns the length of the string. Null strings and empty strings have zero length. See also <a class="el" href="class_s_e_string.html#a3b17b59131528082deeb14560f5f729b">isNull()</a> and <a class="el" href="class_s_e_string.html#aa8068b1dfcb7a601a11d712612f65789">isEmpty()</a>. </p>
682
683 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00159">159</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
684
685 <p>References <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>.</p>
686
687 </div>
688 </div>
689 <a class="anchor" id="a6ff403fcfc585613a469d1e9374b93b4"></a><!-- doxytag: member="SEString::operator const char *" ref="a6ff403fcfc585613a469d1e9374b93b4" args="() const " -->
690 <div class="memitem">
691 <div class="memproto">
692       <table class="memname">
693         <tr>
694           <td class="memname">SEString::operator const char * </td>
695           <td>(</td>
696           <td class="paramtype">void&nbsp;</td>
697           <td class="paramname"></td>
698           <td>&nbsp;)&nbsp;</td>
699           <td> const</td>
700         </tr>
701       </table>
702 </div>
703 <div class="memdoc">
704 <p>Returns a pointer to the string storing the data. If the string is null (as defined by <a class="el" href="class_s_e_string.html#a3b17b59131528082deeb14560f5f729b">isNull()</a> == true), returns an empty string.</p>
705 <p>If you need to keep this string after the <a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a> object gets deleted, make a copy. In other words, the char* pointer is valid ONLY AS LONG as the corresponding <a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a> is valid. When the <a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a> gets deleted, the data get freed and the pointer is invalid.</p>
706 <p>Some examples: </p>
707 <pre>
708         // Works:
709         <a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a> skypeName = me-&gt;GetProp(Contact::P_SKYPENAME);
710         printf("CONTACT %s\n", (const char*)skypeName);</pre><pre>      // Doesn't work, segmentation fault:
711         const char * skypeName = (const char *) me-&gt;GetProp(Contact::P_SKYPENAME);
712         printf("CONTACT %s\n", skypeName);</pre><pre>   // Doesn't work:
713         const char * skypeName;
714         if (1) {
715                 <a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a> skypeName_1 = me-&gt;GetProp(Contact::P_SKYPENAME);
716                 skypeName = (const char *) skypeName_1;
717         } // skypeName_1 deleted here
718         printf("CONTACT %s\n", skypeName); // skypeName_1 has been deleted and the correponding data too</pre><pre>     // Works:
719         <a class="el" href="class_s_e_string.html" title="SEString is basic char* based string class.">SEString</a> skypeName_1 = me-&gt;GetProp(Contact::P_SKYPENAME);
720         const char * skypeName = (const char *) skypeName_1;
721         printf("CONTACT %s\n", skypeName);
722  </pre><p>NB: The example above uses <a class="el" href="class_s_e_object.html#a62030d74b86beceb9c25c0351bb8e3e5">SEObject::GetProp()</a> but in UI it is strongly discouraged to use GetProp(). <a class="el" href="class_s_e_object.html#ac63af2841da03285d2bb9c0fcb42e578">SEObject::GetProps()</a> or Skype::GetMultipleObjectsProps() should be used instead.</p>
723
724 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00149">149</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
725
726 <p>References <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>.</p>
727
728 </div>
729 </div>
730 <a class="anchor" id="a8f7a145939be2dcc0960ea595a9713bb"></a><!-- doxytag: member="SEString::operator+=" ref="a8f7a145939be2dcc0960ea595a9713bb" args="(const char *str)" -->
731 <div class="memitem">
732 <div class="memproto">
733       <table class="memname">
734         <tr>
735           <td class="memname"><a class="el" href="class_s_e_string.html">SEString</a> &amp; SEString::operator+= </td>
736           <td>(</td>
737           <td class="paramtype">const char *&nbsp;</td>
738           <td class="paramname"> <em>str</em></td>
739           <td>&nbsp;)&nbsp;</td>
740           <td></td>
741         </tr>
742       </table>
743 </div>
744 <div class="memdoc">
745 <p>Appends str to the string and returns a reference to the string. </p>
746
747 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00427">427</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
748
749 <p>References <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>, and <a class="el" href="skype-string_8cpp_source.html#l00159">length()</a>.</p>
750
751 </div>
752 </div>
753 <a class="anchor" id="af7060e65cc773ca331a4d8b1df20df42"></a><!-- doxytag: member="SEString::operator+=" ref="af7060e65cc773ca331a4d8b1df20df42" args="(const SEString &amp;str)" -->
754 <div class="memitem">
755 <div class="memproto">
756       <table class="memname">
757         <tr>
758           <td class="memname"><a class="el" href="class_s_e_string.html">SEString</a> &amp; SEString::operator+= </td>
759           <td>(</td>
760           <td class="paramtype">const <a class="el" href="class_s_e_string.html">SEString</a> &amp;&nbsp;</td>
761           <td class="paramname"> <em>str</em></td>
762           <td>&nbsp;)&nbsp;</td>
763           <td></td>
764         </tr>
765       </table>
766 </div>
767 <div class="memdoc">
768 <p>Appends str to the string and returns a reference to the string. </p>
769
770 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00405">405</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
771
772 <p>References <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>, and <a class="el" href="skype-string_8cpp_source.html#l00159">length()</a>.</p>
773
774 </div>
775 </div>
776 <a class="anchor" id="aba33fce847e3668b08ec46a4389140a9"></a><!-- doxytag: member="SEString::operator=" ref="aba33fce847e3668b08ec46a4389140a9" args="(const char *str)" -->
777 <div class="memitem">
778 <div class="memproto">
779       <table class="memname">
780         <tr>
781           <td class="memname"><a class="el" href="class_s_e_string.html">SEString</a> &amp; SEString::operator= </td>
782           <td>(</td>
783           <td class="paramtype">const char *&nbsp;</td>
784           <td class="paramname"> <em>str</em></td>
785           <td>&nbsp;)&nbsp;</td>
786           <td></td>
787         </tr>
788       </table>
789 </div>
790 <div class="memdoc">
791 <p>Assigns a deep copy of str, interpreted as a classic C string to this string and returns a reference to this string. If str is 0, then a null string is created. See also <a class="el" href="class_s_e_string.html#a3b17b59131528082deeb14560f5f729b">isNull()</a>. </p>
792
793 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00461">461</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
794
795 </div>
796 </div>
797 <a class="anchor" id="a12daafcfe3e0fad6e7f745a153ec879a"></a><!-- doxytag: member="SEString::operator=" ref="a12daafcfe3e0fad6e7f745a153ec879a" args="(const SEString &amp;str)" -->
798 <div class="memitem">
799 <div class="memproto">
800       <table class="memname">
801         <tr>
802           <td class="memname"><a class="el" href="class_s_e_string.html">SEString</a> &amp; SEString::operator= </td>
803           <td>(</td>
804           <td class="paramtype">const <a class="el" href="class_s_e_string.html">SEString</a> &amp;&nbsp;</td>
805           <td class="paramname"> <em>str</em></td>
806           <td>&nbsp;)&nbsp;</td>
807           <td></td>
808         </tr>
809       </table>
810 </div>
811 <div class="memdoc">
812 <p>Assigns a shallow copy of s to this string and returns a reference to this string. This is very fast because the string isn't actually copied. </p>
813
814 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00450">450</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
815
816 </div>
817 </div>
818 <a class="anchor" id="a9ebcedcc34819576d536224d1bcbf300"></a><!-- doxytag: member="SEString::right" ref="a9ebcedcc34819576d536224d1bcbf300" args="(unsigned int len) const " -->
819 <div class="memitem">
820 <div class="memproto">
821       <table class="memname">
822         <tr>
823           <td class="memname"><a class="el" href="class_s_e_string.html">SEString</a> SEString::right </td>
824           <td>(</td>
825           <td class="paramtype">unsigned int&nbsp;</td>
826           <td class="paramname"> <em>len</em></td>
827           <td>&nbsp;)&nbsp;</td>
828           <td> const</td>
829         </tr>
830       </table>
831 </div>
832 <div class="memdoc">
833 <p>Returns a string that contains the len rightmost characters of the string. If len is greater than the length of the string then the whole string is returned. </p>
834
835 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00218">218</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
836
837 <p>References <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>, and <a class="el" href="skype-string_8cpp_source.html#l00159">length()</a>.</p>
838
839 </div>
840 </div>
841 <a class="anchor" id="af8eae54e22a79d607805ed04a51839a3"></a><!-- doxytag: member="SEString::size" ref="af8eae54e22a79d607805ed04a51839a3" args="() const " -->
842 <div class="memitem">
843 <div class="memproto">
844       <table class="memname">
845         <tr>
846           <td class="memname">size_t SEString::size </td>
847           <td>(</td>
848           <td class="paramname"></td>
849           <td>&nbsp;)&nbsp;</td>
850           <td> const<code> [inline]</code></td>
851         </tr>
852       </table>
853 </div>
854 <div class="memdoc">
855 <p>Returns the length of the string. Null strings and empty strings have zero length. See also <a class="el" href="class_s_e_string.html#a3b17b59131528082deeb14560f5f729b">isNull()</a> and <a class="el" href="class_s_e_string.html#aa8068b1dfcb7a601a11d712612f65789">isEmpty()</a>. </p>
856
857 <p>Definition at line <a class="el" href="skype-string_8h_source.html#l00110">110</a> of file <a class="el" href="skype-string_8h_source.html">skype-string.h</a>.</p>
858
859 <p>References <a class="el" href="skype-string_8cpp_source.html#l00159">length()</a>.</p>
860
861 </div>
862 </div>
863 <a class="anchor" id="a8d75f3f0117073e7d1271ff86192130a"></a><!-- doxytag: member="SEString::startWith" ref="a8d75f3f0117073e7d1271ff86192130a" args="(const SEString &amp;str) const " -->
864 <div class="memitem">
865 <div class="memproto">
866       <table class="memname">
867         <tr>
868           <td class="memname">bool SEString::startWith </td>
869           <td>(</td>
870           <td class="paramtype">const <a class="el" href="class_s_e_string.html">SEString</a> &amp;&nbsp;</td>
871           <td class="paramname"> <em>str</em></td>
872           <td>&nbsp;)&nbsp;</td>
873           <td> const</td>
874         </tr>
875       </table>
876 </div>
877 <div class="memdoc">
878 <p>Returns true if the string starts with str; otherwise returns false. </p>
879
880 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00172">172</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
881
882 <p>References <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>, and <a class="el" href="skype-string_8cpp_source.html#l00159">length()</a>.</p>
883
884 </div>
885 </div>
886 <a class="anchor" id="a38c17ded14d6930f7fe60099ed7dfe68"></a><!-- doxytag: member="SEString::substr" ref="a38c17ded14d6930f7fe60099ed7dfe68" args="(int from, int to) const " -->
887 <div class="memitem">
888 <div class="memproto">
889       <table class="memname">
890         <tr>
891           <td class="memname"><a class="el" href="class_s_e_string.html">SEString</a> SEString::substr </td>
892           <td>(</td>
893           <td class="paramtype">int&nbsp;</td>
894           <td class="paramname"> <em>from</em>, </td>
895         </tr>
896         <tr>
897           <td class="paramkey"></td>
898           <td></td>
899           <td class="paramtype">int&nbsp;</td>
900           <td class="paramname"> <em>to</em></td><td>&nbsp;</td>
901         </tr>
902         <tr>
903           <td></td>
904           <td>)</td>
905           <td></td><td></td><td> const</td>
906         </tr>
907       </table>
908 </div>
909 <div class="memdoc">
910 <p>Returns a section of the string. The returned string consists of the characters from position start to position end inclusive. If end is not specified, all fields from position start to the end of the string are included. </p>
911
912 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00185">185</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
913
914 <p>References <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>, and <a class="el" href="skype-string_8cpp_source.html#l00159">length()</a>.</p>
915
916 </div>
917 </div>
918 <a class="anchor" id="a43483973b01934ca55b1671c61bad1c5"></a><!-- doxytag: member="SEString::toBinary" ref="a43483973b01934ca55b1671c61bad1c5" args="(char *bin) const " -->
919 <div class="memitem">
920 <div class="memproto">
921       <table class="memname">
922         <tr>
923           <td class="memname">size_t SEString::toBinary </td>
924           <td>(</td>
925           <td class="paramtype">char *&nbsp;</td>
926           <td class="paramname"> <em>bin</em></td>
927           <td>&nbsp;)&nbsp;</td>
928           <td> const</td>
929         </tr>
930       </table>
931 </div>
932 <div class="memdoc">
933 <p>Converts the string to a binary. </p>
934 <dl><dt><b>Parameters:</b></dt><dd>
935   <table border="0" cellspacing="2" cellpadding="0">
936     <tr><td valign="top"></td><td valign="top"><em>bin</em>&nbsp;</td><td>Initialized array to store the binary (use <a class="el" href="class_s_e_string.html#a87a356c4ae857391795bd5d49aa6c903">length()</a> to get a big enough array) </td></tr>
937   </table>
938   </dd>
939 </dl>
940 <dl class="return"><dt><b>Returns:</b></dt><dd>Size of the binary (which is likely to be smaller than <a class="el" href="class_s_e_string.html#a87a356c4ae857391795bd5d49aa6c903">length()</a>). Returns 0 if the string is null. </dd></dl>
941
942 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00352">352</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
943
944 <p>References <a class="el" href="skype-string_8cpp_source.html#l00167">isBinary()</a>, <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>, and <a class="el" href="skype-string_8cpp_source.html#l00159">length()</a>.</p>
945
946 </div>
947 </div>
948 <a class="anchor" id="a777f54cf0d4e9fc0ca230c18bc6e442a"></a><!-- doxytag: member="SEString::toBool" ref="a777f54cf0d4e9fc0ca230c18bc6e442a" args="() const " -->
949 <div class="memitem">
950 <div class="memproto">
951       <table class="memname">
952         <tr>
953           <td class="memname">bool SEString::toBool </td>
954           <td>(</td>
955           <td class="paramname"></td>
956           <td>&nbsp;)&nbsp;</td>
957           <td> const</td>
958         </tr>
959       </table>
960 </div>
961 <div class="memdoc">
962 <p>Converts the string to a boolean (works like atoi). Returns false on null strings. </p>
963
964 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00328">328</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
965
966 <p>References <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>.</p>
967
968 </div>
969 </div>
970 <a class="anchor" id="ad0aeff3864de0f10f7e68146586a2f64"></a><!-- doxytag: member="SEString::toInt" ref="ad0aeff3864de0f10f7e68146586a2f64" args="() const " -->
971 <div class="memitem">
972 <div class="memproto">
973       <table class="memname">
974         <tr>
975           <td class="memname">int SEString::toInt </td>
976           <td>(</td>
977           <td class="paramname"></td>
978           <td>&nbsp;)&nbsp;</td>
979           <td> const</td>
980         </tr>
981       </table>
982 </div>
983 <div class="memdoc">
984 <p>DEPRECATED: Use toUInt instead. </p>
985
986 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00336">336</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
987
988 <p>References <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>.</p>
989
990 </div>
991 </div>
992 <a class="anchor" id="ad638d3479025452c9d3cc9a8df5bc41f"></a><!-- doxytag: member="SEString::toUInt" ref="ad638d3479025452c9d3cc9a8df5bc41f" args="() const " -->
993 <div class="memitem">
994 <div class="memproto">
995       <table class="memname">
996         <tr>
997           <td class="memname">unsigned int SEString::toUInt </td>
998           <td>(</td>
999           <td class="paramname"></td>
1000           <td>&nbsp;)&nbsp;</td>
1001           <td> const</td>
1002         </tr>
1003       </table>
1004 </div>
1005 <div class="memdoc">
1006 <p>Converts the string to an unsigned integer (like strtoul(.. 10). Returns 0 on null strings. </p>
1007
1008 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00344">344</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
1009
1010 <p>References <a class="el" href="skype-string_8h_source.html#l00314">isNull()</a>.</p>
1011
1012 </div>
1013 </div>
1014 <a class="anchor" id="a78a5acf25aa850e9e327731815b4d1e3"></a><!-- doxytag: member="SEString::trim" ref="a78a5acf25aa850e9e327731815b4d1e3" args="(const SEString &amp;str) const " -->
1015 <div class="memitem">
1016 <div class="memproto">
1017       <table class="memname">
1018         <tr>
1019           <td class="memname"><a class="el" href="class_s_e_string.html">SEString</a> SEString::trim </td>
1020           <td>(</td>
1021           <td class="paramtype">const <a class="el" href="class_s_e_string.html">SEString</a> &amp;&nbsp;</td>
1022           <td class="paramname"> <em>str</em></td>
1023           <td>&nbsp;)&nbsp;</td>
1024           <td> const</td>
1025         </tr>
1026       </table>
1027 </div>
1028 <div class="memdoc">
1029 <p>Removes str from the string. </p>
1030
1031 <p>Definition at line <a class="el" href="skype-string_8cpp_source.html#l00234">234</a> of file <a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a>.</p>
1032
1033 <p>References <a class="el" href="skype-string_8cpp_source.html#l00159">length()</a>, <a class="el" href="skype-string_8cpp_source.html#l00218">right()</a>, and <a class="el" href="skype-string_8cpp_source.html#l00172">startWith()</a>.</p>
1034
1035 </div>
1036 </div>
1037 <hr/>The documentation for this class was generated from the following files:<ul>
1038 <li><a class="el" href="skype-string_8h_source.html">skype-string.h</a></li>
1039 <li><a class="el" href="skype-string_8cpp_source.html">skype-string.cpp</a></li>
1040 </ul>
1041 </div>
1042
1043 <hr/>   
1044                 <p><b>(c) Skype Technologies S.A. Confidential/Proprietary</b></p>              
1045                 <p>Last updated: 18 Jun 2010</p>                
1046                 </BODY>
1047 </HTML>