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::Float Class Reference

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

#include <FloatWrapper.h>

Static Public Member Functions

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

Static Public Attributes

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

Detailed Description

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

Definition at line 37 of file FloatWrapper.h.

Member Function Documentation

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

Encode a float value into its string representation.

Parameters
dthe 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.

Definition at line 58 of file FloatWrapper.h.

const float asdm::Float::MIN_VALUE
static

The minimum value for a float.

Definition at line 63 of file FloatWrapper.h.


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