ObjFW
Public Member Functions | Properties
<OFCollection> Protocol Reference

A protocol with methods common for all collections. More...

#include <OFCollection.h>

Inheritance diagram for <OFCollection>:
<OFObject> OFArray OFDictionary OFList OFMutableArray OFMutableDictionary

List of all members.

Public Member Functions

size_t count ()
OFEnumeratorobjectEnumerator ()
BOOL containsObject: (id obj)
BOOL containsObjectIdenticalTo: (id obj)

Properties

size_t count

Detailed Description

A protocol with methods common for all collections.


Member Function Documentation

BOOL OFCollection-p::containsObject: ( id  obj) [virtual]
Returns:
A boolean whether the collection contains the specified object.
BOOL OFCollection-p::containsObjectIdenticalTo: ( id  obj) [virtual]
Returns:
A boolean whether the collection contains an object with the specified address.
size_t OFCollection-p::count ( ) [virtual]
Returns:
The number of objects in the collection
OFEnumerator* OFCollection-p::objectEnumerator ( ) [virtual]
Returns:
An OFEnumerator to enumerate through all objects of the collection

The documentation for this protocol was generated from the following file:
 All Classes Functions Variables