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 38 of file objcloneable.h.

Definition of base class for all clonable classes. More...

#include <objcloneable.h>

Public Member Functions

virtual ~ObjCloneable ()
 
virtual SCIP_DECL_OBJCLONEABLECLONE (ObjCloneable *clone)
 
virtual SCIP_DECL_OBJCLONEABLEISCLONEABLE (iscloneable)
 

Constructor & Destructor Documentation

◆ ~ObjCloneable()

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

Definition at line 40 of file objcloneable.h.

Member Function Documentation

◆ 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 43 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 49 of file objcloneable.h.