Samond Classes Library 1.1.6-RELEASE build 132

SCStandardOutputStream Class Reference

Standard output (stdout) stream class. More...

#import <SCStandardOutputStream.h>

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

List of all members.

Public Member Functions

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

Creating and Initializing Stream

(SCStandardOutputStream *) + stdoutStream
(SCStandardOutputStream *) + stdoutStreamWithDelegate:
(id) - init
(id) - initWithDelegate:

Detailed Description

Standard output (stdout) stream class.

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


Member Function Documentation

- (id) init

Initializes the stdout stream.

Returns:
A newly initialized stream

Reimplemented from SCStream.

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

Initializes the stdout stream using the specified delegate object.

Parameters:
delegate- delegate object
Returns:
A newly initialized stream
+ (SCStandardOutputStream *) stdoutStream

Returns the stdout stream.

Returns:
Standard output stream
+ (SCStandardOutputStream *) stdoutStreamWithDelegate: (id<SCStreamDelegate>)  delegate

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

Parameters:
delegate- delegate object
Returns:
Standard output 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