OLDivides Class Reference
[Function Objects]

A function object for performing division. More...

#import <ObjectiveLib/Functional.h>

Inheritance diagram for OLDivides:

Inheritance graph
[legend]
List of all members.

Public Member Functions

(id) - performBinaryFunctionWithArg:andArg:
 Divide arg1 by arg2 and return the result.

Detailed Description

A function object for performing division.

This function object divides a given value by another given value and returns the result.


Member Function Documentation

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

Divide arg1 by arg2 and return the result.

Precondition:
arg1 must respond to the message arithmeticDivideBy: found in the OLArithmetic protocol.
Parameters:
arg1 the value to divide
arg2 the value by which to divide
Returns:
the result of dividing arg1 by arg2

Reimplemented from < OLBinaryFunction >.


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