![]() |
![]() |
![]() |
Libosinfo Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
struct OsinfoPlatformList; struct OsinfoPlatformListClass; OsinfoPlatformList * osinfo_platformlist_new (void
); OsinfoPlatformList * osinfo_platformlist_new_copy (OsinfoPlatformList *source
); OsinfoPlatformList * osinfo_platformlist_new_filtered (OsinfoPlatformList *source
,OsinfoFilter *filter
); OsinfoPlatformList * osinfo_platformlist_new_intersection (OsinfoPlatformList *sourceOne
,OsinfoPlatformList *sourceTwo
); OsinfoPlatformList * osinfo_platformlist_new_union (OsinfoPlatformList *sourceOne
,OsinfoPlatformList *sourceTwo
);
struct OsinfoPlatformListClass { OsinfoProductListClass parent_class; /* class members */ };
OsinfoPlatformList * osinfo_platformlist_new (void
);
Construct a new platform list that is initially empty.
Returns : |
an empty platform list. [transfer full] |
OsinfoPlatformList * osinfo_platformlist_new_copy (OsinfoPlatformList *source
);
Construct a new platform list that is filled with platforms
from source
|
the platform list to copy |
Returns : |
a copy of the platform list. [transfer full] |
OsinfoPlatformList * osinfo_platformlist_new_filtered (OsinfoPlatformList *source
,OsinfoFilter *filter
);
Construct a new platform list that is filled with platforms
from source
that match filter
|
the platform list to copy |
|
the filter to apply |
Returns : |
a filtered copy of the platform list. [transfer full] |
OsinfoPlatformList * osinfo_platformlist_new_intersection (OsinfoPlatformList *sourceOne
,OsinfoPlatformList *sourceTwo
);
Construct a new platform list that is filled with only the
platforms that are present in both sourceOne
and sourceTwo
.
|
the first platform list to copy |
|
the second platform list to copy |
Returns : |
an intersection of the two platform lists. [transfer full] |
OsinfoPlatformList * osinfo_platformlist_new_union (OsinfoPlatformList *sourceOne
,OsinfoPlatformList *sourceTwo
);
Construct a new platform list that is filled with all the
platforms that are present in either sourceOne
and sourceTwo
.
|
the first platform list to copy |
|
the second platform list to copy |
Returns : |
a union of the two platform lists. [transfer full] |