C++ Server-Side SDK
LaunchDarkly SDK
|
#include <dependency_tracker.hpp>
Public Types | |
using | DataType = std::array< TaggedData< std::unordered_map< std::string, DependencySet > >, static_cast< std::size_t >(DataKind::kKindCount)> |
Public Member Functions | |
void | Set (DataKind kind, std::string key, DependencySet val) |
std::optional< DependencySet > | Get (DataKind kind, std::string const &key) const |
void | Clear () |
DataType::const_iterator | begin () const |
DataType::const_iterator | end () const |
Class used to map flag/segments to their set of dependencies. For instance, if we have a flagA, which has a prerequisite of flagB, and a segmentMatch targeting segmentA, then a dependency map, containing this set, would be: