OLLogicalNot Class Reference
[Function Objects]

A function object is true only if its argument is false. More...

#import <ObjectiveLib/Functional.h>

Inheritance diagram for OLLogicalNot:

Inheritance graph
[legend]
List of all members.

Public Member Functions

(BOOL) - performUnaryFunctionWithArg:
 Test arg and return YES only if arg is false.

Detailed Description

A function object is true only if its argument is false.

The given argument must be convertible to a boolean value, meaning that it must respond to the message boolValue.


Member Function Documentation

- (BOOL) performUnaryFunctionWithArg: (id)  arg  

Test arg and return YES only if arg is false.

Precondition:
arg must respond to the message boolValue.
Parameters:
arg the argument to test
Returns:
YES if arg is false, NO otherwise

Reimplemented from < OLBoolUnaryFunction >.


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