| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.Gst.Structs.ValueTable
Description
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 ()
- clearValueTableDeserializeWithPspec :: MonadIO m => ValueTable -> m ()
- getValueTableDeserializeWithPspec :: MonadIO m => ValueTable -> m (Maybe ValueDeserializeWithPSpecFunc)
- setValueTableDeserializeWithPspec :: MonadIO m => ValueTable -> FunPtr C_ValueDeserializeWithPSpecFunc -> 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.
Constructors
| ValueTable (ManagedPtr ValueTable) |
Instances
| Eq ValueTable Source # | |
Defined in GI.Gst.Structs.ValueTable | |
| BoxedPtr ValueTable Source # | |
Defined in GI.Gst.Structs.ValueTable | |
| CallocPtr ValueTable Source # | |
Defined in GI.Gst.Structs.ValueTable Methods boxedPtrCalloc :: IO (Ptr ValueTable) | |
| ManagedPtrNewtype ValueTable Source # | |
Defined in GI.Gst.Structs.ValueTable Methods toManagedPtr :: ValueTable -> ManagedPtr ValueTable | |
| tag ~ 'AttrSet => Constructible ValueTable tag Source # | |
Defined in GI.Gst.Structs.ValueTable Methods 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
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
setvalueTable [ #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
setvalueTable [ #deserialize:=value ]
deserializeWithPspec
a ValueDeserializeWithPSpecFunc
Since: 1.20
clearValueTableDeserializeWithPspec :: MonadIO m => ValueTable -> m () Source #
Set the value of the “deserialize_with_pspec” field to Nothing.
When overloading is enabled, this is equivalent to
clear #deserializeWithPspec
getValueTableDeserializeWithPspec :: MonadIO m => ValueTable -> m (Maybe ValueDeserializeWithPSpecFunc) Source #
Get the value of the “deserialize_with_pspec” field.
When overloading is enabled, this is equivalent to
get valueTable #deserializeWithPspec
setValueTableDeserializeWithPspec :: MonadIO m => ValueTable -> FunPtr C_ValueDeserializeWithPSpecFunc -> m () Source #
Set the value of the “deserialize_with_pspec” field.
When overloading is enabled, this is equivalent to
setvalueTable [ #deserializeWithPspec:=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
setvalueTable [ #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
setvalueTable [ #type:=value ]