< OLBoolUnaryFunction > Protocol Reference
[Function Objects]

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

#import <ObjectiveLib/Functional.h>

Inheritance diagram for < OLBoolUnaryFunction >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

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

This is a specialized form of OLUnaryFunction that returns the result as a boolean value instead of an allocated object.


Member Function Documentation

- (BOOL) performUnaryFunctionWithArg: (id)  arg  

Perform the function of this function object.

The operation is performed on the single parameter and the result is returned.

Parameters:
arg the argument to the function
Returns:
the result

Reimplemented in OLBoolBinder1st, OLBoolBinder2nd, OLLogicalNot, and OLUnaryNegate.


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