creaContours_lib
KeyThing Class Reference

#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
 

Detailed Description

Definition at line 36 of file KeyThing.h.

Constructor & Destructor Documentation

KeyThing::KeyThing ( std::string  thePrefix,
int  theValue 
)

Definition at line 44 of file KeyThing.cxx.

References setPrefix(), and setValue().

45  {
46  setPrefix( thePrefix );
47  setValue( theValue );
48  }

Here is the call graph for this function:

KeyThing::~KeyThing ( )

Definition at line 53 of file KeyThing.cxx.

54  {
55 
56  }

Member Function Documentation

std::string KeyThing::getPrefix ( )

Definition at line 84 of file KeyThing.cxx.

References prefix.

Referenced by PrefixMaxKeyGenerator::generateKeyOf(), and PrefixMaxKeyGenerator::getPrefixOf().

85  {
86  return prefix;
87  }

Here is the caller graph for this function:

int KeyThing::getValue ( )

Definition at line 93 of file KeyThing.cxx.

References value.

Referenced by PrefixMaxKeyGenerator::generateKeyOf(), and PrefixMaxKeyGenerator::getCurrentMaxOf().

94  {
95  return value;
96  }

Here is the caller graph for this function:

void KeyThing::setPrefix ( std::string  aPrefix)

Definition at line 66 of file KeyThing.cxx.

References prefix.

Referenced by KeyThing().

67  {
68  prefix = aPrefix;
69  }

Here is the caller graph for this function:

void KeyThing::setValue ( int  aValue)

Definition at line 75 of file KeyThing.cxx.

References value.

Referenced by PrefixMaxKeyGenerator::generateKeyOf(), and KeyThing().

76  {
77  value = aValue;
78  }

Here is the caller graph for this function:

Member Data Documentation

std::string KeyThing::prefix
private

Definition at line 97 of file KeyThing.h.

Referenced by getPrefix(), and setPrefix().

int KeyThing::value
private

Definition at line 102 of file KeyThing.h.

Referenced by getValue(), and setValue().


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