Units Class Reference
#include <units.h>
List of all members.
Detailed Description
Definition at line 27 of file units.h.
|
Static Public Member Functions |
static void | loadUnits () |
| Loads and parses the units.xml file (if found).
|
static std::string | formatCurrency (int value) |
| Formats the given number in the correct currency format.
|
static std::string | formatWeight (int value) |
| Formats the given number in the correct weight/mass format.
|
Member Function Documentation
void Units::loadUnits |
( |
|
) |
[static] |
Loads and parses the units.xml file (if found).
Definition at line 54 of file units.cpp.
std::string Units::formatCurrency |
( |
int |
value |
) |
[static] |
Formats the given number in the correct currency format.
Definition at line 226 of file units.cpp.
std::string Units::formatWeight |
( |
int |
value |
) |
[static] |
Formats the given number in the correct weight/mass format.
Definition at line 231 of file units.cpp.
The documentation for this class was generated from the following files: