Samond Classes Library 1.2.0-RELEASE build 166
|
Standard class NSNull functionality extending category. More...
#import <SCNull.h>
Serialized Files Support | |
(NSNull *) | + nullWithCoder: |
(NSNull *) | + nullWithContentsOfSerializedFile: |
(id) | - initWithContentsOfSerializedFile: |
(BOOL) | - writeContentsToSerializedFile: |
Data Dictionaries Support | |
(NSNull *) | + nullWithDataDictionary: |
(NSNull *) | + nullWithDataDictionaryFromFile: |
(id) | - initWithDataDictionary: |
(id) | - initWithDataDictionaryFromFile: |
(void) | - writeToDataDictionary: |
(void) | - writeToDataDictionaryFile:atomically: |
(void) | - writeToDataDictionaryFile: |
(NSDictionary *) | - dataDictionary |
Streams Support | |
(NSNull *) | + nullWithStream: |
(NSNull *) | + nullWithFileStream: |
(id) | - initWithStream: |
(id) | - initWithFileStream: |
(void) | - writeToStream: |
(void) | - writeToFileStream: |
(void) | - appendToFileStream: |
Collections Support | |
(id< SCCollectioning >) | - copyObject |
(SCComparisonResult) | - compareWithObject: |
Additional Inherited Members | |
![]() | |
![]() | |
![]() |
Standard class NSNull functionality extending category.
Declares the additional methods for add into the standard class NSNull the additional functionality such as dictionaries, collections and streams support and so on.
- (void) appendToFileStream: | (NSString *) | path |
Appends the receiving class instance to the file stream with the specified path.
path | - the path to the destination file stream |
SCStreamException | - stream error detected |
SCSystemException | - system error detected |
Reimplemented from <SCStreaming>.
- (SCComparisonResult) compareWithObject: | (id<SCCollectioning>) | object |
Returns the result of comparison the receiving class instance with a given another class instance.
object | - the second class instance for comparison |
Reimplemented from <SCCollectioning>.
- (id< SCCollectioning >) copyObject |
Returns a copy of the receiving class instance.
Reimplemented from <SCCollectioning>.
- (NSDictionary *) dataDictionary |
Returns the dictionary with the receiving class instance.
Reimplemented from <SCDictionaring>.
- (id) initWithContentsOfSerializedFile: | (NSString *) | path |
Initializes a class instance using the data from the serialized file with the specified path.
path | - the path to the serialized file |
Reimplemented from <SCCoding>.
- (id) initWithDataDictionary: | (NSDictionary *) | dictionary |
Initializes a class instance using the data from the specified data dictionary.
dictionary | - the source data dictionary |
Reimplemented from <SCDictionaring>.
- (id) initWithDataDictionaryFromFile: | (NSString *) | path |
Initializes a class instance using the data from the dictionary file with the specified path.
path | - the path to the source dictionary file |
Reimplemented from <SCDictionaring>.
- (id) initWithFileStream: | (NSString *) | path |
Initializes a class instance using the data from the file stream with the specified path.
path | - the path to the source file stream |
SCStreamException | - stream error detected |
SCSystemException | - system error detected |
Reimplemented from <SCStreaming>.
- (id) initWithStream: | (SCStream *) | stream |
Initializes a class instance using the data from the specified stream.
stream | - the source stream |
SCStreamException | - stream error detected |
SCSystemException | - system error detected |
Reimplemented from <SCStreaming>.
+ (NSNull *) nullWithCoder: | (NSCoder *) | coder |
Returns a class instance created by using the data from the specified coder.
coder | - the source coder |
+ (NSNull *) nullWithContentsOfSerializedFile: | (NSString *) | path |
Returns a class instance created by using the data from the serialized file with the specified path.
path | - the path to the serialized file |
+ (NSNull *) nullWithDataDictionary: | (NSDictionary *) | dictionary |
Returns a class instance created by using the data from the specified data dictionary.
dictionary | - the source data dictionary |
+ (NSNull *) nullWithDataDictionaryFromFile: | (NSString *) | path |
Returns a class instance created by using the data from the dictionary file with the specified path.
path | - the path to the source dictionary file |
+ (NSNull *) nullWithFileStream: | (NSString *) | path |
Returns a class instance created by using the data from the file stream with the specified path.
path | - the path to the source file stream |
SCStreamException | - stream error detected |
SCSystemException | - system error detected |
+ (NSNull *) nullWithStream: | (SCStream *) | stream |
Returns a class instance created by using the data from the specified stream.
stream | - the source stream |
SCStreamException | - stream error detected |
SCSystemException | - system error detected |
- (BOOL) writeContentsToSerializedFile: | (NSString *) | path |
Writes the receiving class instance to the serialized file with the specified path.
path | - the path to the serialized file |
Reimplemented from <SCCoding>.
- (void) writeToDataDictionary: | (NSMutableDictionary *) | dictionary |
Writes the receiving class instance into the specified data dictionary.
dictionary | - the dictionary to store the receiving class instance |
Reimplemented from <SCDictionaring>.
- (void) writeToDataDictionaryFile: | (NSString *) | path |
Writes the receiving class instance into the data dictionary file with the specified path.
path | - the path to the data dictionary file |
Reimplemented from <SCDictionaring>.
- (void) writeToDataDictionaryFile: | (NSString *) | path | |
atomically: | (BOOL) | atomically | |
Writes the receiving class instance into the data dictionary file with the specified path.
path | - the path to the data dictionary file |
atomically | - YES for using the intermediate file and NO for direct writing operation |
Reimplemented from <SCDictionaring>.
- (void) writeToFileStream: | (NSString *) | path |
Writes the receiving class instance to the file stream with the specified path.
path | - the path to the destination file stream |
SCStreamException | - stream error detected |
SCSystemException | - system error detected |
Reimplemented from <SCStreaming>.
- (void) writeToStream: | (SCStream *) | stream |
Writes the receiving class instance to the specified stream.
stream | - the destination stream |
SCStreamException | - stream error detected |
SCSystemException | - system error detected |
Reimplemented from <SCStreaming>.