Scippy

SCIP

Solving Constraint Integer Programs

struct_reader.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-2018 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 struct_reader.h
17  * @ingroup INTERNALAPI
18  * @brief datastructures for input file readers
19  * @author Tobias Achterberg
20  */
21 
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23 
24 #ifndef __SCIP_STRUCT_READER_H__
25 #define __SCIP_STRUCT_READER_H__
26 
27 
28 #include "scip/def.h"
29 #include "scip/type_reader.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 /** input file reader */
37 {
38  const char* name; /**< name of reader */
39  const char* desc; /**< description of reader */
40  const char* extension; /**< file extension that reader processes */
41  SCIP_DECL_READERCOPY ((*readercopy)); /**< copy method of reader or NULL if you don't want to copy your plugin into sub-SCIPs */
42  SCIP_DECL_READERFREE ((*readerfree)); /**< destructor of reader */
43  SCIP_DECL_READERREAD ((*readerread)); /**< read method */
44  SCIP_DECL_READERWRITE ((*readerwrite)); /**< write method */
45  SCIP_READERDATA* readerdata; /**< reader data */
46  SCIP_CLOCK* readingtime; /**< time used for reading of this reader */
47 };
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif
const char * extension
Definition: struct_reader.h:40
const char * desc
Definition: struct_reader.h:39
SCIP_CLOCK * readingtime
Definition: struct_reader.h:46
SCIP_DECL_READERCOPY((*readercopy))
SCIP_DECL_READERREAD((*readerread))
struct SCIP_ReaderData SCIP_READERDATA
Definition: type_reader.h:37
type definitions for input file readers
SCIP_DECL_READERWRITE((*readerwrite))
SCIP_READERDATA * readerdata
Definition: struct_reader.h:45
const char * name
Definition: struct_reader.h:38
common defines and data types used in all packages of SCIP
SCIP_DECL_READERFREE((*readerfree))