Detailed Description
wrapper functions to map file i/o to standard or zlib file i/o
Definition in file fileio.c.
Go to the source code of this file.
Macros | |
| #define | BUFFER_LEN 8192 |
Functions | |
| SCIP_FILE * | SCIPfopen (const char *path, const char *mode) |
| SCIP_FILE * | SCIPfdopen (int fildes, const char *mode) |
| size_t | SCIPfread (void *ptr, size_t size, size_t nmemb, SCIP_FILE *stream) |
| size_t | SCIPfwrite (const void *ptr, size_t size, size_t nmemb, SCIP_FILE *stream) |
| int | SCIPfprintf (SCIP_FILE *stream, const char *format,...) |
| int | SCIPfputc (int c, SCIP_FILE *stream) |
| int | SCIPfputs (const char *s, SCIP_FILE *stream) |
| int | SCIPfgetc (SCIP_FILE *stream) |
| char * | SCIPfgets (char *s, int size, SCIP_FILE *stream) |
| int | SCIPfflush (SCIP_FILE *stream) |
| int | SCIPfseek (SCIP_FILE *stream, long offset, int whence) |
| void | SCIPrewind (SCIP_FILE *stream) |
| long | SCIPftell (SCIP_FILE *stream) |
| int | SCIPfeof (SCIP_FILE *stream) |
| int | SCIPfclose (SCIP_FILE *fp) |
Macro Definition Documentation
◆ BUFFER_LEN
Function Documentation
◆ SCIPfopen()
| SCIP_FILE * SCIPfopen | ( | const char * | path, |
| const char * | mode | ||
| ) |
Definition at line 153 of file fileio.c.
Referenced by concatenateCertificate(), findBestObjectiveValue(), LOPreadFile(), processArguments(), processShellArguments(), readBounds(), readCol(), readCyc(), readDecomposition(), readDiffFile(), readFile(), readFZNFile(), readLPFile(), readMps(), readMpsExact(), readOPBFile(), readPIPFile(), readSol(), readSolFile(), readSto(), readTim(), SCIP_DECL_READERREAD(), SCIPcertificateInit(), SCIPprocessShellArguments(), and SCIPregForestFromFile().
◆ SCIPfdopen()
◆ SCIPfread()
| size_t SCIPfread | ( | void * | ptr, |
| size_t | size, | ||
| size_t | nmemb, | ||
| SCIP_FILE * | stream | ||
| ) |
Definition at line 163 of file fileio.c.
Referenced by concatenateCertificate().
◆ SCIPfwrite()
| size_t SCIPfwrite | ( | const void * | ptr, |
| size_t | size, | ||
| size_t | nmemb, | ||
| SCIP_FILE * | stream | ||
| ) |
Definition at line 168 of file fileio.c.
Referenced by concatenateCertificate().
◆ SCIPfprintf()
| int SCIPfprintf | ( | SCIP_FILE * | stream, |
| const char * | format, | ||
| ... | |||
| ) |
Definition at line 173 of file fileio.c.
Referenced by SCIPcertificateExit(), SCIPcertificatePrintProblemComment(), SCIPcertificatePrintProblemMessage(), SCIPcertificatePrintProofComment(), and SCIPcertificatePrintProofMessage().
◆ SCIPfputc()
◆ SCIPfputs()
| int SCIPfputs | ( | const char * | s, |
| SCIP_FILE * | stream | ||
| ) |
Definition at line 190 of file fileio.c.
Referenced by SCIPcertificatePrintProblemRational(), and SCIPcertificatePrintProofRational().
◆ SCIPfgetc()
◆ SCIPfgets()
| char * SCIPfgets | ( | char * | s, |
| int | size, | ||
| SCIP_FILE * | stream | ||
| ) |
Definition at line 200 of file fileio.c.
Referenced by findBestObjectiveValue(), getCommentLineData(), getInputString(), getNextLine(), getNextNumber(), LOPreadFile(), mpsinputReadLine(), parseDetails(), processArguments(), processShellArguments(), readBounds(), readCnfLine(), readCol(), readCyc(), readDecomposition(), readFile(), readSol(), readSolFile(), SCIP_DECL_READERREAD(), SCIPprocessShellArguments(), SCIPregForestFromFile(), smpsinputReadLine(), stoinputReadLine(), and timinputReadLine().
◆ SCIPfflush()
◆ SCIPfseek()
| int SCIPfseek | ( | SCIP_FILE * | stream, |
| long | offset, | ||
| int | whence | ||
| ) |
◆ SCIPrewind()
◆ SCIPftell()
◆ SCIPfeof()
| int SCIPfeof | ( | SCIP_FILE * | stream | ) |
Definition at line 227 of file fileio.c.
Referenced by LOPreadFile(), processArguments(), processShellArguments(), readBounds(), readCoefficients(), readCol(), readCyc(), readDecomposition(), readFZNFile(), readOPBFile(), readSol(), readSolFile(), SCIP_DECL_READERREAD(), SCIPprocessShellArguments(), and SCIPregForestFromFile().
◆ SCIPfclose()
| int SCIPfclose | ( | SCIP_FILE * | fp | ) |
Definition at line 232 of file fileio.c.
Referenced by concatenateCertificate(), findBestObjectiveValue(), LOPreadFile(), processArguments(), processShellArguments(), readBounds(), readCol(), readCyc(), readDecomposition(), readDiffFile(), readFile(), readFZNFile(), readLPFile(), readMps(), readMpsExact(), readOPBFile(), readPIPFile(), readSol(), readSolFile(), readSto(), readTim(), SCIP_DECL_READERREAD(), SCIPcertificateExit(), SCIPprocessShellArguments(), and SCIPregForestFromFile().