gi-gio
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Objects.FilterOutputStream

Description

Base class for output stream implementations that perform some kind of filtering operation on a base stream. Typical examples of filtering operations are character set conversion, compression and byte order flipping.

Synopsis

Exported types

newtype FilterOutputStream Source #

Memory-managed wrapper type.

Instances

Instances details
Eq FilterOutputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

GObject FilterOutputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

ManagedPtrNewtype FilterOutputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

TypedObject FilterOutputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

Methods

glibType :: IO GType #

HasParentTypes FilterOutputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

HasAttributeList FilterOutputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

(info ~ ResolveFilterOutputStreamMethod t FilterOutputStream, OverloadedMethod info FilterOutputStream p, HasField t FilterOutputStream p) => HasField (t :: Symbol) FilterOutputStream (p :: Type) Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

(info ~ ResolveFilterOutputStreamMethod t FilterOutputStream, OverloadedMethodInfo info FilterOutputStream) => IsLabel t (MethodProxy info FilterOutputStream) Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

(info ~ ResolveFilterOutputStreamMethod t FilterOutputStream, OverloadedMethod info FilterOutputStream p) => IsLabel t (FilterOutputStream -> p) Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

IsGValue (Maybe FilterOutputStream) Source #

Convert FilterOutputStream to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttributeList FilterOutputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type ParentTypes FilterOutputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type SignalList FilterOutputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

class (GObject o, IsDescendantOf FilterOutputStream o) => IsFilterOutputStream o Source #

Type class for types which can be safely cast to FilterOutputStream, for instance with toFilterOutputStream.

Instances

Instances details
(GObject o, IsDescendantOf FilterOutputStream o) => IsFilterOutputStream o Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

toFilterOutputStream :: (MonadIO m, IsFilterOutputStream o) => o -> m FilterOutputStream Source #

Cast to FilterOutputStream, for types for which this is known to be safe. For general casts, use castTo.

Methods

type family ResolveFilterOutputStreamMethod (t :: Symbol) o where ... Source #

Equations

ResolveFilterOutputStreamMethod "bindProperty" o = ObjectBindPropertyMethodInfo 
ResolveFilterOutputStreamMethod "bindPropertyFull" o = ObjectBindPropertyFullMethodInfo 
ResolveFilterOutputStreamMethod "clearPending" o = OutputStreamClearPendingMethodInfo 
ResolveFilterOutputStreamMethod "close" o = OutputStreamCloseMethodInfo 
ResolveFilterOutputStreamMethod "closeAsync" o = OutputStreamCloseAsyncMethodInfo 
ResolveFilterOutputStreamMethod "closeFinish" o = OutputStreamCloseFinishMethodInfo 
ResolveFilterOutputStreamMethod "flush" o = OutputStreamFlushMethodInfo 
ResolveFilterOutputStreamMethod "flushAsync" o = OutputStreamFlushAsyncMethodInfo 
ResolveFilterOutputStreamMethod "flushFinish" o = OutputStreamFlushFinishMethodInfo 
ResolveFilterOutputStreamMethod "forceFloating" o = ObjectForceFloatingMethodInfo 
ResolveFilterOutputStreamMethod "freezeNotify" o = ObjectFreezeNotifyMethodInfo 
ResolveFilterOutputStreamMethod "getv" o = ObjectGetvMethodInfo 
ResolveFilterOutputStreamMethod "hasPending" o = OutputStreamHasPendingMethodInfo 
ResolveFilterOutputStreamMethod "isClosed" o = OutputStreamIsClosedMethodInfo 
ResolveFilterOutputStreamMethod "isClosing" o = OutputStreamIsClosingMethodInfo 
ResolveFilterOutputStreamMethod "isFloating" o = ObjectIsFloatingMethodInfo 
ResolveFilterOutputStreamMethod "notify" o = ObjectNotifyMethodInfo 
ResolveFilterOutputStreamMethod "notifyByPspec" o = ObjectNotifyByPspecMethodInfo 
ResolveFilterOutputStreamMethod "ref" o = ObjectRefMethodInfo 
ResolveFilterOutputStreamMethod "refSink" o = ObjectRefSinkMethodInfo 
ResolveFilterOutputStreamMethod "runDispose" o = ObjectRunDisposeMethodInfo 
ResolveFilterOutputStreamMethod "splice" o = OutputStreamSpliceMethodInfo 
ResolveFilterOutputStreamMethod "spliceAsync" o = OutputStreamSpliceAsyncMethodInfo 
ResolveFilterOutputStreamMethod "spliceFinish" o = OutputStreamSpliceFinishMethodInfo 
ResolveFilterOutputStreamMethod "stealData" o = ObjectStealDataMethodInfo 
ResolveFilterOutputStreamMethod "stealQdata" o = ObjectStealQdataMethodInfo 
ResolveFilterOutputStreamMethod "thawNotify" o = ObjectThawNotifyMethodInfo 
ResolveFilterOutputStreamMethod "unref" o = ObjectUnrefMethodInfo 
ResolveFilterOutputStreamMethod "watchClosure" o = ObjectWatchClosureMethodInfo 
ResolveFilterOutputStreamMethod "write" o = OutputStreamWriteMethodInfo 
ResolveFilterOutputStreamMethod "writeAll" o = OutputStreamWriteAllMethodInfo 
ResolveFilterOutputStreamMethod "writeAllAsync" o = OutputStreamWriteAllAsyncMethodInfo 
ResolveFilterOutputStreamMethod "writeAllFinish" o = OutputStreamWriteAllFinishMethodInfo 
ResolveFilterOutputStreamMethod "writeAsync" o = OutputStreamWriteAsyncMethodInfo 
ResolveFilterOutputStreamMethod "writeBytes" o = OutputStreamWriteBytesMethodInfo 
ResolveFilterOutputStreamMethod "writeBytesAsync" o = OutputStreamWriteBytesAsyncMethodInfo 
ResolveFilterOutputStreamMethod "writeBytesFinish" o = OutputStreamWriteBytesFinishMethodInfo 
ResolveFilterOutputStreamMethod "writeFinish" o = OutputStreamWriteFinishMethodInfo 
ResolveFilterOutputStreamMethod "writev" o = OutputStreamWritevMethodInfo 
ResolveFilterOutputStreamMethod "writevAll" o = OutputStreamWritevAllMethodInfo 
ResolveFilterOutputStreamMethod "writevAllAsync" o = OutputStreamWritevAllAsyncMethodInfo 
ResolveFilterOutputStreamMethod "writevAllFinish" o = OutputStreamWritevAllFinishMethodInfo 
ResolveFilterOutputStreamMethod "writevAsync" o = OutputStreamWritevAsyncMethodInfo 
ResolveFilterOutputStreamMethod "writevFinish" o = OutputStreamWritevFinishMethodInfo 
ResolveFilterOutputStreamMethod "getBaseStream" o = FilterOutputStreamGetBaseStreamMethodInfo 
ResolveFilterOutputStreamMethod "getCloseBaseStream" o = FilterOutputStreamGetCloseBaseStreamMethodInfo 
ResolveFilterOutputStreamMethod "getData" o = ObjectGetDataMethodInfo 
ResolveFilterOutputStreamMethod "getProperty" o = ObjectGetPropertyMethodInfo 
ResolveFilterOutputStreamMethod "getQdata" o = ObjectGetQdataMethodInfo 
ResolveFilterOutputStreamMethod "setCloseBaseStream" o = FilterOutputStreamSetCloseBaseStreamMethodInfo 
ResolveFilterOutputStreamMethod "setData" o = ObjectSetDataMethodInfo 
ResolveFilterOutputStreamMethod "setDataFull" o = ObjectSetDataFullMethodInfo 
ResolveFilterOutputStreamMethod "setPending" o = OutputStreamSetPendingMethodInfo 
ResolveFilterOutputStreamMethod "setProperty" o = ObjectSetPropertyMethodInfo 
ResolveFilterOutputStreamMethod l o = MethodResolutionFailed l o :: Type 

