setters
[Oval_component]

Oval_component set methods. More...

Functions

void oval_component_set_type (struct oval_component *component, oval_component_type_t type)
 Set type of component Oval_component->type.
void oval_component_set_object (struct oval_component *, struct oval_object *object)
 set attribute Oval_component_object->object.
void oval_component_set_object_field (struct oval_component *, char *field)
 set attribute Oval_component_object->object_field.
void oval_component_set_variable (struct oval_component *, struct oval_variable *variable)
 set attribute Oval_component_object->variable.
void oval_component_add_function_component (struct oval_component *, struct oval_component *)
 set attribute Oval_component_object->object_field.
void oval_component_set_arithmetic_operation (struct oval_component *, oval_arithmetic_operation_t)
void oval_component_set_prefix (struct oval_component *, char *)
void oval_component_set_suffix (struct oval_component *, char *)
void oval_component_set_split_delimiter (struct oval_component *, char *)
void oval_component_set_substring_start (struct oval_component *, int)
void oval_component_set_substring_length (struct oval_component *, int)
void oval_component_set_timedif_format_1 (struct oval_component *, oval_datetime_format_t)
void oval_component_set_timedif_format_2 (struct oval_component *, oval_datetime_format_t)
void oval_component_set_regex_pattern (struct oval_component *, char *)
void oval_component_set_literal_value (struct oval_component *, struct oval_value *)

Detailed Description

Oval_component set methods.

These methods will not change the component of a locked instance.

See also:
oval_component_get_locked
oval_component_set_locked

Function Documentation

void oval_component_add_function_component ( struct oval_component ,
struct oval_component  
)

set attribute Oval_component_object->object_field.

IF component->type <> OVAL_COMPONENT_OBJECTREF OR component->object_field <> NULL, this method does nothing. OTHERWISE the method uses a copy of the field parameter to set component->object_field

See also:
oval_component_get_object
void oval_component_set_object ( struct oval_component ,
struct oval_object object 
)

set attribute Oval_component_object->object.

IF component->type <> OVAL_COMPONENT_OBJECTREF OR component->object <> NULL, this method does nothing .

See also:
oval_component_get_object
void oval_component_set_object_field ( struct oval_component ,
char *  field 
)

set attribute Oval_component_object->object_field.

IF component->type <> OVAL_COMPONENT_OBJECTREF OR component->object_field <> NULL, this method does nothing. OTHERWISE the method uses a copy of the field parameter to set component->object_field

See also:
oval_component_get_object_field
void oval_component_set_type ( struct oval_component component,
oval_component_type_t  type 
)

Set type of component Oval_component->type.

See also:
oval_component_new
void oval_component_set_variable ( struct oval_component ,
struct oval_variable variable 
)

set attribute Oval_component_object->variable.

IF component->type <> OVAL_COMPONENT_OBJECTREF OR component->variable <> NULL, this method does nothing.

See also:
oval_component_get_object

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