Mana
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
Units Class Reference

#include <units.h>

Static Public Member Functions

static void init ()
 
static void readUnitNode (XML::Node node, const std::string &filename)
 
static void checkStatus ()
 
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.
 

Detailed Description

Definition at line 27 of file units.h.

Member Function Documentation

◆ checkStatus()

void Units::checkStatus ( )
static

Definition at line 146 of file units.cpp.

◆ formatCurrency()

std::string Units::formatCurrency ( int  value)
static

Formats the given number in the correct currency format.

Definition at line 216 of file units.cpp.

◆ formatWeight()

std::string Units::formatWeight ( int  value)
static

Formats the given number in the correct weight/mass format.

Definition at line 221 of file units.cpp.

◆ init()

void Units::init ( )
static

Definition at line 53 of file units.cpp.

◆ readUnitNode()

void Units::readUnitNode ( XML::Node  node,
const std::string &  filename 
)
static

Definition at line 95 of file units.cpp.


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