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 CDStructureInfo : NSObject <NSCopying> |
| 11 { |
| 12 CDType *type; |
| 13 NSUInteger referenceCount; |
| 14 BOOL isUsedInMethod; |
| 15 NSString *typedefName; |
| 16 } |
| 17 |
| 18 // TODO: Or just pass in type? |
| 19 - (id)initWithType:(CDType *)aType; |
| 20 - (void)dealloc; |
| 21 |
| 22 - (CDType *)type; |
| 23 |
| 24 - (NSUInteger)referenceCount; |
| 25 - (void)setReferenceCount:(NSUInteger)newCount; |
| 26 - (void)addReferenceCount:(NSUInteger)count; |
| 27 |
| 28 - (BOOL)isUsedInMethod; |
| 29 - (void)setIsUsedInMethod:(BOOL)newFlag; |
| 30 |
| 31 - (NSString *)typedefName; |
| 32 - (void)setTypedefName:(NSString *)newName; |
| 33 |
| 34 - (void)generateTypedefName:(NSString *)baseName; |
| 35 |
| 36 - (NSString *)name; |
| 37 |
| 38 - (NSString *)description; |
| 39 - (NSString *)shortDescription; |
| 40 |
| 41 - (NSComparisonResult)ascendingCompareByStructureDepth:(CDStructureInfo *)otherI
nfo; |
| 42 - (NSComparisonResult)descendingCompareByStructureDepth:(CDStructureInfo *)other
Info; |
| 43 |
| 44 - (id)copyWithZone:(NSZone *)zone; |
| 45 |
| 46 @end |
OLD | NEW |