OFList Class Reference
A class which provides easy to use double-linked lists.
More...
#import <OFList.h>
List of all members.
Detailed Description
A class which provides easy to use double-linked lists.
Member Function Documentation
Appends an object to the list.
- Parameters:
-
- Returns:
- An of_list_object_t, needed to identify the object inside the list. For example, if you want to remove an object from the list, you need its of_list_object_t.
- Returns:
- The number of items in the list.
- Returns:
- The first list object in the list
Inserts an object after another object.
- Parameters:
-
| obj | The object to insert |
| listobj | The of_list_object_t of the object after which it should be inserted |
- Returns:
- An of_list_object_t, needed to identify the object inside the list. For example, if you want to remove an object from the list, you need its of_list_object_t.
Inserts an object before another object.
- Parameters:
-
| obj | The object to insert |
| listobj | The of_list_object_t of the object before which it should be inserted |
- Returns:
- An of_list_object_t, needed to identify the object inside the list. For example, if you want to remove an object from the list, you need its of_list_object_t.
- Returns:
- The last list object in the list
- Returns:
- A new autoreleased OFList
Prepends an object to the list.
- Parameters:
-
| obj | The object to prepend |
- Returns:
- An of_list_object_t, needed to identify the object inside the list. For example, if you want to remove an object from the list, you need its of_list_object_t.
Removes the object with the specified list object from the list.
- Parameters:
-
| listobj | The list object returned by append / prepend |
The documentation for this class was generated from the following files: