dune-fem  2.4.1-rc
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
Dune::Fem::ManagedIndexSetInterface Class Referenceabstract

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/space/common/dofmanager.hh>

Inheritance diagram for Dune::Fem::ManagedIndexSetInterface:
Inheritance graph

Public Member Functions

virtual ~ManagedIndexSetInterface ()
 
virtual void resize ()=0
 resize of index set More...
 
virtual bool compress ()=0
 compress of index set More...
 
virtual void backup () const =0
 :: backup More...
 
virtual void restore ()=0
 :: restore More...
 
virtual void write (XDRFileOutStream &out) const =0
 new read/write methods using xdr streams More...
 
virtual void read (XDRFileInStream &out)=0
 
virtual void write (StandardOutStream &out) const =0
 new read/write methods using binary streams More...
 
virtual void read (StandardInStream &out)=0
 
void addReference ()
 increase reference counter More...
 
bool removeReference ()
 decrease reference counter and return true if zero reached More...
 
template<class IndexSet >
bool equals (const IndexSet &iset) const
 

Protected Types

typedef const void * IdentifierType
 

Protected Member Functions

template<class IndexSet >
 ManagedIndexSetInterface (const IndexSet &iset)
 

Protected Attributes

IdentifierType setPtr_
 
size_t referenceCounter_
 

Detailed Description

This class is the virtual interface for the index sets managed by the DofManager. The derived classes are of the type ManagedIndexSet<IndexSet>. This means we don't have to inherit every index set we want to use with this DofManager.

Member Typedef Documentation

Constructor & Destructor Documentation

template<class IndexSet >
Dune::Fem::ManagedIndexSetInterface::ManagedIndexSetInterface ( const IndexSet iset)
inlineexplicitprotected
virtual Dune::Fem::ManagedIndexSetInterface::~ManagedIndexSetInterface ( )
inlinevirtual

Member Function Documentation

void Dune::Fem::ManagedIndexSetInterface::addReference ( )
inline

increase reference counter

Referenced by Dune::Fem::DofManager< Grid >::addIndexSet().

virtual void Dune::Fem::ManagedIndexSetInterface::backup ( ) const
pure virtual

:: backup

:: backup

Implemented in Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >.

virtual bool Dune::Fem::ManagedIndexSetInterface::compress ( )
pure virtual

compress of index set

Implemented in Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >.

template<class IndexSet >
bool Dune::Fem::ManagedIndexSetInterface::equals ( const IndexSet iset) const
inline
virtual void Dune::Fem::ManagedIndexSetInterface::read ( XDRFileInStream out)
pure virtual
virtual void Dune::Fem::ManagedIndexSetInterface::read ( StandardInStream out)
pure virtual
bool Dune::Fem::ManagedIndexSetInterface::removeReference ( )
inline

decrease reference counter and return true if zero reached

virtual void Dune::Fem::ManagedIndexSetInterface::resize ( )
pure virtual

resize of index set

Implemented in Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >.

virtual void Dune::Fem::ManagedIndexSetInterface::restore ( )
pure virtual

:: restore

:: restore

Implemented in Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >.

virtual void Dune::Fem::ManagedIndexSetInterface::write ( XDRFileOutStream out) const
pure virtual

new read/write methods using xdr streams

Implemented in Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >.

virtual void Dune::Fem::ManagedIndexSetInterface::write ( StandardOutStream out) const
pure virtual

new read/write methods using binary streams

Implemented in Dune::Fem::ManagedIndexSet< IndexSetType, EntityType >.

Member Data Documentation

size_t Dune::Fem::ManagedIndexSetInterface::referenceCounter_
protected
IdentifierType Dune::Fem::ManagedIndexSetInterface::setPtr_
protected

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