DUNE-FEM (unstable)
typemap.hh
142 const Value &operator[] ( const GeometryType &type ) const { return container_[ index( type ) ]; }
174 void swap ( This &other ) noexcept(noexcept(swap(std::declval<Value &>(), std::declval<Value &>())))
associative container assigning values to each GeometryType
Definition: typemap.hh:48
Container::value_type value_type
value type
Definition: typemap.hh:56
static constexpr Size max_size() noexcept
return maximum size
Definition: typemap.hh:129
const Value * data() const noexcept
get pointer to data
Definition: typemap.hh:162
static constexpr Size size() noexcept
return size
Definition: typemap.hh:127
void fill(const Value &value)
fill container with value
Definition: typemap.hh:171
Container::const_pointer const_pointer
const pointer type
Definition: typemap.hh:64
GeometryType type(ConstIterator iterator) const
return geometry type from given iterator
Definition: typemap.hh:115
Container::iterator iterator
iterator type
Definition: typemap.hh:66
ConstIterator begin() const noexcept
return iterator to beginning
Definition: typemap.hh:92
Container::size_type size_type
size type
Definition: typemap.hh:70
Container::const_iterator const_iterator
const iterator type
Definition: typemap.hh:68
void swap(This &other) noexcept(noexcept(swap(std::declval< Value & >(), std::declval< Value & >())))
swap content
Definition: typemap.hh:174
Iterator end() noexcept
return iterator to end
Definition: typemap.hh:90
Container::pointer pointer
pointer type
Definition: typemap.hh:62
Value * data() noexcept
get pointer to data
Definition: typemap.hh:160
const Value & front() const
access first element
Definition: typemap.hh:152
const Value & at(const GeometryType &type) const
access element
Definition: typemap.hh:147
Iterator begin() noexcept
return iterator to beginning
Definition: typemap.hh:88
GeometryType type(Iterator iterator) const
return geometry type from given iterator
Definition: typemap.hh:109
Container::const_reference const_reference
const reference type
Definition: typemap.hh:60
Value & operator[](const GeometryType &type)
access element
Definition: typemap.hh:140
Value & front()
access first element
Definition: typemap.hh:150
static constexpr bool empty() noexcept
test whether container is empty
Definition: typemap.hh:131
ConstIterator cbegin() const noexcept
return const_iterator to beginning
Definition: typemap.hh:97
Container::reference reference
reference type
Definition: typemap.hh:58
Container::difference_type difference_type
difference type
Definition: typemap.hh:72
Value & at(const GeometryType &type)
access element
Definition: typemap.hh:145
const Value & back() const
access last element
Definition: typemap.hh:157
ConstIterator end() const noexcept
return iterator to end
Definition: typemap.hh:94
ConstIterator cend() const noexcept
return const_iterator to end
Definition: typemap.hh:99
const_iterator ConstIterator
iterator type
Definition: typemap.hh:79
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
A unique label for each type of element that can occur in a grid.
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 13, 23:29, 2024)