C++ wrapper for display columns.
This class defines the interface for display columns implemented in C++. Note that there is a pure virtual function (this function has to be implemented). This function is: scip_output().
C++ wrapper for display columns. More...
#include <objdisp.h>
Public Member Functions | |
ObjDisp (SCIP *scip, const char *name, const char *desc, const char *header, int width, int priority, int position, SCIP_Bool stripline) | |
ObjDisp (const ObjDisp &o) | |
ObjDisp (ObjDisp &&o) | |
virtual | ~ObjDisp () |
ObjDisp & | operator= (const ObjDisp &o)=delete |
ObjDisp & | operator= (ObjDisp &&o)=delete |
virtual | SCIP_DECL_DISPFREE (scip_free) |
virtual | SCIP_DECL_DISPINIT (scip_init) |
virtual | SCIP_DECL_DISPEXIT (scip_exit) |
virtual | SCIP_DECL_DISPINITSOL (scip_initsol) |
virtual | SCIP_DECL_DISPEXITSOL (scip_exitsol) |
virtual | SCIP_DECL_DISPOUTPUT (scip_output)=0 |
![]() | |
virtual | ~ObjCloneable () |
ObjCloneable & | operator= (const ObjCloneable &o)=delete |
ObjCloneable & | operator= (ObjCloneable &&o)=delete |
virtual | SCIP_DECL_OBJCLONEABLECLONE (ObjCloneable *clone) |
virtual | SCIP_DECL_OBJCLONEABLEISCLONEABLE (iscloneable) |
Data Fields | |
SCIP * | scip_ |
char * | scip_name_ |
char * | scip_desc_ |
char * | scip_header_ |
const int | scip_width_ |
const int | scip_priority_ |
const int | scip_position_ |
const SCIP_Bool | scip_stripline_ |
|
inline |
default constructor
scip | SCIP data structure |
name | name of display column |
desc | description of display column |
header | head line of display column |
width | width of display column (no. of chars used) |
priority | priority of display column |
position | relative position of display column |
stripline | should the column be separated with a line from its right neighbour? |
Definition at line 83 of file objdisp.h.
References scip_, SCIP_CALL_ABORT, scip_desc_, scip_header_, scip_name_, and SCIPduplicateMemoryArray.
|
inline |
move constructor
Definition at line 116 of file objdisp.h.
References i, scip_desc_, scip_header_, and scip_name_.
|
inlinevirtual |
destructor
Definition at line 132 of file objdisp.h.
References scip_, scip_desc_, scip_header_, scip_name_, and SCIPfreeMemoryArray.
assignment of polymorphic classes causes slicing and is therefore disabled.
assignment of polymorphic classes causes slicing and is therefore disabled.
destructor of display column to free user data (called when SCIP is exiting)
Definition at line 151 of file objdisp.h.
References SCIP_OKAY.
initialization method of display column (called after problem was transformed)
Definition at line 160 of file objdisp.h.
References SCIP_OKAY.
deinitialization method of display column (called before transformed problem is freed)
Definition at line 169 of file objdisp.h.
References SCIP_OKAY.
|
inlinevirtual |
solving process initialization method of display column (called when branch and bound process is about to begin)
Definition at line 178 of file objdisp.h.
References SCIP_OKAY.
|
inlinevirtual |
solving process deinitialization method of display column (called before branch and bound process data is freed)
Definition at line 187 of file objdisp.h.
References SCIP_OKAY.
|
pure virtual |
output method of display column to output file stream 'file'
SCIP* scip::ObjDisp::scip_ |
SCIP data structure
Definition at line 59 of file objdisp.h.
Referenced by ObjDisp(), and ~ObjDisp().
char* scip::ObjDisp::scip_name_ |
name of the display column
Definition at line 62 of file objdisp.h.
Referenced by ObjDisp(), ObjDisp(), SCIPincludeObjDisp(), and ~ObjDisp().
char* scip::ObjDisp::scip_desc_ |
description of the display column
Definition at line 65 of file objdisp.h.
Referenced by ObjDisp(), ObjDisp(), SCIPincludeObjDisp(), and ~ObjDisp().
char* scip::ObjDisp::scip_header_ |
head line of the display column
Definition at line 68 of file objdisp.h.
Referenced by ObjDisp(), ObjDisp(), SCIPincludeObjDisp(), and ~ObjDisp().
const int scip::ObjDisp::scip_width_ |
width of the display column (no. of chars used)
Definition at line 71 of file objdisp.h.
Referenced by SCIPincludeObjDisp().
const int scip::ObjDisp::scip_priority_ |
priority of the display column
Definition at line 74 of file objdisp.h.
Referenced by SCIPincludeObjDisp().
const int scip::ObjDisp::scip_position_ |
relative position of the display column
Definition at line 77 of file objdisp.h.
Referenced by SCIPincludeObjDisp().
should the column be separated with a line from its right neighbour?
Definition at line 80 of file objdisp.h.
Referenced by SCIPincludeObjDisp().