3 #ifndef DUNE_ISTL_AMG_PROPERTIES_HH
4 #define DUNE_ISTL_AMG_PROPERTIES_HH
6 #include <dune/common/propertymap.hh>
36 template<
typename C,
typename K, std::size_t i,
typename T=
typename C::ValueType,
37 typename R =
typename C::Reference>
39 :
public RAPropertyMapHelper<R,
40 RandomAccessBundledPropertyMap<C,K,i,T,R> >
69 return container_[key][
index];
77 : container_(&container)
87 Container* container_;
Definition: basearray.hh:19
K Key
The key of the property map.
Definition: properties.hh:50
Reference operator[](const Key &key) const
Get the property for a key.
Definition: properties.hh:67
R Reference
The reference type of the container.
Definition: properties.hh:47
The index of the property in the bundle.
Definition: properties.hh:59
RandomAccessBundledPropertyMap(Container &container)
Constructor.
Definition: properties.hh:76
Tag idnetifying the visited property of a vertex.
Definition: properties.hh:26
A property map that extracts one property out of a bundle using operator[]()
Definition: properties.hh:38
RandomAccessBundledPropertyMap()
The default constructor.
Definition: properties.hh:81
C Container
The container that holds the properties.
Definition: properties.hh:44
LvaluePropertyMapTag Category
The category of the property map.
Definition: properties.hh:55