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

Go to the source code of this file.

Functions

NamedParameterType FIELD_TRIAL_NAME FIELD_TRIAL_JOB_STRUCT_VAL ("FT Name", PT_STRING)
 
NamedParameterType FIELD_TRIAL_TEAM FIELD_TRIAL_JOB_STRUCT_VAL ("FT Team", PT_STRING)
 
NamedParameterType FIELD_TRIAL_ID FIELD_TRIAL_JOB_STRUCT_VAL ("FT Id", PT_STRING)
 
NamedParameterType FIELD_TRIAL_PARENT_ID FIELD_TRIAL_JOB_STRUCT_VAL ("FT Parent Id", PT_STRING)
 
NamedParameterType FIELD_TRIAL_ADD FIELD_TRIAL_JOB_STRUCT_VAL ("FT Add", PT_BOOLEAN)
 
NamedParameterType FIELD_TRIAL_SEARCH FIELD_TRIAL_JOB_STRUCT_VAL ("FT Search", PT_BOOLEAN)
 
bool AddSubmissionFieldTrialParams (ServiceData *data_p, ParameterSet *param_set_p, FieldTrial *active_trial_p, const bool read_only_flag)
 
bool RunForSubmissionFieldTrialParams (FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p)
 
bool GetSubmissionFieldTrialParameterTypeForNamedParameter (const char *param_name_s, ParameterType *pt_p)
 
bool AddSearchFieldTrialParams (ServiceData *data_p, ParameterSet *param_set_p)
 
bool RunForSearchFieldTrialParams (FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p)
 
bool GetSearchFieldTrialParameterTypeForNamedParameter (const char *param_name_s, ParameterType *pt_p)
 
bool SetUpFieldTrialsListParameter (const FieldTrialServiceData *data_p, Parameter *param_p, const char *active_trial_id_s, const bool empty_option_flag)
 
bool SetUpFieldTrialsListParameterFromJSON (const FieldTrialServiceData *data_p, Parameter *param_p, const char *active_trial_id_s, const bool empty_option_flag, json_t *trials_p)
 
json_t * GetFieldTrialIndexingData (Service *service_p)
 
json_t * GetAllFieldTrialsAsJSON (const FieldTrialServiceData *data_p, const bool full_data_flag)
 
bool AddFieldTrialToServiceJobFromJSON (ServiceJob *job_p, json_t *trial_json_p, const ViewFormat format, FieldTrialServiceData *data_p)
 
bool AddFieldTrialToServiceJob (ServiceJob *job_p, FieldTrial *trial_p, const ViewFormat format, FieldTrialServiceData *data_p)
 
json_t * GetFieldTrialJSONForId (const char *id_s, const ViewFormat format, JSONProcessor *processor_p, char **name_ss, FieldTrialServiceData *data_p)
 
FieldTrialGetFieldTrialFromResource (DataResource *resource_p, const NamedParameterType trial_param_type, FieldTrialServiceData *dfw_data_p)
 
json_t * GetFieldTrialAsFrictionlessDataResource (const FieldTrial *trial_p, const FieldTrialServiceData *data_p)
 
bool SearchFieldTrials (ServiceJob *job_p, const char *name_s, const char *team_s, const bool regex_flag, const ViewFormat format, FieldTrialServiceData *data_p)
 
bool PopulaterActiveTrialValues (FieldTrial *active_trial_p, char **id_ss, char **programme_id_ss, const char **name_ss, const char **team_ss, LinkedList **existing_people_pp, ParameterSet *param_set_p, FieldTrialServiceData *dfw_data_p)
 
bool AddTrialsList (const char *id_s, ParameterSet *param_set_p, ParameterGroup *group_p, const bool read_only_flag, const char *const empty_option_s, FieldTrialServiceData *data_p)
 
bool AddTrialsListFromJSON (const char *id_s, json_t *trials_json_p, ParameterSet *param_set_p, ParameterGroup *group_p, const bool read_only_flag, const char *empty_option_s, FieldTrialServiceData *dfw_data_p)
 
bool AddTrialEditor (const char *const name_s, const char *const team_s, const char *const programme_id_s, LinkedList *existing_people_p, ParameterSet *param_set_p, ParameterGroup *group_p, const bool read_only_flag, FieldTrialServiceData *dfw_data_p)
 

Function Documentation

◆ FIELD_TRIAL_JOB_STRUCT_VAL() [1/6]

NamedParameterType FIELD_TRIAL_NAME FIELD_TRIAL_JOB_STRUCT_VAL ( "FT Name"  ,
PT_STRING   
)

◆ FIELD_TRIAL_JOB_STRUCT_VAL() [2/6]

NamedParameterType FIELD_TRIAL_TEAM FIELD_TRIAL_JOB_STRUCT_VAL ( "FT Team"  ,
PT_STRING   
)

◆ FIELD_TRIAL_JOB_STRUCT_VAL() [3/6]

NamedParameterType FIELD_TRIAL_ID FIELD_TRIAL_JOB_STRUCT_VAL ( "FT Id"  ,
PT_STRING   
)

