summaryrefslogtreecommitdiff
path: root/tikzit/src/common/Graph.h
diff options
context:
space:
mode:
authorrandomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64>2012-01-17 17:58:26 +0000
committerrandomguy3 <randomguy3@7c02a99a-9b00-45e3-bf44-6f3dd7fddb64>2012-01-17 17:58:26 +0000
commit6e8e84cdcb300092f93479d50e62479c83f1ac49 (patch)
tree65dabad9217ef0ad4e8ca388287d599b1e0125bf /tikzit/src/common/Graph.h
parent18c354ee32a605f50e094ab9c16099d3fde4cb88 (diff)
Remove BasicMapTable
git-svn-id: https://tikzit.svn.sourceforge.net/svnroot/tikzit/trunk@385 7c02a99a-9b00-45e3-bf44-6f3dd7fddb64
Diffstat (limited to 'tikzit/src/common/Graph.h')
-rw-r--r--tikzit/src/common/Graph.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/tikzit/src/common/Graph.h b/tikzit/src/common/Graph.h
index f396912..d9b4a3c 100644
--- a/tikzit/src/common/Graph.h
+++ b/tikzit/src/common/Graph.h
@@ -35,7 +35,6 @@
#import "Node.h"
#import "Edge.h"
#import "GraphChange.h"
-#import "BasicMapTable.h"
#import "Transformer.h"
/*!
@@ -53,8 +52,8 @@
// NSSet *nodesCache;
// NSSet *edgesCache;
- BasicMapTable *inEdges;
- BasicMapTable *outEdges;
+ NSMapTable *inEdges;
+ NSMapTable *outEdges;
GraphElementData *data;
NSRect boundingBox;
@@ -312,18 +311,18 @@
keys are the original nodes. This is used to save the state
of a set of nodes in a GraphChange.
@param nds a set of nodes.
- @result A <tt>BasicMapTable</tt> of node copies.
+ @result A <tt>NSMapTable</tt> of node copies.
*/
-+ (BasicMapTable*)nodeTableForNodes:(NSSet*)nds;
++ (NSMapTable*)nodeTableForNodes:(NSSet*)nds;
/*!
@brief Copy the edge set and return a table of copies, whose
keys are the original edges. This is used to save the state
of a set of edges in a GraphChange.
@param es a set of edges.
- @result A <tt>BasicMapTable</tt> of edge copies.
+ @result A <tt>NSMapTable</tt> of edge copies.
*/
-+ (BasicMapTable*)edgeTableForEdges:(NSSet*)es;
++ (NSMapTable*)edgeTableForEdges:(NSSet*)es;
/*!
@brief Compute the bounds for a set of nodes.