This class contains all general & stateless utilities. More...
#include <Util.h>
Static Public Member Functions | |
| static QString | formattedDistance (double d) |
| Format a distance to be printed. | |
| static bool | cmp (double a, double b) |
| Compare two doubles. | |
| static QByteArray | randomKey (int size) |
| Get a random key of length size. | |
This class contains all general & stateless utilities.
| bool Util::cmp | ( | double | a, | |
| double | b | |||
| ) | [static] |
Compare two doubles.
| a | the first double | |
| b | the other double |
| QString Util::formattedDistance | ( | double | dist | ) | [static] |
Format a distance to be printed.
| QByteArray Util::randomKey | ( | int | size | ) | [static] |
Get a random key of length size.
| size | is the size of the Key, typically 128 |
1.6.3