oval_setobject Struct Reference
[OVALDEF]

OVAL set object. More...

#include <oval_definitions.h>

Public Member Functions

struct oval_setobjectoval_setobject_new (struct oval_definition_model *)
struct oval_setobjectoval_setobject_clone (struct oval_definition_model *new_model, struct oval_setobject *old_setobject)
void oval_setobject_free (struct oval_setobject *)
Setters



void oval_setobject_set_operation (struct oval_setobject *, oval_setobject_operation_t)
void oval_setobject_add_subset (struct oval_setobject *, struct oval_setobject *)
void oval_setobject_add_object (struct oval_setobject *, struct oval_object *)
void oval_setobject_add_filter (struct oval_setobject *, struct oval_state *)
Getters



oval_setobject_type_t oval_setobject_get_type (struct oval_setobject *)
 Get OVAL set object type.
oval_setobject_operation_t oval_setobject_get_operation (struct oval_setobject *)
 Get OVAL set object operation type.
struct oval_setobject_iterator * oval_setobject_get_subsets (struct oval_setobject *)
 Get OVAL set object subsets.
struct oval_object_iteratoroval_setobject_get_objects (struct oval_setobject *)
 Get OVAL set object referenced objects.
struct oval_state_iteratoroval_setobject_get_filters (struct oval_setobject *)
 Get OVAL set object filters.
bool oval_setobject_is_locked (struct oval_setobject *setobject)
 return true if the setobject instance is locked.
Evaluators



bool oval_setobject_is_valid (struct oval_setobject *setobject)
 Return true if the setobject instance is valid An Oval_setobject is valid if one of the following is true:

  • The type attribute is OVAL_SET_AGGREGATE -- AND
    • The subsets attribute is not an empty iterator -- AND
    • Each iterated oval_setobject is valid.

Data Fields

struct oval_definition_modelmodel
oval_setobject_type_t type
oval_setobject_operation_t operation
void * extension

Detailed Description

OVAL set object.


The documentation for this struct was generated from the following files:

Generated on 14 Jul 2010 for Open SCAP Library by  doxygen 1.6.1