19 OF_ASSUME_NONNULL_BEGIN
23 @class OFArray OF_GENERIC(ObjectType);
28 OF_PROPERTY_READONLY = 0x01,
29 OF_PROPERTY_ASSIGN = 0x04,
30 OF_PROPERTY_READWRITE = 0x08,
31 OF_PROPERTY_RETAIN = 0x10,
32 OF_PROPERTY_COPY = 0x20,
33 OF_PROPERTY_NONATOMIC = 0x40,
34 OF_PROPERTY_SYNTHESIZED = 0x100,
35 OF_PROPERTY_DYNAMIC = 0x200,
36 OF_PROPERTY_ATOMIC = 0x400,
37 OF_PROPERTY_WEAK = 0x800
49 const char *_typeEncoding;
52 #ifdef OF_HAVE_PROPERTIES
53 @property (readonly)
SEL selector;
54 @property (readonly, copy)
OFString *name;
55 @property OF_NULLABLE_PROPERTY (assign, readonly) const
char *typeEncoding;
77 - (nullable const char*)typeEncoding;
92 #ifdef OF_HAVE_PROPERTIES
93 @property (readonly, copy)
OFString *name;
94 @property (readonly)
unsigned attributes;
95 @property OF_NULLABLE_PROPERTY (copy, readonly)
OFString *getter, *setter;
124 - (unsigned)attributes;
149 const char *_typeEncoding;
153 #ifdef OF_HAVE_PROPERTIES
154 @property (readonly, copy)
OFString *name;
155 @property (readonly) ptrdiff_t offset;
156 @property OF_NULLABLE_PROPERTY (assign, readonly) const
char *typeEncoding;
178 - (nullable const char*)typeEncoding;
194 #ifdef OF_HAVE_PROPERTIES
195 @property (readonly, copy)
OFArray OF_GENERIC(
OFMethod*) *classMethods;
196 @property (readonly, copy)
OFArray OF_GENERIC(
OFMethod*) *instanceMethods;
198 @property (readonly, copy)
207 + (instancetype)introspectionWithClass: (Class)class_;
215 - initWithClass: (Class)class_;
265 OF_ASSUME_NONNULL_END
An abstract class for storing objects in an array.
Definition: OFArray.h:95
The root class for all other classes inside ObjFW.
Definition: OFObject.h:364
A class for describing a method.
Definition: OFIntrospection.h:45
A class for introspecting classes.
Definition: OFIntrospection.h:186
An abstract class for storing, adding and removing objects in an array.
Definition: OFMutableArray.h:46
A class for describing an instance variable.
Definition: OFIntrospection.h:146
A class for handling strings.
Definition: OFString.h:91
A class for describing a property.
Definition: OFIntrospection.h:85