Developer Documentation
|
Go to the source code of this file.
Functions | |
double | Utils::getDouble (QTextStream &_source) |
getDouble parses a QTextStream for a double. the double has to be the next word in the QTextStream. if parsing fails, the standard extraction is performed and returned. More... | |
float | Utils::getFloat (QTextStream &_source) |
getFloat parses a QTextStream for a float. the float has to be the next word in the QTextStream. if parsing fails, the standard extraction is performed and returned. More... | |
float | Utils::getFloat (std::istream &_source) |
getFloat parses a std::istream for a float. the float has to be the next word in the std::istream. if parsing fails, the standard extraction is performed and returned. More... | |
This file contains functions which can be used to parse numbers from streams. The algorithms are designed to parse Numbers very fast, however for numbers with scientific notation the performance may not improve. (e.g. parsing 123e10 will be slower with this algorithm)
Definition in file NumberParsing.hh.