Samond Classes Library 1.2.0-RELEASE build 166
SCNSMutableSet.h
Go to the documentation of this file.
1 //
2 // SCNSMutableSet.h
3 // scl
4 //
5 // Created by Viacheslav Smolensky on 13.05.12.
6 // Copyright (c) 2007 - 2017 by Samond Development Corporation. All rights reserved.
7 //
8 
23 #import <Foundation/Foundation.h>
24 #import <scl/SCCoding.h>
25 #import <scl/SCDictionaring.h>
26 #import <scl/SCStreaming.h>
27 #import <scl/SCCollectioning.h>
28 #import <scl/SCMutableCollection.h>
29 
30 #pragma mark -
31 #pragma mark Константы класса
32 
36 #define NSMutableSetClass @"NSMutableSet"
37 
38 
53 
54 #pragma mark -
55 #pragma mark Создание неупорядоченных множеств
56 + (NSMutableSet *)setWithCollection:(id)collection;
57 + (NSMutableSet *)setWithCoder:(NSCoder *)coder;
58 + (NSMutableSet *)setWithContentsOfSerializedFile:(NSString *)path;
59 + (NSMutableSet *)setWithDataDictionary:(NSDictionary *)dictionary;
60 + (NSMutableSet *)setWithDataDictionaryFromFile:(NSString *)path;
61 + (NSMutableSet *)setWithStream:(SCStream *)stream;
62 + (NSMutableSet *)setWithFileStream:(NSString *)path;
63 
64 #pragma mark -
65 #pragma mark Копирование неупорядоченных множеств
66 - (void)setCollection:(id)collection;
67 - (void)setObject:(id)object;
68 - (void)setObjects:(id)object, ... NS_REQUIRES_NIL_TERMINATION;
69 
70 #pragma mark -
71 #pragma mark Добавление элементов
72 - (void)addObjects:(id)object, ... NS_REQUIRES_NIL_TERMINATION;
73 - (void)addCollection:(id)collection;
74 
75 #pragma mark -
76 #pragma mark Удаление элементов
77 - (void)removeObjectsWithClass:(Class)oclass;
78 - (void)removeObjectsWithClassName:(NSString *)name;
79 - (void)removeCollection:(id)collection;
80 - (void)removeObjects:(id)object, ... NS_REQUIRES_NIL_TERMINATION;
81 
82 @end
Mutable collections protocol.
Definition: SCMutableCollection.h:38
Standard protocol NSCoding extention protocol.
Definition: SCCoding.h:40
Protocol of methods for data exchanging between class instances and classes NSDictionary and NSMutabl...
Definition: SCDictionaring.h:42
Collections communications protocol.
Definition: SCCollectioning.h:78
Streams communications protocol.
Definition: SCStreaming.h:40
Standard class NSMutableSet functionality extending category.
Definition: SCNSMutableSet.h:52
Abstract parent class of the stream classes hierarchy.
Definition: SCStream.h:242