|
Samond Classes Library 1.1.6-RELEASE build 132
|
Streams support protocol. More...
#import <SCStreamProtocol.h>
Public Member Functions | |
| (id) | - initWithStream: |
| (id) | - initWithFileStream: |
| (void) | - writeToStream: |
| (void) | - writeToFileStream: |
| (void) | - appendToFileStream: |
Streams support protocol.
Protocol declares methods for communicating with streams hierarchy of class SCStream
Protocol was introduced in version 1.1.3.
| - (void) appendToFileStream: | (NSString *) | path |
Appends the receiver's class instance to the new or existing stream file with the specified path.
| path | - stream file path |
| SCStreamException | - stream operation error detected |
Reimplemented in SCObject.
| - (id) initWithFileStream: | (NSString *) | path |
Initializes class instance from the stream file with the specified path.
| path | - stream file path |
| SCStreamException | - stream operation error detected |
Reimplemented in SCObject.
| - (id) initWithStream: | (SCStream *) | stream |
Initializes class instance from the specified stream.
| stream | - stream for reading class instance |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
Reimplemented in SCObject.
| - (void) writeToFileStream: | (NSString *) | path |
Saves the receiver's class instance to the created stream file with the specified path.
| path | - stream file path |
| SCStreamException | - stream operation error detected |
Reimplemented in SCObject.
| - (void) writeToStream: | (SCStream *) | stream |
Saves the receiver's class instance to the specified stream.
| stream | - stream for writing receiver's class instance |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
Reimplemented in SCObject.
1.7.3