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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
#import "OFObject.h"
/**
* The OFListObject class is a class for objects to be stored in an OFObject.
*/
@interface OFListObject: OFObject
{
void *data;
OFListObject *next;
OFListObject *prev;
}
/**
* \param The data the OFListObject should contain
* \return A new OFListObject.
*/
+ newWithData: (void*)ptr;
/**
* Initializes an already allocated OFListObjeect.
*
* \param The data the OFListObject should contain
* \return An initialized OFListObject.
*/
- initWithData: (void*)ptr;
/**
* Free the OFListObject and the data it contains.
*/
- freeIncludingData;
/**
* \return The data included in the OFListObject
*/
- (void*)data;
/**
* \return The next OFListObject in the OFList
*/
- (OFListObject*)next;
/**
|
|
|
|
|
|
|
|
|
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
#import "OFObject.h"
/**
* The OFListObject class is a class for objects to be stored in an OFObject.
*/
@interface OFListObject: OFObject
{
id data;
OFListObject *next;
OFListObject *prev;
}
/**
* \param obj The data object the OFListObject should contain
* \return A new OFListObject.
*/
+ newWithData: (id)obj;
/**
* Initializes an already allocated OFListObjeect.
*
* \param obj The data object the OFListObject should contain
* \return An initialized OFListObject.
*/
- initWithData: (id)obj;
/**
* Free the OFListObject and the data it contains.
*/
- freeIncludingData;
/**
* \return The data object included in the OFListObject
*/
- (id)data;
/**
* \return The next OFListObject in the OFList
*/
- (OFListObject*)next;
/**
|