OLFunctor Class Reference
[Function Objects]

A base class for function objects. More...

#import <ObjectiveLib/Functional.h>

Inheritance diagram for OLFunctor:

Inheritance graph
[legend]
List of all members.

Static Public Member Functions

(id) + functorOfType:
 Create and return an instance of a function object.

Detailed Description

A base class for function objects.

This class merely provides the service that will create and return an instance of a function object of a desired type.


Member Function Documentation

+ (id) functorOfType: (OLFunctorType type  

Create and return an instance of a function object.

All functors that are shipped with ObjectiveLib and that have initializers that take no arguments can be created with this message.

Note:
If OpenStep is present the returned object will be autoreleased before being returned.
Parameters:
type the type of functor to create
Returns:
a new instance of the function object of the given type


The documentation for this class was generated from the following file:
ObjectiveLibGenerated Sun Apr 22 15:18:31 2007, © 2004-2007 Will Mason
SourceForge.net Logo