Samond Classes Library 1.2.6-STABLE build 219
List of all members
<SCMutableKeyedCollection> Protocol Reference

Mutable keyed collection protocol. More...

#import <SCCollectionProtocols.h>

+ Inheritance diagram for <SCMutableKeyedCollection>:

Adding and Changing Objects

(void) - setObject:forKey:
 
(void) - setObject:forKeyedSubscript:
 
(void) - setValue:forKey:
 

Removing Objects

(void) - removeObjectForKey:
 

Additional Inherited Members

- Instance Methods inherited from <SCKeyedCollection>
(id) - objectForKey:
 
(id) - objectForKeyedSubscript:
 
(id) - valueForKey:
 
- Instance Methods inherited from <SCCollection>
(NSUInteger) - countByEnumeratingWithState:objects:count:
 
(instancetype) - initWithCollection:
 
(BOOL) - containsObject:
 
(BOOL) - containsObjects:
 
(BOOL) - containsCollection:
 
(BOOL) - containsAnyObject:
 
(BOOL) - containsAnyObjectFromCollection:
 
(BOOL) - isEqualToCollection:
 
- Properties inherited from <SCCollection>
NSString * name
 
SCIndex count
 
BOOL empty
 
BOOL readOnly
 
id< SCCollectionDelegatedelegate
 
SCArrayarray
 
SCSetset
 
SCOrderedSetorderedSet
 
SCDictionarydictionary
 
SCStackstack
 
SCQueuequeue
 
SCUnidirectionalListunidirectionalList
 
SCBidirectionalListbidirectionalList
 
NSArray * foundationArray
 
NSSet * foundationSet
 
NSOrderedSet * foundationOrderedSet
 
NSDictionary * foundationDictionary
 
NSEnumerator * objectEnumerator
 
NSEnumerator * reverseObjectEnumerator
 
SCCollectionType collectionType
 
BOOL isCollection
 
BOOL isLibraryCollection
 
BOOL isFoundationCollection
 
BOOL isArray
 
BOOL isLibraryArray
 
BOOL isFoundationArray
 
BOOL isSet
 
BOOL isLibrarySet
 
BOOL isFoundationSet
 
BOOL isOrderedSet
 
BOOL isLibraryOrderedSet
 
BOOL isFoundationOrderedSet
 
BOOL isDictionary
 
BOOL isLibraryDictionary
 
BOOL isFoundationDictionary
 
BOOL isStack
 
BOOL isQueue
 
BOOL isList
 
BOOL isSortable
 

Detailed Description

Mutable keyed collection protocol.

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

Declares the mandatory methods for changing the content of the keyed collections.

Method Documentation

- (void) removeObjectForKey: (NSString *)  key

Removes a given key and its associated object from the receiving dictionary.

Parameters
key- the key to remove
Exceptions
SCCollectionException- collection error detected

Reimplemented in SCDictionary.

- (void) setObject: (id< SCCollectioning >)  object
forKey: (NSString *)  key 

Adds a given key-object pair to the dictionary.

Parameters
object- the object for the specified key
key- the key for the specified object
Exceptions
SCCollectionException- collection error detected
See also
- setValue:forKey:

Reimplemented in SCDictionary.

- (void) setObject: (id< SCCollectioning >)  object
forKeyedSubscript: (NSString *)  key 

Adds a given key-value pair to the dictionary.

Parameters
object- the value for a given key
key- the key for a goven value
Exceptions
SCCollectionException- collection error detected

Reimplemented in SCDictionary.

- (void) setValue: (id< SCCollectioning >)  value
forKey: (NSString *)  key 

Adds a given key-value pair to the dictionary.

Parameters
value- the value for the specified key
key- the key for the specified value
Exceptions
SCCollectionException- collection error detected
See also
- setObject:forKey:

Reimplemented in SCDictionary.


The documentation for this protocol was generated from the following file: