]> git.mxchange.org Git - simgear.git/blobdiff - simgear/metar/MetarReport.h
SG_ namespace.
[simgear.git] / simgear / metar / MetarReport.h
index 36c53c4b3bb0aee2994a15b7e31a3c986c03c1ff..21715a37eaf936f2aa64f324ce148b9257118756 100644 (file)
@@ -7,12 +7,17 @@
 #ifndef _MetarReport_
 #define _MetarReport_
 
-#include <iostream>
-#include <string>
+#include <simgear/compiler.h>
+
+#include STL_IOSTREAM
+#include STL_STRING
 #include <vector>
+
 #include <simgear/math/point3d.hxx>
 #include <simgear/math/polar3d.hxx>
 
+SG_USING_STD(string);
+
 class CMetarReport
 {
        // Typedefs, enumerations
@@ -38,6 +43,10 @@ public:
 
        char *StationID();
 
+       int Day();    // The day of month on which the report was issued.
+       int Hour();   // The hour of the day the report was issued.
+       int Minutes();  //Minutes past the hour of the report issue time.
+
        // Directions in degrees
        // Speed in knots
        // Altitude in meters
@@ -93,7 +102,9 @@ public:
        int VariableSkyLayerHeight();
 
        int SnowDepthInches();
+
+       double AirPressure();  //Return the air pressure in InchesHg.
+       double PrevailVisibility(); // Prevailing Visibility in meters.
        void dump();
 
 private:
@@ -106,6 +117,6 @@ private:
                        // Assignment operator.  Not implemented.
 };
 
-std::ostream& operator << ( std::ostream&, CMetarReport& );
+ostream& operator << ( ostream&, CMetarReport& );
 
 #endif