ObjectiveLib  1.0.0
Public Member Functions
OLMinus Class Reference

A function object that subtracts the value of one object from the value of another. More...

#import <ObjectiveLib/Functional.h>

Inheritance diagram for OLMinus:
Inheritance graph
[legend]

List of all members.

Public Member Functions

(id) - performBinaryFunctionWithArg:andArg:
 Subtract the value of arg2 from the value of arg1.

Detailed Description

A function object that subtracts the value of one object from the value of another.


Member Function Documentation

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

Subtract the value of arg2 from the value of arg1.

Precondition:
arg1 must respond to the message arithmeticSubtract: found in the OLArithmetic protocol.
Parameters:
arg1the value from which to subtract
arg2the value to subtract
Returns:
the result of subtraction

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