WxObservation Struct Reference

#include <WxObsMap.hpp>

Collaboration diagram for WxObservation:

Collaboration graph
[legend]
List of all members.

Detailed Description

A Single Weather Observation.

Definition at line 56 of file WxObsMap.hpp.

Public Types

enum  EWxSrc { noWx, defWx, obsWx }
 An enumeration of the various weather sources. More...

Public Member Functions

 WxObservation () throw ()
 Default Constructor.
 WxObservation (const DayTime &t, float temp, float pres, float humid) throw ()
 Constructor.
bool isAllValid () const throw ()
 Return whether all weather values in this object are valid.

Public Attributes

DayTime t
 Time that this data was collected, in Rx GPS time.
float temperature
 degrees Centigrade
float pressure
 millibars
float humidity
 percent

Friends

std::ostream & operator<< (std::ostream &s, const WxObservation &obs) throw ()
 Friendly Output Operator.


Member Enumeration Documentation

enum EWxSrc
 

An enumeration of the various weather sources.

Enumeration values:
noWx  No weather measurements were available.
defWx  Default weather was used.
obsWx  The Observed Weather was used.

Definition at line 88 of file WxObsMap.hpp.


Constructor & Destructor Documentation

WxObservation  )  throw () [inline]
 

Default Constructor.

Definition at line 59 of file WxObsMap.hpp.

WxObservation const DayTime t,
float  temp,
float  pres,
float  humid
throw () [inline]
 

Constructor.

Parameters:
t the time of the observation
temp the recorded temperature (deg. Centigrade)
pres the recorded pressure (millibars)
humid the recorded relative humidity ()

Definition at line 70 of file WxObsMap.hpp.


Member Function Documentation

bool isAllValid  )  const throw ()
 

Return whether all weather values in this object are valid.

Returns:
whether all weather values in this object are valid

Definition at line 74 of file WxObsMap.cpp.

References WxObservation::noWx.


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  s,
const WxObservation obs
throw () [friend]
 

Friendly Output Operator.

Parameters:
s the output stream to which data is sent
obs the WxObservation from which the data comes
Returns:
a reference to the modified ostream

Definition at line 232 of file WxObsMap.cpp.


Member Data Documentation

float humidity
 

percent

Definition at line 85 of file WxObsMap.hpp.

Referenced by WxObsData::getWxObservation(), and gpstk::makeWxObs().

float pressure
 

millibars

Definition at line 84 of file WxObsMap.hpp.

Referenced by WxObsData::getWxObservation(), and gpstk::makeWxObs().

DayTime t
 

Time that this data was collected, in Rx GPS time.

Definition at line 82 of file WxObsMap.hpp.

Referenced by WxObsData::getWxObservation(), gpstk::makeWxObs(), and gpstk::operator<<().

float temperature
 

degrees Centigrade

Definition at line 83 of file WxObsMap.hpp.

Referenced by WxObsData::getWxObservation(), and gpstk::makeWxObs().


The documentation for this struct was generated from the following files:
Generated on Tue Jan 6 03:32:02 2009 for GPS ToolKit Software Library by  doxygen 1.3.9.1