getBaseStream

filterOutputStreamGetBaseStream Source #

Arguments

:: (HasCallStack, MonadIO m, IsFilterOutputStream a) 
=> a

stream: a FilterOutputStream.

-> m OutputStream

Returns: a OutputStream.

Gets the base stream for the filter stream.

getCloseBaseStream

filterOutputStreamGetCloseBaseStream Source #

Arguments

:: (HasCallStack, MonadIO m, IsFilterOutputStream a) 
=> a

stream: a FilterOutputStream.

-> m Bool

Returns: TRUE if the base stream will be closed.

Returns whether the base stream will be closed when stream is closed.

setCloseBaseStream

filterOutputStreamSetCloseBaseStream Source #

Arguments

:: (HasCallStack, MonadIO m, IsFilterOutputStream a) 
=> a

stream: a FilterOutputStream.

-> Bool

closeBase: TRUE to close the base stream.

-> m () 

Sets whether the base stream will be closed when stream is closed.

Properties

baseStream

The underlying base stream on which the I/O ops will be done.

data FilterOutputStreamBaseStreamPropertyInfo Source #

Instances

Instances details
AttrInfo FilterOutputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

Associated Types

type AttrAllowedOps FilterOutputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrBaseTypeConstraint FilterOutputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrGetType FilterOutputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrSetTypeConstraint FilterOutputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrTransferTypeConstraint FilterOutputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrTransferType FilterOutputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrLabel FilterOutputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrOrigin FilterOutputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrAllowedOps FilterOutputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrBaseTypeConstraint FilterOutputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrGetType FilterOutputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrLabel FilterOutputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrOrigin FilterOutputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrSetTypeConstraint FilterOutputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrTransferType FilterOutputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrTransferTypeConstraint FilterOutputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

constructFilterOutputStreamBaseStream :: (IsFilterOutputStream o, MonadIO m, IsOutputStream a) => a -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “base-stream” property. This is rarely needed directly, but it is used by new.

getFilterOutputStreamBaseStream :: (MonadIO m, IsFilterOutputStream o) => o -> m OutputStream Source #

Get the value of the “base-stream” property. When overloading is enabled, this is equivalent to

get filterOutputStream #baseStream

closeBaseStream

Whether the base stream should be closed when the filter stream is closed.

data FilterOutputStreamCloseBaseStreamPropertyInfo Source #

Instances

Instances details
AttrInfo FilterOutputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

Associated Types

type AttrAllowedOps FilterOutputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrBaseTypeConstraint FilterOutputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrGetType FilterOutputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrSetTypeConstraint FilterOutputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrTransferTypeConstraint FilterOutputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrTransferType FilterOutputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrLabel FilterOutputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrOrigin FilterOutputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrAllowedOps FilterOutputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrBaseTypeConstraint FilterOutputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrGetType FilterOutputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrLabel FilterOutputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrOrigin FilterOutputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrSetTypeConstraint FilterOutputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrTransferType FilterOutputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

type AttrTransferTypeConstraint FilterOutputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterOutputStream

constructFilterOutputStreamCloseBaseStream :: (IsFilterOutputStream o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “close-base-stream” property. This is rarely needed directly, but it is used by new.

getFilterOutputStreamCloseBaseStream :: (MonadIO m, IsFilterOutputStream o) => o -> m Bool Source #

Get the value of the “close-base-stream” property. When overloading is enabled, this is equivalent to

get filterOutputStream #closeBaseStream