71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
*
* @brief A class for describing a property.
*/
@interface OFProperty: OFObject
{
OFString *_name;
unsigned int _attributes;
OFString *_Nullable _getter, *_Nullable _setter;
}
/*!
* @brief The name of the property.
*/
@property (readonly, nonatomic) OFString *name;
|
|
|
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
*
* @brief A class for describing a property.
*/
@interface OFProperty: OFObject
{
OFString *_name;
unsigned int _attributes;
OFString *_Nullable _getter, *_Nullable _setter, *_Nullable iVar;
}
/*!
* @brief The name of the property.
*/
@property (readonly, nonatomic) OFString *name;
|
108
109
110
111
112
113
114
115
116
117
118
119
120
121
|
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *getter;
/*!
* @brief The name of the setter.
*/
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *setter;
- (instancetype)init OF_UNAVAILABLE;
@end
/*!
* @class OFInstanceVariable OFIntrospection.h ObjFW/OFIntrospection.h
*
* @brief A class for describing an instance variable.
|
>
>
>
>
>
|
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *getter;
/*!
* @brief The name of the setter.
*/
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *setter;
/*!
* @brief The name of the backing iVar.
*/
@property OF_NULLABLE_PROPERTY (readonly, nonatomic) OFString *iVar;
- (instancetype)init OF_UNAVAILABLE;
@end
/*!
* @class OFInstanceVariable OFIntrospection.h ObjFW/OFIntrospection.h
*
* @brief A class for describing an instance variable.
|