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.
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) |
| typedef struct SCIP_File SCIP_FILE |
file data structure
Definition at line 43 of file pub_fileio.h.
| SCIP_FILE * SCIPfopen | ( | const char * | path, |
| const char * | mode ) |
Definition at line 154 of file fileio.c.
References SCIPfopen().
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(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIPcertificateInit(), SCIPfopen(), SCIPprocessShellArguments(), and SCIPregForestFromFile().
| SCIP_FILE * SCIPfdopen | ( | int | fildes, |
| const char * | mode ) |
| size_t SCIPfread | ( | void * | ptr, |
| size_t | size, | ||
| size_t | nmemb, | ||
| SCIP_FILE * | stream ) |
Definition at line 164 of file fileio.c.
References SCIPfread().
Referenced by concatenateCertificate(), and SCIPfread().
| size_t SCIPfwrite | ( | const void * | ptr, |
| size_t | size, | ||
| size_t | nmemb, | ||
| SCIP_FILE * | stream ) |
Definition at line 169 of file fileio.c.
References SCIPfwrite().
Referenced by concatenateCertificate(), and SCIPfwrite().
| int SCIPfprintf | ( | SCIP_FILE * | stream, |
| const char * | format, | ||
| ... ) |
Definition at line 174 of file fileio.c.
References SCIPfprintf().
Referenced by SCIPcertificateExit(), SCIPcertificatePrintProblemComment(), SCIPcertificatePrintProblemMessage(), SCIPcertificatePrintProofComment(), SCIPcertificatePrintProofMessage(), and SCIPfprintf().
| int SCIPfputc | ( | int | c, |
| SCIP_FILE * | stream ) |
| int SCIPfputs | ( | const char * | s, |
| SCIP_FILE * | stream ) |
Definition at line 191 of file fileio.c.
References SCIPfputs().
Referenced by SCIPcertificatePrintProblemRational(), SCIPcertificatePrintProofRational(), and SCIPfputs().
| int SCIPfgetc | ( | SCIP_FILE * | stream | ) |
| char * SCIPfgets | ( | char * | s, |
| int | size, | ||
| SCIP_FILE * | stream ) |
Definition at line 201 of file fileio.c.
References SCIPfgets().
Referenced by findBestObjectiveValue(), getCommentLineData(), getInputString(), getNextLine(), getNextLine(), getNextLine(), getNextLine(), getNextLine(), getNextLine(), getNextNumber(), LOPreadFile(), mpsinputReadLine(), parseDetails(), parseDetails(), processArguments(), processShellArguments(), readBounds(), readCnfLine(), readCol(), readCyc(), readDecomposition(), readFile(), readFile(), readFile(), readSol(), readSolFile(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIPfgets(), SCIPprocessShellArguments(), SCIPregForestFromFile(), smpsinputReadLine(), stoinputReadLine(), and timinputReadLine().
| 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 | ) |
Definition at line 228 of file fileio.c.
References SCIPfeof().
Referenced by LOPreadFile(), processArguments(), processShellArguments(), readBounds(), readCoefficients(), readCol(), readCyc(), readDecomposition(), readFZNFile(), readOPBFile(), readSol(), readSolFile(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIPfeof(), SCIPprocessShellArguments(), and SCIPregForestFromFile().
| int SCIPfclose | ( | SCIP_FILE * | fp | ) |
Definition at line 233 of file fileio.c.
References SCIPfclose().
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(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIP_DECL_READERREAD(), SCIPcertificateExit(), SCIPfclose(), SCIPprocessShellArguments(), and SCIPregForestFromFile().