Part of lp.hardwaredb.interfaces.hwdb View In Hierarchy
Method | create | Create a new IHWDriver instance. |
Method | getByPackageAndName | Return an IHWDriver instance for the given parameters. |
Method | getOrCreate | Return an IHWDriver instance or create one. |
Method | search | Return the drivers matching the given parameters. |
Method | getByID | Return an IHWDriver record with the given database ID. |
Method | all_driver_names | Return all known distinct driver names appearing in HWDriver. |
Method | all_package_names | Return all known distinct package names appearing in HWDriver. |
Parameters | package_name | The name of the packages containing the driver. |
name | The name of the driver. | |
license | The license of the driver. | |
Returns | The new IHWDriver instance. |
Parameters | package_name | The name of the packages containing the driver. |
name | The name of the driver. | |
Returns | An IHWDriver instance or None, if no record exists for the given parameters. |
Parameters | package_name | The name of the packages containing the driver. |
name | The name of the driver. | |
license | The license of the driver. | |
Returns | An IHWDriver instance or None, if no record exists for the given parameters. |
Parameters | package_name | The name of the packages containing the driver. If package_name is not given or None, the result set is not limited to a specific package name. If package_name == '', those records are returned where record.package_name == '' or record.package_name is None. Otherwise only records matching the given name are returned. |
name | The name of the driver. If name is not given or None, the result set is not limited to a specific driver name. Otherwise only records matching the given name are returned. | |
Returns | A sequence of IHWDriver instances. |