blob: e6a618d9eebd47305c931be1b94bd2bee013f01f [file] [log] [blame]
// -*- mode: ObjC -*-
// This file is part of class-dump, a utility for examining the Objective-C segment of Mach-O files.
// Copyright (C) 1997-1998, 2000-2001, 2004-2009 Steve Nygard.
#import <Foundation/Foundation.h>
@class CDClassDump, CDSymbolReferences;
@interface CDOCMethod : NSObject <NSCopying>
{
NSString *name;
NSString *type;
NSUInteger imp;
}
- (id)initWithName:(NSString *)aName type:(NSString *)aType imp:(NSUInteger)anImp;
- (id)initWithName:(NSString *)aName type:(NSString *)aType;
- (void)dealloc;
- (NSString *)name;
- (NSString *)type;
- (NSUInteger)imp;
- (void)setImp:(NSUInteger)newValue;
- (NSString *)description;
- (void)appendToString:(NSMutableString *)resultString classDump:(CDClassDump *)aClassDump symbolReferences:(CDSymbolReferences *)symbolReferences;
- (NSComparisonResult)ascendingCompareByName:(CDOCMethod *)otherMethod;
- (id)copyWithZone:(NSZone *)zone;
@end