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

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

Static Public Attributes

const float MAX_VALUE
const float MIN_VALUE


Member Function Documentation

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. 

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 Tue Nov 18 17:43:45 2008 for ASDM C++ Implementation by doxygen 1.3.8