Samond Classes Library 1.2.6-STABLE build 219
List of all members
SCNullStream Class Reference

Standard null stream (/dev/null) class. More...

#import <SCNullStream.h>

+ Inheritance diagram for SCNullStream:

Creating Class Instance

(instancetype) + nullStreamWithDelegate:
 
(instancetype) + nullStream
 

Initializing Class Instances

(instancetype) - initWithDelegate:
 
(instancetype) - init
 

Additional Inherited Members

- Instance Methods inherited from SCStream
(void) - resetStats
 
(id) - readObject
 
(SCByte) - readByte
 
(SCUByte) - readUByte
 
(SCShort) - readShort
 
(SCUShort) - readUShort
 
(SCInteger) - readInteger
 
(SCUInteger) - readUInteger
 
(SCLong) - readLong
 
(SCULong) - readULong
 
(char) - readChar
 
(unichar) - readUnichar
 
(const char *) - readCharString
 
(BOOL) - readBool
 
(SCFloat) - readFloat
 
(SCDouble) - readDouble
 
(NSInteger) - readNSInteger
 
(NSUInteger) - readNSUInteger
 
(SCSize) - readToByte:
 
(SCSize) - readToUByte:
 
(SCSize) - readToShort:
 
(SCSize) - readToUShort:
 
(SCSize) - readToInteger:
 
(SCSize) - readToUInteger:
 
(SCSize) - readToLong:
 
(SCSize) - readToULong:
 
(SCSize) - readToChar:
 
(SCSize) - readToUnichar:
 
(SCSize) - readToCharString:max:
 
(SCSize) - readToBool:
 
(SCSize) - readToFloat:
 
(SCSize) - readToDouble:
 
(SCSize) - readToNSInteger:
 
(SCSize) - readToNSUInteger:
 
(void) - writeObject:
 
(void) - writeByte:
 
(void) - writeUByte:
 
(void) - writeShort:
 
(void) - writeUShort:
 
(void) - writeInteger:
 
(void) - writeUInteger:
 
(void) - writeLong:
 
(void) - writeULong:
 
(void) - writeChar:
 
(void) - writeUnichar:
 
(void) - writeCharString:
 
(void) - writeBool:
 
(void) - writeFloat:
 
(void) - writeDouble:
 
(void) - writeNSInteger:
 
(void) - writeNSUInteger:
 
(NSString *) - readStringWithEncoding:
 
(NSString *) - readStringWithMax:
 
(NSString *) - readString
 
(void) - writeString:
 
- Instance Methods inherited from SCObject
(instancetype) - initWithCoder:
 
(instancetype) - initWithContentsOfSerializedFile:
 
(void) - encodeWithCoder:
 
(BOOL) - writeContentsToSerializedFile:
 
(instancetype) - initWithDataDictionary:
 
(instancetype) - initWithDataDictionaryFromFile:
 
(void) - writeToDataDictionary:
 
(void) - writeToDataDictionaryFile:atomically:
 
(void) - writeToDataDictionaryFile:
 
(NSDictionary *) - dataDictionary
 
(instancetype) - initWithStream:
 
(instancetype) - initWithFileStream:
 
(void) - writeToStream:
 
(void) - writeToFileStream:
 
(void) - appendToFileStream:
 
(id) - copyObject
 
(SCComparisonResult) - compareWithObject:
 
(BOOL) - isEqual:
 
(instancetype) - initWithData:
 
(instancetype) - initWithDataWrapper:
 
(instancetype) - initWithContentsOfFile:
 
(instancetype) - initWithContentsOfURL:
 
(instancetype) - initWithContentsOfURLString:
 
(void) - writeToData:
 
(BOOL) - writeToFile:
 
(BOOL) - writeToURL:
 
(BOOL) - writeToURLString:
 
(NSData *) - data
 
- Properties inherited from SCStream
SCStreamErrorHandling errorHandling
 
SCStreamStatus status
 
NSString * name
 
BOOL opened
 
BOOL readable
 
BOOL writable
 
BOOL readOnly
 
BOOL writeOnly
 
BOOL readWrite
 
id object
 
SCStreamException * streamException
 
SCSystemException * systemException
 
id< SCStreamDelegate > delegate
 
BOOL eof
 
SCULong totalRead
 
SCULong totalWrite
 
SCULong lastRead
 
SCULong lastWrite
 
- Properties inherited from SCObject
NSString * className
 

Detailed Description

Standard null stream (/dev/null) class.

SDK
macOS 10.6+, iOS 7.0+, GNUstep
Since
version 1.1.3

Implements the access to the standard null stream /dev/null.
Class instances can thrown the following exceptions:

Method Documentation

- (instancetype) init

Initializes a standard null stream by using the default settings.

Attention
Designed initializer
Returns
A newly initialized standard null stream

Reimplemented from SCStream.

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

Initializes a standard null stream by using the specified delegate object.

Parameters
delegate- the delegate object
Returns
A newly initialized standard null stream
+ (instancetype) nullStream

Returns a standard null stream.

Returns
A standard null stream
+ (instancetype) nullStreamWithDelegate: (id<SCStreamDelegate>)  delegate

Returns a standard null stream with the specified delegate object.

Parameters
delegate- the delegate object
Returns
A standard null stream

The documentation for this class was generated from the following files: