Enumerator
Object Hierarchy:
Description:
[ CCode ( type_id = "g_udev_enumerator_get_type ()" ) ]
[ Version ( since = "165" ) ]
public class Enumerator : Object
Enumerator is used to lookup and sort devices.
Content:
Properties:
Creation methods:
Methods:
- public unowned Enumerator add_match_is_initialized ()
All returned devices will be initialized.
- public unowned Enumerator add_match_name (string name)
All returned devices will match the given name
.
- public unowned Enumerator add_match_property (string name, string value)
All returned devices will have a property matching the given
name
and value
.
- public unowned Enumerator add_match_subsystem (string subsystem)
All returned devices will match the given subsystem
.
- public unowned Enumerator add_match_sysfs_attr (string name, string value)
All returned devices will have a sysfs attribute matching the given
name
and value
.
- public unowned Enumerator add_match_tag (string tag)
All returned devices will match the given tag
.
- public unowned Enumerator add_nomatch_subsystem (string subsystem)
All returned devices will not match the given subsystem
.
- public unowned Enumerator add_nomatch_sysfs_attr (string name, string value)
All returned devices will not have a sysfs attribute matching the
given name
and value
.
- public unowned Enumerator add_sysfs_path (string sysfs_path)
Add a device to the list of devices, to retrieve it back sorted in
dependency order.
- public List<Device> execute ()
Executes the query in this.
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref