kviewshell
GPMap< KTYPE, VTYPE > Class Template Reference
Associative maps for smart-pointers. More...
#include <GContainer.h>
Public Member Functions | |
GPMap () | |
GPMap & | operator= (const GPMap &r) |
Detailed Description
template<class KTYPE, class VTYPE>
class GPMap< KTYPE, VTYPE >
Associative maps for smart-pointers.
Template class GMap<KTYPE,VTYPE># implements an associative map for key type KTYPE# and value type GP<VTYPE># (see {GSmartPointer.h}). The map contains an arbitrary number of entries. Each entry is a pair containing one element of type KTYPE# (named the "key") and one aelement of type VTYPE# (named the "value"). The entry associated to a particular value of the key can retrieved very efficiently. Significantly smaller code sizes can be achieved by using this class instead of the more general GMap<KTYPE,GP<VTYPE>># (see {GMap}). This class only implement constructors. See class {GMapTemplate} and {GPosition} for a description of all access methods.
Definition at line 1260 of file GContainer.h.
Constructor & Destructor Documentation
Definition at line 1263 of file GContainer.h.
Member Function Documentation
GPMap& GPMap< KTYPE, VTYPE >::operator= | ( | const GPMap< KTYPE, VTYPE > & | r | ) | [inline] |
Definition at line 1264 of file GContainer.h.
The documentation for this class was generated from the following file: