OLMultiplies Class Reference
[Function Objects]

A function object that multiplies the value of one object by the value of another. More...

#import <ObjectiveLib/Functional.h>

Inheritance diagram for OLMultiplies:

Inheritance graph
[legend]
List of all members.

Public Member Functions

(id) - performBinaryFunctionWithArg:andArg:
 Multiply the value of arg1 by the value of arg2.

Detailed Description

A function object that multiplies the value of one object by the value of another.


Member Function Documentation

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

Multiply the value of arg1 by the value of arg2.

Precondition:
arg1 must respond to the message arithmeticMultiply: found in the OLArithmetic protocol.
Parameters:
arg1 the first value
arg2 the second value
Returns:
the result of multiplication

Reimplemented from < OLBinaryFunction >.


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