Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
VTable for the Value
type
.
Synopsis
- newtype ValueTable = ValueTable (ManagedPtr ValueTable)
- newZeroValueTable :: MonadIO m => m ValueTable
- clearValueTableCompare :: MonadIO m => ValueTable -> m ()
- getValueTableCompare :: MonadIO m => ValueTable -> m (Maybe ValueCompareFunc)
- setValueTableCompare :: MonadIO m => ValueTable -> FunPtr C_ValueCompareFunc -> m ()
- clearValueTableDeserialize :: MonadIO m => ValueTable -> m ()
- getValueTableDeserialize :: MonadIO m => ValueTable -> m (Maybe ValueDeserializeFunc)
- setValueTableDeserialize :: MonadIO m => ValueTable -> FunPtr C_ValueDeserializeFunc -> m ()
- clearValueTableSerialize :: MonadIO m => ValueTable -> m ()
- getValueTableSerialize :: MonadIO m => ValueTable -> m (Maybe ValueSerializeFunc)
- setValueTableSerialize :: MonadIO m => ValueTable -> FunPtr C_ValueSerializeFunc -> m ()
- getValueTableType :: MonadIO m => ValueTable -> m GType
- setValueTableType :: MonadIO m => ValueTable -> GType -> m ()
Exported types
newtype ValueTable Source #
Memory-managed wrapper type.
ValueTable (ManagedPtr ValueTable) |
Instances
Eq ValueTable Source # | |
Defined in GI.Gst.Structs.ValueTable (==) :: ValueTable -> ValueTable -> Bool (/=) :: ValueTable -> ValueTable -> Bool | |
BoxedPtr ValueTable Source # | |
Defined in GI.Gst.Structs.ValueTable boxedPtrCopy :: ValueTable -> IO ValueTable boxedPtrFree :: ValueTable -> IO () | |
CallocPtr ValueTable Source # | |
Defined in GI.Gst.Structs.ValueTable boxedPtrCalloc :: IO (Ptr ValueTable) | |
ManagedPtrNewtype ValueTable Source # | |
Defined in GI.Gst.Structs.ValueTable toManagedPtr :: ValueTable -> ManagedPtr ValueTable | |
tag ~ 'AttrSet => Constructible ValueTable tag Source # | |
Defined in GI.Gst.Structs.ValueTable new :: MonadIO m => (ManagedPtr ValueTable -> ValueTable) -> [AttrOp ValueTable tag] -> m ValueTable |
newZeroValueTable :: MonadIO m => m ValueTable Source #
Construct a ValueTable
struct initialized to zero.
Methods
Overloaded methods
Properties
compare
clearValueTableCompare :: MonadIO m => ValueTable -> m () Source #
Set the value of the “compare
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#compare
getValueTableCompare :: MonadIO m => ValueTable -> m (Maybe ValueCompareFunc) Source #
Get the value of the “compare
” field.
When overloading is enabled, this is equivalent to
get
valueTable #compare
setValueTableCompare :: MonadIO m => ValueTable -> FunPtr C_ValueCompareFunc -> m () Source #
Set the value of the “compare
” field.
When overloading is enabled, this is equivalent to
set
valueTable [ #compare:=
value ]
deserialize
clearValueTableDeserialize :: MonadIO m => ValueTable -> m () Source #
Set the value of the “deserialize
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#deserialize
getValueTableDeserialize :: MonadIO m => ValueTable -> m (Maybe ValueDeserializeFunc) Source #
Get the value of the “deserialize
” field.
When overloading is enabled, this is equivalent to
get
valueTable #deserialize
setValueTableDeserialize :: MonadIO m => ValueTable -> FunPtr C_ValueDeserializeFunc -> m () Source #
Set the value of the “deserialize
” field.
When overloading is enabled, this is equivalent to
set
valueTable [ #deserialize:=
value ]
serialize
clearValueTableSerialize :: MonadIO m => ValueTable -> m () Source #
Set the value of the “serialize
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#serialize
getValueTableSerialize :: MonadIO m => ValueTable -> m (Maybe ValueSerializeFunc) Source #
Get the value of the “serialize
” field.
When overloading is enabled, this is equivalent to
get
valueTable #serialize
setValueTableSerialize :: MonadIO m => ValueTable -> FunPtr C_ValueSerializeFunc -> m () Source #
Set the value of the “serialize
” field.
When overloading is enabled, this is equivalent to
set
valueTable [ #serialize:=
value ]
type
a GType
getValueTableType :: MonadIO m => ValueTable -> m GType Source #
Get the value of the “type
” field.
When overloading is enabled, this is equivalent to
get
valueTable #type
setValueTableType :: MonadIO m => ValueTable -> GType -> m () Source #
Set the value of the “type
” field.
When overloading is enabled, this is equivalent to
set
valueTable [ #type:=
value ]