|
SCIP-SDP
3.1.0
|
Public Member Functions | |
| ScipStreamBuffer (SCIP *scip, SCIP_FILE *file, bool close_on_exit) | |
| ~ScipStreamBuffer () | |
Protected Member Functions | |
| virtual int | underflow () |
| the underflow function is responsible for the refilling of the buffer More... | |
| virtual std::streamsize | xsgetn (char *dest, std::streamsize request) |
Protected Attributes | |
| SCIP * | scip_ |
| SCIP_FILE * | file_ |
| char * | g_buffer_ |
| size_t | g_buffer_size_ |
| pointer to the get-buffer More... | |
| bool | close_on_exit_ |
| size of the get-buffer More... | |
Definition at line 46 of file ScipStreamBuffer.h.
| ScipStreamBuffer::ScipStreamBuffer | ( | SCIP * | scip, |
| SCIP_FILE * | file, | ||
| bool | close_on_exit | ||
| ) |
set buffer in empty state
Definition at line 46 of file ScipStreamBuffer.cpp.
References g_buffer_, g_buffer_size_, and scip_.
| ScipStreamBuffer::~ScipStreamBuffer | ( | ) |
Definition at line 54 of file ScipStreamBuffer.cpp.
References close_on_exit_, file_, g_buffer_, g_buffer_size_, and scip_.
|
protectedvirtual |
the underflow function is responsible for the refilling of the buffer
we read nothing => bad
Definition at line 67 of file ScipStreamBuffer.cpp.
References file_, g_buffer_, and g_buffer_size_.
Referenced by xsgetn().
|
protectedvirtual |
Definition at line 90 of file ScipStreamBuffer.cpp.
References underflow().
|
protected |
Definition at line 59 of file ScipStreamBuffer.h.
Referenced by ScipStreamBuffer(), and ~ScipStreamBuffer().
|
protected |
Definition at line 60 of file ScipStreamBuffer.h.
Referenced by underflow(), and ~ScipStreamBuffer().
|
protected |
Definition at line 61 of file ScipStreamBuffer.h.
Referenced by ScipStreamBuffer(), underflow(), and ~ScipStreamBuffer().
|
protected |
pointer to the get-buffer
Definition at line 62 of file ScipStreamBuffer.h.
Referenced by ScipStreamBuffer(), underflow(), and ~ScipStreamBuffer().
|
protected |
size of the get-buffer
Definition at line 63 of file ScipStreamBuffer.h.
Referenced by ~ScipStreamBuffer().
1.8.7