gstreamer-0.10 Reference Manual

Synopsis

public class Structure : Boxed  {
    public    GLib.Type                 type ;
    public    GLib.Quark                name ;
    public    int                       parent_refcount ;
    public    weak GLib.Array           fields ;
    public    void**                    _gst_reserved ;


    public                              Structure                 ( string              name,
                                                                    string              firstfield,
                                                                    ... ) ;
    public                              Structure.valist          ( string              name,
                                                                    string              firstfield,
                                                                    void**              varargs ) ;


    public    weak Structure            copy                      (  ) ;
    public    static weak Structure     empty_new                 ( string              name ) ;
    public    bool                      fixate_field_boolean      ( string              field_name,
                                                                    bool                target ) ;
    public    bool                      fixate_field_nearest_double ( string              field_name,
                                                                    double              target ) ;
    public    bool                      fixate_field_nearest_fraction ( string              field_name,
                                                                    int                 target_numerator,
                                                                    int                 target_denominator ) ;
    public    bool                      fixate_field_nearest_int  ( string              field_name,
                                                                    int                 target ) ;
    public    bool                      foreach                   ( StructureForeachFuncfunc ) ;
    public    static weak Structure     from_string               ( string              str,
                                                                    string              end ) ;
    public    bool                      get_boolean               ( string              fieldname,
                                                                    bool                value ) ;
    public    bool                      get_clock_time            ( string              fieldname,
                                                                    ClockTime           value ) ;
    public    bool                      get_date                  ( string              fieldname,
                                                                    weak GLib.Date      value ) ;
    public    bool                      get_double                ( string              fieldname,
                                                                    double              value ) ;
    public    bool                      get_enum                  ( string              fieldname,
                                                                    GLib.Type           enumtype,
                                                                    int                 value ) ;
    public    GLib.Type                 get_field_type            ( string              fieldname ) ;
    public    bool                      get_fourcc                ( string              fieldname,
                                                                    uint                value ) ;
    public    bool                      get_fraction              ( string              fieldname,
                                                                    int                 value_numerator,
                                                                    int                 value_denominator ) ;
    public    bool                      get_int                   ( string              fieldname,
                                                                    int                 value ) ;
    public    weak string               get_name                  (  ) ;
    public    GLib.Quark                get_name_id               (  ) ;
    public    weak string               get_string                ( string              fieldname ) ;
    public    bool                      get_uint                  ( string              fieldname,
                                                                    uint                value ) ;
    public    GLib.Value                get_value                 ( string              fieldname ) ;
    public    bool                      has_field                 ( string              fieldname ) ;
    public    bool                      has_field_typed           ( string              fieldname,
                                                                    GLib.Type           type ) ;
    public    bool                      has_name                  ( string              name ) ;
    public    static weak Structure     id_empty_new              ( GLib.Quark          quark ) ;
    public    GLib.Value                id_get_value              ( GLib.Quark          field ) ;
    public    void                      id_set                    ( GLib.Quark          fieldname,
                                                                    ... ) ;
    public    void                      id_set_valist             ( GLib.Quark          fieldname,
                                                                    void**              varargs ) ;
    public    void                      id_set_value              ( GLib.Quark          field,
                                                                    GLib.Value          value ) ;
    public    bool                      map_in_place              ( StructureMapFunc    func ) ;
    public    int                       n_fields                  (  ) ;
    public    weak string               nth_field_name            ( uint                index ) ;
    public    void                      remove_all_fields         (  ) ;
    public    void                      remove_field              ( string              fieldname ) ;
    public    void                      remove_fields             ( string              fieldname,
                                                                    ... ) ;
    public    void                      remove_fields_valist      ( string              fieldname,
                                                                    void**              varargs ) ;
    public    void                      set                       ( string              fieldname,
                                                                    ... ) ;
    public    void                      set_name                  ( string              name ) ;
    public    void                      set_parent_refcount       ( int                 refcount ) ;
    public    void                      set_valist                ( string              fieldname,
                                                                    void**              varargs ) ;
    public    void                      set_value                 ( string              fieldname,
                                                                    GLib.Value          value ) ;
    public    weak string               to_string                 (  ) ;
}

Structure Description

Details

Constructor Details

Structure ()
    public                              Structure                 ( string              name,
                                                                    string              firstfield,
                                                                    ... ) ;		

Structure.valist ()
    public                              Structure.valist          ( string              name,
                                                                    string              firstfield,
                                                                    void**              varargs ) ;		

Field Details

type
    public    GLib.Type                 type ;		

name
    public    GLib.Quark                name ;		

parent_refcount
    public    int                       parent_refcount ;		

fields
    public    weak GLib.Array           fields ;		

