Db
Object Hierarchy:
Description:
Namespace: Osinfo
Package: libosinfo-1.0
Content:
Creation methods:
- public Db ()
Methods:
- public void add_datamap (Datamap datamap)
- public void add_deployment (Deployment deployment)
- public void add_device (Device device)
- public void add_install_script (InstallScript script)
- public void add_os (Os os)
- public void add_platform (Platform platform)
- public unowned Deployment find_deployment (Os os, Platform platform)
Find the deployment for
os
onplatform
, if any. - public unowned Datamap get_datamap (string id)
- public DatamapList get_datamap_list ()
- public unowned Deployment get_deployment (string id)
- public DeploymentList get_deployment_list ()
- public unowned Device get_device (string id)
- public DeviceList get_device_list ()
- public unowned InstallScript get_install_script (string id)
- public InstallScriptList get_install_script_list ()
- public unowned Os get_os (string id)
- public OsList get_os_list ()
- public unowned Platform get_platform (string id)
- public PlatformList get_platform_list ()
- public unowned Os guess_os_from_media (Media media, out unowned Media matched_media)
Guess operating system given an Media object.
- public unowned Os guess_os_from_tree (Tree tree, out unowned Tree matched_tree)
Guess operating system given an Tree object.
- public bool identify_media (Media media)
Try to match a newly created
media
with a media description from this. - public MediaList identify_medialist (Media media)
Try to match a newly created
media
with a media description from this. - public bool identify_tree (Tree tree)
Try to match a newly created
tree
with a tree description from this. - public TreeList identify_treelist (Tree tree)
Try to match a newly created
tree
with a tree description from this. - public OsList unique_values_for_os_relationship (ProductRelationship relshp)
Get all operating systems that are the referee in an operating system relationship.
- public PlatformList unique_values_for_platform_relationship (ProductRelationship relshp)
Get all platforms that are the referee in an platform relationship.
- public List<unowned string> unique_values_for_property_in_deployment (string propName)
Get all unique values for a named property amongst all deployments in the database
- public List<unowned string> unique_values_for_property_in_device (string propName)
Get all unique values for a named property amongst all devices in the database
- public List<unowned string> unique_values_for_property_in_os (string propName)
Get all unique values for a named property amongst all operating systems in the database
- public List<unowned string> unique_values_for_property_in_platform (string propName)
Get all unique values for a named property amongst all platforms in the database
Inherited Members:
All known members inherited from class GLib.Object