BornAgain  1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ICloneable Class Referenceabstract

Interface for polymorphic classes that should not be copied, except by explicit cloning. More...

+ Inheritance diagram for ICloneable:

Public Member Functions

 ICloneable (const ICloneable &)=delete
 
 ICloneable (ICloneable &&)=default
 
virtual ICloneableclone () const =0
 
virtual void transferToCPP ()
 Used for Python overriding of clone (see swig/tweaks.py)
 

Detailed Description

Interface for polymorphic classes that should not be copied, except by explicit cloning.

Child classes of ICloneable must provide clone().

Definition at line 24 of file ICloneable.h.


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