Samond Classes Library 1.1.6-RELEASE build 132
Public Member Functions

<SCStreamProtocol> Protocol Reference

Streams support protocol. More...

#import <SCStreamProtocol.h>

Inheritance diagram for <SCStreamProtocol>:
SCObject SCCollection SCCommon SCConfig SCDelegateObject SCLog SCNetObject SCServiceObject SCSortingAlgorithm SCStream SCStrings

List of all members.

Public Member Functions

(id) - initWithStream:
(id) - initWithFileStream:
(void) - writeToStream:
(void) - writeToFileStream:
(void) - appendToFileStream:

Detailed Description

Streams support protocol.

Protocol declares methods for communicating with streams hierarchy of class SCStream
Protocol was introduced in version 1.1.3.


Member Function Documentation

- (void) appendToFileStream: (NSString *)  path

Appends the receiver's class instance to the new or existing stream file with the specified path.

Parameters:
path- stream file path
Exceptions:
SCStreamException- stream operation error detected

Reimplemented in SCObject.

- (id) initWithFileStream: (NSString *)  path

Initializes class instance from the stream file with the specified path.

Parameters:
path- stream file path
Returns:
A newly initialized class instance
Exceptions:
SCStreamException- stream operation error detected

Reimplemented in SCObject.

- (id) initWithStream: (SCStream *)  stream

Initializes class instance from the specified stream.

Parameters:
stream- stream for reading class instance
Returns:
A newly initialized class instance
Exceptions:
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.

Parameters:
path- stream file path
Exceptions:
SCStreamException- stream operation error detected

Reimplemented in SCObject.

- (void) writeToStream: (SCStream *)  stream

Saves the receiver's class instance to the specified stream.

Parameters:
stream- stream for writing receiver's class instance
Exceptions:
SCStreamException- stream operation error detected
SCSystemException- system error detected

Reimplemented in SCObject.


The documentation for this protocol was generated from the following file:
 All Classes Files Functions Typedefs Enumerations Enumerator Defines