OsinfoResourcesList

## OsinfoResourcesList OsinfoResourcesList — A list of installation resources |

## Synopsis

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

## Object Hierarchy

      GObject
       +----OsinfoList
             +----OsinfoResourcesList

## Description

OsinfoResourcesList is a list specialization that stores only OsinfoResources objects.

## Details

### struct OsinfoResourcesList

    struct OsinfoResourcesList;

### struct OsinfoResourcesListClass

    struct OsinfoResourcesListClass {
    };

### osinfo_resourceslist_new ()

    OsinfoResourcesList * osinfo_resourceslist_new          (void);

Construct a new resources list that is initially empty.

Returns : | an empty resources list. [transfer full]

### osinfo_resourceslist_new_copy ()

    OsinfoResourcesList * osinfo_resourceslist_new_copy     (OsinfoResourcesList *source);

### Warning

`osinfo_resourceslist_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 resources list that is filled with resources instances from `source`

`source` : | the resources list to copy
Returns : | a copy of the resources list. [transfer full]

### osinfo_resourceslist_new_filtered ()

    OsinfoResourcesList * osinfo_resourceslist_new_filtered (OsinfoResourcesList *source,
                                                             OsinfoFilter *filter);

### Warning

`osinfo_resourceslist_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 resources list that is filled with resources instances from `source` that match `filter`

`source` : | the resources list to copy
`filter` : | the filter to apply
Returns : | a filtered copy of the resources list. [transfer full]

### osinfo_resourceslist_new_intersection ()

    OsinfoResourcesList * osinfo_resourceslist_new_intersection
                                                            (OsinfoResourcesList *sourceOne,
                                                             OsinfoResourcesList *sourceTwo);

### Warning

`osinfo_resourceslist_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 resources list that is filled with only the resources instances that are present in both `sourceOne` and `sourceTwo`.

`sourceOne` : | the first resources list to copy
`sourceTwo` : | the second resources list to copy
Returns : | an intersection of the two resources lists. [transfer full]

### osinfo_resourceslist_new_union ()

    OsinfoResourcesList * osinfo_resourceslist_new_union    (OsinfoResourcesList *sourceOne,
                                                             OsinfoResourcesList *sourceTwo);

### Warning

`osinfo_resourceslist_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 resources list that is filled with all the resources instances that are present in either `sourceOne` and `sourceTwo`.

`sourceOne` : | the first resources list to copy
`sourceTwo` : | the second resources list to copy
Returns : | a union of the two resources lists. [transfer full]

## See Also

OsinfoList, OsinfoResources