UCommon
Namespaces | Typedefs | Functions | Variables
numbers.h File Reference

Support classes for manipulation of numbers as strings. More...

#include <ucommon/platform.h>
Include dependency graph for numbers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ucommon
 Common namespace for all ucommon objects.
 

Typedefs

typedef ZNumber ucommon::znumber_t
 A convenience type for znumber.
 

Functions

class ucommon::__attribute__ ((visibility("default"))) ExclusiveProtocol
 An exclusive locking protocol interface base. More...
 
template<typename T >
const T ucommon::abs (const T &value)
 Template for absolute value of a type. More...
 
template<typename T >
const T() ucommon::max (const T &v1, const T &v2)
 Template for max value of a type. More...
 
template<typename T >
const T() ucommon::min (const T &v1, const T &v2)
 Template for min value of a type. More...
 

Variables

class __attribute__((visibility("default"))) ZNumber typedef Number ucommon::number_t
 A number manipulation class that maintains a zero lead filled string. More...
 

Detailed Description

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.