5 #ifndef DUNE_ISTL_AMG_PROPERTIES_HH
6 #define DUNE_ISTL_AMG_PROPERTIES_HH
8 #include <dune/common/propertymap.hh>
38 template<
typename C,
typename K, std::size_t i,
typename T=
typename C::ValueType,
39 typename R =
typename C::Reference>
41 :
public RAPropertyMapHelper<R,
42 RandomAccessBundledPropertyMap<C,K,i,T,R> >
71 return container_[key][
index];
79 : container_(&container)
Reference operator[](const Key &key) const
Get the property for a key.
Definition: properties.hh:69
RandomAccessBundledPropertyMap()
The default constructor.
Definition: properties.hh:83
R Reference
The reference type of the container.
Definition: properties.hh:49
RandomAccessBundledPropertyMap(Container &container)
Constructor.
Definition: properties.hh:78
K Key
The key of the property map.
Definition: properties.hh:52
LvaluePropertyMapTag Category
The category of the property map.
Definition: properties.hh:57
C Container
The container that holds the properties.
Definition: properties.hh:46
@ index
The index of the property in the bundle.
Definition: properties.hh:61
Definition: allocator.hh:11
Tag idnetifying the visited property of a vertex.
Definition: properties.hh:29
A property map that extracts one property out of a bundle using operator[]()
Definition: properties.hh:43