C++ Client-Side SDK
LaunchDarkly SDK
Loading...
Searching...
No Matches
Public Member Functions | List of all members
launchdarkly::EvaluationResult Class Reference

#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)
 

Detailed Description

FlagMeta represents an evaluated flag either from the LaunchDarkly service, or in bootstrap data generated by a server SDK.

Member Function Documentation

◆ DebugEventsUntilDate()

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.

Returns

◆ Detail()

EvaluationDetailInternal const & launchdarkly::EvaluationResult::Detail ( ) const

Details of the flags evaluation.

◆ FlagVersion()

std::optional< uint64_t > launchdarkly::EvaluationResult::FlagVersion ( ) const

Incremented by LaunchDarkly each time the flag's configuration changes.

◆ TrackEvents()

bool launchdarkly::EvaluationResult::TrackEvents ( ) const

True if a client SDK should track events for this flag.

◆ TrackReason()

bool launchdarkly::EvaluationResult::TrackReason ( ) const

True if a client SDK should track reasons for this flag.

◆ Version()

uint64_t launchdarkly::EvaluationResult::Version ( ) const

Incremented by LaunchDarkly each time the flag's state changes.


The documentation for this class was generated from the following files: