|
Objectively
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. | |
| bool | value |
| The backing bool. | |
Properties inherited from Object | |
| Class * | clazz |
| Every instance of Object begins with a pointer to its Class. | |
| unsigned int | magic |
| A header to allow introspection of Object types. | |
Methods | |
| Class * | boole (void) |
| The Boole archetype. | |
| Boole * | False (void) |
| Boole * | True (void) |
| Boole * | valueof (bool value) |
Methods inherited from Object | |
| Class * | _Object (void) |
| The Object archetype. | |
| Object * | copy (const Object *self) |
| Creates a shallow copy of this Object. | |
| void | dealloc (Object *self) |
| Frees all resources held by this Object. | |
| String * | description (const Object *self) |
| int | hash (const Object *self) |
| Object * | init (Object *self) |
| Initializes this Object. | |
| bool | isEqual (const Object *self, const Object *other) |
| Tests equality of the other Object. | |
| bool | isKindOfClass (const Object *self, const Class *clazz) |
| Tests for Class hierarchy membership. | |
Protected Attributes | |
| BooleInterface * | interface |
| The interface. | |
Protected Attributes inherited from Object | |
| ObjectInterface * | interface |
| The interface. | |
| Boole * False | ( | void | ) |
| Boole * True | ( | void | ) |
| Boole * valueof | ( | bool | value | ) |