47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
@property (readonly, nonatomic) id nonretainedObjectValue;
/**
* @brief The value as a range.
*
* If the value is not range-sized, @ref OFOutOfRangeException is thrown.
*/
@property (readonly, nonatomic) of_range_t rangeValue;
/**
* @brief The value as a point.
*
* If the value is not point-sized, @ref OFOutOfRangeException is thrown.
*/
@property (readonly, nonatomic) of_point_t pointValue;
|
|
|
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
@property (readonly, nonatomic) id nonretainedObjectValue;
/**
* @brief The value as a range.
*
* If the value is not range-sized, @ref OFOutOfRangeException is thrown.
*/
@property (readonly, nonatomic) OFRange rangeValue;
/**
* @brief The value as a point.
*
* If the value is not point-sized, @ref OFOutOfRangeException is thrown.
*/
@property (readonly, nonatomic) of_point_t pointValue;
|
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
/**
* @brief Creates a new, autoreleased OFValue containing the specified range.
*
* @param range The range the OFValue should contain
* @return A new, autoreleased OFValue
*/
+ (instancetype)valueWithRange: (of_range_t)range;
/**
* @brief Creates a new, autoreleased OFValue containing the specified point.
*
* @param point The point the OFValue should contain
* @return A new, autoreleased OFValue
*/
|
|
|
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
/**
* @brief Creates a new, autoreleased OFValue containing the specified range.
*
* @param range The range the OFValue should contain
* @return A new, autoreleased OFValue
*/
+ (instancetype)valueWithRange: (OFRange)range;
/**
* @brief Creates a new, autoreleased OFValue containing the specified point.
*
* @param point The point the OFValue should contain
* @return A new, autoreleased OFValue
*/
|