OLD | NEW |
(Empty) | |
| 1 // -*- mode: ObjC -*- |
| 2 |
| 3 // This file is part of class-dump, a utility for examining the Objective-C seg
ment of Mach-O files. |
| 4 // Copyright (C) 1997-1998, 2000-2001, 2004-2010 Steve Nygard. |
| 5 |
| 6 #import <Foundation/Foundation.h> |
| 7 |
| 8 @class CDType; |
| 9 |
| 10 @interface CDOCProperty : NSObject |
| 11 { |
| 12 NSString *name; |
| 13 NSString *attributeString; |
| 14 |
| 15 CDType *type; |
| 16 NSMutableArray *attributes; |
| 17 |
| 18 BOOL hasParsedAttributes; |
| 19 NSString *attributeStringAfterType; |
| 20 NSString *customGetter; |
| 21 NSString *customSetter; |
| 22 |
| 23 struct { |
| 24 unsigned int isReadOnly:1; |
| 25 unsigned int isDynamic:1; |
| 26 } flags; |
| 27 } |
| 28 |
| 29 - (id)initWithName:(NSString *)aName attributes:(NSString *)someAttributes; |
| 30 - (void)dealloc; |
| 31 |
| 32 - (NSString *)name; |
| 33 - (NSString *)attributeString; |
| 34 - (CDType *)type; |
| 35 - (NSArray *)attributes; |
| 36 |
| 37 - (NSString *)attributeStringAfterType; |
| 38 - (void)_setAttributeStringAfterType:(NSString *)newValue; |
| 39 |
| 40 - (NSString *)defaultGetter; |
| 41 - (NSString *)defaultSetter; |
| 42 - (NSString *)customGetter; |
| 43 - (void)_setCustomGetter:(NSString *)newStr; |
| 44 - (NSString *)customSetter; |
| 45 - (void)_setCustomSetter:(NSString *)newStr; |
| 46 - (NSString *)getter; |
| 47 - (NSString *)setter; |
| 48 |
| 49 - (BOOL)isReadOnly; |
| 50 - (BOOL)isDynamic; |
| 51 |
| 52 - (NSString *)description; |
| 53 |
| 54 - (NSComparisonResult)ascendingCompareByName:(CDOCProperty *)otherProperty; |
| 55 |
| 56 - (void)_parseAttributes; |
| 57 |
| 58 @end |
OLD | NEW |