Libosinfo.TreeList

g GObject.Object GObject.Object Libosinfo.List Libosinfo.List GObject.Object->Libosinfo.List Libosinfo.TreeList Libosinfo.TreeList Libosinfo.List->Libosinfo.TreeList

Subclasses:

None

Methods

Inherited:

Libosinfo.List (14), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

new_copy ()

new_filtered (filter)

new_intersection (sourceTwo)

new_union (sourceTwo)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Inherited:

Libosinfo.List (1)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent_instance

Libosinfo.List

r

Class Details

class Libosinfo.TreeList(**kwargs)
Bases:

Libosinfo.List

Abstract:

No

Structure:

Libosinfo.TreeListClass

classmethod new()
Returns:

an empty tree list

Return type:

Libosinfo.TreeList

Construct a new tree list that is initially empty.

New in version 0.1.0.

new_copy()
Returns:

a copy of the tree list

Return type:

Libosinfo.TreeList

Construct a new tree list that is filled with trees from self

New in version 0.1.0.

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 tree list

Return type:

Libosinfo.TreeList

Construct a new tree list that is filled with trees from self that match filter

New in version 0.1.0.

Deprecated since version 0.2.2: Use Libosinfo.List.new_filtered() instead.

new_intersection(sourceTwo)
Parameters:

sourceTwo (Libosinfo.TreeList) – the second tree list to copy

Returns:

an intersection of the two tree lists

Return type:

Libosinfo.TreeList

Construct a new tree list that is filled with only the trees that are present in both self and sourceTwo.

New in version 0.1.0.

Deprecated since version 0.2.2: Use Libosinfo.List.new_intersection() instead.

new_union(sourceTwo)
Parameters:

sourceTwo (Libosinfo.TreeList) – the second tree list to copy

Returns:

a union of the two tree lists

Return type:

Libosinfo.TreeList

Construct a new tree list that is filled with all the trees that are present in either self and sourceTwo.

New in version 0.1.0.

Deprecated since version 0.2.2: Use Libosinfo.List.new_union() instead.