Getters
[OVAL Definitions interface]

OVAL Definitions interface get methods. More...

Functions

bool oval_definition_model_is_locked (struct oval_definition_model *definition_model)
 return true if the definition_model instance is locked.
struct oval_definitionoval_definition_model_get_definition (struct oval_definition_model *, char *id)
 Returns the appended Oval_definition having the specified id.
struct oval_definition_iteratoroval_definition_model_get_definitions (struct oval_definition_model *model)
 Returns all appended Oval_definition instances.
struct oval_testoval_definition_model_get_test (struct oval_definition_model *model, char *id)
 Get oval test by ID.
struct oval_objectoval_definition_model_get_object (struct oval_definition_model *model, char *id)
 Get OVAL object by ID.
struct oval_stateoval_definition_model_get_state (struct oval_definition_model *model, char *id)
 Get OVAL state by ID.
struct oval_variableoval_definition_model_get_variable (struct oval_definition_model *model, char *id)
 Get OVAL variable by ID.
struct oval_test_iteratoroval_definition_model_get_tests (struct oval_definition_model *model)
 Get OVAL tests.
struct oval_object_iteratoroval_definition_model_get_objects (struct oval_definition_model *model)
 Get OVAL objects.
struct oval_state_iteratoroval_definition_model_get_states (struct oval_definition_model *model)
 Get OVAL states.
struct oval_variable_iteratoroval_definition_model_get_variables (struct oval_definition_model *model)
 Get OVAL variables.

Detailed Description

OVAL Definitions interface get methods.


Function Documentation

struct oval_definition* oval_definition_model_get_definition ( struct oval_definition_model ,
char *  id 
) [read]

Returns the appended Oval_definition having the specified id.

IF the specified id does not resolve to an appended Oval_definition the method shall return NULL.

See also:
oval_definition_add_definition
Parameters:
id the definition id.
struct oval_definition_iterator* oval_definition_model_get_definitions ( struct oval_definition_model model  )  [read]

Returns all appended Oval_definition instances.

See also:
oval_definition_add_definition
struct oval_object* oval_definition_model_get_object ( struct oval_definition_model model,
char *  id 
) [read]

Get OVAL object by ID.

Return a designated oval_object from the specified oval_definition_model. If the specified id does not resolve to an oval_object the function returns NULL.

Parameters:
model the queried model.
id the object id.
struct oval_object_iterator* oval_definition_model_get_objects ( struct oval_definition_model model  )  [read]

Get OVAL objects.

Return all oval_objects from the specified oval_definition_model.

Parameters:
model the queried model.
struct oval_state* oval_definition_model_get_state ( struct oval_definition_model model,
char *  id 
) [read]

Get OVAL state by ID.

Return a designated oval_state from the specified oval_definition_model. If the specified id does not resolve to an oval_state the function returns NULL.

Parameters:
model the queried model.
id the state id.
struct oval_state_iterator* oval_definition_model_get_states ( struct oval_definition_model model  )  [read]

Get OVAL states.

Return all oval_states from the specified oval_definition_model.

Parameters:
model the queried model.
struct oval_test* oval_definition_model_get_test ( struct oval_definition_model model,
char *  id 
) [read]

Get oval test by ID.

Return a designated oval_test from the specified oval_definition_model. If the specified id does not resolve to an oval_test the function returns NULL.

Parameters:
model the queried model.
id the test id.
struct oval_test_iterator* oval_definition_model_get_tests ( struct oval_definition_model model  )  [read]

Get OVAL tests.

Return all oval_tests from the specified oval_definition_model.

Parameters:
model the queried model.
struct oval_variable* oval_definition_model_get_variable ( struct oval_definition_model model,
char *  id 
) [read]

Get OVAL variable by ID.

Return a designated oval_variable from the specified oval_definition_model. If the specified id does not resolve to an oval_variable the function returns NULL.

Parameters:
model the queried model.
id the variable id.
struct oval_variable_iterator* oval_definition_model_get_variables ( struct oval_definition_model model  )  [read]

Get OVAL variables.

Return all oval_variables from the specified oval_definition_model.

Parameters:
model the queried model.
bool oval_definition_model_is_locked ( struct oval_definition_model definition_model  ) 

return true if the definition_model instance is locked.

The state of a locked instance cannot be changed.


Generated on 4 Jan 2010 for Open SCAP Library by  doxygen 1.6.1