OsinfoTreeList

OsinfoTreeList — A list of installation tree

Functions

Object Hierarchy

    GObject
    ╰── OsinfoList
        ╰── OsinfoTreeList

Description

OsinfoTreeList is a list specialization that stores only OsinfoTree objects.

Functions

osinfo_treelist_new ()

OsinfoTreeList *
osinfo_treelist_new (void);

Construct a new tree list that is initially empty.

Returns

an empty tree list.

[transfer full]


osinfo_treelist_new_copy ()

OsinfoTreeList *
osinfo_treelist_new_copy (OsinfoTreeList *source);

osinfo_treelist_new_copy has been deprecated since version 0.2.2 and should not be used in newly-written code.

Use osinfo_list_new_copy() instead.

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

Parameters

source

the tree list to copy

 

Returns

a copy of the tree list.

[transfer full]


osinfo_treelist_new_filtered ()

OsinfoTreeList *
osinfo_treelist_new_filtered (OsinfoTreeList *source,
                              OsinfoFilter *filter);

osinfo_treelist_new_filtered has been deprecated since version 0.2.2 and should not be used in newly-written code.

Use osinfo_list_new_filtered() instead.

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

Parameters

source

the tree list to copy

 

filter

the filter to apply

 

Returns

a filtered copy of the tree list.

[transfer full]


osinfo_treelist_new_intersection ()

OsinfoTreeList *
osinfo_treelist_new_intersection (OsinfoTreeList *sourceOne,
                                  OsinfoTreeList *sourceTwo);

osinfo_treelist_new_intersection has been deprecated since version 0.2.2 and should not be used in newly-written code.

Use osinfo_list_new_intersection() instead.

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

Parameters

sourceOne

the first tree list to copy

 

sourceTwo

the second tree list to copy

 

Returns

an intersection of the two tree lists.

[transfer full]


osinfo_treelist_new_union ()

OsinfoTreeList *
osinfo_treelist_new_union (OsinfoTreeList *sourceOne,
                           OsinfoTreeList *sourceTwo);

osinfo_treelist_new_union has been deprecated since version 0.2.2 and should not be used in newly-written code.

Use osinfo_list_new_union() instead.

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

Parameters

sourceOne

the first tree list to copy

 

sourceTwo

the second tree list to copy

 

Returns

a union of the two tree lists.

[transfer full]

Types and Values

See Also

OsinfoList, OsinfoTree