rippled
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Functions | Variables
antithesis Namespace Reference

Namespaces

namespace  internal
 

Classes

struct  JSON
 
struct  JSONArray
 

Typedefs

typedef std::variant< JSON, std::nullptr_t, std::string, bool, char, int, uint64_t, float, double, const char *, JSONArrayJSONValue
 

Functions

void setup_complete (const JSON &details)
 
void send_event (const char *name, const JSON &details)
 
uint64_t get_random ()
 
template<typename Iter >
Iter random_choice (Iter begin, Iter end)
 

Variables

const char * SDK_VERSION = "0.4.4"
 
const char * PROTOCOL_VERSION = "1.1.0"
 

Typedef Documentation

◆ JSONValue

typedef std::variant<JSON, std::nullptr_t, std::string, bool, char, int, uint64_t, float, double, const char*, JSONArray> antithesis::JSONValue

Definition at line 49 of file antithesis_sdk.h.

Function Documentation

◆ setup_complete()

void antithesis::setup_complete ( const JSON details)

Definition at line 1038 of file antithesis_sdk.h.

◆ send_event()

void antithesis::send_event ( const char *  name,
const JSON details 
)

Definition at line 1041 of file antithesis_sdk.h.

◆ get_random()

uint64_t antithesis::get_random ( )

Definition at line 1077 of file antithesis_sdk.h.

◆ random_choice()

template<typename Iter >
Iter antithesis::random_choice ( Iter  begin,
Iter  end 
)

Definition at line 1095 of file antithesis_sdk.h.

Variable Documentation

◆ SDK_VERSION

const char* antithesis::SDK_VERSION = "0.4.4"

Definition at line 45 of file antithesis_sdk.h.

◆ PROTOCOL_VERSION

const char* antithesis::PROTOCOL_VERSION = "1.1.0"

Definition at line 46 of file antithesis_sdk.h.