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