Libosinfo.DeviceList¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Libosinfo.DeviceList(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new()¶
- Returns:
an empty device list
- Return type:
Construct a new device list that is initially empty.
- new_copy()¶
- Returns:
a copy of the device list
- Return type:
Construct a new device list that is filled with devices from self
Deprecated since version 0.2.2: Use
Libosinfo.List.new_copy
() instead.
- new_filtered(filter)¶
- Parameters:
filter (
Libosinfo.Filter
) – the filter to apply- Returns:
a filtered copy of the device list
- Return type:
Construct a new device list that is filled with devices from self that match filter
Deprecated since version 0.2.2: Use
Libosinfo.List.new_filtered
() instead.
- new_intersection(sourceTwo)¶
- Parameters:
sourceTwo (
Libosinfo.DeviceList
) – the second device list to copy- Returns:
an intersection of the two device lists
- Return type:
Construct a new device list that is filled with only the devices that are present in both self and sourceTwo.
Deprecated since version 0.2.2: Use
Libosinfo.List.new_intersection
() instead.
- new_union(sourceTwo)¶
- Parameters:
sourceTwo (
Libosinfo.DeviceList
) – the second device list to copy- Returns:
a union of the two device lists
- Return type:
Construct a new device list that is filled with all the devices that are present in either self and sourceTwo.
Deprecated since version 0.2.2: Use
Libosinfo.List.new_union
() instead.