< OLBoolBinaryFunction > Protocol Reference
[Function Objects]

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

#import <ObjectiveLib/Functional.h>

Inheritance diagram for < OLBoolBinaryFunction >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Detailed Description

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

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


Member Function Documentation

- (BOOL) performBinaryFunctionWithArg: (id)  arg1
andArg: (id)  arg2 

Perform the function of this function object.

The operation is performed on the two parameters and the result is returned.

Parameters:
arg1 the first argument
arg2 the second argument
Returns:
the result

Reimplemented in OLBinaryNegate, OLEqualTo, OLGreater, OLGreaterEqual, OLLess, OLLessEqual, OLLogicalAnd, OLLogicalOr, and OLNotEqualTo.


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