#include "observation.h"
#include "typedefs.h"
 
Go to the source code of this file.
 | 
| IntegerObservation *  | AllocateIntegerObservation (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 int32 *raw_value_p, const int32 *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  | ClearIntegerObservation (Observation *observation_p) | 
|   | 
| json_t *  | GetIntegerObservationAsJSON (const IntegerObservation *observation_p, const ViewFormat format) | 
|   | 
| IntegerObservation *  | GetIntegerObservationFromJSON (const json_t *phenotype_json_p, FieldTrialServiceData *data_p) | 
|   | 
| bool  | SetIntegerObservationRawValueFromString (IntegerObservation *observation_p, const char *value_s) | 
|   | 
| bool  | SetIntegerObservationCorrectedValueFromString (IntegerObservation *observation_p, const char *value_s) | 
|   | 
| bool  | SetIntegerObservationRawValueFromJSON (IntegerObservation *observation_p, const json_t *value_p) | 
|   | 
| bool  | SetIntegerObservationCorrectedValueFromJSON (IntegerObservation *observation_p, const json_t *value_p) | 
|   | 
| bool  | AddIntegerObservationRawValueToJSON (const IntegerObservation *obs_p, const char *key_s, json_t *json_p, const char *null_sequence_s, bool only_if_exists_flag) | 
|   | 
| bool  | AddIntegerObservationCorrectedValueToJSON (const IntegerObservation *obs_p, const char *key_s, json_t *json_p, const char *null_sequence_s, bool only_if_exists_flag) | 
|   | 
| bool  | AddIntegerObservationValuesToJSON (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  | GetIntegerObservationRawValueAsString (IntegerObservation *observation_p, char **value_ss, bool *free_flag_p) | 
|   | 
| bool  | GetIntegerObservationCorrectedValueAsString (IntegerObservation *observation_p, char **value_ss, bool *free_flag_p) | 
|   | 
◆ AllocateIntegerObservation()
      
        
          | IntegerObservation* AllocateIntegerObservation  | 
          ( | 
          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 int32 *  | 
          raw_value_p,  | 
        
        
           | 
           | 
          const int32 *  | 
          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  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ ClearIntegerObservation()
      
        
          | void ClearIntegerObservation  | 
          ( | 
          Observation *  | 
          observation_p | ) | 
           | 
        
      
 
 
◆ GetIntegerObservationAsJSON()
◆ GetIntegerObservationFromJSON()
◆ SetIntegerObservationRawValueFromString()
      
        
          | bool SetIntegerObservationRawValueFromString  | 
          ( | 
          IntegerObservation *  | 
          observation_p,  | 
        
        
           | 
           | 
          const char *  | 
          value_s  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ SetIntegerObservationCorrectedValueFromString()
      
        
          | bool SetIntegerObservationCorrectedValueFromString  | 
          ( | 
          IntegerObservation *  | 
          observation_p,  | 
        
        
           | 
           | 
          const char *  | 
          value_s  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ SetIntegerObservationRawValueFromJSON()
      
        
          | bool SetIntegerObservationRawValueFromJSON  | 
          ( | 
          IntegerObservation *  | 
          observation_p,  | 
        
        
           | 
           | 
          const json_t *  | 
          value_p  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ SetIntegerObservationCorrectedValueFromJSON()
      
        
          | bool SetIntegerObservationCorrectedValueFromJSON  | 
          ( | 
          IntegerObservation *  | 
          observation_p,  | 
        
        
           | 
           | 
          const json_t *  | 
          value_p  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ AddIntegerObservationRawValueToJSON()
      
        
          | bool AddIntegerObservationRawValueToJSON  | 
          ( | 
          const IntegerObservation *  | 
          obs_p,  | 
        
        
           | 
           | 
          const char *  | 
          key_s,  | 
        
        
           | 
           | 
          json_t *  | 
          json_p,  | 
        
        
           | 
           | 
          const char *  | 
          null_sequence_s,  | 
        
        
           | 
           | 
          bool  | 
          only_if_exists_flag  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ AddIntegerObservationCorrectedValueToJSON()
      
        
          | bool AddIntegerObservationCorrectedValueToJSON  | 
          ( | 
          const IntegerObservation *  | 
          obs_p,  | 
        
        
           | 
           | 
          const char *  | 
          key_s,  | 
        
        
           | 
           | 
          json_t *  | 
          json_p,  | 
        
        
           | 
           | 
          const char *  | 
          null_sequence_s,  | 
        
        
           | 
           | 
          bool  | 
          only_if_exists_flag  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ AddIntegerObservationValuesToJSON()
      
        
          | bool AddIntegerObservationValuesToJSON  | 
          ( | 
          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  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ GetIntegerObservationRawValueAsString()
      
        
          | bool GetIntegerObservationRawValueAsString  | 
          ( | 
          IntegerObservation *  | 
          observation_p,  | 
        
        
           | 
           | 
          char **  | 
          value_ss,  | 
        
        
           | 
           | 
          bool *  | 
          free_flag_p  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ GetIntegerObservationCorrectedValueAsString()
      
        
          | bool GetIntegerObservationCorrectedValueAsString  | 
          ( | 
          IntegerObservation *  | 
          observation_p,  | 
        
        
           | 
           | 
          char **  | 
          value_ss,  | 
        
        
           | 
           | 
          bool *  | 
          free_flag_p  | 
        
        
           | 
          ) | 
           |  |