![]() |
![]() |
![]() |
Libosinfo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
struct OsinfoResourcesList; struct OsinfoResourcesListClass; OsinfoResourcesList * osinfo_resourceslist_new (void
); OsinfoResourcesList * osinfo_resourceslist_new_copy (OsinfoResourcesList *source
); OsinfoResourcesList * osinfo_resourceslist_new_filtered (OsinfoResourcesList *source
,OsinfoFilter *filter
); OsinfoResourcesList * osinfo_resourceslist_new_intersection (OsinfoResourcesList *sourceOne
,OsinfoResourcesList *sourceTwo
); OsinfoResourcesList * osinfo_resourceslist_new_union (OsinfoResourcesList *sourceOne
,OsinfoResourcesList *sourceTwo
);
struct OsinfoResourcesListClass { OsinfoListClass parent_class; /* class members */ };
OsinfoResourcesList * osinfo_resourceslist_new (void
);
Construct a new resources list that is initially empty.
Returns : |
an empty resources list. [transfer full] |
OsinfoResourcesList * osinfo_resourceslist_new_copy (OsinfoResourcesList *source
);
Construct a new resources list that is filled with resources instances
from source
|
the resources list to copy |
Returns : |
a copy of the resources list. [transfer full] |
OsinfoResourcesList * osinfo_resourceslist_new_filtered (OsinfoResourcesList *source
,OsinfoFilter *filter
);
Construct a new resources list that is filled with resources instances
from source
that match filter
|
the resources list to copy |
|
the filter to apply |
Returns : |
a filtered copy of the resources list. [transfer full] |
OsinfoResourcesList * osinfo_resourceslist_new_intersection (OsinfoResourcesList *sourceOne
,OsinfoResourcesList *sourceTwo
);
Construct a new resources list that is filled with only the
resources instances that are present in both sourceOne
and sourceTwo
.
|
the first resources list to copy |
|
the second resources list to copy |
Returns : |
an intersection of the two resources lists. [transfer full] |
OsinfoResourcesList * osinfo_resourceslist_new_union (OsinfoResourcesList *sourceOne
,OsinfoResourcesList *sourceTwo
);
Construct a new resources list that is filled with all the
resources instances that are present in either sourceOne
and sourceTwo
.
|
the first resources list to copy |
|
the second resources list to copy |
Returns : |
a union of the two resources lists. [transfer full] |