Teko Version of the Day
|virtual Teuchos::RCP< Cloneable >||clone () const|
Class that provides an easy way to create a cloneable class. All that is required is that the user implements a default constructor. This also serves as a model for creating other AutoClone-like interfaces.
The template parameter
CloneType describes the type of cloned object to returned. An object returned from
AutoClone::clone will be typed as
BaseType is the parent type of the cloned object created. It is included, with default
AutoCloneDummy, so that no instantiaions of
CloneType are unnecessarily created.
|Teko::AutoClone< CloneType, BaseType >::AutoClone||(||)||
|virtual Teuchos::RCP<Cloneable> Teko::AutoClone< CloneType, BaseType >::clone||(||)|| const