Samond Classes Library 1.1.6-RELEASE build 132

SCStandardErrorStream Class Reference

Standard error (stderr) stream class. More...

#import <SCStandardErrorStream.h>

Inheritance diagram for SCStandardErrorStream:
SCStream SCObject <SCDictionaryObjectProtocol> <SCCodingProtocol> <SCStreamProtocol> <SCCollectionProtocol>

List of all members.

Public Member Functions

Writing Strings
(void) - writeString:encoding:
(void) - writeString:

Creating and Initializing Stream

(SCStandardErrorStream *) + stderrStream
(SCStandardErrorStream *) + stderrStreamWithDelegate:
(id) - init
(id) - initWithDelegate:

Detailed Description

Standard error (stderr) stream class.

Class is a concrete subclass of SCStream with support of output into the stderr.
Class was introduced in version 1.1.3.


Member Function Documentation

- (id) init

Initializes the stderr stream.

Returns:
A newly initialized stream

Reimplemented from SCStream.

- (id) initWithDelegate: (id<SCStreamDelegate>)  delegate

Initializes the stderr stream using the specified delegate object.

Parameters:
delegate- delegate object
Returns:
A newly initialized stream
+ (SCStandardErrorStream *) stderrStream

Returns the stderr stream.

Returns:
Standard error stream
+ (SCStandardErrorStream *) stderrStreamWithDelegate: (id<SCStreamDelegate>)  delegate

Returns the stderr stream opening by using the specified delegate object.

Parameters:
delegate- delegate object
Returns:
Standard error stream
- (void) writeString: (NSString *)  string

Writes into the stream the specified UTF-8 text string with end of line character.

Parameters:
string- writed string
Exceptions:
SCStreamException- stream operation error detected
SCSystemException- system error detected

Reimplemented from SCStream.

- (void) writeString: (NSString *)  string
encoding: (NSStringEncoding)  encoding 

Writes into the stream the specified text string with the specified encoding end of line character.

Parameters:
string- writed string
encoding- string encoding
Exceptions:
SCStreamException- stream operation error detected
SCSystemException- system error detected

Reimplemented from SCStream.


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