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 "typedefs.h"
Go to the source code of this file.
Data Structures | |
struct | Instrument |
Functions | |
const INSTRUMENT_PREFIX char *IN_NAME_S | INSTRUMENT_CONCAT_VAL (CONTEXT_PREFIX_SCHEMA_ORG_S, "name") |
const INSTRUMENT_PREFIX char *IN_MODEL_S | INSTRUMENT_VAL ("model") |
Instrument * | AllocateInstrument (bson_oid_t *id_p, const char *name_s, const char *model_s) |
void | FreeInstrument (Instrument *instrument_p) |
json_t * | GetInstrumentAsJSON (const Instrument *instrument_p) |
Instrument * | GetInstrumentFromJSON (const json_t *phenotype_json_p) |
bool | SaveInstrument (Instrument *instrument_p, const FieldTrialServiceData *data_p) |
Instrument * | GetInstrumentById (const bson_oid_t *instrument_id_p, const FieldTrialServiceData *data_p) |
const INSTRUMENT_PREFIX char* IN_NAME_S INSTRUMENT_CONCAT_VAL | ( | CONTEXT_PREFIX_SCHEMA_ORG_S | , |
"name" | |||
) |
const INSTRUMENT_PREFIX char* IN_MODEL_S INSTRUMENT_VAL | ( | "model" | ) |
Instrument* AllocateInstrument | ( | bson_oid_t * | id_p, |
const char * | name_s, | ||
const char * | model_s | ||
) |
void FreeInstrument | ( | Instrument * | instrument_p | ) |
json_t* GetInstrumentAsJSON | ( | const Instrument * | instrument_p | ) |
Instrument* GetInstrumentFromJSON | ( | const json_t * | phenotype_json_p | ) |
bool SaveInstrument | ( | Instrument * | instrument_p, |
const FieldTrialServiceData * | data_p | ||
) |
Instrument* GetInstrumentById | ( | const bson_oid_t * | instrument_id_p, |
const FieldTrialServiceData * | data_p | ||
) |