Samond Classes Library 1.2.1-RELEASE build 181
List of all members
<SCCollectioning> Protocol Reference

Collections communications protocol. More...

#import <SCCollectioning.h>

Inheritance diagram for <SCCollectioning>:
NSObject(SCObject)

Collection Support

(id) - copyObject
 
(SCComparisonResult- compareWithObject:
 
(NSString *) - className
 

Detailed Description

Collections communications protocol.

Since
version 1.1.3

Declares methods for communicate between class instances and collections of any supported type. Defined by the protocol methods support such internal collection operations as a copying and comparing objects within the collections.

Method Documentation

- (NSString *) className

Returns the receiving instance class name.

Returns
Class name
- (SCComparisonResult) compareWithObject: (id< SCCollectioning >)  object

Returns the result of comparison the receiving instance with the specified instance.

Parameters
object- second instance for comparison
Returns
Comparison result:
  • SCComparisonEqual - instances are equal
  • SCComparisonLess - the receiving instance is less than the specified instance
  • SCComparisonGreater - the receiving instance is freater than the specified instance
  • SCComparisonNotAllowed - instances cannot be compared

Reimplemented in NSObject(SCObject).

- (id) copyObject

Returns the copy of the receiving instance.

Returns
Receiving instance copy

Reimplemented in NSObject(SCObject).


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