dune-fem 2.8.0
|
associative container assigning values to each GeometryType More...
#include <dune/fem/space/basisfunctionset/hpdg/typemap.hh>
Public Types | |
typedef Container::value_type | value_type |
value type | |
typedef Container::reference | reference |
reference type | |
typedef Container::const_reference | const_reference |
const reference type | |
typedef Container::pointer | pointer |
pointer type | |
typedef Container::const_pointer | const_pointer |
const pointer type | |
typedef Container::iterator | iterator |
iterator type | |
typedef Container::const_iterator | const_iterator |
const iterator type | |
typedef Container::size_type | size_type |
size type | |
typedef Container::difference_type | difference_type |
difference type | |
typedef value_type | Value |
value type | |
typedef iterator | Iterator |
iterator type | |
typedef const_iterator | ConstIterator |
iterator type | |
typedef size_type | Size |
size type | |
Public Member Functions | |
Iterators | |
Iterator | begin () noexcept |
return iterator to beginning | |
Iterator | end () noexcept |
return iterator to end | |
ConstIterator | begin () const noexcept |
return iterator to beginning | |
ConstIterator | end () const noexcept |
return iterator to end | |
ConstIterator | cbegin () const noexcept |
return const_iterator to beginning | |
ConstIterator | cend () const noexcept |
return const_iterator to end | |
GeometryType | type (Iterator iterator) const |
return geometry type from given iterator | |
GeometryType | type (ConstIterator iterator) const |
return geometry type from given iterator | |
Element access | |
Value & | operator[] (const GeometryType &type) |
access element | |
const Value & | operator[] (const GeometryType &type) const |
access element | |
Value & | at (const GeometryType &type) |
access element | |
const Value & | at (const GeometryType &type) const |
access element | |
Value & | front () |
access first element | |
const Value & | front () const |
access first element | |
Value & | back () |
access last element | |
const Value & | back () const |
access last element | |
Value * | data () noexcept |
get pointer to data | |
const Value * | data () const noexcept |
get pointer to data | |
Modifiers | |
void | fill (const Value &value) |
fill container with value | |
void | swap (This &other) noexcept(noexcept(swap(std::declval< Value & >(), std::declval< Value & >()))) |
swap content | |
Static Public Member Functions | |
Capacity | |
static constexpr Size | size () noexcept |
return size | |
static constexpr Size | max_size () noexcept |
return maximum size | |
static constexpr bool | empty () noexcept |
test whether container is empty | |
associative container assigning values to each GeometryType
The GeometryTypeMap is an associative container similar to std::map< GeometryType, T >.
T | value type |
TypeIndexSet | type index set (see note) |
TypeIndexSet
is required to implement the following interface: typedef Container::const_iterator Dune::Fem::hpDG::GeometryTypeMap< T, TypeIndexSet >::const_iterator |
const iterator type
typedef Container::const_pointer Dune::Fem::hpDG::GeometryTypeMap< T, TypeIndexSet >::const_pointer |
const pointer type
typedef Container::const_reference Dune::Fem::hpDG::GeometryTypeMap< T, TypeIndexSet >::const_reference |
const reference type
typedef const_iterator Dune::Fem::hpDG::GeometryTypeMap< T, TypeIndexSet >::ConstIterator |
iterator type
typedef Container::difference_type Dune::Fem::hpDG::GeometryTypeMap< T, TypeIndexSet >::difference_type |
difference type
typedef Container::iterator Dune::Fem::hpDG::GeometryTypeMap< T, TypeIndexSet >::iterator |
iterator type
typedef iterator Dune::Fem::hpDG::GeometryTypeMap< T, TypeIndexSet >::Iterator |
iterator type
typedef Container::pointer Dune::Fem::hpDG::GeometryTypeMap< T, TypeIndexSet >::pointer |
pointer type
typedef Container::reference Dune::Fem::hpDG::GeometryTypeMap< T, TypeIndexSet >::reference |
reference type
typedef size_type Dune::Fem::hpDG::GeometryTypeMap< T, TypeIndexSet >::Size |
size type
typedef Container::size_type Dune::Fem::hpDG::GeometryTypeMap< T, TypeIndexSet >::size_type |
size type
typedef value_type Dune::Fem::hpDG::GeometryTypeMap< T, TypeIndexSet >::Value |
value type
typedef Container::value_type Dune::Fem::hpDG::GeometryTypeMap< T, TypeIndexSet >::value_type |
value type
|
inline |
access element
|
inline |
access element
|
inline |
access last element
|
inline |
access last element
|
inlinenoexcept |
return iterator to beginning
|
inlinenoexcept |
return iterator to beginning
|
inlinenoexcept |
return const_iterator to beginning
|
inlinenoexcept |
return const_iterator to end
|
inlinenoexcept |
get pointer to data
|
inlinenoexcept |
get pointer to data
|
inlinestaticconstexprnoexcept |
test whether container is empty
|
inlinenoexcept |
return iterator to end
|
inlinenoexcept |
return iterator to end
|
inline |
fill container with value
|
inline |
access first element
|
inline |
access first element
|
inlinestaticconstexprnoexcept |
return maximum size
|
inline |
access element
|
inline |
access element
|
inlinestaticconstexprnoexcept |
return size
|
inlinenoexcept |
swap content
|
inline |
return geometry type from given iterator
|
inline |
return geometry type from given iterator