| libzypp 17.36.7
    | 
Mutable option with initial value also remembering a config value. More...
 
  
| Public Types | |
| using | value_type = Tp | 
| using | option_type = Option<Tp> | 
|  Public Types inherited from zypp::Option< Tp > | |
| using | value_type = Tp | 
| Public Member Functions | |
| DefaultOption (value_type initial_r) | |
| DefaultOption & | operator= (value_type newval_r) | 
| void | restoreToDefault () | 
| Reset value to the current default. | |
| void | restoreToDefault (value_type newval_r) | 
| Reset value to a new default. | |
| const value_type & | getDefault () const | 
| Get the current default value. | |
| void | setDefault (value_type newval_r) | 
| Set a new default value. | |
|  Public Member Functions inherited from zypp::Option< Tp > | |
| Option (value_type initial_r) | |
| No default ctor, explicit initialisation! | |
| Option & | operator= (value_type newval_r) | 
| const value_type & | get () const | 
| Get the value. | |
| operator const value_type & () const | |
| Autoconversion to value_type. | |
| void | set (value_type newval_r) | 
| Set a new value. | |
| Private Attributes | |
| option_type | _default | 
Mutable option with initial value also remembering a config value.
Definition at line 357 of file ZConfig.cc.
| using zypp::DefaultOption< Tp >::value_type = Tp | 
Definition at line 359 of file ZConfig.cc.
| using zypp::DefaultOption< Tp >::option_type = Option<Tp> | 
Definition at line 360 of file ZConfig.cc.
| 
 | inlineexplicit | 
Definition at line 362 of file ZConfig.cc.
| 
 | inline | 
Definition at line 367 of file ZConfig.cc.
| 
 | inline | 
Reset value to the current default.
Definition at line 371 of file ZConfig.cc.
| 
 | inline | 
Reset value to a new default.
Definition at line 375 of file ZConfig.cc.
| 
 | inline | 
Get the current default value.
Definition at line 379 of file ZConfig.cc.
| 
 | inline | 
Set a new default value.
Definition at line 383 of file ZConfig.cc.
| 
 | private | 
Definition at line 387 of file ZConfig.cc.