Definition context_store.h:55
bool hasKey(const std::string &key) const
Definition context_store.cpp:51
void dump()
Convenience method for dumping context data for debugging.
Definition context_store.cpp:11
T & getOr(const std::string &key, T default_value)
Get context value given the key.
Definition context_store.h:112
void set(const std::string &key, T value)
Store a key-value data in the context.
Definition context_store.h:81
std::optional< T * > get(const std::string &key)
Get context value given the key.
Definition context_store.h:94