22 OF_ASSUME_NONNULL_BEGIN
29 @interface OFTriple OF_GENERIC(FirstType, SecondType, ThirdType):
31 #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) 33 # define SecondType id 37 FirstType _Nullable _firstObject;
38 SecondType _Nullable _secondObject;
39 ThirdType _Nullable _thirdObject;
46 @property OF_NULLABLE_PROPERTY (readonly, nonatomic, retain)
47 FirstType firstObject;
52 @property OF_NULLABLE_PROPERTY (readonly, nonatomic, retain)
53 SecondType secondObject;
58 @property OF_NULLABLE_PROPERTY (readonly, nonatomic, retain)
59 ThirdType thirdObject;
69 + (instancetype)tripleWithFirstObject: (nullable FirstType)firstObject
70 secondObject: (nullable SecondType)secondObject
71 thirdObject: (nullable ThirdType)thirdObject;
81 - (instancetype)initWithFirstObject: (nullable FirstType)firstObject
82 secondObject: (nullable SecondType)secondObject
83 thirdObject: (nullable ThirdType)thirdObject
84 OF_DESIGNATED_INITIALIZER;
85 #if !defined(OF_HAVE_GENERICS) && !defined(DOXYGEN) 94 #import "OFMutableTriple.h" The root class for all other classes inside ObjFW.
Definition: OFObject.h:690
A class for storing a triple of three objects.
Definition: OFTriple.h:29
A protocol for the creation of mutable copies.
Definition: OFObject.h:1371
A protocol for the creation of copies.
Definition: OFObject.h:1350