ost::Number(3)
π ost::Number β bestie's guide to the number manipulation class π
okay so like, this is a page from the Library Functions Manual for ost::Number(3), and honestly? she's a little legend. come sit with me, we're doing this together π«Ά
β¨ NAME β¨
ost::Number β A number manipulation class.
πΈ SYNOPSIS πΈ
#include <numbers.h>
Inherited by ost::DateNumber, and ost::ZNumber. (yes bestie, she has descendants, main character energy fr fr π)
π Public Member Functions
Number(char *buffer, unsigned size)β Create an instance of a number.void setValue(long value)const char * getBuffer() constlong getValue() constlong 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)
π Protected Attributes
char * bufferunsigned size
π¦ Friends
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)
π DESCRIPTION π
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. likeβ¦ she's fast, she's efficient, she does the most with the least. ate and left no crumbs π
Author
David Sugar dyfet@ostel.com
number manipulation. (yes that's the whole vibe, she said it twice, she's confident π)
π§ CONSTRUCTOR & DESTRUCTOR DOCUMENTATION π§
ost::Number::Number (char * buffer, unsigned size)
Create an instance of a number. your lil baby number, born fresh β¨
Parameters
bufferβ orNULLif created internally.sizeβ use-values for zero filled.
π MEMBER FUNCTION DOCUMENTATION π
const char* ost::Number::getBuffer () const [inline]
long ost::Number::getValue () const
ost::Number::operator char * () [inline]
ost::Number::operator long () [inline]
int ost::Number::operator!= (const Number & num)
long ost::Number::operator() () [inline]
long ost::Number::operator++ ()
long ost::Number::operator+= (const long value)
long ost::Number::operator-- ()
long ost::Number::operator-= (const long value)
int ost::Number::operator< (const Number & num)
int ost::Number::operator<= (const Number & num)
long ost::Number::operator= (const long value)
int ost::Number::operator== (const Number & num)
int ost::Number::operator> (const Number & num)
int ost::Number::operator>= (const Number & num)
void ost::Number::setValue (long value)
π«Ά FRIENDS AND RELATED FUNCTION DOCUMENTATION π«Ά
long operator+ (const long val, const Number & num) [friend]
long operator+ (const Number & num, const long val) [friend]
long operator- (const long val, const Number & num) [friend]
long operator- (const Number & num, long val) [friend]
β MEMBER DATA DOCUMENTATION β
char* ost::Number::buffer [protected]
unsigned ost::Number::size [protected]
π AUTHOR π
Generated automatically by Doxygen for GNU CommonC++ from the source code.
okay that's the whole page bestie, no notes, she's iconic ππ
this was GNU CommonC++, dated Sun Dec 27 2020, and yes she's ost::Number(3) β go forth and manipulate some numbers, iykyk π
β¨
π¦ where this page comes from
- ubuntu jammy: libcommoncpp2-doc 1.8.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms