• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kviewshell

GPMap< KTYPE, VTYPE > Class Template Reference

Associative maps for smart-pointers. More...

#include <GContainer.h>

Inheritance diagram for GPMap< KTYPE, VTYPE >:

Inheritance graph
[legend]

List of all members.


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

template<class KTYPE, class VTYPE>
GPMap< KTYPE, VTYPE >::GPMap (  )  [inline]

Definition at line 1263 of file GContainer.h.


Member Function Documentation

template<class KTYPE, class VTYPE>
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:
  • GContainer.h

kviewshell

Skip menu "kviewshell"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kviewshell
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal