34typedef struct NumberInterface NumberInterface;
63struct NumberInterface {
68 ObjectInterface objectInterface;
76 bool (*boolValue)(
const Number *self);
84 char (*charValue)(
const Number *self);
102 double (*doubleValue)(
const Number *self);
110 float (*floatValue)(
const Number *self);
128 int (*intValue)(
const Number *self);
136 long (*longValue)(
const Number *self);
146 Number *(*numberWithValue)(
double value);
154 short (*shortValue)(
const Number *self);
OBJECTIVELY_EXPORT Class * _Number(void)
Object is the root Class of The Objectively Class hierarchy.
#define OBJECTIVELY_EXPORT
Order
Comparison constants.
The runtime representation of a Class.
A wrapper for placing numeric primitives into collections, etc.
NumberInterface * interface
The interface.
double value
The backing value.
Object object
The superclass.
Object is the root Class of The Objectively Class hierarchy.