|
Samond Classes Library 1.1.6-RELEASE build 132
|
Additional functionality for class NSSet. More...
#import <SCNSSet.h>
Additional functionality for class NSSet.
Category SCNSSet extends functionality of standard class NSSet.
This category was introduced in version 1.1.3.
Category declares the following properties:
| - (void) appendToFileStream: | (NSString *) | path |
Appends the set to the new or existing stream file with the specified path.
| path | - stream file path |
| SCStreamException | - stream operation error detected |
| - (NSString *) className |
Returns the receiver's set class name.
| - (SCComparisonResult) compareWithObject: | (id<SCCollectionProtocol>) | object |
Returns the result of comparison receiver's set with the specified set.
| object | - second set for comparison |
| SCCollectionException | - incompatible second set detected |
| - (id< SCCollectionProtocol >) copyObject |
Returns the copy of the set.
| - (NSDictionary *) dataDictionary |
Returns the dictionary with the set data.
| - (id) initWithContentsOfSerializedFile: | (NSString *) | path |
Initializes the set using the contens of serialized file with the specified path.
| path | - source serialized file path |
| - (id) initWithDataDictionary: | (NSDictionary *) | dictionary |
Initializes the set using the specified dictionary.
| dictionary | - source dictionary |
| - (id) initWithDataDictionaryFromFile: | (NSString *) | path |
Initializes the set using the dictionary from the specified file.
| path | - source dictionary file path |
| - (id) initWithFileStream: | (NSString *) | path |
Initializes set from the stream file with the specified path.
| path | - stream file path |
| SCStreamException | - stream operation error detected |
| - (id) initWithStream: | (SCStream *) | stream |
Initializes the set from the specified stream.
| stream | - stream for reading class instance |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
| - (BOOL) isArray |
Returns a boolean value that indicates whether a receiving instance is an array.
| - (BOOL) isCollection |
Returns a boolean value that indicates whether a receiving instance is a collection.
| - (BOOL) isDictionary |
Returns a boolean value that indicates whether a receiving instance is a dictionary.
| - (BOOL) isFoundationArray |
Returns a boolean value that indicates whether a receiving instance is a foundation array.
| - (BOOL) isFoundationCollection |
Returns a boolean value that indicates whether a receiving instance is a foundation collection.
| - (BOOL) isFoundationDictionary |
Returns a boolean value that indicates whether a receiving instance is a foundation dictionary.
| - (BOOL) isFoundationOrderedSet |
Returns a boolean value that indicates whether a receiving instance is a foundation ordered set.
| - (BOOL) isFoundationSet |
Returns a boolean value that indicates whether a receiving instance is a foundation set.
| - (BOOL) isLibraryArray |
Returns a boolean value that indicates whether a receiving instance is a library array.
| - (BOOL) isLibraryCollection |
Returns a boolean value that indicates whether a receiving instance is a library collection.
| - (BOOL) isLibraryDictionary |
Returns a boolean value that indicates whether a receiving instance is a library dictionary.
| - (BOOL) isLibraryOrderedSet |
Returns a boolean value that indicates whether a receiving instance is a library ordered set.
| - (BOOL) isLibrarySet |
Returns a boolean value that indicates whether a receiving instance is a library set.
| - (BOOL) isList |
Returns a boolean value that indicates whether a receiving instance is a list.
| - (BOOL) isOrderedSet |
Returns a boolean value that indicates whether a receiving instance is an ordered set.
| - (BOOL) isQueue |
Returns a boolean value that indicates whether a receiving instance is a queue.
| - (BOOL) isSet |
Returns a boolean value that indicates whether a receiving instance is a set.
| - (BOOL) isSortable |
Returns a boolean value that indicates whether a receiving instance is a sortable collection.
| - (BOOL) isStack |
Returns a boolean value that indicates whether a receiving instance is a stack.
| + (NSSet *) setWithCoder: | (NSCoder *) | coder |
Returns the set created by using the specified coder.
| coder | - source coder |
| + (NSSet *) setWithContentsOfSerializedFile: | (NSString *) | path |
Returns the set created by using the contens of serialized file with the specified path.
| path | - source serialized file path |
| + (NSSet *) setWithDataDictionary: | (NSDictionary *) | dictionary |
Returns the set created by using the specified dictionary.
| dictionary | - source dictionary |
| + (NSSet *) setWithDataDictionaryFromFile: | (NSString *) | path |
Returns the set created by using the dictionary from the specified file.
| path | - source dictionary file path |
| + (NSSet *) setWithFileStream: | (NSString *) | path |
Returns the set created from the stream file with the specified path.
| path | - stream file path |
| SCStreamException | - stream operation error detected |
| + (NSSet *) setWithStream: | (SCStream *) | stream |
Returns the set created from the specified stream.
| stream | - stream for reading class instance |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
| - (BOOL) writeContentsToSerializedFile: | (NSString *) | path |
Writes set encoded data into the serialized file with the specified path.
| path | - path at which to write the file |
| - (void) writeToDataDictionary: | (NSMutableDictionary *) | dictionary |
Writes the set data into the specified dictionary.
| dictionary | - destination dictionary |
| - (void) writeToDataDictionaryFile: | (NSString *) | path |
Atomically writes the set data into the dictionary file with the specified path.
| path | - path at which to write the file |
| - (void) writeToDataDictionaryFile: | (NSString *) | path | |
| atomically: | (BOOL) | atomically | |
Writes the set data into the dictionary file with the specified path.
| path | - path at which to write the file |
| atomically | - YES for writing data to an auxiliary file, and then the auxiliary file is renamed to path, NO for writing data directly to path |
| - (void) writeToFileStream: | (NSString *) | path |
Saves the set instance to the created stream file with the specified path.
| path | - stream file path |
| SCStreamException | - stream operation error detected |
| - (void) writeToStream: | (SCStream *) | stream |
Saves the set to the specified stream.
| stream | - stream for writing set |
| SCStreamException | - stream operation error detected |
| SCSystemException | - system error detected |
1.7.3