ObjectiveLib  1.0.0
Public Member Functions
OLPlus Class Reference

A function object for adding the values of two objects. More...

#import <ObjectiveLib/Functional.h>

Inheritance diagram for OLPlus:
Inheritance graph
[legend]

List of all members.

Public Member Functions

(id) - performBinaryFunctionWithArg:andArg:
 Add the value of arg2 to the value of arg1.

Detailed Description

A function object for adding the values of two objects.


Member Function Documentation

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

Add the value of arg2 to the value of arg1.

Precondition:
arg1 must respond to the message arithmeticAdd: found in the OLArithmetic protocol.
Parameters:
arg1the first value
arg2the second value
Returns:
the result of addition

Reimplemented from <OLBinaryFunction>.


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

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