| Index: class-dump/src/CDTopoSortNode.h
|
| ===================================================================
|
| --- class-dump/src/CDTopoSortNode.h (revision 0)
|
| +++ class-dump/src/CDTopoSortNode.h (revision 0)
|
| @@ -0,0 +1,42 @@
|
| +// -*- 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-2010 Steve Nygard.
|
| +
|
| +#import <Foundation/Foundation.h>
|
| +#import "CDTopologicalSortProtocol.h"
|
| +
|
| +typedef enum {
|
| + CDWhiteNodeColor = 0,
|
| + CDGrayNodeColor = 1,
|
| + CDBlackNodeColor = 2,
|
| +} CDNodeColor;
|
| +
|
| +@interface CDTopoSortNode : NSObject
|
| +{
|
| + id <CDTopologicalSort> sortableObject;
|
| +
|
| + NSMutableSet *dependancies;
|
| + CDNodeColor color;
|
| +}
|
| +
|
| +- (id)initWithObject:(id <CDTopologicalSort>)anObject;
|
| +- (void)dealloc;
|
| +
|
| +- (NSString *)identifier;
|
| +- (id <CDTopologicalSort>)sortableObject;
|
| +
|
| +- (NSArray *)dependancies;
|
| +- (void)addDependancy:(NSString *)anIdentifier;
|
| +- (void)removeDependancy:(NSString *)anIdentifier;
|
| +- (void)addDependanciesFromArray:(NSArray *)identifiers;
|
| +
|
| +- (CDNodeColor)color;
|
| +- (void)setColor:(CDNodeColor)newColor;
|
| +
|
| +- (NSString *)description;
|
| +
|
| +- (NSComparisonResult)ascendingCompareByIdentifier:(id)otherNode;
|
| +- (void)topologicallySortNodes:(NSDictionary *)nodesByIdentifier intoArray:(NSMutableArray *)sortedArray;
|
| +
|
| +@end
|
|
|
| Property changes on: class-dump/src/CDTopoSortNode.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|