dune-fem  2.4.1-rc
Public Types | Public Member Functions | Public Attributes | List of all members
Dune::Fem::ObjPointer< ObjType > Struct Template Reference

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/operator/common/objpointer.hh>

Public Types

typedef ObjPointer< ObjType > ObjPointerType
 

Public Member Functions

 ObjPointer ()
 new ObjPointer is only created with pointer for item More...
 
 ObjPointer (ObjType *t)
 new ObjPointer is only created with pointer for item More...
 
virtual ~ObjPointer ()
 

Public Attributes

ObjType * item
 remember object item and next pointer More...
 
ObjPointerTypenext
 

Detailed Description

template<class ObjType>
struct Dune::Fem::ObjPointer< ObjType >

storage class for newly generated operators during operator + on DiscreteOperator

Member Typedef Documentation

template<class ObjType >
typedef ObjPointer<ObjType> Dune::Fem::ObjPointer< ObjType >::ObjPointerType

Constructor & Destructor Documentation

template<class ObjType >
Dune::Fem::ObjPointer< ObjType >::ObjPointer ( )
inline

new ObjPointer is only created with pointer for item

template<class ObjType >
Dune::Fem::ObjPointer< ObjType >::ObjPointer ( ObjType *  t)
inline

new ObjPointer is only created with pointer for item

template<class ObjType >
virtual Dune::Fem::ObjPointer< ObjType >::~ObjPointer ( )
inlinevirtual

delete the next ObjPointer and the item need virtual desctructor for deleting the real objects.

References Dune::Fem::ObjPointer< ObjType >::item, and Dune::Fem::ObjPointer< ObjType >::next.

Member Data Documentation

template<class ObjType >
ObjType* Dune::Fem::ObjPointer< ObjType >::item

remember object item and next pointer

Referenced by Dune::Fem::ObjPointer< ObjType >::~ObjPointer().

template<class ObjType >
ObjPointerType* Dune::Fem::ObjPointer< ObjType >::next

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