#include <KeyThing.h>
Public Member Functions | |
KeyThing (std::string thePrefix, int theValue) | |
~KeyThing () | |
void | setPrefix (std::string aPrefix) |
void | setValue (int aValue) |
std::string | getPrefix () |
int | getValue () |
Private Attributes | |
std::string | prefix |
int | value |
Definition at line 11 of file KeyThing.h.
KeyThing::KeyThing | ( | std::string | thePrefix, | |
int | theValue | |||
) |
Definition at line 19 of file KeyThing.cxx.
References setPrefix(), and setValue().
KeyThing::~KeyThing | ( | ) |
std::string KeyThing::getPrefix | ( | ) |
Definition at line 59 of file KeyThing.cxx.
References prefix.
Referenced by PrefixMaxKeyGenerator::generateKeyOf(), and PrefixMaxKeyGenerator::getPrefixOf().
00060 { 00061 return prefix; 00062 }
int KeyThing::getValue | ( | ) |
Definition at line 68 of file KeyThing.cxx.
References value.
Referenced by PrefixMaxKeyGenerator::generateKeyOf(), and PrefixMaxKeyGenerator::getCurrentMaxOf().
00069 { 00070 return value; 00071 }
void KeyThing::setPrefix | ( | std::string | aPrefix | ) |
Definition at line 41 of file KeyThing.cxx.
References prefix.
Referenced by KeyThing().
00042 { 00043 prefix = aPrefix; 00044 }
void KeyThing::setValue | ( | int | aValue | ) |
Definition at line 50 of file KeyThing.cxx.
References value.
Referenced by PrefixMaxKeyGenerator::generateKeyOf(), and KeyThing().
00051 { 00052 value = aValue; 00053 }
std::string KeyThing::prefix [private] |
int KeyThing::value [private] |