|
| constexpr | FlatMultiIndex ()=default |
| |
| | FlatMultiIndex (std::initializer_list< size_type > const &l) |
| | Construct from initializer_list.
|
| |
| | operator const size_type & () const |
| | Const cast of multi-index to first entry.
|
| |
| | operator size_type & () |
| | Non-const cast of multi-index to first entry.
|
| |
| size_type | at (size_type ... args) |
| |
| size_type | back (size_type ... args) |
| |
| size_type | begin (size_type ... args) |
| |
| size_type | cbegin (size_type ... args) |
| |
| size_type | cend (size_type ... args) |
| |
| size_type | crbegin (size_type ... args) |
| |
| size_type | crend (size_type ... args) |
| |
| size_type | data (size_type ... args) |
| |
| size_type | empty (size_type ... args) |
| |
| size_type | end (size_type ... args) |
| |
| size_type | fill (size_type ... args) |
| |
| size_type | front (size_type ... args) |
| |
| size_type | max_size (size_type ... args) |
| |
| size_type | operator[] (size_type ... args) |
| |
| size_type | rbegin (size_type ... args) |
| |
| size_type | rend (size_type ... args) |
| |
| size_type | size (size_type ... args) |
| |
| size_type | swap (size_type ... args) |
| |
template<class size_type>
class Dune::Functions::FlatMultiIndex< size_type >
A multi-index class with only one level.
This class provides a multi-index interface in the sense that it has operator[] access to individual interfaces. However, since it only supports flat indices of exactly one level, it also has a cast of the multi-index to this index. This is obtianed by deriving from std::array<size_type,1> and adding this cast. Hence multi-indices of type FlatMultiIndex can be used like classic indices.