Scippy

SCIP

Solving Constraint Integer Programs

pub_reader.h File Reference

Detailed Description

public methods for input file readers

Author
Tobias Achterberg

Definition in file pub_reader.h.

#include "scip/def.h"
#include "scip/type_reader.h"

Go to the source code of this file.

Functions

SCIP_READERDATASCIPreaderGetData (SCIP_READER *reader)
 
void SCIPreaderSetData (SCIP_READER *reader, SCIP_READERDATA *readerdata)
 
const char * SCIPreaderGetName (SCIP_READER *reader)
 
const char * SCIPreaderGetDesc (SCIP_READER *reader)
 
const char * SCIPreaderGetExtension (SCIP_READER *reader)
 
SCIP_Bool SCIPreaderCanRead (SCIP_READER *reader)
 
SCIP_Bool SCIPreaderCanWrite (SCIP_READER *reader)
 

Function Documentation

SCIP_READERDATA* SCIPreaderGetData ( SCIP_READER reader)
void SCIPreaderSetData ( SCIP_READER reader,
SCIP_READERDATA readerdata 
)

sets user data of reader; user has to free old data in advance!

Parameters
readerreader
readerdatanew reader user data

Definition at line 455 of file reader.c.

References NULL, and SCIP_Reader::readerdata.

Referenced by SCIP_DECL_READERFREE().

const char* SCIPreaderGetDesc ( SCIP_READER reader)

gets description of reader

Parameters
readerreader

Definition at line 520 of file reader.c.

References SCIP_Reader::desc, and NULL.

Referenced by displayReaders(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().

const char* SCIPreaderGetExtension ( SCIP_READER reader)

gets file extension of reader

Parameters
readerreader

Definition at line 530 of file reader.c.

References SCIP_Reader::extension, and NULL.

Referenced by displayReaders().

SCIP_Bool SCIPreaderCanRead ( SCIP_READER reader)

return whether the reader can read files

Parameters
readerreader

Definition at line 540 of file reader.c.

References NULL.

Referenced by displayReaders().

SCIP_Bool SCIPreaderCanWrite ( SCIP_READER reader)

return whether the reader can write files

Parameters
readerreader

Definition at line 550 of file reader.c.

References NULL.

Referenced by displayReaders().