Getters
[Oval_variable]

Oval_variable get methods. More...

Functions

bool oval_variable_is_locked (struct oval_variable *variable)
 return true if the variable instance is locked.
char * oval_variable_get_id (struct oval_variable *)
 Returns attribute Oval_variable->id.
char * oval_variable_get_comment (struct oval_variable *)
 Returns attribute Oval_variable->comment.
int oval_variable_get_version (struct oval_variable *)
 Returns attribute Oval_variable->version.
bool oval_variable_get_deprecated (struct oval_variable *)
 Returns attribute Oval_variable->deprecated.
oval_variable_type_t oval_variable_get_type (struct oval_variable *)
 Returns attribute Oval_variable->type.
oval_datatype_t oval_variable_get_datatype (struct oval_variable *)
 Returns attribute Oval_variable->datatype.
struct oval_value_iterator * oval_variable_get_values (struct oval_variable *)
 Returns attribute Oval_external/Oval_constant->values.
struct oval_componentoval_variable_get_component (struct oval_variable *)
 Returns attribute Oval_local->component.
const char * oval_component_type_get_text (oval_component_type_t type)
 Returns attribute Oval_component_type->text.

Detailed Description

Oval_variable get methods.


Function Documentation

char* oval_variable_get_comment ( struct oval_variable  ) 

Returns attribute Oval_variable->comment.

See also:
oval_variable_set_comment
struct oval_component* oval_variable_get_component ( struct oval_variable  )  [read]

Returns attribute Oval_local->component.

If attribute type <> OVAL_VARIABLE_LOCAL this method shall return NULL.

See also:
oval_variable_set_component
oval_datatype_t oval_variable_get_datatype ( struct oval_variable  ) 

Returns attribute Oval_variable->datatype.

See also:
oval_variable_set_datatype
bool oval_variable_get_deprecated ( struct oval_variable  ) 

Returns attribute Oval_variable->deprecated.

See also:
oval_variable_set_deprecated
char* oval_variable_get_id ( struct oval_variable  ) 

Returns attribute Oval_variable->id.

See also:
oval_variable_new
oval_variable_type_t oval_variable_get_type ( struct oval_variable  ) 

Returns attribute Oval_variable->type.

See also:
oval_variable_new
struct oval_value_iterator* oval_variable_get_values ( struct oval_variable  )  [read]

Returns attribute Oval_external/Oval_constant->values.

If attribute type == OVAL_VARIABLE_LOCAL or OVAL_VARIABLE_UNKNOWN, this method shall return NULL

See also:
oval_variable_add_value
oval_definition_model_bind_variable_model
int oval_variable_get_version ( struct oval_variable  ) 

Returns attribute Oval_variable->version.

See also:
oval_variable_set_version
bool oval_variable_is_locked ( struct oval_variable variable  ) 

return true if the variable 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