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

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

Static Public Attributes

static const double MAX_VALUE
static const double MIN_VALUE


Member Function Documentation

static 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. 

static 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 Thu Nov 29 16:46:49 2007 for ASDM C++ Implementation by  doxygen 1.5.1