casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions | Static Public Attributes
asdm::Double Class Reference

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

#include <DoubleWrapper.h>

List of all members.

Static Public Member Functions

static double parseDouble (const string &s) throw (NumberFormatException)
 Parse a string supposed to represent a double value and returns this value.
static string toString (double d)
 Encode a double value into its string representation.
static double parseDouble (const string &s) throw (NumberFormatException)
 Parse a string supposed to represent a double value and returns this value.
static string toString (double d)
 Encode a double value into its string representation.

Static Public Attributes

static const double MAX_VALUE
 The maximum value for a double.
static const double MIN_VALUE
 The minimum value for a double.

Detailed Description

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

Definition at line 39 of file DoubleWrapper.h.


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:
sthe string to parse
Returns:
a double.
Exceptions:
NumberFormatException.
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:
sthe 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:
dthe double value to be encoded.
Returns:
the string representing the double value passed as parameter.
static string asdm::Double::toString ( double  d) [static]

Encode a double value into its string representation.

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

Member Data Documentation

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

The maximum value for a double.

Definition at line 60 of file DoubleWrapper.h.

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

The minimum value for a double.

Definition at line 65 of file DoubleWrapper.h.


The documentation for this class was generated from the following files: