Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkAbstractMap< KeyType, DataType > Class Template Reference

a dynamic map data structure More...

#include <vtkAbstractMap.h>

Inheritance diagram for vtkAbstractMap< KeyType, DataType >:

Inheritance graph
[legend]
Collaboration diagram for vtkAbstractMap< KeyType, DataType >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef vtkContainer Superclass

Protected Member Functions

 vtkAbstractMap ()

Detailed Description

template<class KeyType, class DataType>
class vtkAbstractMap< KeyType, DataType >

a dynamic map data structure

vtkAbstractMap is a an abstract templated superclass of all containers that implement map data structure.

Map data structure is a one dimensional set of pairs. Each pair contains a key and associated data. On the higher level, it implements mapping from key values to data elements. It can be implemented using array of pairs, hash table, or different trees.

See also:
vtkContainer vtkAbstractList

Definition at line 47 of file vtkAbstractMap.h.


Member Typedef Documentation

template<class KeyType, class DataType>
typedef vtkContainer vtkAbstractMap< KeyType, DataType >::Superclass
 

Reimplemented in vtkArrayMap< KeyType, DataType >, vtkHashMap< KeyType, DataType >, vtkArrayMap< const char *, vtkPVSourceCollection * >, vtkArrayMap< vtkPVXMLElement *, vtkPVWidget * >, vtkArrayMap< const char *, int >, vtkArrayMap< const char *, const char * >, vtkArrayMap< const char *, vtkKWPushButton * >, and vtkArrayMap< const char *, vtkPVSource * >.

Definition at line 51 of file vtkAbstractMap.h.


Constructor & Destructor Documentation

template<class KeyType, class DataType>
vtkAbstractMap< KeyType, DataType >::vtkAbstractMap  )  [protected]
 

Return the number of items currently held in this container. This different from GetSize which is provided for some containers. GetSize will return how many items the container can currently hold. virtual vtkIdType GetNumberOfItems() = 0;


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:34:29 2006 for ParaView by doxygen 1.3.5