dune-common  2.3.1
Public Member Functions | List of all members
Dune::Cloneable Struct Reference

An interface class for cloneable objects. More...

#include <dune/common/interfaces.hh>

Public Member Functions

virtual Cloneableclone () const =0
 Clones the object clone needs to be redefined by an implementation class, with the return type covariantly adapted. Remember to delete the resulting pointer.
virtual ~Cloneable ()
 Destructor.

Detailed Description

An interface class for cloneable objects.

Constructor & Destructor Documentation

virtual Dune::Cloneable::~Cloneable ( )
inlinevirtual

Destructor.

Member Function Documentation

virtual Cloneable* Dune::Cloneable::clone ( ) const
pure virtual

Clones the object clone needs to be redefined by an implementation class, with the return type covariantly adapted. Remember to delete the resulting pointer.


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