sword::StrKey Class Reference

a standard string key class (used for modules that index on single strings (eg. More...

#include <strkey.h>

Inheritance diagram for sword::StrKey:

Inheritance graph
[legend]
Collaboration diagram for sword::StrKey:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StrKey (const char *ikey=0)
 initializes instance of StrKey
virtual ~StrKey ()
 cleans up instance of StrKey
SWKeyoperator= (const char *ikey)
SWKeyoperator= (const SWKey &ikey)
SWKeyoperator= (SW_POSITION pos)
 operator const char * () const
bool operator== (const SWKey &ikey)
bool operator!= (const SWKey &ikey)
virtual bool operator> (const SWKey &ikey)
virtual bool operator< (const SWKey &ikey)
virtual bool operator>= (const SWKey &ikey)
virtual bool operator<= (const SWKey &ikey)
SWKeyoperator-= (int steps)
SWKeyoperator+= (int steps)
SWKeyoperator++ (int)
SWKeyoperator-- (int)

Private Member Functions

void init ()

Static Private Attributes

static SWClass classdef

Detailed Description

a standard string key class (used for modules that index on single strings (eg.

cities, names, words, etc.)

Definition at line 36 of file strkey.h.


Constructor & Destructor Documentation

sword::StrKey::StrKey ( const char *  ikey = 0  ) 

initializes instance of StrKey

Parameters:
ikey text key (word, city, name, etc.)


The documentation for this class was generated from the following file: