Scippy

    SCIP

    Solving Constraint Integer Programs

    scip::ObjCloneable Struct Reference

    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 ()
     
    ObjCloneableoperator= (const ObjCloneable &o)=delete
     
    ObjCloneableoperator= (ObjCloneable &&o)=delete
     
    virtual SCIP_DECL_OBJCLONEABLECLONE (ObjCloneable *clone)
     
    virtual SCIP_DECL_OBJCLONEABLEISCLONEABLE (iscloneable)
     

    Constructor & Destructor Documentation

    ◆ ~ObjCloneable()

    virtual scip::ObjCloneable::~ObjCloneable ( )
    inlinevirtual

    Definition at line 49 of file objcloneable.h.

    Member Function Documentation

    ◆ operator=() [1/2]

    ObjCloneable & scip::ObjCloneable::operator= ( const ObjCloneable o)
    delete

    assignment of polymorphic classes causes slicing and is therefore disabled.

    ◆ operator=() [2/2]

    ObjCloneable & scip::ObjCloneable::operator= ( ObjCloneable &&  o)
    delete

    assignment of polymorphic classes causes slicing and is therefore disabled.

    ◆ SCIP_DECL_OBJCLONEABLECLONE()

    virtual scip::ObjCloneable::SCIP_DECL_OBJCLONEABLECLONE ( ObjCloneable clone)
    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()

    virtual scip::ObjCloneable::SCIP_DECL_OBJCLONEABLEISCLONEABLE ( iscloneable  )
    inlinevirtual

    returns whether the plugin object is copyable

    Definition at line 64 of file objcloneable.h.