|
dune-grid 2.10
|
map-based implementation of the PersistentContainer More...
#include <dune/grid/utility/persistentcontainermap.hh>

Classes | |
| class | IteratorWrapper |
Public Types | |
| typedef G | Grid |
| typedef Map::mapped_type | Value |
| typedef Map::size_type | Size |
| typedef IteratorWrapper< const Value, typename Map::const_iterator > | ConstIterator |
| typedef IteratorWrapper< Value, typename Map::iterator > | Iterator |
Public Member Functions | |
| PersistentContainerMap (const Grid &grid, int codim, const IdSet &idSet, const Value &value) | |
| template<class Entity > | |
| const Value & | operator[] (const Entity &entity) const |
| template<class Entity > | |
| Value & | operator[] (const Entity &entity) |
| template<class Entity > | |
| const Value & | operator() (const Entity &entity, int subEntity) const |
| template<class Entity > | |
| Value & | operator() (const Entity &entity, int subEntity) |
| Size | size () const |
| void | resize (const Value &value=Value()) |
| void | shrinkToFit () |
| void | fill (const Value &value) |
| void | swap (This &other) |
| ConstIterator | begin () const |
| Iterator | begin () |
| ConstIterator | end () const |
| Iterator | end () |
| int | codimension () const |
Protected Member Functions | |
| const Grid & | grid () const |
| template<int codim> | |
| void | resize (const Value &value) |
| template<int codim> | |
| void | migrateLevel (int level, const Value &value, Map &data, std::integral_constant< bool, true >) |
| template<int codim> | |
| void | migrateLevel (int level, const Value &value, Map &data, std::integral_constant< bool, false >) |
| const IdSet & | idSet () const |
Static Protected Member Functions | |
| static void | migrateEntry (const typename IdSet::IdType &id, const Value &value, Map &oldData, Map &newData) |
Protected Attributes | |
| const Grid * | grid_ |
| int | codim_ |
| const IdSet * | idSet_ |
| Map | data_ |
map-based implementation of the PersistentContainer
| typedef IteratorWrapper< const Value, typename Map::const_iterator > Dune::PersistentContainerMap< G, IdSet, Map >::ConstIterator |
| typedef G Dune::PersistentContainerMap< G, IdSet, Map >::Grid |
| typedef IteratorWrapper< Value, typename Map::iterator > Dune::PersistentContainerMap< G, IdSet, Map >::Iterator |
| typedef Map::size_type Dune::PersistentContainerMap< G, IdSet, Map >::Size |
| typedef Map::mapped_type Dune::PersistentContainerMap< G, IdSet, Map >::Value |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
inlinestaticprotected |
|
inlineprotected |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |