casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | Static Public Attributes | List of all members
asdm::Double Class Reference

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

#include <DoubleWrapper.h>

Static Public Member Functions

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

Static Public Attributes

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

Detailed Description

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

Definition at line 37 of file DoubleWrapper.h.

Member Function Documentation

static double asdm::Double::parseDouble ( const std::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 std::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.

Referenced by asdm::Complex::toString().

Member Data Documentation

const double asdm::Double::MAX_VALUE
static

The maximum value for a double.

Definition at line 58 of file DoubleWrapper.h.

const double asdm::Double::MIN_VALUE
static

The minimum value for a double.

Definition at line 63 of file DoubleWrapper.h.


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