|
Samond Classes Library 1.1.6-RELEASE build 132
|
00001 // 00002 // SCCollectionProtocol.h 00003 // scl 00004 // 00005 // Created by Viacheslav Smolensky on 12.04.12. 00006 // Copyright (c) 2007 - 2014 by Samond Development Corporation. All rights reserved. 00007 // 00008 00016 #import <Foundation/Foundation.h> 00017 00018 #pragma mark Collection objects support types 00019 00025 enum _SCComparisonResult { 00026 SCComparisonEqual = 0, 00027 SCComparisonLess = -1, 00028 SCComparisonGreater = 1, 00029 SCComparisonNotAllowed = 99, 00030 }; 00031 00037 typedef enum _SCComparisonResult SCComparisonResult; 00038 00039 #pragma mark - 00040 00046 @protocol SCCollectionProtocol 00047 00052 - (id<SCCollectionProtocol>)copyObject; 00053 00064 - (SCComparisonResult)compareWithObject:(id<SCCollectionProtocol>)object; 00065 00070 - (NSString *)className; 00071 00072 @end
1.7.3