Main Page   Class Hierarchy   Compound List   File List   Compound Members  

KeyPair Class Template Reference

A pair of a key and an order variable. More...

#include <FIFOMap.h>

Inheritance diagram for KeyPair:

Inheritance graph
[legend]
Collaboration diagram for KeyPair:

Collaboration graph
[legend]
List of all members.

Public Methods

 KeyPair (const size_t newOrder=0, const Key &newKey=NULL_STRING)
 operator Key () const
bool operator< (const KeyPair &rhs) const
string ToString () const
void SetKey (const Key &newKey)
Key GetKey () const
void SetOrder (const size_t newOrder)
size_t GetOrder () const
bool operator== (const KeyPair &rhs) const
bool operator!= (const KeyPair &rhs) const

Detailed Description

template<class Key> class KeyPair

A pair of a key and an order variable.

this is used by the below FIFOMap class see that class for more details


The documentation for this class was generated from the following file:
Generated at Wed May 2 00:24:44 2001 for API by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001