UCommon
|
Support classes for manipulation of numbers as strings. More...
#include <ucommon/platform.h>
Go to the source code of this file.
Data Structures | |
class | ucommon::Number |
A number manipulation class. More... | |
class | ucommon::ZNumber |
A number manipulation class that maintains a zero lead filled string. More... | |
Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
Typedefs | |
typedef Number | ucommon::number_t |
A convenience type for number. | |
typedef ZNumber | ucommon::znumber_t |
A convenience type for znumber. | |
Functions | |
template<typename T > | |
const T | ucommon::abs (const T &value) |
Template for absolute value of a type. | |
template<typename T > | |
const T | ucommon::max (const T &v1, const T &v2) |
Template for max value of a type. | |
template<typename T > | |
const T | ucommon::min (const T &v1, const T &v2) |
Template for min value of a type. | |
Support classes for manipulation of numbers as strings.
This is used for things which parse numbers out of strings, such as in the date and time classes. Other useful math related functions, templates, and macros may also be found here.
Definition in file numbers.h.