Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: class-dump/src/CDTopoSortNode.h

Issue 7793008: Add the 3.3.3 sources for class-dump. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « class-dump/src/CDTextClassDumpVisitor.m ('k') | class-dump/src/CDTopoSortNode.m » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(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 #import "CDTopologicalSortProtocol.h"
8
9 typedef enum {
10 CDWhiteNodeColor = 0,
11 CDGrayNodeColor = 1,
12 CDBlackNodeColor = 2,
13 } CDNodeColor;
14
15 @interface CDTopoSortNode : NSObject
16 {
17 id <CDTopologicalSort> sortableObject;
18
19 NSMutableSet *dependancies;
20 CDNodeColor color;
21 }
22
23 - (id)initWithObject:(id <CDTopologicalSort>)anObject;
24 - (void)dealloc;
25
26 - (NSString *)identifier;
27 - (id <CDTopologicalSort>)sortableObject;
28
29 - (NSArray *)dependancies;
30 - (void)addDependancy:(NSString *)anIdentifier;
31 - (void)removeDependancy:(NSString *)anIdentifier;
32 - (void)addDependanciesFromArray:(NSArray *)identifiers;
33
34 - (CDNodeColor)color;
35 - (void)setColor:(CDNodeColor)newColor;
36
37 - (NSString *)description;
38
39 - (NSComparisonResult)ascendingCompareByIdentifier:(id)otherNode;
40 - (void)topologicallySortNodes:(NSDictionary *)nodesByIdentifier intoArray:(NSMu tableArray *)sortedArray;
41
42 @end
OLDNEW
« no previous file with comments | « class-dump/src/CDTextClassDumpVisitor.m ('k') | class-dump/src/CDTopoSortNode.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698