dune-grid  2.4.1
Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::PersistentContainerWrapper< G, T > Class Template Reference

#include <dune/grid/utility/persistentcontainerwrapper.hh>

Inheritance diagram for Dune::PersistentContainerWrapper< G, T >:
Inheritance graph

Public Types

typedef G Grid
 
typedef PersistentContainer
< HostGrid, T >::Value 
Value
 
typedef PersistentContainer
< HostGrid, T >::Size 
Size
 
typedef PersistentContainer
< HostGrid, T >::Iterator 
Iterator
 
typedef PersistentContainer
< HostGrid, T >::ConstIterator 
ConstIterator
 

Public Member Functions

 PersistentContainerWrapper (const Grid &grid, int codim, const Value &value=Value())
 
template<class Entity >
const Valueoperator[] (const Entity &entity) const
 
template<class Entity >
Valueoperator[] (const Entity &entity)
 
template<class Entity >
const Valueoperator() (const Entity &entity, int subEntity) const
 
template<class Entity >
Valueoperator() (const Entity &entity, int subEntity)
 
Size size () const
 
void resize (const Value &value=Value())
 
void shrinkToFit ()
 
void fill (const Value &value=Value())
 
void swap (This &other)
 
ConstIterator begin () const
 
Iterator begin ()
 
ConstIterator end () const
 
Iterator end ()
 
int codimension () const
 

Protected Attributes

PersistentContainer< HostGrid, T > hostContainer_
 

Member Typedef Documentation

template<class G, class T>
typedef PersistentContainer< HostGrid, T >::ConstIterator Dune::PersistentContainerWrapper< G, T >::ConstIterator
template<class G, class T>
typedef G Dune::PersistentContainerWrapper< G, T >::Grid
template<class G, class T>
typedef PersistentContainer< HostGrid, T >::Iterator Dune::PersistentContainerWrapper< G, T >::Iterator
template<class G, class T>
typedef PersistentContainer< HostGrid, T >::Size Dune::PersistentContainerWrapper< G, T >::Size
template<class G, class T>
typedef PersistentContainer< HostGrid, T >::Value Dune::PersistentContainerWrapper< G, T >::Value

Constructor & Destructor Documentation

template<class G, class T>
Dune::PersistentContainerWrapper< G, T >::PersistentContainerWrapper ( const Grid grid,
int  codim,
const Value value = Value() 
)
inline

Member Function Documentation

template<class G, class T>
ConstIterator Dune::PersistentContainerWrapper< G, T >::begin ( ) const
inline
template<class G, class T>
Iterator Dune::PersistentContainerWrapper< G, T >::begin ( )
inline
template<class G, class T>
int Dune::PersistentContainerWrapper< G, T >::codimension ( ) const
inline
template<class G, class T>
ConstIterator Dune::PersistentContainerWrapper< G, T >::end ( ) const
inline
template<class G, class T>
Iterator Dune::PersistentContainerWrapper< G, T >::end ( )
inline
template<class G, class T>
void Dune::PersistentContainerWrapper< G, T >::fill ( const Value value = Value())
inline
template<class G, class T>
template<class Entity >
const Value& Dune::PersistentContainerWrapper< G, T >::operator() ( const Entity entity,
int  subEntity 
) const
inline
template<class G, class T>
template<class Entity >
Value& Dune::PersistentContainerWrapper< G, T >::operator() ( const Entity entity,
int  subEntity 
)
inline
template<class G, class T>
template<class Entity >
const Value& Dune::PersistentContainerWrapper< G, T >::operator[] ( const Entity entity) const
inline
template<class G, class T>
template<class Entity >
Value& Dune::PersistentContainerWrapper< G, T >::operator[] ( const Entity entity)
inline
template<class G, class T>
void Dune::PersistentContainerWrapper< G, T >::resize ( const Value value = Value())
inline
template<class G, class T>
void Dune::PersistentContainerWrapper< G, T >::shrinkToFit ( )
inline
template<class G, class T>
Size Dune::PersistentContainerWrapper< G, T >::size ( ) const
inline
template<class G, class T>
void Dune::PersistentContainerWrapper< G, T >::swap ( This other)
inline

Member Data Documentation

template<class G, class T>
PersistentContainer< HostGrid, T > Dune::PersistentContainerWrapper< G, T >::hostContainer_
protected

The documentation for this class was generated from the following file: