CASM  1.1.0
A Clusters Approach to Statistical Mechanics
notstd::Cloneable Class Referenceabstract

#include <cloneable_ptr.hh>

+ Inheritance diagram for notstd::Cloneable:

Detailed Description

Base class for cloning.

Definition at line 88 of file cloneable_ptr.hh.

Public Member Functions

virtual ~Cloneable ()
 
std::unique_ptr< Cloneableclone () const
 
std::unique_ptr< Cloneablemove ()
 

Private Member Functions

virtual Cloneable_clone () const =0
 
virtual Cloneable_move ()=0
 

Constructor & Destructor Documentation

◆ ~Cloneable()

virtual notstd::Cloneable::~Cloneable ( )
inlinevirtual

Definition at line 90 of file cloneable_ptr.hh.

Member Function Documentation

◆ _clone()

virtual Cloneable* notstd::Cloneable::_clone ( ) const
privatepure virtual

◆ _move()

virtual Cloneable* notstd::Cloneable::_move ( )
privatepure virtual

◆ clone()

std::unique_ptr<Cloneable> notstd::Cloneable::clone ( ) const
inline

Definition at line 92 of file cloneable_ptr.hh.

◆ move()

std::unique_ptr<Cloneable> notstd::Cloneable::move ( )
inline

Definition at line 95 of file cloneable_ptr.hh.


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