8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
* Q Public License 1.0, which can be found in the file LICENSE included in
* the packaging of this file.
*/
#import "OFObject.h"
/**
* A struct that contains a pointer to the next list object, the previous list
* object and the object.
*/
typedef struct __of_list_object {
/// A pointer to the next list object in the list
struct __of_list_object *next;
/// A pointer to the previous list object in the list
struct __of_list_object *prev;
/// The object for the list object
id object;
} of_list_object_t;
/**
* The OFList class provides easy to use double-linked lists.
*/
@interface OFList: OFObject <OFCopying>
{
of_list_object_t *first;
of_list_object_t *last;
size_t count;
}
|
>
>
|
|
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
* Q Public License 1.0, which can be found in the file LICENSE included in
* the packaging of this file.
*/
#import "OFObject.h"
/**
* \brief A list object.
*
* A struct that contains a pointer to the next list object, the previous list
* object and the object.
*/
typedef struct __of_list_object {
/// A pointer to the next list object in the list
struct __of_list_object *next;
/// A pointer to the previous list object in the list
struct __of_list_object *prev;
/// The object for the list object
id object;
} of_list_object_t;
/**
* \brief A class which provides easy to use double-linked lists.
*/
@interface OFList: OFObject <OFCopying>
{
of_list_object_t *first;
of_list_object_t *last;
size_t count;
}
|