#import <ObjectiveLib/Functional.h>
Inheritance diagram for OLStreamableFunctor:
Public Member Functions | |
(id) | - initWithObjectInStream: |
Initialize the object. | |
(void) | - writeSelfToStream: |
Write the object to a stream. |
This class merely provides the default implementation of the NSCoding
protocol for all function objects. Since most function objects don't have any instance variables the encode and decode methods of this class do all the work for the vast majority of function object classes. All function objects inherit from OLCodableFunctor.
- (id) initWithObjectInStream: | (OLObjectInStream *) | stream |
Initialize the object.
Each instance variable is read from stream and all other initialization is performed.
stream | the stream from which to read |
Reimplemented from < OLStreamable >.
Reimplemented in OLBinaryNegate, OLBinder1st, OLBinder2nd, OLBoolBinder1st, OLBoolBinder2nd, OLMemFun, OLMemFun1, and OLUnaryNegate.
- (void) writeSelfToStream: | (OLObjectOutStream *) | stream |
Write the object to a stream.
All instance variables are written to stream.
stream | the stream to which to write. |
Reimplemented from < OLStreamable >.
Reimplemented in OLBinaryNegate, OLBinder1st, OLBinder2nd, OLBoolBinder1st, OLBoolBinder2nd, OLMemFun, OLMemFun1, and OLUnaryNegate.
|