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_data.h"
#include "dfw_field_trial_service_library.h"
#include "address.h"
#include "location.h"
#include "string_parameter.h"
Go to the source code of this file.
Functions | |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_NAME | LOCATION_JOB_STRUCT_VAL ("LO Name", PT_STRING) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_STREET | LOCATION_JOB_STRUCT_VAL ("LO Street", PT_STRING) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_TOWN | LOCATION_JOB_STRUCT_VAL ("LO Town", PT_STRING) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_COUNTY | LOCATION_JOB_STRUCT_VAL ("LO County", PT_STRING) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_COUNTRY | LOCATION_JOB_STRUCT_VAL ("LO Country", PT_STRING) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_POSTCODE | LOCATION_JOB_STRUCT_VAL ("LO Postcode", PT_STRING) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_USE_GPS | LOCATION_JOB_STRUCT_VAL ("LO Use GPS", PT_BOOLEAN) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_LATITUDE | LOCATION_JOB_STRUCT_VAL ("LO Latitude", PT_SIGNED_REAL) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_LONGITUDE | LOCATION_JOB_STRUCT_VAL ("LO Longitude", PT_SIGNED_REAL) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_ALTITUDE | LOCATION_JOB_STRUCT_VAL ("LO Altitude", PT_SIGNED_REAL) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_MIN_PH | LOCATION_JOB_STRUCT_VAL ("LO pH Minimum", PT_UNSIGNED_REAL) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_MAX_PH | LOCATION_JOB_STRUCT_VAL ("LO pH Maximum", PT_UNSIGNED_REAL) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_SOIL | LOCATION_JOB_STRUCT_VAL ("LO Soil", PT_STRING) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_TYPE | LOCATION_JOB_STRUCT_VAL ("LO Type", PT_STRING) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_ID | LOCATION_JOB_STRUCT_VAL ("Location ID", PT_STRING) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_GET_ALL_LOCATIONS | LOCATION_JOB_STRUCT_VAL ("Get all Locations", PT_BOOLEAN) |
bool | AddSubmissionLocationParams (ServiceData *data_p, ParameterSet *param_set_p, DataResource *resource_p) |
bool | RunForSubmissionLocationParams (FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p) |
bool | GetSubmissionLocationParameterTypeForNamedParameter (const char *param_name_s, ParameterType *pt_p) |
Address * | GetAddressFromLocationString (const char *location_s) |
bool | SetUpLocationsListParameter (const FieldTrialServiceData *data_p, StringParameter *param_p, const Location *active_location_p, const char *extra_option_s) |
bool | AddSearchLocationParams (ServiceData *data_p, ParameterSet *param_set_p) |
bool | RunForSearchLocationParams (FieldTrialServiceData *data_p, ParameterSet *param_set_p, ServiceJob *job_p) |
bool | GetSearchLocationParameterTypeForNamedParameter (const char *param_name_s, ParameterType *pt_p) |
const char * | GetUnsetLocationValue (void) |
json_t * | GetAllLocationsAsJSON (const FieldTrialServiceData *data_p, bson_t *opts_p) |
bool | AddLocationToServiceJob (ServiceJob *job_p, Location *location_p, const ViewFormat format, FieldTrialServiceData *data_p) |
Location * | GetLocationFromResource (DataResource *resource_p, const NamedParameterType location_param_type, FieldTrialServiceData *dfw_data_p) |
json_t * | GetLocationIndexingData (Service *service_p) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_NAME LOCATION_JOB_STRUCT_VAL | ( | "LO Name" | , |
PT_STRING | |||
) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_STREET LOCATION_JOB_STRUCT_VAL | ( | "LO Street" | , |
PT_STRING | |||
) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_TOWN LOCATION_JOB_STRUCT_VAL | ( | "LO Town" | , |
PT_STRING | |||
) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_COUNTY LOCATION_JOB_STRUCT_VAL | ( | "LO County" | , |
PT_STRING | |||
) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_COUNTRY LOCATION_JOB_STRUCT_VAL | ( | "LO Country" | , |
PT_STRING | |||
) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_POSTCODE LOCATION_JOB_STRUCT_VAL | ( | "LO Postcode" | , |
PT_STRING | |||
) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_USE_GPS LOCATION_JOB_STRUCT_VAL | ( | "LO Use GPS" | , |
PT_BOOLEAN | |||
) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_LATITUDE LOCATION_JOB_STRUCT_VAL | ( | "LO Latitude" | , |
PT_SIGNED_REAL | |||
) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_LONGITUDE LOCATION_JOB_STRUCT_VAL | ( | "LO Longitude" | , |
PT_SIGNED_REAL | |||
) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_ALTITUDE LOCATION_JOB_STRUCT_VAL | ( | "LO Altitude" | , |
PT_SIGNED_REAL | |||
) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_MIN_PH LOCATION_JOB_STRUCT_VAL | ( | "LO pH Minimum" | , |
PT_UNSIGNED_REAL | |||
) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_MAX_PH LOCATION_JOB_STRUCT_VAL | ( | "LO pH Maximum" | , |
PT_UNSIGNED_REAL | |||
) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_SOIL LOCATION_JOB_STRUCT_VAL | ( | "LO Soil" | , |
PT_STRING | |||
) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_TYPE LOCATION_JOB_STRUCT_VAL | ( | "LO Type" | , |
PT_STRING | |||
) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_ID LOCATION_JOB_STRUCT_VAL | ( | "Location ID" | , |
PT_STRING | |||
) |
LOCATION_JOB_PREFIX NamedParameterType LOCATION_GET_ALL_LOCATIONS LOCATION_JOB_STRUCT_VAL | ( | "Get all Locations" | , |
PT_BOOLEAN | |||
) |
bool AddSubmissionLocationParams | ( | ServiceData * | data_p, |
ParameterSet * | param_set_p, | ||
DataResource * | resource_p | ||
) |
bool RunForSubmissionLocationParams | ( | FieldTrialServiceData * | data_p, |
ParameterSet * | param_set_p, | ||
ServiceJob * | job_p | ||
) |
bool GetSubmissionLocationParameterTypeForNamedParameter | ( | const char * | param_name_s, |
ParameterType * | pt_p | ||
) |
Address* GetAddressFromLocationString | ( | const char * | location_s | ) |
bool SetUpLocationsListParameter | ( | const FieldTrialServiceData * | data_p, |
StringParameter * | param_p, | ||
const Location * | active_location_p, | ||
const char * | extra_option_s | ||
) |
bool AddSearchLocationParams | ( | ServiceData * | data_p, |
ParameterSet * | param_set_p | ||
) |
bool RunForSearchLocationParams | ( | FieldTrialServiceData * | data_p, |
ParameterSet * | param_set_p, | ||
ServiceJob * | job_p | ||
) |
bool GetSearchLocationParameterTypeForNamedParameter | ( | const char * | param_name_s, |
ParameterType * | pt_p | ||
) |
const char* GetUnsetLocationValue | ( | void | ) |
json_t* GetAllLocationsAsJSON | ( | const FieldTrialServiceData * | data_p, |
bson_t * | opts_p | ||
) |
bool AddLocationToServiceJob | ( | ServiceJob * | job_p, |
Location * | location_p, | ||
const ViewFormat | format, | ||
FieldTrialServiceData * | data_p | ||
) |
Location* GetLocationFromResource | ( | DataResource * | resource_p, |
const NamedParameterType | location_param_type, | ||
FieldTrialServiceData * | dfw_data_p | ||
) |
json_t* GetLocationIndexingData | ( | Service * | service_p | ) |