ReferenceMatrixMap< K1, K2, V, R, CR > Class Template Reference
[Concepts]

template<typename K1, typename K2, typename V, typename R, typename CR>
class lemon::concepts::ReferenceMatrixMap< K1, K2, V, R, CR >

#include <lemon/concepts/matrix_maps.h>

Inheritance diagram for ReferenceMatrixMap< K1, K2, V, R, CR >:

Inheritance graph
[legend]

List of all members.

Public Types

typedef True ReferenceMapTag
 Tag for reference maps.
typedef K1 FirstKey
 Map's first key type.
typedef K1 SecondKey
 Map's second key type.
typedef V Value
 Map's value type. (The type of objects associated with the keys).
typedef R Reference
 Map's reference type.
typedef CR ConstReference
 Map's const reference type.

Public Member Functions

Reference operator() (const FirstKey &, const SecondKey &)
 Returns a reference to the value associated to a pair of keys.
ConstReference operator() (const FirstKey &, const SecondKey &) const
 Returns a const reference to the value associated to a pair of keys.
void set (const FirstKey &, const SecondKey &, const Value &)
 Sets the value associated with the pair of keys.


Generated on Thu Jun 4 04:06:53 2009 for LEMON by  doxygen 1.5.9