DOKK / manpages / debian 10 / libcommoncpp2-doc / ost_Number.3.en
ost::Number(3) Library Functions Manual ost::Number(3)

ost::Number - A number manipulation class.

#include <numbers.h>

Inherited by ost::DateNumber, and ost::ZNumber.


Number (char *buffer, unsigned size)
Create an instance of a number. void setValue (long value)
const char * getBuffer () const
long getValue () const
long operator() ()
operator long ()
operator char * ()
long operator= (const long value)
long operator+= (const long value)
long operator-= (const long value)
long operator-- ()
long operator++ ()
int operator== (const Number &num)
int operator!= (const Number &num)
int operator< (const Number &num)
int operator<= (const Number &num)
int operator> (const Number &num)
int operator>= (const Number &num)


char * buffer
unsigned size


long operator+ (const Number &num, const long val)
long operator+ (const long val, const Number &num)
long operator- (const Number &num, long val)
long operator- (const long val, const Number &num)

A number manipulation class.

This is used to extract, convert, and manage simple numbers that are represented in C ascii strings in a very quick and optimal way.

Author:

David Sugar dyfet@ostel.com number manipulation.

Create an instance of a number.

Parameters:

buffer or NULL if created internally.
size use - values for zero filled.

long ost::Number::operator-- ()

long ost::Number::operator-= (const long value)

long operator- (const Number & num, long val) [friend]

long operator- (const long val, const Number & num) [friend]

Generated automatically by Doxygen for GNU CommonC++ from the source code.

Wed Oct 31 2018 GNU CommonC++