#include <userver/dynamic_config/source.hpp>
Public Member Functions | |
VariableSnapshotPtr (VariableSnapshotPtr &&)=delete | |
VariableSnapshotPtr & | operator= (VariableSnapshotPtr &&)=delete |
const VariableOfKey< Key > & | operator* () const & |
const VariableOfKey< Key > & | operator* () && |
const VariableOfKey< Key > * | operator-> () const & |
const VariableOfKey< Key > * | operator-> () && |
Friends | |
class | Source |
Owns a snapshot of a config variable. You may use operator* or operator-> to access the config variable.
VariableSnapshotPtr
in only intended to be used locally. Don't store it as a class member or pass it between functions. Use Snapshot
for that purpose.
Definition at line 25 of file source.hpp.
|
inline |
Definition at line 31 of file source.hpp.
|
inline |
Definition at line 30 of file source.hpp.
|
inline |
Definition at line 34 of file source.hpp.
|
inline |
Definition at line 33 of file source.hpp.
Definition at line 45 of file source.hpp.