Go to the documentation of this file.
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)
R Reference
The reference type of the container.
Definition: properties.hh:47
RandomAccessBundledPropertyMap(Container &container)
Constructor.
Definition: properties.hh:76
LvaluePropertyMapTag Category
The category of the property map.
Definition: properties.hh:55
C Container
The container that holds the properties.
Definition: properties.hh:44
A property map that extracts one property out of a bundle using operator[]()
Definition: properties.hh:38
Reference operator[](const Key &key) const
Get the property for a key.
Definition: properties.hh:67
Tag idnetifying the visited property of a vertex.
Definition: properties.hh:26
RandomAccessBundledPropertyMap()
The default constructor.
Definition: properties.hh:81
Definition: allocator.hh:7
K Key
The key of the property map.
Definition: properties.hh:50
@ index
The index of the property in the bundle.
Definition: properties.hh:59