gSAFE  1.3.8
Public Member Functions | Public Attributes | List of all members
HSpeedyPair< KEY, VALUE > Class Template Reference

#include <speedypair.h>

Public Member Functions

 HSpeedyPair (KEY kn, VALUE vn)
void addPair (KEY k, VALUE v)
void clear (void)
bool found (void)
HPair< KEY, VALUE > * getArray (void)
KEY * getKArray (void)
KEY getKey (VALUE value)
VALUE getValue (KEY key)
VALUE * getVArray (void)
int heightKTree (void)
int heightVTree (void)
int num (void)

Public Attributes

KEY key_notfound_data
VALUE value_notfound_data

Detailed Description

template<class KEY, class VALUE>
class HSpeedyPair< KEY, VALUE >

HSpeedyPair is a key-value pair template container, which based on dual avl tree. Uses an AVL to Key->Value search, and an another AVT tree to Value->Key search.

Definition at line 88 of file speedypair.h.

Member Data Documentation

template<class KEY , class VALUE >
KEY HSpeedyPair< KEY, VALUE >::key_notfound_data

The notfound value for key

Definition at line 107 of file speedypair.h.

template<class KEY , class VALUE >
VALUE HSpeedyPair< KEY, VALUE >::value_notfound_data

The notfound value for value

Definition at line 109 of file speedypair.h.

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