User manual
129
opt_val_idx - option value index among the all option values;
opt_buffer - option value buffer.
This constructor is used to initialize integer option value.
operator bool ();
This operator converts boolean option value to the bool value.
bool set(bool val);
where
val -
value to set for the option.
This method is used to set the new value for the option value.
String option value is wrapped by C++ class chapi_string_option_value_t derived from the
class chapi_cfg_option_value_t. The following public methods are defined:
chapi_string_option_value_t(chapi_cfg_option_t *option, int opt_val_idx,
void *opt_buffer);
where
option - parent option for the value;
opt_val_idx - option value index among the all option values;
opt_buffer - option value buffer.
This constructor is used to initialize integer option value.
operator char* ();
This operator converts string option value to the char* value.
bool set(char *val);
where
val -
value to set for the option.
This method is used to set the new value for the option value.










