Samond Classes Library 1.1.6-RELEASE build 132
Classes | Defines

SCStream.h File Reference

Class SCStream header file. More...

#import <Foundation/Foundation.h>
#import <scl/SCTypes.h>
#import <scl/SCObject.h>
#import <scl/SCStreamProtocol.h>
#import <scl/SCSystemException.h>
#import <scl/SCStreamException.h>

Go to the source code of this file.

Classes

class  SCStream
 Abstract class of streams hierarchy. More...

Defines

#define SCStreamClass   @"SCStream"
 SCStream class name.
Streams supporting constants
#define SC_STREAM_MAX_STRING_LENGTH   4096
 String maximum length.

Streams supporting types

enum  _SCStreamErrorHandling { SCStreamErrorHandlingSystem = 1, SCStreamErrorHandlingStream = 2, SCStreamErrorHandlingStatus = 3 }
enum  _SCStreamStatus {
  SCStreamOK = 0, SCStreamUnexpectedClassError = 1, SCStreamIncompleteReadError = 2, SCStreamIncompleteWriteError = 3,
  SCStreamOpenError = 4, SCStreamNotOpenError = 5, SCStreamReadOnlyError = 6, SCStreamWriteOnlyError = 7,
  SCStreamReadError = 8, SCStreamWriteError = 9, SCStreamUnknownClassError = 11, SCStreamUnsupportedClass = 12
}
typedef enum _SCStreamErrorHandling SCStreamErrorHandling
 Stream error handling type.
typedef SCUInteger SCStreamStatus
 Stream status type.

Detailed Description

Class SCStream header file.

Contains declaration of the class SCStream, which presents methods for support streams hierarchy.
File was introduced in version 1.1.3.


Typedef Documentation

Stream error handling type.

Declares constants, which sets the mode of stream error handling

Stream status type.

Declares constants, which represent various stream statuses


Enumeration Type Documentation

Stream error handling enum type

Enumerator:
SCStreamErrorHandlingSystem 

Generating system exception when stream error detected.

SCStreamErrorHandlingStream 

Generating SCStreamException when error detected.

SCStreamErrorHandlingStatus 

Change stream status when stream error detected.

Stream status enum type

Enumerator:
SCStreamOK 

No errors.

SCStreamUnexpectedClassError 

Unexpected class error.

SCStreamIncompleteReadError 

Incomplete reading error.

SCStreamIncompleteWriteError 

Incomplete writing error.

SCStreamOpenError 

Stream opening error.

SCStreamNotOpenError 

Stream not open error.

SCStreamReadOnlyError 

Read only stream error.

SCStreamWriteOnlyError 

Write only stream error.

SCStreamReadError 

Stream reading error.

SCStreamWriteError 

Stream write error.

SCStreamUnknownClassError 

Unknown class error.

SCStreamUnsupportedClass 

Unsupported class error.

 All Classes Files Functions Typedefs Enumerations Enumerator Defines