Associative Maps

Associative maps.

o template<class KTYPE, class VTYPE, class TI> class GMapTemplate: protected GMapImpl<KTYPE, TI>
Common base class for all associative maps.
o template<class KTYPE, class VTYPE> class GMap: public GMapTemplate<KTYPE, VTYPE, VTYPE>
Associative maps.
o template<class KTYPE, class VTYPE> class GPMap: public GMapTemplate<KTYPE, GP<VTYPE>, GPBase>
Associative maps for smart-pointers.
o Hash functions
Hash functions for elementary types.
These template classes implements a associative maps. The associative map contains an arbitrary number of entries. Each entry is a pair containing one element of type KTYPE (named the "key") and one element of type VTYPE (named the "value"). All entries have distinct keys. These template class must be able to access the following functions: The hashing function must return an unsigned int number. Multiple invocations of the hashing function with equal arguments (in the sense of KTYPE::operator==) must always return the same number. Position objects (see GPosition) may be used to iterate over the entries contained by an associative map.

Alphabetic index Hierarchy of classes


DjVu is a trademark of LizardTech, Inc.
All other products mentioned are registered trademarks or trademarks of their respective companies.