63 Pair(
int k,
double v) : key(k), value(v), next(NULL) { }
int giveKey()
Returns the receiver key.
Pair * giveNext()
Returns pointer to the next pair.
double & giveValue()
Returns associated value.
void printYourself()
Prints receiver to screen.
double value
Associate value.
Pair * next
Pointer to the next Pair.
This class implements key/value associations - the key and its associated value.
void append(Pair *p)
Appends a given pair to itself (sets the pointer to next pair to given Pair).
the oofem namespace is to define a context or scope in which all oofem names are defined.
Pair(int k, double v)
Constructor - creates the new Pair with given key k and value v.