code::Constants Struct Reference

List of all members.

Detailed Description

A Class that serves as a namespace for named constants.

Author:
Thomas E. Vaughan (original)
Author
lakshman
Date
2009/06/02 20:17:38


Static Public Member Functions

static const Lengthearth_radius ()
static const LengthEarthRadius ()
 The mean equatorial radius of the earth.
static bool isGood (double val)
 Returns true if the value is not one of Missing, RangeFolded or DataUnavailable.
static bool isGood_approx (double val)
 A quick and dirty version of isGood.
static const AnglePi ()
 The angle corresponding to pi radians.

Static Public Attributes

static const int AVERAGE_MSG_SIZE
 The average size of an XML message to be put in a Linear Buffer.
static const SentinelDouble MISSING_DATA
 The value that is assigned to data that is missing.
static const SentinelDouble MissingData
 The value that is assigned to data that is missing.
static const SentinelDouble RANGE_FOLDED
 The value that is assigned to range-folded doppler velocity data regardless of the source of the data (hires/orpg/awips, etc.
static const SentinelDouble RangeFolded
 The value that is assigned to range-folded doppler velocity data regardless of the source of the data (hires/orpg/awips, etc.
static const SentinelDouble DataUnavailable
 Data not available.
static const double RAD_PER_DEGREE
 Radians per degree.
static const double RadiansPerDegree
 Radians per degree.
static const double DEGREE_PER_RAD
 Degrees per radian.
static const double DegreesPerRadian
 Degrees per radian.
static const time_t SecondsPerDay
 The number of seconds in one day.


Member Function Documentation

static const Length& code::Constants::earth_radius (  )  [static]

static const Length& code::Constants::EarthRadius (  )  [static]

The mean equatorial radius of the earth.

static bool code::Constants::isGood ( double  val  )  [inline, static]

Returns true if the value is not one of Missing, RangeFolded or DataUnavailable.

static bool code::Constants::isGood_approx ( double  val  )  [inline, static]

A quick and dirty version of isGood.

This won't work if you will have valid values below -99000

static const Angle& code::Constants::Pi (  )  [static]

The angle corresponding to pi radians.


Member Data Documentation

const int code::Constants::AVERAGE_MSG_SIZE [static]

The average size of an XML message to be put in a Linear Buffer.

The value 256 is the old avg size. The Virtual Vol product has increased this value to roughly 600.

const SentinelDouble code::Constants::DataUnavailable [static]

Data not available.

MissingData is typically used when data is available, but below threshold

const double code::Constants::DEGREE_PER_RAD [static]

Degrees per radian.

const double code::Constants::DegreesPerRadian [static]

Degrees per radian.

const SentinelDouble code::Constants::MISSING_DATA [static]

The value that is assigned to data that is missing.

const SentinelDouble code::Constants::MissingData [static]

The value that is assigned to data that is missing.

const double code::Constants::RAD_PER_DEGREE [static]

Radians per degree.

const double code::Constants::RadiansPerDegree [static]

Radians per degree.

const SentinelDouble code::Constants::RANGE_FOLDED [static]

The value that is assigned to range-folded doppler velocity data regardless of the source of the data (hires/orpg/awips, etc.

).

const SentinelDouble code::Constants::RangeFolded [static]

The value that is assigned to range-folded doppler velocity data regardless of the source of the data (hires/orpg/awips, etc.

).

const time_t code::Constants::SecondsPerDay [static]

The number of seconds in one day.


Generated on Fri May 4 13:40:12 2012 for WDSS-IIw2 by  doxygen 1.4.7