C++ Client-Side SDK
LaunchDarkly SDK
|
#include <evaluation_result.hpp>
Public Member Functions | |
uint64_t | Version () const |
std::optional< uint64_t > | FlagVersion () const |
bool | TrackEvents () const |
bool | TrackReason () const |
std::optional< std::chrono::time_point< std::chrono::system_clock > > | DebugEventsUntilDate () const |
EvaluationDetailInternal const & | Detail () const |
EvaluationResult (uint64_t version, std::optional< uint64_t > flag_version, bool track_events, bool track_reason, std::optional< std::chrono::time_point< std::chrono::system_clock > > debug_events_until_date, EvaluationDetailInternal detail) | |
FlagMeta represents an evaluated flag either from the LaunchDarkly service, or in bootstrap data generated by a server SDK.
std::optional< std::chrono::time_point< std::chrono::system_clock > > launchdarkly::EvaluationResult::DebugEventsUntilDate | ( | ) | const |
A timestamp, which if the current time is before, a client SDK should send debug events for the flag.
EvaluationDetailInternal const & launchdarkly::EvaluationResult::Detail | ( | ) | const |
Details of the flags evaluation.
std::optional< uint64_t > launchdarkly::EvaluationResult::FlagVersion | ( | ) | const |
Incremented by LaunchDarkly each time the flag's configuration changes.
bool launchdarkly::EvaluationResult::TrackEvents | ( | ) | const |
True if a client SDK should track events for this flag.
bool launchdarkly::EvaluationResult::TrackReason | ( | ) | const |
True if a client SDK should track reasons for this flag.
uint64_t launchdarkly::EvaluationResult::Version | ( | ) | const |
Incremented by LaunchDarkly each time the flag's state changes.