DUNE-FEM (unstable)
geometrytypemap.hh
138 Value &operator[] ( const GeometryType &type ) { return container_[ TypeIndex::index( type ) ]; }
140 const Value &operator[] ( const GeometryType &type ) const { return container_[ TypeIndex::index( type ) ]; }
145 const Value &at ( const GeometryType &type ) const { return container_.at( TypeIndex::index( type ) ); }
172 void swap ( This &other ) noexcept(noexcept(swap(std::declval<Value &>(), std::declval<Value &>())))
associative container assigning values to each GeometryType
Definition: geometrytypemap.hh:43
const Value & back() const
access last element
Definition: geometrytypemap.hh:155
constexpr Size max_size() const noexcept
return maximum size
Definition: geometrytypemap.hh:127
Container::size_type size_type
size type
Definition: geometrytypemap.hh:63
Container::const_iterator const_iterator
const iterator type
Definition: geometrytypemap.hh:61
void fill(const Value &value)
fill container with value
Definition: geometrytypemap.hh:169
void swap(This &other) noexcept(noexcept(swap(std::declval< Value & >(), std::declval< Value & >())))
swap content
Definition: geometrytypemap.hh:172
ConstIterator begin() const noexcept
return iterator to beginning
Definition: geometrytypemap.hh:108
Container::const_reference const_reference
const reference type
Definition: geometrytypemap.hh:53
Iterator end() noexcept
return iterator to end
Definition: geometrytypemap.hh:106
Value & operator[](const GeometryType &type)
access element
Definition: geometrytypemap.hh:138
Value * data() noexcept
get pointer to data
Definition: geometrytypemap.hh:158
Iterator begin() noexcept
return iterator to beginning
Definition: geometrytypemap.hh:104
Container::const_pointer const_pointer
const pointer type
Definition: geometrytypemap.hh:57
Container::difference_type difference_type
difference type
Definition: geometrytypemap.hh:65
const Value * data() const noexcept
get pointer to data
Definition: geometrytypemap.hh:160
constexpr bool empty() const noexcept
test whether container is empty
Definition: geometrytypemap.hh:129
Container::iterator iterator
iterator type
Definition: geometrytypemap.hh:59
constexpr Size size() const noexcept
return size
Definition: geometrytypemap.hh:125
GeometryTypeMap()
default constructor
Definition: geometrytypemap.hh:82
const Value & front() const
access first element
Definition: geometrytypemap.hh:150
ConstIterator cbegin() const noexcept
return const_iterator to beginning
Definition: geometrytypemap.hh:113
const_iterator ConstIterator
iterator type
Definition: geometrytypemap.hh:72
Container::pointer pointer
pointer type
Definition: geometrytypemap.hh:55
Container::reference reference
reference type
Definition: geometrytypemap.hh:51
ConstIterator end() const noexcept
return iterator to end
Definition: geometrytypemap.hh:110
Container::value_type value_type
value type
Definition: geometrytypemap.hh:49
const Value & at(const GeometryType &type) const
access element
Definition: geometrytypemap.hh:145
Value & at(const GeometryType &type)
access element
Definition: geometrytypemap.hh:143
ConstIterator cend() const noexcept
return const_iterator to end
Definition: geometrytypemap.hh:115
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
Please doc me.
Please doc me.
A unique label for each type of element that can occur in a grid.
Helper classes to provide indices for geometrytypes for use in a vector.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 24, 23:30, 2024)