ObjectiveLib  1.0.0
Public Member Functions
<OLBoolBinaryFunction> Protocol Reference

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:
arg1the first argument
arg2the second argument
Returns:
the result

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


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

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