asdm::Float Class Reference

#include <Float.h>

List of all members.


Detailed Description

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


Static Public Member Functions

static float parseFloat (const string &s) throw (NumberFormatException)
static string toString (float)

Static Public Attributes

static const float MAX_VALUE
static const float MIN_VALUE


Member Function Documentation

static float asdm::Float::parseFloat ( 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 float.
Exceptions:
NumberFormatException. 

static string asdm::Float::toString ( float   )  [static]

Encode a float value into its string representation.

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


Member Data Documentation

const float asdm::Float::MAX_VALUE [static]

The maximum value for a float.

const float asdm::Float::MIN_VALUE [static]

The minimum value for a float.


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 16:46:50 2007 for ASDM C++ Implementation by  doxygen 1.5.1