Entity
Object Hierarchy:
Description:
[ CCode ( type_id = "osinfo_entity_get_type ()" ) ]
public abstract class Entity : Object
Content:
Properties:
Creation methods:
Methods:
- public void add_param (string key, string value)
Adds a new parameter against the entity.
- public void clear_param (string key)
Remove all values associated with a key
- public unowned string get_id ()
Retrieves the unique key for the entity.
- public List<unowned string> get_param_keys ()
Retrieve all the known parameter keys associated with the entity
- public unowned string get_param_value (string key)
Retrieve the parameter value associated with a named key.
- public bool get_param_value_boolean (string key)
Retrieve the parameter value associated with a named key as a boolean.
- public bool get_param_value_boolean_with_default (string key, bool default_value)
Retrieve the parameter value associated with a named key as a boolean.
- public int get_param_value_enum (string key, Type enum_type, int default_value)
Retrieve the parameter value associated with a named key as an enum
value.
- public int64 get_param_value_int64 (string key)
Retrieve the parameter value associated with a named key as an int64.
- public int64 get_param_value_int64_with_default (string key, int64 default_value)
Retrieve the parameter value associated with a named key as an int64.
- public List<unowned string> get_param_value_list (string key)
Retrieve all the parameter values associated with a named key.
- public void set_param (string key, string value)
Sets a new parameter against the entity.
- public void set_param_boolean (string key, bool value)
Sets a new parameter against the entity.
- public void set_param_enum (string key, int value, Type enum_type)
Sets a new parameter against the entity.
- public void set_param_int64 (string key, int64 value)
Sets a new parameter against the entity.
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