/** \file Molecular data for a zone slice \author Tom Paul \version $Id: MolecularLayer.h 14717 2009-09-17 20:24:36Z lukas $ \date 04 Sep 2004 */ #ifndef _atm_MolecularLayer_h_ #define _atm_MolecularLayer_h_ static const char CVSId_atm_MolecularLayer[] = "$Id: MolecularLayer.h 14717 2009-09-17 20:24:36Z lukas $"; #include namespace atm { /** \class MolecularLayer \brief Molecular data for a zone slice \author Tom Paul \version $Id: MolecularLayer.h 14717 2009-09-17 20:24:36Z lukas $ \date 04 Sep 2004 \ingroup atm */ class MolecularLayer { private: MolecularLayer(const std::string& layerId); virtual ~MolecularLayer() { } public: /// Measured height pertaining to quantities in this slice double GetHeight() const; /// Error on height pertaining to quantities in this slice double GetHeightError() const; /// Depth of for this slice double GetDepth() const; /// Error on depth for this slice double GetDepthError() const; /// Pressure in the slice double GetPressure() const; /// Error on pressure in the slice double GetPressureError() const; /// Temperature in the slice double GetTemperature() const; /// Error on temperature in the slice double GetTemperatureError() const; /// Wind speed in the slice double GetWindSpeed() const; /// Error on wind speed in the slice double GetWindSpeedError() const; /// Humidity in the slice double GetHumidity() const; /// Error on humidity in the slice double GetHumidityError() const; /// Air density in the slice double GetAirDensity() const; /// Error on air density in the slice double GetAirDensityError() const; private: void GetLayerData() const; mutable bool fIsValid; mutable double fHeight; mutable double fHeightError; mutable double fDepth; mutable double fDepthError; mutable double fPressure; mutable double fPressureError; mutable double fTemperature; mutable double fTemperatureError; mutable double fWindSpeed; mutable double fWindSpeedError; mutable double fHumidity; mutable double fHumidityError; mutable double fAirDensity; mutable double fAirDensityError; std::string fLayerIdString; // identifies the primary key for this layer in molecular_layer table friend class MolecularZone; }; } #endif // Configure (x)emacs for this file ... // Local Variables: // mode: c++ // compile-command: "make -C .. -k" // End: