GIO Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
#include <gio/gio.h> GFilterOutputStream; GOutputStream * g_filter_output_stream_get_base_stream (GFilterOutputStream *stream
); gboolean g_filter_output_stream_get_close_base_stream (GFilterOutputStream *stream
); void g_filter_output_stream_set_close_base_stream (GFilterOutputStream *stream
,gboolean close_base
);
GObject +----GOutputStream +----GFilterOutputStream +----GBufferedOutputStream +----GDataOutputStream
"base-stream" GOutputStream* : Read / Write / Construct Only "close-base-stream" gboolean : Read / Write / Construct Only
typedef struct _GFilterOutputStream GFilterOutputStream;
A base class for all output streams that work on an underlying stream.
GOutputStream * g_filter_output_stream_get_base_stream
(GFilterOutputStream *stream
);
Gets the base stream for the filter stream.
|
a GFilterOutputStream. |
Returns : |
a GOutputStream. |
gboolean g_filter_output_stream_get_close_base_stream
(GFilterOutputStream *stream
);
Returns whether the base stream will be closed when stream
is
closed.
|
a GFilterOutputStream. |
Returns : |
TRUE if the base stream will be closed. |
void g_filter_output_stream_set_close_base_stream (GFilterOutputStream *stream
,gboolean close_base
);
Sets whether the base stream will be closed when stream
is closed.
|
a GFilterOutputStream. |
|
TRUE to close the base stream. |
"base-stream"
property"base-stream" GOutputStream* : Read / Write / Construct Only
The underlying base stream on which the io ops will be done.