ObjFW
Loading...
Searching...
No Matches
OFList.h File Reference
import "OFObject.h"
import "OFCollection.h"
import "OFEnumerator.h"

Go to the source code of this file.

Classes

class  OFList
 A class which provides easy to use double-linked lists. More...
 

Functions

OFListItem OFListItemNext (OFListItem listItem)
 Returns the next list item of the list item.
 
OFListItem OFListItemPrevious (OFListItem listItem)
 Returns the previous list item of the list item.
 
id OFListItemObject (OFListItem listItem)
 Returns the object of the list item.
 

Function Documentation

◆ OFListItemNext()

OFListItem OFListItemNext ( OFListItem listItem)
extern

Returns the next list item of the list item.

Parameters
listItemThe list item for which the next list item should be returned
Returns
The next list item of the list item

◆ OFListItemObject()

id OFListItemObject ( OFListItem listItem)
extern

Returns the object of the list item.

Warning
The returned object is not retained and autoreleased - this is the caller's responsibility!
Parameters
listItemThe list item for which the object should be returned
Returns
The object of the list item

◆ OFListItemPrevious()

OFListItem OFListItemPrevious ( OFListItem listItem)
extern

Returns the previous list item of the list item.

Parameters
listItemThe list item for which the previous list item should be returned
Returns
The previous list item of the list item