1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3 <title>StrPtrLen struct Reference</title> 4 <link href="doxygen.css" rel="stylesheet" type="text/css"> 5 </head><body> 6 <!-- Generated by Doxygen 1.2.18 --> 7 <center> 8 <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> 9 <hr><h1>StrPtrLen Struct Reference<br> 10 <small> 11 [<a class="el" href="group__osclutil.html">OSCL Util</a>]</small> 12 </h1>This data structure encapsulates a set of functions used to perform. 13 <a href="#_details">More...</a> 14 <p> 15 <code>#include <<a class="el" href="oscl__str__ptr__len_8h-source.html">oscl_str_ptr_len.h</a>></code> 16 <p> 17 <p>Inheritance diagram for StrPtrLen: 18 <p><center><img src="structStrPtrLen.png" usemap="#StrPtrLen_map" border="0" alt=""></center> 19 <map name="StrPtrLen_map"> 20 <area href="structStrCSumPtrLen.html" alt="StrCSumPtrLen" shape="rect" coords="0,56,98,80"> 21 </map> 22 <table border=0 cellpadding=0 cellspacing=0> 23 <tr><td></td></tr> 24 <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> 25 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="structStrPtrLen.html#a0">StrPtrLen</a> (const char *newPtr)</td></tr> 26 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="structStrPtrLen.html#a1">StrPtrLen</a> (const char *newPtr, uint32 newLen)</td></tr> 27 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="structStrPtrLen.html#a2">StrPtrLen</a> ()</td></tr> 28 <tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="structStrPtrLen.html#a3">StrPtrLen</a> (const StrPtrLen &rhs)</td></tr> 29 <tr><td nowrap align=right valign=top>const char * </td><td valign=bottom><a class="el" href="structStrPtrLen.html#a4">c_str</a> () const</td></tr> 30 <tr><td nowrap align=right valign=top>int32 </td><td valign=bottom><a class="el" href="structStrPtrLen.html#a5">length</a> () const</td></tr> 31 <tr><td nowrap align=right valign=top>int32 </td><td valign=bottom><a class="el" href="structStrPtrLen.html#a6">size</a> () const</td></tr> 32 <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="structStrPtrLen.html#a7">setPtrLen</a> (const char *newPtr, uint32 newLen)</td></tr> 33 <tr><td nowrap align=right valign=top><a class="el" href="group__osclbase.html#a24">c_bool</a> </td><td valign=bottom><a class="el" href="structStrPtrLen.html#a8">isCIEquivalentTo</a> (const StrPtrLen &rhs) const</td></tr> 34 <tr><td nowrap align=right valign=top><a class="el" href="group__osclbase.html#a24">c_bool</a> </td><td valign=bottom><a class="el" href="structStrPtrLen.html#a9">isCIPrefixOf</a> (const StrPtrLen &rhs) const</td></tr> 35 <tr><td nowrap align=right valign=top>int32 </td><td valign=bottom><a class="el" href="structStrPtrLen.html#a10">operator==</a> (const StrPtrLen &rhs) const</td></tr> 36 <tr><td nowrap align=right valign=top>int32 </td><td valign=bottom><a class="el" href="structStrPtrLen.html#a11">operator!=</a> (const StrPtrLen &rhs) const</td></tr> 37 <tr><td nowrap align=right valign=top>StrPtrLen & </td><td valign=bottom><a class="el" href="structStrPtrLen.html#a12">operator=</a> (const StrPtrLen &rhs)</td></tr> 38 <tr><td nowrap align=right valign=top>StrPtrLen & </td><td valign=bottom><a class="el" href="structStrPtrLen.html#a13">operator=</a> (const char *rhs)</td></tr> 39 <tr><td colspan=2><br><h2>Protected Methods</h2></td></tr> 40 <tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="structStrPtrLen.html#b0">isLetter</a> (const char c) const</td></tr> 41 <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> 42 <tr><td nowrap align=right valign=top>const char * </td><td valign=bottom><a class="el" href="structStrPtrLen.html#n0">ptr</a></td></tr> 43 <tr><td nowrap align=right valign=top>int32 </td><td valign=bottom><a class="el" href="structStrPtrLen.html#n1">len</a></td></tr> 44 </table> 45 <hr><a name="_details"></a><h2>Detailed Description</h2> 46 This data structure encapsulates a set of functions used to perform. 47 <p> 48 standard string operations. It should be used for null-terminated constant (non-modifiable) strings of char type. 49 <p> 50 <hr><h2>Constructor & Destructor Documentation</h2> 51 <a name="a0" doxytag="StrPtrLen::StrPtrLen"></a><p> 52 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 53 <tr> 54 <td class="md"> 55 <table cellpadding="0" cellspacing="0" border="0"> 56 <tr> 57 <td class="md" nowrap valign="top"> StrPtrLen::StrPtrLen </td> 58 <td class="md" valign="top">( </td> 59 <td class="md" nowrap valign="top">const char * </td> 60 <td class="mdname1" valign="top" nowrap> <em>newPtr</em> </td> 61 <td class="md" valign="top">) </td> 62 <td class="md" nowrap><code> [inline]</code></td> 63 </tr> 64 65 </table> 66 </td> 67 </tr> 68 </table> 69 <table cellspacing=5 cellpadding=0 border=0> 70 <tr> 71 <td> 72 73 </td> 74 <td> 75 76 <p> 77 </td> 78 </tr> 79 </table> 80 <a name="a1" doxytag="StrPtrLen::StrPtrLen"></a><p> 81 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 82 <tr> 83 <td class="md"> 84 <table cellpadding="0" cellspacing="0" border="0"> 85 <tr> 86 <td class="md" nowrap valign="top"> StrPtrLen::StrPtrLen </td> 87 <td class="md" valign="top">( </td> 88 <td class="md" nowrap valign="top">const char * </td> 89 <td class="mdname" nowrap> <em>newPtr</em>, </td> 90 </tr> 91 <tr> 92 <td></td> 93 <td></td> 94 <td class="md" nowrap>uint32 </td> 95 <td class="mdname" nowrap> <em>newLen</em></td> 96 </tr> 97 <tr> 98 <td></td> 99 <td class="md">) </td> 100 <td class="md" colspan="2"><code> [inline]</code></td> 101 </tr> 102 103 </table> 104 </td> 105 </tr> 106 </table> 107 <table cellspacing=5 cellpadding=0 border=0> 108 <tr> 109 <td> 110 111 </td> 112 <td> 113 114 <p> 115 </td> 116 </tr> 117 </table> 118 <a name="a2" doxytag="StrPtrLen::StrPtrLen"></a><p> 119 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 120 <tr> 121 <td class="md"> 122 <table cellpadding="0" cellspacing="0" border="0"> 123 <tr> 124 <td class="md" nowrap valign="top"> StrPtrLen::StrPtrLen </td> 125 <td class="md" valign="top">( </td> 126 <td class="mdname1" valign="top" nowrap> </td> 127 <td class="md" valign="top">) </td> 128 <td class="md" nowrap><code> [inline]</code></td> 129 </tr> 130 131 </table> 132 </td> 133 </tr> 134 </table> 135 <table cellspacing=5 cellpadding=0 border=0> 136 <tr> 137 <td> 138 139 </td> 140 <td> 141 142 <p> 143 </td> 144 </tr> 145 </table> 146 <a name="a3" doxytag="StrPtrLen::StrPtrLen"></a><p> 147 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 148 <tr> 149 <td class="md"> 150 <table cellpadding="0" cellspacing="0" border="0"> 151 <tr> 152 <td class="md" nowrap valign="top"> StrPtrLen::StrPtrLen </td> 153 <td class="md" valign="top">( </td> 154 <td class="md" nowrap valign="top">const StrPtrLen & </td> 155 <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td> 156 <td class="md" valign="top">) </td> 157 <td class="md" nowrap><code> [inline]</code></td> 158 </tr> 159 160 </table> 161 </td> 162 </tr> 163 </table> 164 <table cellspacing=5 cellpadding=0 border=0> 165 <tr> 166 <td> 167 168 </td> 169 <td> 170 171 <p> 172 </td> 173 </tr> 174 </table> 175 <hr><h2>Member Function Documentation</h2> 176 <a name="a4" doxytag="StrPtrLen::c_str"></a><p> 177 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 178 <tr> 179 <td class="md"> 180 <table cellpadding="0" cellspacing="0" border="0"> 181 <tr> 182 <td class="md" nowrap valign="top"> const char* StrPtrLen::c_str </td> 183 <td class="md" valign="top">( </td> 184 <td class="mdname1" valign="top" nowrap> </td> 185 <td class="md" valign="top">) </td> 186 <td class="md" nowrap> const<code> [inline]</code></td> 187 </tr> 188 189 </table> 190 </td> 191 </tr> 192 </table> 193 <table cellspacing=5 cellpadding=0 border=0> 194 <tr> 195 <td> 196 197 </td> 198 <td> 199 200 <p> 201 </td> 202 </tr> 203 </table> 204 <a name="a8" doxytag="StrPtrLen::isCIEquivalentTo"></a><p> 205 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 206 <tr> 207 <td class="md"> 208 <table cellpadding="0" cellspacing="0" border="0"> 209 <tr> 210 <td class="md" nowrap valign="top"> <a class="el" href="group__osclbase.html#a24">c_bool</a> StrPtrLen::isCIEquivalentTo </td> 211 <td class="md" valign="top">( </td> 212 <td class="md" nowrap valign="top">const StrPtrLen & </td> 213 <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td> 214 <td class="md" valign="top">) </td> 215 <td class="md" nowrap> const<code> [inline]</code></td> 216 </tr> 217 218 </table> 219 </td> 220 </tr> 221 </table> 222 <table cellspacing=5 cellpadding=0 border=0> 223 <tr> 224 <td> 225 226 </td> 227 <td> 228 229 <p> 230 </td> 231 </tr> 232 </table> 233 <a name="a9" doxytag="StrPtrLen::isCIPrefixOf"></a><p> 234 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 235 <tr> 236 <td class="md"> 237 <table cellpadding="0" cellspacing="0" border="0"> 238 <tr> 239 <td class="md" nowrap valign="top"> <a class="el" href="group__osclbase.html#a24">c_bool</a> StrPtrLen::isCIPrefixOf </td> 240 <td class="md" valign="top">( </td> 241 <td class="md" nowrap valign="top">const StrPtrLen & </td> 242 <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td> 243 <td class="md" valign="top">) </td> 244 <td class="md" nowrap> const<code> [inline]</code></td> 245 </tr> 246 247 </table> 248 </td> 249 </tr> 250 </table> 251 <table cellspacing=5 cellpadding=0 border=0> 252 <tr> 253 <td> 254 255 </td> 256 <td> 257 258 <p> 259 </td> 260 </tr> 261 </table> 262 <a name="b0" doxytag="StrPtrLen::isLetter"></a><p> 263 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 264 <tr> 265 <td class="md"> 266 <table cellpadding="0" cellspacing="0" border="0"> 267 <tr> 268 <td class="md" nowrap valign="top"> bool StrPtrLen::isLetter </td> 269 <td class="md" valign="top">( </td> 270 <td class="md" nowrap valign="top">const char </td> 271 <td class="mdname1" valign="top" nowrap> <em>c</em> </td> 272 <td class="md" valign="top">) </td> 273 <td class="md" nowrap> const<code> [inline, protected]</code></td> 274 </tr> 275 276 </table> 277 </td> 278 </tr> 279 </table> 280 <table cellspacing=5 cellpadding=0 border=0> 281 <tr> 282 <td> 283 284 </td> 285 <td> 286 287 <p> 288 </td> 289 </tr> 290 </table> 291 <a name="a5" doxytag="StrPtrLen::length"></a><p> 292 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 293 <tr> 294 <td class="md"> 295 <table cellpadding="0" cellspacing="0" border="0"> 296 <tr> 297 <td class="md" nowrap valign="top"> int32 StrPtrLen::length </td> 298 <td class="md" valign="top">( </td> 299 <td class="mdname1" valign="top" nowrap> </td> 300 <td class="md" valign="top">) </td> 301 <td class="md" nowrap> const<code> [inline]</code></td> 302 </tr> 303 304 </table> 305 </td> 306 </tr> 307 </table> 308 <table cellspacing=5 cellpadding=0 border=0> 309 <tr> 310 <td> 311 312 </td> 313 <td> 314 315 <p> 316 </td> 317 </tr> 318 </table> 319 <a name="a11" doxytag="StrPtrLen::operator!="></a><p> 320 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 321 <tr> 322 <td class="md"> 323 <table cellpadding="0" cellspacing="0" border="0"> 324 <tr> 325 <td class="md" nowrap valign="top"> int32 StrPtrLen::operator!= </td> 326 <td class="md" valign="top">( </td> 327 <td class="md" nowrap valign="top">const StrPtrLen & </td> 328 <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td> 329 <td class="md" valign="top">) </td> 330 <td class="md" nowrap> const<code> [inline]</code></td> 331 </tr> 332 333 </table> 334 </td> 335 </tr> 336 </table> 337 <table cellspacing=5 cellpadding=0 border=0> 338 <tr> 339 <td> 340 341 </td> 342 <td> 343 344 <p> 345 </td> 346 </tr> 347 </table> 348 <a name="a13" doxytag="StrPtrLen::operator="></a><p> 349 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 350 <tr> 351 <td class="md"> 352 <table cellpadding="0" cellspacing="0" border="0"> 353 <tr> 354 <td class="md" nowrap valign="top"> StrPtrLen& StrPtrLen::operator= </td> 355 <td class="md" valign="top">( </td> 356 <td class="md" nowrap valign="top">const char * </td> 357 <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td> 358 <td class="md" valign="top">) </td> 359 <td class="md" nowrap><code> [inline]</code></td> 360 </tr> 361 362 </table> 363 </td> 364 </tr> 365 </table> 366 <table cellspacing=5 cellpadding=0 border=0> 367 <tr> 368 <td> 369 370 </td> 371 <td> 372 373 <p> 374 375 <p> 376 Reimplemented in <a class="el" href="structStrCSumPtrLen.html#a13">StrCSumPtrLen</a>. </td> 377 </tr> 378 </table> 379 <a name="a12" doxytag="StrPtrLen::operator="></a><p> 380 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 381 <tr> 382 <td class="md"> 383 <table cellpadding="0" cellspacing="0" border="0"> 384 <tr> 385 <td class="md" nowrap valign="top"> StrPtrLen& StrPtrLen::operator= </td> 386 <td class="md" valign="top">( </td> 387 <td class="md" nowrap valign="top">const StrPtrLen & </td> 388 <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td> 389 <td class="md" valign="top">) </td> 390 <td class="md" nowrap><code> [inline]</code></td> 391 </tr> 392 393 </table> 394 </td> 395 </tr> 396 </table> 397 <table cellspacing=5 cellpadding=0 border=0> 398 <tr> 399 <td> 400 401 </td> 402 <td> 403 404 <p> 405 406 <p> 407 Reimplemented in <a class="el" href="structStrCSumPtrLen.html#a12">StrCSumPtrLen</a>. </td> 408 </tr> 409 </table> 410 <a name="a10" doxytag="StrPtrLen::operator=="></a><p> 411 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 412 <tr> 413 <td class="md"> 414 <table cellpadding="0" cellspacing="0" border="0"> 415 <tr> 416 <td class="md" nowrap valign="top"> int32 StrPtrLen::operator== </td> 417 <td class="md" valign="top">( </td> 418 <td class="md" nowrap valign="top">const StrPtrLen & </td> 419 <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td> 420 <td class="md" valign="top">) </td> 421 <td class="md" nowrap> const<code> [inline]</code></td> 422 </tr> 423 424 </table> 425 </td> 426 </tr> 427 </table> 428 <table cellspacing=5 cellpadding=0 border=0> 429 <tr> 430 <td> 431 432 </td> 433 <td> 434 435 <p> 436 </td> 437 </tr> 438 </table> 439 <a name="a7" doxytag="StrPtrLen::setPtrLen"></a><p> 440 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 441 <tr> 442 <td class="md"> 443 <table cellpadding="0" cellspacing="0" border="0"> 444 <tr> 445 <td class="md" nowrap valign="top"> void StrPtrLen::setPtrLen </td> 446 <td class="md" valign="top">( </td> 447 <td class="md" nowrap valign="top">const char * </td> 448 <td class="mdname" nowrap> <em>newPtr</em>, </td> 449 </tr> 450 <tr> 451 <td></td> 452 <td></td> 453 <td class="md" nowrap>uint32 </td> 454 <td class="mdname" nowrap> <em>newLen</em></td> 455 </tr> 456 <tr> 457 <td></td> 458 <td class="md">) </td> 459 <td class="md" colspan="2"><code> [inline]</code></td> 460 </tr> 461 462 </table> 463 </td> 464 </tr> 465 </table> 466 <table cellspacing=5 cellpadding=0 border=0> 467 <tr> 468 <td> 469 470 </td> 471 <td> 472 473 <p> 474 475 <p> 476 Reimplemented in <a class="el" href="structStrCSumPtrLen.html#a0">StrCSumPtrLen</a>. </td> 477 </tr> 478 </table> 479 <a name="a6" doxytag="StrPtrLen::size"></a><p> 480 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 481 <tr> 482 <td class="md"> 483 <table cellpadding="0" cellspacing="0" border="0"> 484 <tr> 485 <td class="md" nowrap valign="top"> int32 StrPtrLen::size </td> 486 <td class="md" valign="top">( </td> 487 <td class="mdname1" valign="top" nowrap> </td> 488 <td class="md" valign="top">) </td> 489 <td class="md" nowrap> const<code> [inline]</code></td> 490 </tr> 491 492 </table> 493 </td> 494 </tr> 495 </table> 496 <table cellspacing=5 cellpadding=0 border=0> 497 <tr> 498 <td> 499 500 </td> 501 <td> 502 503 <p> 504 </td> 505 </tr> 506 </table> 507 <hr><h2>Field Documentation</h2> 508 <a name="n1" doxytag="StrPtrLen::len"></a><p> 509 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 510 <tr> 511 <td class="md"> 512 <table cellpadding="0" cellspacing="0" border="0"> 513 <tr> 514 <td class="md" nowrap valign="top"> int32 StrPtrLen::len<code> [protected]</code> 515 </table> 516 </td> 517 </tr> 518 </table> 519 <table cellspacing=5 cellpadding=0 border=0> 520 <tr> 521 <td> 522 523 </td> 524 <td> 525 526 <p> 527 </td> 528 </tr> 529 </table> 530 <a name="n0" doxytag="StrPtrLen::ptr"></a><p> 531 <table width="100%" cellpadding="2" cellspacing="0" border="0"> 532 <tr> 533 <td class="md"> 534 <table cellpadding="0" cellspacing="0" border="0"> 535 <tr> 536 <td class="md" nowrap valign="top"> const char* StrPtrLen::ptr<code> [protected]</code> 537 </table> 538 </td> 539 </tr> 540 </table> 541 <table cellspacing=5 cellpadding=0 border=0> 542 <tr> 543 <td> 544 545 </td> 546 <td> 547 548 <p> 549 </td> 550 </tr> 551 </table> 552 <hr>The documentation for this struct was generated from the following file:<ul> 553 <li><a class="el" href="oscl__str__ptr__len_8h-source.html">oscl_str_ptr_len.h</a></ul> 554 <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 555 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 556 </small></address> 557 </body> 558 </html> 559