|
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 "material.h"#include "plot.h"#include "observation.h"#include "treatment_factor_value.h"#include "row.h"Go to the source code of this file.
Data Structures | |
| struct | StandardRow |
Functions | |
| const STANDARD_ROW_PREFIX char *SR_RACK_INDEX_S | STANDARD_ROW_VAL ("rack_index") |
| const STANDARD_ROW_PREFIX char *SR_REPLICATE_S | STANDARD_ROW_VAL ("replicate") |
| const STANDARD_ROW_PREFIX char *SR_MATERIAL_ID_S | STANDARD_ROW_VAL ("material_id") |
| const STANDARD_ROW_PREFIX char *SR_MATERIAL_S | STANDARD_ROW_VAL ("material") |
| const STANDARD_ROW_PREFIX char *SR_STORE_CODE_S | STANDARD_ROW_VAL ("store_code") |
| const STANDARD_ROW_PREFIX char *SR_OBSERVATIONS_S | STANDARD_ROW_VAL ("observations") |
| const STANDARD_ROW_PREFIX char *SR_TREATMENTS_S | STANDARD_ROW_VAL ("treatments") |
| const STANDARD_ROW_PREFIX char *SR_REPLICATE_CONTROL_S | STANDARD_ROW_VAL ("control") |
| const STANDARD_ROW_PREFIX char *SR_IMPORT_RACK_S | STANDARD_ROW_VAL ("Rack") |
| const STANDARD_ROW_PREFIX char *SR_PLOT_INDEX_S | STANDARD_ROW_VAL ("Plot index") |
| StandardRow * | AllocateStandardRow (bson_oid_t *id_p, const uint32 rack_index, const uint32 study_index, const bool replicate_control_flag, const uint32 replicate, Material *material_p, MEM_FLAG material_mem, const char *const store_code_s, Plot *parent_plot_p) |
| StandardRow * | GetStandardRowFromJSON (const json_t *json_p, Plot *plot_p, Material *material_p, const struct Study *study_p, const ViewFormat format, FieldTrialServiceData *data_p) |
| bool | AddObservationToStandardRow (StandardRow *row_p, Observation *observation_p) |
| void | SetStandardRowGenotypeControl (StandardRow *row_p, bool control_flag) |
| bool | IsStandardRowGenotypeControl (const StandardRow *row_p) |
| bool | SetStandardRowStoreCode (StandardRow *row_p, const char *const store_code_s) |
| void | UpdateStandardRow (StandardRow *row_p, const uint32 rack_index, const bool replicate_control_flag, const uint32 replicate, Material *material_p, MEM_FLAG material_mem, const char *const store_code_s) |
| bool | AddTreatmentFactorValueToStandardRow (StandardRow *row_p, TreatmentFactorValue *tf_value_p) |
| bool | AddStandardRowToJSON (const Row *row_p, json_t *row_json_p, const ViewFormat format, const FieldTrialServiceData *data_p) |
| bool | AddStandardRowToPlotTable (const StandardRow *row_p, json_t *row_json_p, const FieldTrialServiceData *service_data_p) |
| const STANDARD_ROW_PREFIX char* SR_RACK_INDEX_S STANDARD_ROW_VAL | ( | "rack_index" | ) |
| const STANDARD_ROW_PREFIX char* SR_REPLICATE_S STANDARD_ROW_VAL | ( | "replicate" | ) |
| const STANDARD_ROW_PREFIX char* SR_MATERIAL_ID_S STANDARD_ROW_VAL | ( | "material_id" | ) |
| const STANDARD_ROW_PREFIX char* SR_MATERIAL_S STANDARD_ROW_VAL | ( | "material" | ) |
| const STANDARD_ROW_PREFIX char* SR_STORE_CODE_S STANDARD_ROW_VAL | ( | "store_code" | ) |
| const STANDARD_ROW_PREFIX char* SR_OBSERVATIONS_S STANDARD_ROW_VAL | ( | "observations" | ) |
| const STANDARD_ROW_PREFIX char* SR_TREATMENTS_S STANDARD_ROW_VAL | ( | "treatments" | ) |
| const STANDARD_ROW_PREFIX char* SR_REPLICATE_CONTROL_S STANDARD_ROW_VAL | ( | "control" | ) |
| const STANDARD_ROW_PREFIX char* SR_IMPORT_RACK_S STANDARD_ROW_VAL | ( | "Rack" | ) |
| const STANDARD_ROW_PREFIX char* SR_PLOT_INDEX_S STANDARD_ROW_VAL | ( | "Plot index" | ) |
| StandardRow* AllocateStandardRow | ( | bson_oid_t * | id_p, |
| const uint32 | rack_index, | ||
| const uint32 | study_index, | ||
| const bool | replicate_control_flag, | ||
| const uint32 | replicate, | ||
| Material * | material_p, | ||
| MEM_FLAG | material_mem, | ||
| const char *const | store_code_s, | ||
| Plot * | parent_plot_p | ||
| ) |
| StandardRow* GetStandardRowFromJSON | ( | const json_t * | json_p, |
| Plot * | plot_p, | ||
| Material * | material_p, | ||
| const struct Study * | study_p, | ||
| const ViewFormat | format, | ||
| FieldTrialServiceData * | data_p | ||
| ) |
| bool AddObservationToStandardRow | ( | StandardRow * | row_p, |
| Observation * | observation_p | ||
| ) |
| void SetStandardRowGenotypeControl | ( | StandardRow * | row_p, |
| bool | control_flag | ||
| ) |
| bool IsStandardRowGenotypeControl | ( | const StandardRow * | row_p | ) |
| bool SetStandardRowStoreCode | ( | StandardRow * | row_p, |
| const char *const | store_code_s | ||
| ) |
| void UpdateStandardRow | ( | StandardRow * | row_p, |
| const uint32 | rack_index, | ||
| const bool | replicate_control_flag, | ||
| const uint32 | replicate, | ||
| Material * | material_p, | ||
| MEM_FLAG | material_mem, | ||
| const char *const | store_code_s | ||
| ) |
| bool AddTreatmentFactorValueToStandardRow | ( | StandardRow * | row_p, |
| TreatmentFactorValue * | tf_value_p | ||
| ) |
| bool AddStandardRowToJSON | ( | const Row * | row_p, |
| json_t * | row_json_p, | ||
| const ViewFormat | format, | ||
| const FieldTrialServiceData * | data_p | ||
| ) |
| bool AddStandardRowToPlotTable | ( | const StandardRow * | row_p, |
| json_t * | row_json_p, | ||
| const FieldTrialServiceData * | service_data_p | ||
| ) |