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.
treatment_factor_value.h File Reference
Include dependency graph for treatment_factor_value.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  TreatmentFactorValue
 
struct  TreatmentFactorValueNode
 

Functions

TreatmentFactorValueAllocateTreatmentFactorValue (TreatmentFactor *treatment_factor_p, const char *label_s)
 
void FreeTreatmentFactorValue (TreatmentFactorValue *treatment_factor_value_p)
 
TreatmentFactorValueNodeAllocateTreatmentFactorValueNode (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)
 
TreatmentFactorValueGetTreatmentFactorValueFromJSON (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)
 

Function Documentation

◆ AllocateTreatmentFactorValue()

TreatmentFactorValue* AllocateTreatmentFactorValue ( TreatmentFactor treatment_factor_p,
const char *  label_s 
)

◆ FreeTreatmentFactorValue()

void FreeTreatmentFactorValue ( TreatmentFactorValue treatment_factor_value_p)

◆ AllocateTreatmentFactorValueNode()

TreatmentFactorValueNode* AllocateTreatmentFactorValueNode ( TreatmentFactorValue treatment_factor_value_p)

◆ FreeTreatmentFactorValueNode()

void FreeTreatmentFactorValueNode ( ListItem treatment_factor_value_node_p)

◆ GetTreatmentFactorLabelValue()

const char* GetTreatmentFactorLabelValue ( const TreatmentFactorValue treatment_factor_value_p)

◆ AreTreatmentFactorValuesMatching()

bool AreTreatmentFactorValuesMatching ( const TreatmentFactorValue tfv_0_p,
const TreatmentFactorValue tfv_1_p 
)

◆ GetTreatmentIdForTreatmentFactorValue()

const bson_oid_t* GetTreatmentIdForTreatmentFactorValue ( const TreatmentFactorValue tfv_p)

◆ GetTreatmentFactorValueFromJSON()

TreatmentFactorValue* GetTreatmentFactorValueFromJSON ( const json_t *  tf_value_json_p,
const struct Study study_p,
const FieldTrialServiceData data_p 
)

◆ GetTreatmentFactorValueAsJSON()

json_t* GetTreatmentFactorValueAsJSON ( const TreatmentFactorValue tf_value_p,
const struct Study study_p 
)