30 #ifndef AMATH_NUMERAL_H 31 #define AMATH_NUMERAL_H 54 virtual const char*
GetName() = 0;
57 virtual void SetDigits(
unsigned int digits) = 0;
61 virtual Number*
Parse(
const char* text,
unsigned int* length,
char** end) = 0;
virtual void SetDigits(unsigned int digits)=0
virtual const char * GetText(Number *number)=0
virtual Number * Parse(const char *text, unsigned int *length, char **end)=0
virtual const char * GetPrefix()=0
virtual Number * Parse(const char *text)
virtual const char * GetName()=0
virtual unsigned int GetDigits()=0
Base class for all numeral systems.
Encapsulate an character array which can be used as a string.
virtual const char GetFractionPoint()=0
virtual void SetFractionPoint(const char fractionPoint)=0