MPSolve 3.2.1
|
Implementation of a fmemopen-like stream. More...
Go to the source code of this file.
Classes | |
class | mps::MemoryFileStream |
The MemoryFileStream class provides an implementation of the abstract class AbstractInputStream that will stream the data contained in the area stored in memory. More... | |
Typedefs | |
typedef struct mps_memory_file_stream | mps_memory_file_stream |
C wrapper around MemoryFileStream . | |
Functions | |
mps_memory_file_stream * | mps_memory_file_stream_new (const char *source) |
Allocate a new MemoryFileStream that will output the data pointed by source. More... | |
void | mps_memory_file_stream_free (mps_memory_file_stream *stream) |
Release the resources holded by a MemoryFileStream . More... | |
Implementation of a fmemopen-like stream.
void mps_memory_file_stream_free | ( | mps_memory_file_stream * | stream | ) |
Release the resources holded by a MemoryFileStream
.
stream | The MemoryFileStream to release. |
mps_memory_file_stream * mps_memory_file_stream_new | ( | const char * | source | ) |
Allocate a new MemoryFileStream
that will output the data pointed by source.
source | The data that will be provided by the mps_memory_file_stream. |