Main Page | Modules | Class Hierarchy | Class List | File List | Class Members

util::StringFactory Class Reference

This class returns a number in the requested type. More...

#include <stringfac.h>

List of all members.

Static Public Member Functions

Static Protected Member Functions

Static Protected Attributes


Detailed Description

This class returns a number in the requested type.

In case of string output this is a right adjusted string of selected length and (if possible) precision. The string is filled with leading blanks to match width.


Member Function Documentation

double util::StringFactory::toDouble string  xs  )  [static]
 

Convert xs to double number.

dd:mm:ss[.sss] strings are automatically recognized.

float util::StringFactory::toFloat const string &  xs  )  [inline, static]
 

Convert xs to float number.

dd:mm:ss[.sss] strings are automatically recognized.

string util::StringFactory::toMinSecString const double  xd,
const int  precision = 0
[static]
 

Return xd in dd:mm:ss[.sss] format.

Precision gives No second decimals.


The documentation for this class was generated from the following file:
Generated on Fri Dec 24 13:32:06 2004 for LTL by doxygen 1.3.4