Detailed Description
wrapper functions to map file i/o to standard or zlib file i/o
Definition in file pub_fileio.h.
Go to the source code of this file.
Typedefs | |
typedef struct SCIP_File | SCIP_FILE |
Functions | |
SCIP_EXPORT SCIP_FILE * | SCIPfopen (const char *path, const char *mode) |
SCIP_EXPORT SCIP_FILE * | SCIPfdopen (int fildes, const char *mode) |
SCIP_EXPORT size_t | SCIPfread (void *ptr, size_t size, size_t nmemb, SCIP_FILE *stream) |
SCIP_EXPORT size_t | SCIPfwrite (const void *ptr, size_t size, size_t nmemb, SCIP_FILE *stream) |
SCIP_EXPORT int | SCIPfprintf (SCIP_FILE *stream, const char *format,...) |
SCIP_EXPORT int | SCIPfputc (int c, SCIP_FILE *stream) |
SCIP_EXPORT int | SCIPfputs (const char *s, SCIP_FILE *stream) |
SCIP_EXPORT int | SCIPfgetc (SCIP_FILE *stream) |
SCIP_EXPORT char * | SCIPfgets (char *s, int size, SCIP_FILE *stream) |
SCIP_EXPORT int | SCIPfflush (SCIP_FILE *stream) |
SCIP_EXPORT int | SCIPfseek (SCIP_FILE *stream, long offset, int whence) |
SCIP_EXPORT void | SCIPrewind (SCIP_FILE *stream) |
SCIP_EXPORT long | SCIPftell (SCIP_FILE *stream) |
SCIP_EXPORT int | SCIPfeof (SCIP_FILE *stream) |
SCIP_EXPORT int | SCIPfclose (SCIP_FILE *fp) |
Typedef Documentation
◆ SCIP_FILE
typedef struct SCIP_File SCIP_FILE |
file data structure
Definition at line 34 of file pub_fileio.h.
Function Documentation
◆ SCIPfopen()
SCIP_EXPORT SCIP_FILE* SCIPfopen | ( | const char * | path, |
const char * | mode | ||
) |
Definition at line 140 of file fileio.c.
Referenced by findBestObjectiveValue(), getMaxAndConsDim(), processArguments(), readBounds(), readCol(), readCyc(), readDiffFile(), readFile(), readFZNFile(), readLPFile(), readMOP(), readMps(), readOPBFile(), readPIPFile(), readSol(), readSolFile(), readSto(), readTim(), SCIP_DECL_READERREAD(), and SCIPprocessShellArguments().
◆ SCIPfdopen()
SCIP_EXPORT SCIP_FILE* SCIPfdopen | ( | int | fildes, |
const char * | mode | ||
) |
◆ SCIPfread()
SCIP_EXPORT size_t SCIPfread | ( | void * | ptr, |
size_t | size, | ||
size_t | nmemb, | ||
SCIP_FILE * | stream | ||
) |
◆ SCIPfwrite()
SCIP_EXPORT size_t SCIPfwrite | ( | const void * | ptr, |
size_t | size, | ||
size_t | nmemb, | ||
SCIP_FILE * | stream | ||
) |
◆ SCIPfprintf()
SCIP_EXPORT int SCIPfprintf | ( | SCIP_FILE * | stream, |
const char * | format, | ||
... | |||
) |
◆ SCIPfputc()
SCIP_EXPORT int SCIPfputc | ( | int | c, |
SCIP_FILE * | stream | ||
) |
◆ SCIPfputs()
SCIP_EXPORT int SCIPfputs | ( | const char * | s, |
SCIP_FILE * | stream | ||
) |
◆ SCIPfgetc()
SCIP_EXPORT int SCIPfgetc | ( | SCIP_FILE * | stream | ) |
◆ SCIPfgets()
SCIP_EXPORT char* SCIPfgets | ( | char * | s, |
int | size, | ||
SCIP_FILE * | stream | ||
) |
Definition at line 187 of file fileio.c.
Referenced by findBestObjectiveValue(), getInputString(), getMaxAndConsDim(), getNextLine(), mpsinputReadLine(), parseDetails(), processArguments(), readBounds(), readCnfLine(), readCol(), readCyc(), readFile(), readSol(), readSolFile(), SCIP_DECL_READERREAD(), SCIPprocessShellArguments(), smpsinputReadLine(), stoinputReadLine(), and timinputReadLine().
◆ SCIPfflush()
SCIP_EXPORT int SCIPfflush | ( | SCIP_FILE * | stream | ) |
◆ SCIPfseek()
SCIP_EXPORT int SCIPfseek | ( | SCIP_FILE * | stream, |
long | offset, | ||
int | whence | ||
) |
Definition at line 199 of file fileio.c.
Referenced by getMaxAndConsDim(), and getNextLine().
◆ SCIPrewind()
SCIP_EXPORT void SCIPrewind | ( | SCIP_FILE * | stream | ) |
◆ SCIPftell()
SCIP_EXPORT long SCIPftell | ( | SCIP_FILE * | stream | ) |
◆ SCIPfeof()
SCIP_EXPORT int SCIPfeof | ( | SCIP_FILE * | stream | ) |
Definition at line 214 of file fileio.c.
Referenced by getMaxAndConsDim(), processArguments(), readBounds(), readCoefficients(), readCol(), readCyc(), readFZNFile(), readOPBFile(), readSol(), readSolFile(), SCIP_DECL_READERREAD(), and SCIPprocessShellArguments().
◆ SCIPfclose()
SCIP_EXPORT int SCIPfclose | ( | SCIP_FILE * | fp | ) |
Definition at line 219 of file fileio.c.
Referenced by findBestObjectiveValue(), getMaxAndConsDim(), processArguments(), readBounds(), readCol(), readCyc(), readDiffFile(), readFile(), readFZNFile(), readLPFile(), readMOP(), readMps(), readOPBFile(), readPIPFile(), readSol(), readSolFile(), readSto(), readTim(), SCIP_DECL_READERREAD(), and SCIPprocessShellArguments().