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

GI.Gio.Objects.FilterInputStream

Description

Base class for input 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 FilterInputStream Source #

Memory-managed wrapper type.

Instances

Instances details
Eq FilterInputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

GObject FilterInputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

ManagedPtrNewtype FilterInputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

TypedObject FilterInputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

Methods

glibType :: IO GType #

HasParentTypes FilterInputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

HasAttributeList FilterInputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

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

Defined in GI.Gio.Objects.FilterInputStream

(info ~ ResolveFilterInputStreamMethod t FilterInputStream, OverloadedMethodInfo info FilterInputStream) => IsLabel t (MethodProxy info FilterInputStream) Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

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

Defined in GI.Gio.Objects.FilterInputStream

IsGValue (Maybe FilterInputStream) Source #

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

Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttributeList FilterInputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type ParentTypes FilterInputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type SignalList FilterInputStream Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

class (GObject o, IsDescendantOf FilterInputStream o) => IsFilterInputStream o Source #

Type class for types which can be safely cast to FilterInputStream, for instance with toFilterInputStream.

Instances

Instances details
(GObject o, IsDescendantOf FilterInputStream o) => IsFilterInputStream o Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

toFilterInputStream :: (MonadIO m, IsFilterInputStream o) => o -> m FilterInputStream Source #

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

Methods

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

Equations

ResolveFilterInputStreamMethod "bindProperty" o = ObjectBindPropertyMethodInfo 
ResolveFilterInputStreamMethod "bindPropertyFull" o = ObjectBindPropertyFullMethodInfo 
ResolveFilterInputStreamMethod "clearPending" o = InputStreamClearPendingMethodInfo 
ResolveFilterInputStreamMethod "close" o = InputStreamCloseMethodInfo 
ResolveFilterInputStreamMethod "closeAsync" o = InputStreamCloseAsyncMethodInfo 
ResolveFilterInputStreamMethod "closeFinish" o = InputStreamCloseFinishMethodInfo 
ResolveFilterInputStreamMethod "forceFloating" o = ObjectForceFloatingMethodInfo 
ResolveFilterInputStreamMethod "freezeNotify" o = ObjectFreezeNotifyMethodInfo 
ResolveFilterInputStreamMethod "getv" o = ObjectGetvMethodInfo 
ResolveFilterInputStreamMethod "hasPending" o = InputStreamHasPendingMethodInfo 
ResolveFilterInputStreamMethod "isClosed" o = InputStreamIsClosedMethodInfo 
ResolveFilterInputStreamMethod "isFloating" o = ObjectIsFloatingMethodInfo 
ResolveFilterInputStreamMethod "notify" o = ObjectNotifyMethodInfo 
ResolveFilterInputStreamMethod "notifyByPspec" o = ObjectNotifyByPspecMethodInfo 
ResolveFilterInputStreamMethod "read" o = InputStreamReadMethodInfo 
ResolveFilterInputStreamMethod "readAll" o = InputStreamReadAllMethodInfo 
ResolveFilterInputStreamMethod "readAllAsync" o = InputStreamReadAllAsyncMethodInfo 
ResolveFilterInputStreamMethod "readAllFinish" o = InputStreamReadAllFinishMethodInfo 
ResolveFilterInputStreamMethod "readAsync" o = InputStreamReadAsyncMethodInfo 
ResolveFilterInputStreamMethod "readBytes" o = InputStreamReadBytesMethodInfo 
ResolveFilterInputStreamMethod "readBytesAsync" o = InputStreamReadBytesAsyncMethodInfo 
ResolveFilterInputStreamMethod "readBytesFinish" o = InputStreamReadBytesFinishMethodInfo 
ResolveFilterInputStreamMethod "readFinish" o = InputStreamReadFinishMethodInfo 
ResolveFilterInputStreamMethod "ref" o = ObjectRefMethodInfo 
ResolveFilterInputStreamMethod "refSink" o = ObjectRefSinkMethodInfo 
ResolveFilterInputStreamMethod "runDispose" o = ObjectRunDisposeMethodInfo 
ResolveFilterInputStreamMethod "skip" o = InputStreamSkipMethodInfo 
ResolveFilterInputStreamMethod "skipAsync" o = InputStreamSkipAsyncMethodInfo 
ResolveFilterInputStreamMethod "skipFinish" o = InputStreamSkipFinishMethodInfo 
ResolveFilterInputStreamMethod "stealData" o = ObjectStealDataMethodInfo 
ResolveFilterInputStreamMethod "stealQdata" o = ObjectStealQdataMethodInfo 
ResolveFilterInputStreamMethod "thawNotify" o = ObjectThawNotifyMethodInfo 
ResolveFilterInputStreamMethod "unref" o = ObjectUnrefMethodInfo 
ResolveFilterInputStreamMethod "watchClosure" o = ObjectWatchClosureMethodInfo 
ResolveFilterInputStreamMethod "getBaseStream" o = FilterInputStreamGetBaseStreamMethodInfo 
ResolveFilterInputStreamMethod "getCloseBaseStream" o = FilterInputStreamGetCloseBaseStreamMethodInfo 
ResolveFilterInputStreamMethod "getData" o = ObjectGetDataMethodInfo 
ResolveFilterInputStreamMethod "getProperty" o = ObjectGetPropertyMethodInfo 
ResolveFilterInputStreamMethod "getQdata" o = ObjectGetQdataMethodInfo 
ResolveFilterInputStreamMethod "setCloseBaseStream" o = FilterInputStreamSetCloseBaseStreamMethodInfo 
ResolveFilterInputStreamMethod "setData" o = ObjectSetDataMethodInfo 
ResolveFilterInputStreamMethod "setDataFull" o = ObjectSetDataFullMethodInfo 
ResolveFilterInputStreamMethod "setPending" o = InputStreamSetPendingMethodInfo 
ResolveFilterInputStreamMethod "setProperty" o = ObjectSetPropertyMethodInfo 
ResolveFilterInputStreamMethod l o = MethodResolutionFailed l o :: Type 