◆ FIELD_TRIAL_JOB_STRUCT_VAL() [4/6]

NamedParameterType FIELD_TRIAL_PARENT_ID FIELD_TRIAL_JOB_STRUCT_VAL ( "FT Parent Id"  ,
PT_STRING   
)

◆ FIELD_TRIAL_JOB_STRUCT_VAL() [5/6]

NamedParameterType FIELD_TRIAL_ADD FIELD_TRIAL_JOB_STRUCT_VAL ( "FT Add"  ,
PT_BOOLEAN   
)

◆ FIELD_TRIAL_JOB_STRUCT_VAL() [6/6]

NamedParameterType FIELD_TRIAL_SEARCH FIELD_TRIAL_JOB_STRUCT_VAL ( "FT Search"  ,
PT_BOOLEAN   
)

◆ AddSubmissionFieldTrialParams()

bool AddSubmissionFieldTrialParams ( ServiceData data_p,
ParameterSet param_set_p,
FieldTrial active_trial_p,
const bool  read_only_flag 
)

◆ RunForSubmissionFieldTrialParams()

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

◆ GetSubmissionFieldTrialParameterTypeForNamedParameter()

bool GetSubmissionFieldTrialParameterTypeForNamedParameter ( const char *  param_name_s,
ParameterType pt_p 
)

◆ AddSearchFieldTrialParams()

bool AddSearchFieldTrialParams ( ServiceData data_p,
ParameterSet param_set_p 
)

◆ RunForSearchFieldTrialParams()

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

◆ GetSearchFieldTrialParameterTypeForNamedParameter()

bool GetSearchFieldTrialParameterTypeForNamedParameter ( const char *  param_name_s,
ParameterType pt_p 
)

◆ SetUpFieldTrialsListParameter()

bool SetUpFieldTrialsListParameter ( const FieldTrialServiceData data_p,
Parameter param_p,
const char *  active_trial_id_s,
const bool  empty_option_flag 
)

◆ SetUpFieldTrialsListParameterFromJSON()

bool SetUpFieldTrialsListParameterFromJSON ( const FieldTrialServiceData data_p,
Parameter param_p,
const char *  active_trial_id_s,
const bool  empty_option_flag,
json_t *  trials_p 
)

◆ GetFieldTrialIndexingData()

json_t* GetFieldTrialIndexingData ( Service service_p)

◆ GetAllFieldTrialsAsJSON()

json_t* GetAllFieldTrialsAsJSON ( const FieldTrialServiceData data_p,
const bool  full_data_flag 
)

◆ AddFieldTrialToServiceJobFromJSON()

bool AddFieldTrialToServiceJobFromJSON ( ServiceJob job_p,
json_t *  trial_json_p,
const ViewFormat  format,
FieldTrialServiceData data_p 
)

◆ AddFieldTrialToServiceJob()

bool AddFieldTrialToServiceJob ( ServiceJob job_p,
FieldTrial trial_p,
const ViewFormat  format,
FieldTrialServiceData data_p 
)

◆ GetFieldTrialJSONForId()

json_t* GetFieldTrialJSONForId ( const char *  id_s,
const ViewFormat  format,
JSONProcessor processor_p,
char **  name_ss,
FieldTrialServiceData data_p 
)

◆ GetFieldTrialFromResource()

FieldTrial* GetFieldTrialFromResource ( DataResource resource_p,
const NamedParameterType  trial_param_type,
FieldTrialServiceData dfw_data_p 
)

◆ GetFieldTrialAsFrictionlessDataResource()

json_t* GetFieldTrialAsFrictionlessDataResource ( const FieldTrial trial_p,
const FieldTrialServiceData data_p 
)

◆ SearchFieldTrials()

bool SearchFieldTrials ( ServiceJob job_p,
const char *  name_s,
const char *  team_s,
const bool  regex_flag,
const ViewFormat  format,
FieldTrialServiceData data_p 
)

◆ PopulaterActiveTrialValues()

bool PopulaterActiveTrialValues ( FieldTrial active_trial_p,
char **  id_ss,
char **  programme_id_ss,
const char **  name_ss,
const char **  team_ss,
LinkedList **  existing_people_pp,
ParameterSet param_set_p,
FieldTrialServiceData dfw_data_p 
)

◆ AddTrialsList()

bool AddTrialsList ( const char *  id_s,
ParameterSet param_set_p,
ParameterGroup group_p,
const bool  read_only_flag,
const char *const  empty_option_s,
FieldTrialServiceData data_p 
)

◆ AddTrialsListFromJSON()

bool AddTrialsListFromJSON ( const char *  id_s,
json_t *  trials_json_p,
ParameterSet param_set_p,
ParameterGroup group_p,
const bool  read_only_flag,
const char *  empty_option_s,
FieldTrialServiceData dfw_data_p 
)

◆ AddTrialEditor()

bool AddTrialEditor ( const char *const  name_s,
const char *const  team_s,
const char *const  programme_id_s,
LinkedList existing_people_p,
ParameterSet param_set_p,
ParameterGroup group_p,
const bool  read_only_flag,
FieldTrialServiceData dfw_data_p 
)