DynamicAsymMatrixMap::FirstKeyProxy Class Reference

#include <lemon/matrix_maps.h>

List of all members.


Detailed Description

template<typename _FirstContainer, typename _FirstContainerItem, typename _SecondContainer, typename _SecondContainerItem, typename _Value>
class lemon::DynamicAsymMatrixMap< _FirstContainer, _FirstContainerItem, _SecondContainer, _SecondContainerItem, _Value >::FirstKeyProxy

The proxy class belongs to the FirstKey type. It is necessary because if one want use the same conatainer types and same nested types but on other instances of containers than due to the type equiality of nested types it requires a proxy mechanism.


Public Member Functions

 FirstKeyProxy (DynamicAsymMatrixMap &_map)
 Constructor.

Protected Member Functions

virtual void add (const FirstKey &_firstKey)
 Add a new FirstKey to the map.
virtual void add (const std::vector< FirstKey > &_firstKeys)
 Add more new FirstKey to the map.
virtual void erase (const FirstKey &_firstKey)
 Erase a FirstKey from the map.
virtual void erase (const std::vector< FirstKey > &_firstKeys)
 Erase more FirstKey from the map.
virtual void build ()
 Builds the map.
virtual void clear ()
 Clear the map.

Private Attributes

DynamicAsymMatrixMap_owner
 The map type for it is linked.


Member Function Documentation

virtual void add ( const FirstKey _firstKey  )  [inline, protected, virtual]

It adds a new FirstKey to the map. It is called by the observer notifier and it is ovverride the add() virtual member function in the observer base. It will call the maps addFirstKey() function.

virtual void add ( const std::vector< FirstKey > &  _firstKeys  )  [inline, protected, virtual]

It adds more new FirstKey to the map. It is called by the observer notifier and it is ovverride the add() virtual member function in the observer base. It will call the map's addFirstKeys() function.

virtual void erase ( const FirstKey _firstKey  )  [inline, protected, virtual]

Erase a FirstKey from the map. It called by the observer notifier and it overrides the erase() virtual member function of the observer base. It will call the map's eraseFirstKey() function.

virtual void erase ( const std::vector< FirstKey > &  _firstKeys  )  [inline, protected, virtual]

Erase more FirstKey from the map. It called by the observer notifier and it overrides the erase() virtual member function of the observer base. It will call the map's eraseFirstKeys() function.

virtual void build (  )  [inline, protected, virtual]

It buildes the map. It called by the observer notifier and it overrides the build() virtual member function of the observer base. It will call the map's build() function.

virtual void clear (  )  [inline, protected, virtual]

It erases all items from the map. It called by the observer notifier and it overrides the clear() virtual memeber function of the observer base. It will call the map's clear() function.


The documentation for this class was generated from the following file:
Generated on Tue Oct 31 09:51:10 2006 for LEMON by  doxygen 1.5.1