1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649
|
<!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>SWKey class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.9.1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> </center>
<hr><h1>SWKey Class Reference</h1>SWKey is the basis for all types of keys for indexing into modules (e.g.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="swkey_8h-source.html">swkey.h</a>></code>
<p>
<p>Inheritance diagram for SWKey::
<p><center><img src="class_s_w_key.gif" usemap="#SWKey_map" border="0"></center>
<map name="SWKey_map">
<area href="class_s_w_object.html" alt="SWObject" shape="rect" coords="78,0,146,24">
<area href="class_list_key.html" alt="ListKey" shape="rect" coords="0,112,68,136">
<area href="class_str_key.html" alt="StrKey" shape="rect" coords="78,112,146,136">
<area href="class_verse_key.html" alt="VerseKey" shape="rect" coords="156,112,224,136">
</map>
<a href="class_s_w_key-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_s_w_key.html#a0">SWKey</a> (const char *ikey=0)</td></tr>
<tr><td> </td><td><font size=-1><em>initializes instance of SWKey.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_s_w_key.html#a1">SWKey</a> (SWKey const &k)</td></tr>
<tr><td> </td><td><font size=-1><em>Copy Constructor.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a2" doxytag="SWKey::~SWKey"></a>
virtual </td><td valign=bottom><a class="el" href="class_s_w_key.html#a2">~SWKey</a> ()</td></tr>
<tr><td> </td><td><font size=-1><em>Destructor, cleans up this instance of SWKey.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual SWKey * </td><td valign=bottom><a class="el" href="class_s_w_key.html#a3">clone</a> () const</td></tr>
<tr><td> </td><td><font size=-1><em>Returns a copy of this SWKey object.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="class_s_w_key.html#a4">Persist</a> () const</td></tr>
<tr><td> </td><td><font size=-1><em>Gets whether this object itself persists within a module that it was used to SetKey or just a copy.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>char </td><td valign=bottom><a class="el" href="class_s_w_key.html#a5">Persist</a> (char ikey)</td></tr>
<tr><td> </td><td><font size=-1><em>Set/gets whether this object itself persists within a module that it was used to SetKey or just a copy.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual char </td><td valign=bottom><a class="el" href="class_s_w_key.html#a6">Error</a> ()</td></tr>
<tr><td> </td><td><font size=-1><em>Gets and clears error status.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_s_w_key.html#a7">setText</a> (const char *ikey)</td></tr>
<tr><td> </td><td><font size=-1><em>Equates this SWKey to a character string.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_s_w_key.html#a8">copyFrom</a> (const SWKey &ikey)</td></tr>
<tr><td> </td><td><font size=-1><em>Equates this SWKey to another SWKey object.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a9" doxytag="SWKey::getText"></a>
virtual const char * </td><td valign=bottom><a class="el" href="class_s_w_key.html#a9">getText</a> () const</td></tr>
<tr><td> </td><td><font size=-1><em>returns text key if (char *) cast is requested.</em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual int </td><td valign=bottom><a class="el" href="class_s_w_key.html#a10">compare</a> (const SWKey &ikey)</td></tr>
<tr><td> </td><td><font size=-1><em>Compares another <a class="el" href="class_verse_key.html">VerseKey</a> object.</em> <a href="#a10">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="class_s_w_key.html#a11">equals</a> (const SWKey &ikey)</td></tr>
<tr><td> </td><td><font size=-1><em>Compares another <a class="el" href="class_verse_key.html">VerseKey</a> object.</em> <a href="#a11">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a12" doxytag="SWKey::setPosition"></a>
virtual void </td><td valign=bottom><b>setPosition</b> (SW_POSITION)</td></tr>
<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_s_w_key.html#a13">decrement</a> (int steps=1)</td></tr>
<tr><td> </td><td><font size=-1><em>Decrements key a number of entries.</em> <a href="#a13">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="class_s_w_key.html#a14">increment</a> (int steps=1)</td></tr>
<tr><td> </td><td><font size=-1><em>Increments key a number of entries.</em> <a href="#a14">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a15" doxytag="SWKey::Traversable"></a>
virtual char </td><td valign=bottom><b>Traversable</b> ()</td></tr>
<tr><td nowrap align=right valign=top>virtual long </td><td valign=bottom><a class="el" href="class_s_w_key.html#a16">Index</a> () const</td></tr>
<tr><td> </td><td><font size=-1><em>Use this function to get te current position withing a module.</em> <a href="#a16">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a name="a17" doxytag="SWKey::Index"></a>
virtual long </td><td valign=bottom><b>Index</b> (long iindex)</td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="n0" doxytag="SWKey::keytext"></a>
char * </td><td valign=bottom><b>keytext</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n1" doxytag="SWKey::persist"></a>
char </td><td valign=bottom><b>persist</b></td></tr>
<tr><td nowrap align=right valign=top><a name="n2" doxytag="SWKey::error"></a>
char </td><td valign=bottom><b>error</b></td></tr>
<tr><td colspan=2><br><h2>Private Methods</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="c0" doxytag="SWKey::init"></a>
void </td><td valign=bottom><b>init</b> ()</td></tr>
<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="o0" doxytag="SWKey::index"></a>
long </td><td valign=bottom><b>index</b></td></tr>
<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a name="r0" doxytag="SWKey::classdef"></a>
<a class="el" href="class_s_w_class.html">SWClass</a> </td><td valign=bottom><b>classdef</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
SWKey is the basis for all types of keys for indexing into modules (e.g.
<p>
verse, word, place, etc.)
<p>
<p>
Definition at line <a class="el" href="swkey_8h-source.html#l00076">76</a> of file <a class="el" href="swkey_8h-source.html">swkey.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
<a name="a0" doxytag="SWKey::SWKey"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
SWKey::SWKey
</td>
<td class="md">( </td>
<td class="md">const char * </td>
<td class="mdname"> <em>ikey</em> = 0 </td>
<td class="md">) </td>
<td class="md"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
initializes instance of SWKey.
<p>
<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>ikey
</em> </td><td>
text key </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a1" doxytag="SWKey::SWKey"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
SWKey::SWKey
</td>
<td class="md">( </td>
<td class="md">SWKey const & </td>
<td class="mdname"> <em>k</em> </td>
<td class="md">) </td>
<td class="md"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Copy Constructor.
<p>
<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>The
</em> </td><td>
SWKey object to copy. </td></tr>
</table>
</dl> </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a6" doxytag="SWKey::Error"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
virtual char SWKey::Error
</td>
<td class="md">( </td>
<td class="mdname"> </td>
<td class="md">) </td>
<td class="md"><code> [virtual]</code> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Gets and clears error status.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
error status </dl> </td>
</tr>
</table>
<a name="a16" doxytag="SWKey::Index"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
virtual long SWKey::Index
</td>
<td class="md">( </td>
<td class="mdname"> </td>
<td class="md">) </td>
<td class="md"> const<code> [inline, virtual]</code> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Use this function to get te current position withing a module.
<p>
Here's a small example how to use this function and Index(long). This function uses the GerLut module and chooses a random verse from the Bible and returns it. <div class="fragment"><pre> <font class="keyword">const</font> <font class="keywordtype">char</font>* randomVerse()<font class="keyword"> </font>{
<a class="code" href="class_verse_key.html">VerseKey</a> vk;
<a class="code" href="class_s_w_mgr.html">SWMgr</a> mgr;
LocaleMgr::systemLocaleMgr.<a class="code" href="class_locale_mgr.html#a6">setDefaultLocaleName</a>(<font class="stringliteral">"de"</font>);
<a class="code" href="class_s_w_module.html">SWModule</a>* module = mgr-><a class="code" href="class_s_w_mgr.html#m2">Modules</a>(<font class="stringliteral">"GerLut"</font>);
srand( time(0) );
<font class="keyword">const</font> <font class="keywordtype">double</font> newIndex = (double(rand())/RAND_MAX)*(24108+8224);
vk.<a class="code" href="class_verse_key.html#a31">Index</a>(newIndex);
module-><a class="code" href="class_s_w_module.html#a5">SetKey</a>(vk);
<font class="keywordtype">char</font>* text;
sprintf(text, <font class="stringliteral">"%s: %s"</font>,(<font class="keyword">const</font> <font class="keywordtype">char</font>*)vk ,module-><a class="code" href="class_s_w_module.html#a53">StripText</a>(&vk));
<font class="keywordflow">return</font> text;</pre></div>
<p>
Reimplemented in <a class="el" href="class_list_key.html#a17">ListKey</a>, and <a class="el" href="class_verse_key.html#a31">VerseKey</a>.
<p>
Definition at line <a class="el" href="swkey_8h-source.html#l00204">204</a> of file <a class="el" href="swkey_8h-source.html">swkey.h</a>.
<p>
Referenced by <a class="el" href="listkey_8h-source.html#l00112">ListKey::Index</a>().
<p>
</td>
</tr>
</table>
<a name="a5" doxytag="SWKey::Persist"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
char SWKey::Persist
</td>
<td class="md">( </td>
<td class="md">char </td>
<td class="mdname"> <em>ikey</em> </td>
<td class="md">) </td>
<td class="md"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Set/gets whether this object itself persists within a module that it was used to SetKey or just a copy.
<p>
(1 - persists in module; 0 - a copy is attempted<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>ipersist
</em> </td><td>
value which to set persist; [-1] - only get </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
value of persist </dl> </td>
</tr>
</table>
<a name="a4" doxytag="SWKey::Persist"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
char SWKey::Persist
</td>
<td class="md">( </td>
<td class="mdname"> </td>
<td class="md">) </td>
<td class="md"> const </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Gets whether this object itself persists within a module that it was used to SetKey or just a copy.
<p>
(1 - persists in module; 0 - a copy is attempted
<p>
<dl compact><dt>
<b>Returns: </b><dd>
value of persist </dl> </td>
</tr>
</table>
<a name="a3" doxytag="SWKey::clone"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
virtual SWKey* SWKey::clone
</td>
<td class="md">( </td>
<td class="mdname"> </td>
<td class="md">) </td>
<td class="md"> const<code> [virtual]</code> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Returns a copy of this SWKey object.
<p>
This is useful to get a 1:1 copy of an SWKey based object. <dl compact><dt>
<b>Returns: </b><dd>
SWKey </dl>
<p>
Reimplemented in <a class="el" href="class_list_key.html#a3">ListKey</a>, and <a class="el" href="class_verse_key.html#a10">VerseKey</a>. </td>
</tr>
</table>
<a name="a10" doxytag="SWKey::compare"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
virtual int SWKey::compare
</td>
<td class="md">( </td>
<td class="md">const SWKey & </td>
<td class="mdname"> <em>ikey</em> </td>
<td class="md">) </td>
<td class="md"><code> [virtual]</code> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Compares another <a class="el" href="class_verse_key.html">VerseKey</a> object.
<p>
<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>ikey
</em> </td><td>
key to compare with this one </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
>0 if this key is greater than compare key; <0 if this key is smaller than compare key; 0 if the keys are the same </dl>
<p>
Reimplemented in <a class="el" href="class_verse_key.html#a34">VerseKey</a>.
<p>
Referenced by <a class="el" href="swkey_8h-source.html#l00163">equals</a>().
<p>
</td>
</tr>
</table>
<a name="a8" doxytag="SWKey::copyFrom"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
virtual void SWKey::copyFrom
</td>
<td class="md">( </td>
<td class="md">const SWKey & </td>
<td class="mdname"> <em>ikey</em> </td>
<td class="md">) </td>
<td class="md"><code> [virtual]</code> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Equates this SWKey to another SWKey object.
<p>
<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>ikey
</em> </td><td>
other swkey object </td></tr>
</table>
</dl>
<p>
Reimplemented in <a class="el" href="class_list_key.html#a12">ListKey</a>, and <a class="el" href="class_verse_key.html#a13">VerseKey</a>.
<p>
Referenced by <a class="el" href="listkey_8h-source.html#l00090">ListKey::copyFrom</a>().
<p>
</td>
</tr>
</table>
<a name="a13" doxytag="SWKey::decrement"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
virtual void SWKey::decrement
</td>
<td class="md">( </td>
<td class="md">int </td>
<td class="mdname"> <em>step</em> = 1 </td>
<td class="md">) </td>
<td class="md"><code> [virtual]</code> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Decrements key a number of entries.
<p>
<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>steps
</em> </td><td>
Number of entries to jump backward </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
*this </dl>
<p>
Reimplemented in <a class="el" href="class_list_key.html#a14">ListKey</a>, and <a class="el" href="class_verse_key.html#a16">VerseKey</a>. </td>
</tr>
</table>
<a name="a11" doxytag="SWKey::equals"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
virtual bool SWKey::equals
</td>
<td class="md">( </td>
<td class="md">const SWKey & </td>
<td class="mdname"> <em>ikey</em> </td>
<td class="md">) </td>
<td class="md"><code> [inline, virtual]</code> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Compares another <a class="el" href="class_verse_key.html">VerseKey</a> object.
<p>
<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>ikey
</em> </td><td>
key to compare with this one </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
true if the keys are the same </dl>
<p>
Definition at line <a class="el" href="swkey_8h-source.html#l00163">163</a> of file <a class="el" href="swkey_8h-source.html">swkey.h</a>. </td>
</tr>
</table>
<a name="a14" doxytag="SWKey::increment"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
virtual void SWKey::increment
</td>
<td class="md">( </td>
<td class="md">int </td>
<td class="mdname"> <em>step</em> = 1 </td>
<td class="md">) </td>
<td class="md"><code> [virtual]</code> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Increments key a number of entries.
<p>
<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>increment
</em> </td><td>
Number of entries to jump forward </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
*this </dl>
<p>
Reimplemented in <a class="el" href="class_list_key.html#a15">ListKey</a>, and <a class="el" href="class_verse_key.html#a17">VerseKey</a>. </td>
</tr>
</table>
<a name="a7" doxytag="SWKey::setText"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
virtual void SWKey::setText
</td>
<td class="md">( </td>
<td class="md">const char * </td>
<td class="mdname"> <em>ikey</em> </td>
<td class="md">) </td>
<td class="md"><code> [virtual]</code> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Equates this SWKey to a character string.
<p>
<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>ikey
</em> </td><td>
string to set this key to </td></tr>
</table>
</dl>
<p>
Reimplemented in <a class="el" href="class_verse_key.html#a12">VerseKey</a>.
<p>
Referenced by <a class="el" href="versekey_8h-source.html#l00229">VerseKey::setText</a>().
<p>
</td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="swkey_8h-source.html">swkey.h</a></ul>
<hr><address><small>Generated at Tue Jan 22 14:52:49 2002 for The Sword Project by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.gif" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.2.9.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
© 1997-2001</small></address>
</body>
</html>
|