picofuse-objc

Object.h
Go to the documentation of this file.
1 
8 #pragma once
9 
20 @interface Object <ObjectProtocol> {
30 }
31 
43 + (void)initialize;
44 
52 - (id)init;
53 
58 - (Class)class;
59 
64 + (Class)class;
65 
70 - (Class)superclass;
71 
76 + (Class)superclass;
77 
82 + (const char *)name;
83 
92 - (BOOL)isEqual:(id)anObject;
93 
101 - (BOOL)isKindOfClass:(Class)cls;
102 
113 + (BOOL)conformsTo:(Protocol *)aProtocolObject;
114 
125 - (BOOL)conformsTo:(Protocol *)aProtocolObject;
126 
127 @end
#define OBJC_ROOT_CLASS
A macro to declare a class as a root class.
Definition: runtime.h:83
Protocol for objects.
Class class()
Returns the class of the instance.
id init()
Initialize the instance, after allocation.
bool BOOL
A Boolean value.
Definition: runtime.h:60
Class superclass()
Returns the superclass of the instance.
The root class of all Objective-C classes.
Definition: Object.h:20
const char * name()
Returns the name of the class.
struct objc_class * Class
A pointer to a class definition.
Definition: runtime.h:28
void initialize()
Performs one-time initialization for the class.
Class isa
A pointer to the object&#39;s class structure.
Definition: Object.h:29
struct objc_object * id
A pointer to an instance of a class.
Definition: runtime.h:18
Protocol class definition.
Definition: Protocol.h:15