CernVM-FS
2.12.0
|
#include <settings.h>
Public Member Functions | |
Setting () | |
Setting (const T &v) | |
Setting & | operator= (const T &v) |
const T & | operator() () const |
bool | SetIfDefault (const T &v) |
bool | is_default () const |
T * | GetPtr () |
Private Attributes | |
T | value_ |
bool | is_default_ |
Allows for settings that remember whether they have been explicitly overwritten. Otherwise, default values can be changed to upstream repository settings.
Definition at line 29 of file settings.h.
|
inline |
Definition at line 31 of file settings.h.
|
inlineexplicit |
Definition at line 32 of file settings.h.
|
inline |
Definition at line 53 of file settings.h.
Referenced by publish::SettingsPublisher::SetOwner().
|
inline |
Definition at line 51 of file settings.h.
Referenced by publish::SettingsTransaction::GetTimeoutS().
|
inline |
Definition at line 40 of file settings.h.
|
inline |
Definition at line 34 of file settings.h.
|
inline |
Definition at line 44 of file settings.h.
|
private |
Definition at line 57 of file settings.h.
Referenced by publish::Setting< bool >::is_default(), publish::Setting< bool >::operator=(), and publish::Setting< bool >::SetIfDefault().
|
private |
Definition at line 56 of file settings.h.
Referenced by publish::Setting< bool >::GetPtr(), publish::Setting< bool >::operator()(), publish::Setting< bool >::operator=(), and publish::Setting< bool >::SetIfDefault().