asdm::Double Class Reference

#include <Double.h>

List of all members.


Detailed Description

A collection of static methods to perform conversions between strings and double values.


Static Public Member Functions

double parseDouble (const string &s) throw (NumberFormatException)
string toString (double d)

Static Public Attributes

const double MAX_VALUE
const double MIN_VALUE


Member Function Documentation

double asdm::Double::parseDouble const string &  s  )  throw (NumberFormatException) [static]
 

Parse a string supposed to represent a double value and returns this value.

Parameters:
s the string to parse
Returns:
a double.
Exceptions:
NumberFormatException. 

string asdm::Double::toString double  d  )  [static]
 

Encode a double value into its string representation.

Parameters:
d the double value to be encoded.
Returns:
the string representing the double value passed as parameter.


Member Data Documentation

const double asdm::Double::MAX_VALUE [static]
 

The maximum value for a double.

const double asdm::Double::MIN_VALUE [static]
 

The minimum value for a double.


The documentation for this class was generated from the following file:
Generated on Tue Nov 18 17:43:45 2008 for ASDM C++ Implementation by doxygen 1.3.8