oval_syschar_model Struct Reference
[OVAL System Characteristics]

OVAL System Characteristics model. More...

#include <oval_system_characteristics.h>

Public Member Functions

int oval_syschar_model_import (struct oval_syschar_model *model, struct oscap_import_source *source, void *user_arg)
 Load OVAL system characteristics from a file.
struct oval_syschar_modeloval_syschar_model_new (struct oval_definition_model *definition_model)
 Create new oval_syschar_model.
struct oval_syschar_modeloval_syschar_model_clone (struct oval_syschar_model *)
 Copy an oval_syschar_model.
int oval_syschar_model_export (struct oval_syschar_model *, struct oscap_export_target *)
 Export system characteristics as a XML file.
void oval_syschar_model_free (struct oval_syschar_model *model)
 free memory allocated to a specified syschar model.
Setters



void oval_syschar_model_bind_variable_model (struct oval_syschar_model *, struct oval_variable_model *)
 Bind a variable model to the definitions bound to the syschar model.
void oval_syschar_model_add_syschar (struct oval_syschar_model *model, struct oval_syschar *syschar)
void oval_syschar_model_add_sysdata (struct oval_syschar_model *model, struct oval_sysdata *sysdata)
void oval_syschar_model_set_sysinfo (struct oval_syschar_model *model, struct oval_sysinfo *sysinfo)
void oval_syschar_model_add_variable_binding (struct oval_syschar_model *model, struct oval_variable_binding *binding)
void oval_syschar_model_lock (struct oval_syschar_model *syschar_model)
 Lock the syschar_model instance.
Getters



struct oval_definition_modeloval_syschar_model_get_definition_model (struct oval_syschar_model *model)
 Return related oval_definition_model from an oval_syschar_model.
struct oval_syschar_iteratoroval_syschar_model_get_syschars (struct oval_syschar_model *model)
 Return an iterator over the oval_sychar objects persisted by this model.
struct oval_sysinfooval_syschar_model_get_sysinfo (struct oval_syschar_model *model)
 Return default sysinfo bound to syschar model.
struct oval_syscharoval_syschar_model_get_syschar (struct oval_syschar_model *model, char *object_id)
 Return the oval_syschar bound to a specified object_id.
oval_syschar_collection_flag_t oval_syschar_model_get_variable_collection_flag (struct oval_syschar_model *, struct oval_variable *)
 Get the collection flag associated with a specified oval_variable.
struct oval_value_iteratoroval_syschar_model_get_variable_values (struct oval_syschar_model *, struct oval_variable *)
 Get the oval_values bound to a specified variable.
struct oval_sysdataoval_syschar_model_get_sysdata (struct oval_syschar_model *, char *)
bool oval_syschar_model_is_locked (struct oval_syschar_model *syschar_model)
 Return true if the syschar_model instance is locked.
Evaluators



void oval_syschar_model_probe_objects (struct oval_syschar_model *)
 Probe oval_objects bound to oval_syschar_model.
bool oval_syschar_model_is_valid (struct oval_syschar_model *syschar_model)
 Return true if the syschar_model instance is valid.

Data Fields

struct oval_sysinfosysinfo
struct oval_definition_modeldefinition_model
struct oval_string_mapsyschar_map
struct oval_string_mapsysdata_map
struct oval_string_mapvariable_binding_map
bool is_locked

Detailed Description

OVAL System Characteristics model.

Object model holds OVAL system characteristics structure instances.


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

Generated on 24 Mar 2010 for Open SCAP Library by  doxygen 1.6.1