OsinfoDeploymentList

OsinfoDeploymentList — A list of hardware deployment

Synopsis

struct              OsinfoDeploymentList;
struct              OsinfoDeploymentListClass;
OsinfoDeploymentList * osinfo_deploymentlist_new        (void);
OsinfoDeploymentList * osinfo_deploymentlist_new_copy   (OsinfoDeploymentList *source);
OsinfoDeploymentList * osinfo_deploymentlist_new_filtered
                                                        (OsinfoDeploymentList *source,
                                                         OsinfoFilter *filter);
OsinfoDeploymentList * osinfo_deploymentlist_new_intersection
                                                        (OsinfoDeploymentList *sourceOne,
                                                         OsinfoDeploymentList *sourceTwo);
OsinfoDeploymentList * osinfo_deploymentlist_new_union  (OsinfoDeploymentList *sourceOne,
                                                         OsinfoDeploymentList *sourceTwo);

Object Hierarchy

  GObject
   +----OsinfoList
         +----OsinfoDeploymentList

Description

OsinfoDeploymentList is a list specialization that stores only OsinfoDeployment objects.

Details

struct OsinfoDeploymentList

struct OsinfoDeploymentList;

struct OsinfoDeploymentListClass

struct OsinfoDeploymentListClass {
    OsinfoListClass parent_class;

    /* class members */
};

osinfo_deploymentlist_new ()

OsinfoDeploymentList * osinfo_deploymentlist_new        (void);

Construct a new deployment list that is initially empty.

Returns :

an empty deployment list. [transfer full]

osinfo_deploymentlist_new_copy ()

OsinfoDeploymentList * osinfo_deploymentlist_new_copy   (OsinfoDeploymentList *source);

Construct a new deployment list that is filled with deployments from source

source :

the deployment list to copy

Returns :

a copy of the deployment list. [transfer full]

osinfo_deploymentlist_new_filtered ()

OsinfoDeploymentList * osinfo_deploymentlist_new_filtered
                                                        (OsinfoDeploymentList *source,
                                                         OsinfoFilter *filter);

Construct a new deployment list that is filled with deployments from source that match filter

source :

the deployment list to copy

filter :

the filter to apply

Returns :

a filtered copy of the deployment list. [transfer full]

osinfo_deploymentlist_new_intersection ()

OsinfoDeploymentList * osinfo_deploymentlist_new_intersection
                                                        (OsinfoDeploymentList *sourceOne,
                                                         OsinfoDeploymentList *sourceTwo);

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

sourceOne :

the first deployment list to copy

sourceTwo :

the second deployment list to copy

Returns :

an intersection of the two deployment lists. [transfer full]

osinfo_deploymentlist_new_union ()

OsinfoDeploymentList * osinfo_deploymentlist_new_union  (OsinfoDeploymentList *sourceOne,
                                                         OsinfoDeploymentList *sourceTwo);

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

sourceOne :

the first deployment list to copy

sourceTwo :

the second deployment list to copy

Returns :

a union of the two deployment lists. [transfer full]

See Also

OsinfoList, OsinfoDeployment