dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
Dune::Fem::ObjPointer< ObjType > Struct Template Reference

#include <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
 
 ObjPointer (ObjType *t)
 new ObjPointer is only created with pointer for item
 
virtual ~ObjPointer ()
 

Public Attributes

ObjType * item
 remember object item and next pointer
 
ObjPointerTypenext
 

Detailed Description

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

storage class for newly generated operators during operator + on DiscreteOperator

Member Typedef Documentation

◆ ObjPointerType

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

Constructor & Destructor Documentation

◆ ObjPointer() [1/2]

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

new ObjPointer is only created with pointer for item

◆ ObjPointer() [2/2]

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

new ObjPointer is only created with pointer for item

◆ ~ObjPointer()

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.

Member Data Documentation

◆ item

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

remember object item and next pointer

◆ next

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

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