MolecularLayer.h
Go to the documentation of this file.
1 
9 #ifndef _atm_MolecularLayer_h_
10 #define _atm_MolecularLayer_h_
11 
12 
13 #include <string>
14 
15 
16 namespace atm {
17 
28 
29  private:
30  MolecularLayer(const std::string& layerId);
31  virtual ~MolecularLayer() { }
32 
33  public:
35  double GetHeight() const;
36 
38  double GetHeightError() const;
39 
41  double GetDepth() const;
42 
44  double GetDepthError() const;
45 
47  double GetPressure() const;
48 
50  double GetPressureError() const;
51 
53  double GetTemperature() const;
54 
56  double GetTemperatureError() const;
57 
59  double GetWindSpeed() const;
60 
62  double GetWindSpeedError() const;
63 
65  double GetHumidity() const;
66 
68  double GetHumidityError() const;
69 
71  double GetAirDensity() const;
72 
74  double GetAirDensityError() const;
75 
76  private:
77  void GetLayerData() const;
78 
79  mutable bool fIsValid;
80 
81  mutable double fHeight;
82  mutable double fHeightError;
83  mutable double fDepth;
84  mutable double fDepthError;
85  mutable double fPressure;
86  mutable double fPressureError;
87  mutable double fTemperature;
88  mutable double fTemperatureError;
89  mutable double fWindSpeed;
90  mutable double fWindSpeedError;
91  mutable double fHumidity;
92  mutable double fHumidityError;
93  mutable double fAirDensity;
94  mutable double fAirDensityError;
95 
96  std::string fLayerIdString; // identifies the primary key for this layer in molecular_layer table
97 
98  friend class MolecularZone;
99 
100  };
101 
102 }
103 
104 
105 #endif
106 
107 // Configure (x)emacs for this file ...
108 // Local Variables:
109 // mode: c++
110 // compile-command: "make -C .. -k"
111 // End:
double GetPressureError() const
Error on pressure in the slice.
double GetHeightError() const
Error on height pertaining to quantities in this slice.
double GetTemperature() const
Temperature in the slice.
double GetAirDensity() const
Air density in the slice.
double GetHumidity() const
Humidity in the slice.
std::string fLayerIdString
double GetDepth() const
Depth of for this slice.
MolecularLayer(const std::string &layerId)
double GetAirDensityError() const
Error on air density in the slice.
double GetWindSpeedError() const
Error on wind speed in the slice.
class describing a molecular zone.
Definition: MolecularZone.h:33
double GetPressure() const
Pressure in the slice.
double GetWindSpeed() const
Wind speed in the slice.
double GetDepthError() const
Error on depth for this slice.
virtual ~MolecularLayer()
double GetHeight() const
Measured height pertaining to quantities in this slice.
double GetTemperatureError() const
Error on temperature in the slice.
double GetHumidityError() const
Error on humidity in the slice.
void GetLayerData() const
Molecular data for a zone slice.

, generated on Tue Sep 26 2023.