getBaseStream

filterInputStreamGetBaseStream Source #

Arguments

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

stream: a FilterInputStream.

-> m InputStream

Returns: a InputStream.

Gets the base stream for the filter stream.

getCloseBaseStream

filterInputStreamGetCloseBaseStream Source #

Arguments

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

stream: a FilterInputStream.

-> m Bool

Returns: True if the base stream will be closed.

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

setCloseBaseStream

filterInputStreamSetCloseBaseStream Source #

Arguments

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

stream: a FilterInputStream.

-> 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 FilterInputStreamBaseStreamPropertyInfo Source #

Instances

Instances details
AttrInfo FilterInputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

Associated Types

type AttrAllowedOps FilterInputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrBaseTypeConstraint FilterInputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrGetType FilterInputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrSetTypeConstraint FilterInputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrTransferTypeConstraint FilterInputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrTransferType FilterInputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrLabel FilterInputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrOrigin FilterInputStreamBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrAllowedOps FilterInputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrBaseTypeConstraint FilterInputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrGetType FilterInputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrLabel FilterInputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrOrigin FilterInputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrSetTypeConstraint FilterInputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrTransferType FilterInputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrTransferTypeConstraint FilterInputStreamBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

constructFilterInputStreamBaseStream :: (IsFilterInputStream o, MonadIO m, IsInputStream 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.

getFilterInputStreamBaseStream :: (MonadIO m, IsFilterInputStream o) => o -> m InputStream Source #

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

get filterInputStream #baseStream

closeBaseStream

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

data FilterInputStreamCloseBaseStreamPropertyInfo Source #

Instances

Instances details
AttrInfo FilterInputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

Associated Types

type AttrAllowedOps FilterInputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrBaseTypeConstraint FilterInputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrGetType FilterInputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrSetTypeConstraint FilterInputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrTransferTypeConstraint FilterInputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrTransferType FilterInputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrLabel FilterInputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrOrigin FilterInputStreamCloseBaseStreamPropertyInfo 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrAllowedOps FilterInputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrBaseTypeConstraint FilterInputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrGetType FilterInputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrLabel FilterInputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrOrigin FilterInputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrSetTypeConstraint FilterInputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrTransferType FilterInputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

type AttrTransferTypeConstraint FilterInputStreamCloseBaseStreamPropertyInfo Source # 
Instance details

Defined in GI.Gio.Objects.FilterInputStream

constructFilterInputStreamCloseBaseStream :: (IsFilterInputStream 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.

getFilterInputStreamCloseBaseStream :: (MonadIO m, IsFilterInputStream o) => o -> m Bool Source #

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

get filterInputStream #closeBaseStream

setFilterInputStreamCloseBaseStream :: (MonadIO m, IsFilterInputStream o) => o -> Bool -> m () Source #

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

set filterInputStream [ #closeBaseStream := value ]