ObjectiveLib  1.0.0
Public Member Functions
<OLUnaryFunction> Protocol Reference

A protocol defining the message for performing the operation of a unary function object. More...

#import <ObjectiveLib/Functional.h>

Inheritance diagram for <OLUnaryFunction>:
Inheritance graph
[legend]

List of all members.

Public Member Functions

(id) - performUnaryFunctionWithArg:
 Perform the function of this function object.

Detailed Description

A protocol defining the message for performing the operation of a unary function object.


Member Function Documentation

- (id) performUnaryFunctionWithArg: (id)  arg

Perform the function of this function object.

The operation is performed on the single parameter, a new object is allocated containing the result, and it is returned.

Parameters:
argthe argument to the function
Returns:
a new object containing the result

Reimplemented in OLNegate, OLMemFun, OLBinder2nd, and OLBinder1st.


The documentation for this protocol was generated from the following file:

ObjectiveLibGenerated Sat Feb 15 2014 07:45:35, © 2004-2007 Will Mason