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.
discard_row.h
Go to the documentation of this file.
1 /*
2  * discard_row.h
3  *
4  * Created on: 30 Jun 2022
5  * Author: billy
6  */
7 
8 #ifndef SERVICES_FIELD_TRIALS_INCLUDE_DISCARD_ROW_H_
9 #define SERVICES_FIELD_TRIALS_INCLUDE_DISCARD_ROW_H_
10 
11 #include "row.h"
12 
13 
14 typedef struct DiscardRow
15 {
17 } DiscardRow;
18 
19 
20 #ifdef __cplusplus
21 extern "C"
22 {
23 #endif
24 
25 
26 DFW_FIELD_TRIAL_SERVICE_LOCAL Row *AllocateDiscardRow (bson_oid_t *id_p, const uint32 study_index, Plot *parent_plot_p);
27 
28 
29 DFW_FIELD_TRIAL_SERVICE_LOCAL DiscardRow *GetDiscardRowFromJSON (const json_t *row_json_p, Plot *plot_p, const Study *study_p, const ViewFormat format, FieldTrialServiceData *data_p);
30 
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 #endif /* SERVICES_FIELD_TRIALS_INCLUDE_DISCARD_ROW_H_ */
GetDiscardRowFromJSON
DiscardRow * GetDiscardRowFromJSON(const json_t *row_json_p, Plot *plot_p, const Study *study_p, const ViewFormat format, FieldTrialServiceData *data_p)
Plot
Definition: plot.h:84
AllocateDiscardRow
Row * AllocateDiscardRow(bson_oid_t *id_p, const uint32 study_index, Plot *parent_plot_p)
DFW_FIELD_TRIAL_SERVICE_LOCAL
#define DFW_FIELD_TRIAL_SERVICE_LOCAL
Definition: dfw_field_trial_service_library.h:43
row.h
DiscardRow
Definition: discard_row.h:14
FieldTrialServiceData
The configuration data used by the DFW Field Trial Service.
Definition: dfw_field_trial_service_data.h:118
ViewFormat
ViewFormat
An indicator of what the output destination is for the JSON data values.
Definition: view_format.h:19
Study
Definition: study.h:182
Row
Definition: row.h:54
DiscardRow::dr_base
Row dr_base
Definition: discard_row.h:16