Objectively 1.0.0
Ultra-lightweight object oriented framework for GNU C.
|
#include <Boole.h>
A wrapper for placing boolean primitives into collections, etc.
Properties | |
Object | object |
The superclass. More... | |
_Bool | value |
The backing _Bool. More... | |
![]() | |
Class * | clazz |
Every instance of Object begins with a pointer to its Class. More... | |
Methods | |
Class * | _Boole (void) |
The Boole archetype. More... | |
Boole * | False (void) |
Boole * | True (void) |
Boole * | valueof (_Bool value) |
![]() | |
Class * | _Object (void) |
The Object archetype. More... | |
Object * | copy (const Object *self) |
Creates a shallow copy of this Object. More... | |
void | dealloc (Object *self) |
Frees all resources held by this Object. More... | |
String * | description (const Object *self) |
int | hash (const Object *self) |
Object * | init (Object *self) |
Initializes this Object. More... | |
_Bool | isEqual (const Object *self, const Object *other) |
Tests equality of the other Object. More... | |
_Bool | isKindOfClass (const Object *self, const Class *clazz) |
Tests for Class hierarchy membership. More... | |
Protected Attributes | |
BooleInterface * | interface |
The interface. More... | |
![]() | |
ObjectInterface * | interface |
The interface. More... | |
Class * _Boole | ( | void | ) |
The Boole archetype.
Definition at line 125 of file Boole.c.
Boole * False | ( | void | ) |
Boole * True | ( | void | ) |
Boole * valueof | ( | _Bool | value | ) |