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.
measured_variable_jobs.h File Reference
Include dependency graph for measured_variable_jobs.h:

Go to the source code of this file.

Functions

MEASURED_VARIABLE_JOB_PREFIX NamedParameterType MV_TRAIT_ID MEASURED_VARIABLE_JOB_STRUCT_VAL ("TR Trait Id", PT_STRING)
 
bool AddSubmissionMeasuredVariableParams (ServiceData *data_p, ParameterSet *param_set_p)
 
bool RunForSubmissionMeasuredVariableParams (FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p)
 
bool GetSubmissionMeasuredVariableParameterTypeForNamedParameter (const char *param_name_s, ParameterType *pt_p)
 
MeasuredVariableGetMeasuredVariableByVariableName (const char *name_s, MEM_FLAG *mv_mem_p, FieldTrialServiceData *data_p)
 
json_t * GetAllMeasuredVariablesAsJSON (const FieldTrialServiceData *data_p, bson_t *opts_p)
 
char * GetMeasuredVariableAsString (const MeasuredVariable *treatment_p)
 
bool AddMeasuredVariableToServiceJob (ServiceJob *job_p, MeasuredVariable *treatment_p, const ViewFormat format, FieldTrialServiceData *data_p)
 
int CheckMeasuredVariable (MeasuredVariable *treatment_p, const FieldTrialServiceData *data_p)
 
json_t * GetMeasuredVariableIndexingData (Service *service_p)
 
char * GetMeasuredVariablesNameKey (void)
 
void FreeMeasuredVariablesNameKey (char *key_s)
 

Function Documentation

◆ MEASURED_VARIABLE_JOB_STRUCT_VAL()

MEASURED_VARIABLE_JOB_PREFIX NamedParameterType MV_TRAIT_ID MEASURED_VARIABLE_JOB_STRUCT_VAL ( "TR Trait Id"  ,
PT_STRING   
)

◆ AddSubmissionMeasuredVariableParams()

bool AddSubmissionMeasuredVariableParams ( ServiceData data_p,
ParameterSet param_set_p 
)

◆ RunForSubmissionMeasuredVariableParams()

bool RunForSubmissionMeasuredVariableParams ( FieldTrialServiceData data_p,
ParameterSet param_set_p,
ServiceJob job_p 
)

◆ GetSubmissionMeasuredVariableParameterTypeForNamedParameter()

bool GetSubmissionMeasuredVariableParameterTypeForNamedParameter ( const char *  param_name_s,
ParameterType pt_p 
)

◆ GetMeasuredVariableByVariableName()

MeasuredVariable* GetMeasuredVariableByVariableName ( const char *  name_s,
MEM_FLAG mv_mem_p,
FieldTrialServiceData data_p 
)

◆ GetAllMeasuredVariablesAsJSON()

json_t * GetAllMeasuredVariablesAsJSON ( const FieldTrialServiceData data_p,
bson_t *  opts_p 
)

◆ GetMeasuredVariableAsString()

char* GetMeasuredVariableAsString ( const MeasuredVariable treatment_p)

◆ AddMeasuredVariableToServiceJob()

bool AddMeasuredVariableToServiceJob ( ServiceJob job_p,
MeasuredVariable treatment_p,
const ViewFormat  format,
FieldTrialServiceData data_p 
)

◆ CheckMeasuredVariable()

int CheckMeasuredVariable ( MeasuredVariable treatment_p,
const FieldTrialServiceData data_p 
)
Returns
1 if the MeasuredVariable already exists, 0 if it doesn't and -1 if the same combination of trait, measurement and unit are in use for another variable

◆ GetMeasuredVariableIndexingData()

json_t* GetMeasuredVariableIndexingData ( Service service_p)

◆ GetMeasuredVariablesNameKey()

char* GetMeasuredVariablesNameKey ( void  )

◆ FreeMeasuredVariablesNameKey()

void FreeMeasuredVariablesNameKey ( char *  key_s)