Scippy

SCIP

Solving Constraint Integer Programs

type_objcloneable.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the program and library */
4 /* SCIP --- Solving Constraint Integer Programs */
5 /* */
6 /* Copyright (C) 2002-2019 Konrad-Zuse-Zentrum */
7 /* fuer Informationstechnik Berlin */
8 /* */
9 /* SCIP is distributed under the terms of the ZIB Academic License. */
10 /* */
11 /* You should have received a copy of the ZIB Academic License */
12 /* along with SCIP; see the file COPYING. If not visit scip.zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file type_objcloneable.h
17  * @ingroup TYPEDEFINITIONS
18  * @brief function type definitions for clonable classes
19  * @author Marc Pfetsch
20  */
21 
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23 
24 #ifndef __SCIP_TYPE_OBJPCLONEABLE_H__
25 #define __SCIP_TYPE_OBJPCLONEABLE_H__
26 
27 /** clone method, used to copy plugins which are not constraint handlers or variable pricer plugins
28  *
29  * input:
30  * - scip : SCIP main data structure
31  */
32 #define SCIP_DECL_OBJCLONEABLECLONE(x) x (SCIP* scip) const
33 #define SCIP_DECL_BENDERSCUTCLONE(x) x (SCIP* scip) const
34 #define SCIP_DECL_BRANCHCLONE(x) x (SCIP* scip) const
35 #define SCIP_DECL_DIALOGCLONE(x) x (SCIP* scip) const
36 #define SCIP_DECL_DISPCLONE(x) x (SCIP* scip) const
37 #define SCIP_DECL_EVENTCLONE(x) x (SCIP* scip) const
38 #define SCIP_DECL_HEURCLONE(x) x (SCIP* scip) const
39 #define SCIP_DECL_NODESELCLONE(x) x (SCIP* scip) const
40 #define SCIP_DECL_PRESOLCLONE(x) x (SCIP* scip) const
41 #define SCIP_DECL_PROPCLONE(x) x (SCIP* scip) const
42 #define SCIP_DECL_READERCLONE(x) x (SCIP* scip) const
43 #define SCIP_DECL_RELAXCLONE(x) x (SCIP* scip) const
44 #define SCIP_DECL_SEPACLONE(x) x (SCIP* scip) const
45 
46 
47 /** returns whether the plugin object is copyable
48  *
49  * return value : whether object is copyable
50  */
51 #define SCIP_DECL_OBJCLONEABLEISCLONEABLE(x) SCIP_Bool x (void) const
52 #define SCIP_DECL_BENDERSCUTISCLONEABLE(x) SCIP_Bool x (void) const
53 #define SCIP_DECL_BRANCHISCLONEABLE(x) SCIP_Bool x (void) const
54 #define SCIP_DECL_DIALOGISCLONEABLE(x) SCIP_Bool x (void) const
55 #define SCIP_DECL_DISPISCLONEABLE(x) SCIP_Bool x (void) const
56 #define SCIP_DECL_EVENTISCLONEABLE(x) SCIP_Bool x (void) const
57 #define SCIP_DECL_HEURISCLONEABLE(x) SCIP_Bool x (void) const
58 #define SCIP_DECL_NODESELISCLONEABLE(x) SCIP_Bool x (void) const
59 #define SCIP_DECL_PRESOLISCLONEABLE(x) SCIP_Bool x (void) const
60 #define SCIP_DECL_PROPISCLONEABLE(x) SCIP_Bool x (void) const
61 #define SCIP_DECL_READERISCLONEABLE(x) SCIP_Bool x (void) const
62 #define SCIP_DECL_RELAXISCLONEABLE(x) SCIP_Bool x (void) const
63 #define SCIP_DECL_SEPAISCLONEABLE(x) SCIP_Bool x (void) const
64 
65 #endif