_gst_reserved
    public    void**                    _gst_reserved ;		

Signal Details

Property Details

Method Details

copy ()
    public    weak Structure            copy                      (  ) ;		

empty_new ()
    public    static weak Structure     empty_new                 ( string              name ) ;		

fixate_field_boolean ()
    public    bool                      fixate_field_boolean      ( string              field_name,
                                                                    bool                target ) ;		

fixate_field_nearest_double ()
    public    bool                      fixate_field_nearest_double ( string              field_name,
                                                                    double              target ) ;		

fixate_field_nearest_fraction ()
    public    bool                      fixate_field_nearest_fraction ( string              field_name,
                                                                    int                 target_numerator,
                                                                    int                 target_denominator ) ;		

fixate_field_nearest_int ()
    public    bool                      fixate_field_nearest_int  ( string              field_name,
                                                                    int                 target ) ;		

foreach ()
    public    bool                      foreach                   ( StructureForeachFuncfunc ) ;		

from_string ()
    public    static weak Structure     from_string               ( string              str,
                                                                    string              end ) ;		

get_boolean ()
    public    bool                      get_boolean               ( string              fieldname,
                                                                    bool                value ) ;		

get_clock_time ()
    public    bool                      get_clock_time            ( string              fieldname,
                                                                    ClockTime           value ) ;		

get_date ()
    public    bool                      get_date                  ( string              fieldname,
                                                                    weak GLib.Date      value ) ;		

get_double ()
    public    bool                      get_double                ( string              fieldname,
                                                                    double              value ) ;		

get_enum ()
    public    bool                      get_enum                  ( string              fieldname,
                                                                    GLib.Type           enumtype,
                                                                    int                 value ) ;		

get_field_type ()
    public    GLib.Type                 get_field_type            ( string              fieldname ) ;		

get_fourcc ()
    public    bool                      get_fourcc                ( string              fieldname,
                                                                    uint                value ) ;		

get_fraction ()
    public    bool                      get_fraction              ( string              fieldname,
                                                                    int                 value_numerator,
                                                                    int                 value_denominator ) ;		

get_int ()
    public    bool                      get_int                   ( string              fieldname,
                                                                    int                 value ) ;		

get_name ()
    public    weak string               get_name                  (  ) ;		

get_name_id ()
    public    GLib.Quark                get_name_id               (  ) ;		

get_string ()
    public    weak string               get_string                ( string              fieldname ) ;		

get_uint ()
    public    bool                      get_uint                  ( string              fieldname,
                                                                    uint                value ) ;		

get_value ()
    public    GLib.Value                get_value                 ( string              fieldname ) ;		

has_field ()
    public    bool                      has_field                 ( string              fieldname ) ;		

has_field_typed ()
    public    bool                      has_field_typed           ( string              fieldname,
                                                                    GLib.Type           type ) ;		

has_name ()
    public    bool                      has_name                  ( string              name ) ;		

id_empty_new ()
    public    static weak Structure     id_empty_new              ( GLib.Quark          quark ) ;		

id_get_value ()
    public    GLib.Value                id_get_value              ( GLib.Quark          field ) ;		

id_set ()
    public    void                      id_set                    ( GLib.Quark          fieldname,
                                                                    ... ) ;		

id_set_valist ()
    public    void                      id_set_valist             ( GLib.Quark          fieldname,
                                                                    void**              varargs ) ;		

id_set_value ()
    public    void                      id_set_value              ( GLib.Quark          field,
                                                                    GLib.Value          value ) ;		

map_in_place ()
    public    bool                      map_in_place              ( StructureMapFunc    func ) ;		

n_fields ()
    public    int                       n_fields                  (  ) ;		

nth_field_name ()
    public    weak string               nth_field_name            ( uint                index ) ;		

remove_all_fields ()
    public    void                      remove_all_fields         (  ) ;		

remove_field ()
    public    void                      remove_field              ( string              fieldname ) ;		

remove_fields ()
    public    void                      remove_fields             ( string              fieldname,
                                                                    ... ) ;		

remove_fields_valist ()
    public    void                      remove_fields_valist      ( string              fieldname,
                                                                    void**              varargs ) ;		

set ()
    public    void                      set                       ( string              fieldname,
                                                                    ... ) ;		

set_name ()
    public    void                      set_name                  ( string              name ) ;		

set_parent_refcount ()
    public    void                      set_parent_refcount       ( int                 refcount ) ;		

set_valist ()
    public    void                      set_valist                ( string              fieldname,
                                                                    void**              varargs ) ;		

set_value ()
    public    void                      set_value                 ( string              fieldname,
                                                                    GLib.Value          value ) ;		

to_string ()
    public    weak string               to_string                 (  ) ;		


Created by Valadoc