C++ Server-Side SDK
LaunchDarkly SDK
|
#include <dependency_tracker.hpp>
Public Types | |
using | DataType = std::array< TaggedData< std::set< std::string > >, static_cast< std::size_t >(DataKind::kKindCount)> |
Public Member Functions | |
void | Set (DataKind kind, std::string key) |
void | Remove (DataKind kind, std::string const &key) |
bool | Contains (DataKind kind, std::string const &key) const |
std::set< std::string > const & | SetForKind (DataKind kind) |
std::size_t | Size () const |
DataType::const_iterator | begin () const |
DataType::const_iterator | end () const |
Class used to maintain a set of dependencies. Each dependency may be either a flag or segment. For instance, if we have a flagA, which has a prerequisite of flagB, and a segmentMatch targeting segmentA, then its dependency set would be
std::size_t launchdarkly::server_side::data_components::DependencySet::Size | ( | ) | const |
Return the size of all the data kind sets.