#include "observation.h"
#include "typedefs.h"
 
Go to the source code of this file.
 | 
| NumericObservation *  | AllocateNumericObservation (bson_oid_t *id_p, const struct tm *start_date_p, const struct tm *end_date_p, MeasuredVariable *phenotype_p, MEM_FLAG phenotype_mem, const double *raw_value_p, const double *corrected_value_p, const char *growth_stage_s, const char *method_s, Instrument *instrument_p, const ObservationNature nature, const uint32 *index_p, const char *notes_s) | 
|   | 
| void  | ClearNumericObservation (Observation *observation_p) | 
|   | 
| json_t *  | GetNumericObservationAsJSON (const NumericObservation *observation_p, const ViewFormat format) | 
|   | 
| NumericObservation *  | GetNumericObservationFromJSON (const json_t *phenotype_json_p, FieldTrialServiceData *data_p) | 
|   | 
| bool  | SetNumericObservationRawValueFromString (NumericObservation *observation_p, const char *value_s) | 
|   | 
| bool  | SetNumericObservationCorrectedValueFromString (NumericObservation *observation_p, const char *value_s) | 
|   | 
| bool  | SetNumericObservationRawValueFromJSON (NumericObservation *observation_p, const json_t *value_p) | 
|   | 
| bool  | SetNumericObservationCorrectedValueFromJSON (NumericObservation *observation_p, const json_t *value_p) | 
|   | 
| bool  | AddNumericObservationValuesToJSON (const Observation *obs_p, const char *raw_key_s, const char *corrected_key_s, json_t *json_p, const char *null_sequence_s, bool only_if_exists_flag) | 
|   | 
| bool  | AddNumericObservationRawValueToJSON (const NumericObservation *obs_p, const char *key_s, json_t *json_p, const char *null_sequence_s, bool only_if_exists_flag) | 
|   | 
| bool  | AddNumericObservationCorrectedValueToJSON (const NumericObservation *obs_p, const char *key_s, json_t *json_p, const char *null_sequence_s, bool only_if_exists_flag) | 
|   | 
| bool  | GetNumericObservationRawValueAsString (NumericObservation *observation_p, char **value_ss, bool *free_flag_p) | 
|   | 
| bool  | GetNumericObservationCorrectedValueAsString (NumericObservation *observation_p, char **value_ss, bool *free_flag_p) | 
|   | 
◆ AllocateNumericObservation()
      
        
          | NumericObservation* AllocateNumericObservation  | 
          ( | 
          bson_oid_t *  | 
          id_p,  | 
        
        
           | 
           | 
          const struct tm *  | 
          start_date_p,  | 
        
        
           | 
           | 
          const struct tm *  | 
          end_date_p,  | 
        
        
           | 
           | 
          MeasuredVariable *  | 
          phenotype_p,  | 
        
        
           | 
           | 
          MEM_FLAG  | 
          phenotype_mem,  | 
        
        
           | 
           | 
          const double *  | 
          raw_value_p,  | 
        
        
           | 
           | 
          const double *  | 
          corrected_value_p,  | 
        
        
           | 
           | 
          const char *  | 
          growth_stage_s,  | 
        
        
           | 
           | 
          const char *  | 
          method_s,  | 
        
        
           | 
           | 
          Instrument *  | 
          instrument_p,  | 
        
        
           | 
           | 
          const ObservationNature  | 
          nature,  | 
        
        
           | 
           | 
          const uint32 *  | 
          index_p,  | 
        
        
           | 
           | 
          const char *  | 
          notes_s  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ ClearNumericObservation()
      
        
          | void ClearNumericObservation  | 
          ( | 
          Observation *  | 
          observation_p | ) | 
           | 
        
      
 
 
◆ GetNumericObservationAsJSON()
◆ GetNumericObservationFromJSON()
◆ SetNumericObservationRawValueFromString()
      
        
          | bool SetNumericObservationRawValueFromString  | 
          ( | 
          NumericObservation *  | 
          observation_p,  | 
        
        
           | 
           | 
          const char *  | 
          value_s  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ SetNumericObservationCorrectedValueFromString()
      
        
          | bool SetNumericObservationCorrectedValueFromString  | 
          ( | 
          NumericObservation *  | 
          observation_p,  | 
        
        
           | 
           | 
          const char *  | 
          value_s  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ SetNumericObservationRawValueFromJSON()
      
        
          | bool SetNumericObservationRawValueFromJSON  | 
          ( | 
          NumericObservation *  | 
          observation_p,  | 
        
        
           | 
           | 
          const json_t *  | 
          value_p  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ SetNumericObservationCorrectedValueFromJSON()
      
        
          | bool SetNumericObservationCorrectedValueFromJSON  | 
          ( | 
          NumericObservation *  | 
          observation_p,  | 
        
        
           | 
           | 
          const json_t *  | 
          value_p  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ AddNumericObservationValuesToJSON()
      
        
          | bool AddNumericObservationValuesToJSON  | 
          ( | 
          const Observation *  | 
          obs_p,  | 
        
        
           | 
           | 
          const char *  | 
          raw_key_s,  | 
        
        
           | 
           | 
          const char *  | 
          corrected_key_s,  | 
        
        
           | 
           | 
          json_t *  | 
          json_p,  | 
        
        
           | 
           | 
          const char *  | 
          null_sequence_s,  | 
        
        
           | 
           | 
          bool  | 
          only_if_exists_flag  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ AddNumericObservationRawValueToJSON()
      
        
          | bool AddNumericObservationRawValueToJSON  | 
          ( | 
          const NumericObservation *  | 
          obs_p,  | 
        
        
           | 
           | 
          const char *  | 
          key_s,  | 
        
        
           | 
           | 
          json_t *  | 
          json_p,  | 
        
        
           | 
           | 
          const char *  | 
          null_sequence_s,  | 
        
        
           | 
           | 
          bool  | 
          only_if_exists_flag  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ AddNumericObservationCorrectedValueToJSON()
      
        
          | bool AddNumericObservationCorrectedValueToJSON  | 
          ( | 
          const NumericObservation *  | 
          obs_p,  | 
        
        
           | 
           | 
          const char *  | 
          key_s,  | 
        
        
           | 
           | 
          json_t *  | 
          json_p,  | 
        
        
           | 
           | 
          const char *  | 
          null_sequence_s,  | 
        
        
           | 
           | 
          bool  | 
          only_if_exists_flag  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ GetNumericObservationRawValueAsString()
      
        
          | bool GetNumericObservationRawValueAsString  | 
          ( | 
          NumericObservation *  | 
          observation_p,  | 
        
        
           | 
           | 
          char **  | 
          value_ss,  | 
        
        
           | 
           | 
          bool *  | 
          free_flag_p  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ GetNumericObservationCorrectedValueAsString()
      
        
          | bool GetNumericObservationCorrectedValueAsString  | 
          ( | 
          NumericObservation *  | 
          observation_p,  | 
        
        
           | 
           | 
          char **  | 
          value_ss,  | 
        
        
           | 
           | 
          bool *  | 
          free_flag_p  | 
        
        
           | 
          ) | 
           |  |