proxygen
|
#include <Settings.h>
Public Member Functions | |
const T & | operator* () const |
const T * | operator-> () const |
void | set (const T &t, StringPiece reason="api") |
Private Member Functions | |
SnapshotSettingWrapper (Snapshot &snapshot, SettingCore< T > &core) | |
Private Attributes | |
Snapshot & | snapshot_ |
SettingCore< T > & | core_ |
Friends | |
class | folly::settings::Snapshot |
Like SettingWrapper, but checks against any values saved/updated in a snapshot.
Definition at line 208 of file Settings.h.
|
inlineprivate |
Definition at line 233 of file Settings.h.
|
inline |
The references are only valid for the duration of the snapshot's lifetime or until the setting has been updated in the snapshot, whichever happens earlier.
Definition at line 333 of file Settings.h.
References folly::settings::detail::SettingWrapper< T, TrivialPtr >::core_.
|
inline |
Definition at line 216 of file Settings.h.
References folly::settings::detail::SettingWrapper< T, TrivialPtr >::operator*().
|
inline |
Update the setting in the snapshot, the effects are not visible in this snapshot.
Definition at line 224 of file Settings.h.
References folly::settings::detail::SettingWrapper< T, TrivialPtr >::core_.
|
friend |
Definition at line 231 of file Settings.h.
|
private |
Definition at line 230 of file Settings.h.
|
private |
Definition at line 229 of file Settings.h.