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.
location_jobs.h File Reference
Include dependency graph for location_jobs.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)
 
AddressGetAddressFromLocationString (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)
 
LocationGetLocationFromResource (DataResource *resource_p, const NamedParameterType location_param_type, FieldTrialServiceData *dfw_data_p)
 
json_t * GetLocationIndexingData (Service *service_p)
 

Function Documentation

◆ LOCATION_JOB_STRUCT_VAL() [1/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_NAME LOCATION_JOB_STRUCT_VAL ( "LO Name"  ,
PT_STRING   
)

◆ LOCATION_JOB_STRUCT_VAL() [2/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_STREET LOCATION_JOB_STRUCT_VAL ( "LO Street"  ,
PT_STRING   
)

◆ LOCATION_JOB_STRUCT_VAL() [3/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_TOWN LOCATION_JOB_STRUCT_VAL ( "LO Town"  ,
PT_STRING   
)

◆ LOCATION_JOB_STRUCT_VAL() [4/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_COUNTY LOCATION_JOB_STRUCT_VAL ( "LO County"  ,
PT_STRING   
)

◆ LOCATION_JOB_STRUCT_VAL() [5/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_COUNTRY LOCATION_JOB_STRUCT_VAL ( "LO Country ,
PT_STRING   
)

◆ LOCATION_JOB_STRUCT_VAL() [6/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_POSTCODE LOCATION_JOB_STRUCT_VAL ( "LO Postcode"  ,
PT_STRING   
)

◆ LOCATION_JOB_STRUCT_VAL() [7/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_USE_GPS LOCATION_JOB_STRUCT_VAL ( "LO Use GPS"  ,
PT_BOOLEAN   
)

◆ LOCATION_JOB_STRUCT_VAL() [8/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_LATITUDE LOCATION_JOB_STRUCT_VAL ( "LO Latitude"  ,
PT_SIGNED_REAL   
)

◆ LOCATION_JOB_STRUCT_VAL() [9/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_LONGITUDE LOCATION_JOB_STRUCT_VAL ( "LO Longitude"  ,
PT_SIGNED_REAL   
)

◆ LOCATION_JOB_STRUCT_VAL() [10/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_ALTITUDE LOCATION_JOB_STRUCT_VAL ( "LO Altitude"  ,
PT_SIGNED_REAL   
)

◆ LOCATION_JOB_STRUCT_VAL() [11/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_MIN_PH LOCATION_JOB_STRUCT_VAL ( "LO pH Minimum"  ,
PT_UNSIGNED_REAL   
)

◆ LOCATION_JOB_STRUCT_VAL() [12/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_MAX_PH LOCATION_JOB_STRUCT_VAL ( "LO pH Maximum"  ,
PT_UNSIGNED_REAL   
)

◆ LOCATION_JOB_STRUCT_VAL() [13/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_SOIL LOCATION_JOB_STRUCT_VAL ( "LO Soil"  ,
PT_STRING   
)

◆ LOCATION_JOB_STRUCT_VAL() [14/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_TYPE LOCATION_JOB_STRUCT_VAL ( "LO Type"  ,
PT_STRING   
)

◆ LOCATION_JOB_STRUCT_VAL() [15/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_ID LOCATION_JOB_STRUCT_VAL ( "Location ID"  ,
PT_STRING   
)

◆ LOCATION_JOB_STRUCT_VAL() [16/16]

LOCATION_JOB_PREFIX NamedParameterType LOCATION_GET_ALL_LOCATIONS LOCATION_JOB_STRUCT_VAL ( "Get all Locations"  ,
PT_BOOLEAN   
)

◆ AddSubmissionLocationParams()

bool AddSubmissionLocationParams ( ServiceData data_p,
ParameterSet param_set_p,
DataResource resource_p 
)

◆ RunForSubmissionLocationParams()

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

◆ GetSubmissionLocationParameterTypeForNamedParameter()

bool GetSubmissionLocationParameterTypeForNamedParameter ( const char *  param_name_s,
ParameterType pt_p 
)

◆ GetAddressFromLocationString()

Address* GetAddressFromLocationString ( const char *  location_s)

◆ SetUpLocationsListParameter()

bool SetUpLocationsListParameter ( const FieldTrialServiceData data_p,
StringParameter param_p,
const Location active_location_p,
const char *  extra_option_s 
)

◆ AddSearchLocationParams()

bool AddSearchLocationParams ( ServiceData data_p,
ParameterSet param_set_p 
)

◆ RunForSearchLocationParams()

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

◆ GetSearchLocationParameterTypeForNamedParameter()

bool GetSearchLocationParameterTypeForNamedParameter ( const char *  param_name_s,
ParameterType pt_p 
)

◆ GetUnsetLocationValue()

const char* GetUnsetLocationValue ( void  )

◆ GetAllLocationsAsJSON()

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

◆ AddLocationToServiceJob()

bool AddLocationToServiceJob ( ServiceJob job_p,
Location location_p,
const ViewFormat  format,
FieldTrialServiceData data_p 
)

◆ GetLocationFromResource()

Location* GetLocationFromResource ( DataResource resource_p,
const NamedParameterType  location_param_type,
FieldTrialServiceData dfw_data_p 
)

◆ GetLocationIndexingData()

json_t* GetLocationIndexingData ( Service service_p)