| 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);
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);
osinfo_platformlist_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 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);
osinfo_platformlist_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 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);
osinfo_platformlist_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 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);
osinfo_platformlist_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 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] |