| 198 | } |
| 199 | |
| 200 | void set_switch(opt_hints_enum type_arg, |
| 201 | bool switch_state_arg) |
| 202 | { |
| 203 | if (switch_state_arg) |
| 204 | hints.set_bit(type_arg); |
| 205 | else |
| 206 | hints.clear_bit(type_arg); |
| 207 | hints_specified.set_bit(type_arg); |
| 208 | } |
| 209 | |
| 210 | bool is_switched_on(opt_hints_enum type_arg) const |
| 211 | { |