ost::Number(3)

πŸ“¦ version 1.8.1, in ubuntu jammy

πŸ’– 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 () 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)

πŸŽ€ Protected Attributes

  • char * buffer
  • unsigned 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 β€” or NULL if 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)


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