Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
|
#include "dfw_field_trial_service_library.h"
#include "dfw_field_trial_service_data.h"
#include "treatment_factor.h"
Go to the source code of this file.
Data Structures | |
struct | TreatmentFactorValue |
struct | TreatmentFactorValueNode |
Functions | |
TreatmentFactorValue * | AllocateTreatmentFactorValue (TreatmentFactor *treatment_factor_p, const char *label_s) |
void | FreeTreatmentFactorValue (TreatmentFactorValue *treatment_factor_value_p) |
TreatmentFactorValueNode * | AllocateTreatmentFactorValueNode (TreatmentFactorValue *treatment_factor_value_p) |
void | FreeTreatmentFactorValueNode (ListItem *treatment_factor_value_node_p) |
const char * | GetTreatmentFactorLabelValue (const TreatmentFactorValue *treatment_factor_value_p) |
bool | AreTreatmentFactorValuesMatching (const TreatmentFactorValue *tfv_0_p, const TreatmentFactorValue *tfv_1_p) |
const bson_oid_t * | GetTreatmentIdForTreatmentFactorValue (const TreatmentFactorValue *tfv_p) |
TreatmentFactorValue * | GetTreatmentFactorValueFromJSON (const json_t *tf_value_json_p, const struct Study *study_p, const FieldTrialServiceData *data_p) |
json_t * | GetTreatmentFactorValueAsJSON (const TreatmentFactorValue *tf_value_p, const struct Study *study_p) |
TreatmentFactorValue* AllocateTreatmentFactorValue | ( | TreatmentFactor * | treatment_factor_p, |
const char * | label_s | ||
) |
void FreeTreatmentFactorValue | ( | TreatmentFactorValue * | treatment_factor_value_p | ) |
TreatmentFactorValueNode* AllocateTreatmentFactorValueNode | ( | TreatmentFactorValue * | treatment_factor_value_p | ) |
void FreeTreatmentFactorValueNode | ( | ListItem * | treatment_factor_value_node_p | ) |
const char* GetTreatmentFactorLabelValue | ( | const TreatmentFactorValue * | treatment_factor_value_p | ) |
bool AreTreatmentFactorValuesMatching | ( | const TreatmentFactorValue * | tfv_0_p, |
const TreatmentFactorValue * | tfv_1_p | ||
) |
const bson_oid_t* GetTreatmentIdForTreatmentFactorValue | ( | const TreatmentFactorValue * | tfv_p | ) |
TreatmentFactorValue* GetTreatmentFactorValueFromJSON | ( | const json_t * | tf_value_json_p, |
const struct Study * | study_p, | ||
const FieldTrialServiceData * | data_p | ||
) |
json_t* GetTreatmentFactorValueAsJSON | ( | const TreatmentFactorValue * | tf_value_p, |
const struct Study * | study_p | ||
) |