Detailed Description
Definition of base class for all clonable classes.
All C++ wrapper object plugins should extend this class, except constraint handlers and variable pricers. This is needed to be able to copy (clone) a SCIP instance.
Definition at line 47 of file objcloneable.h.
Definition of base class for all clonable classes. More...
#include <objcloneable.h>
Public Member Functions | |
virtual | ~ObjCloneable () |
ObjCloneable & | operator= (const ObjCloneable &o)=delete |
ObjCloneable & | operator= (ObjCloneable &&o)=delete |
virtual | SCIP_DECL_OBJCLONEABLECLONE (ObjCloneable *clone) |
virtual | SCIP_DECL_OBJCLONEABLEISCLONEABLE (iscloneable) |
Constructor & Destructor Documentation
◆ ~ObjCloneable()
|
inlinevirtual |
Definition at line 49 of file objcloneable.h.
Member Function Documentation
◆ operator=() [1/2]
|
delete |
assignment of polymorphic classes causes slicing and is therefore disabled.
◆ operator=() [2/2]
|
delete |
assignment of polymorphic classes causes slicing and is therefore disabled.
◆ SCIP_DECL_OBJCLONEABLECLONE()
|
inlinevirtual |
clone method, used to copy plugins which are not constraint handlers or variable pricer plugins
Definition at line 58 of file objcloneable.h.
◆ SCIP_DECL_OBJCLONEABLEISCLONEABLE()
|
inlinevirtual |
returns whether the plugin object is copyable
Definition at line 64 of file objcloneable.h.