Main Page | Class Hierarchy | Data Structures | File List | Data Fields | Globals

IEditGraph.hpp

Go to the documentation of this file.
00001 // vim:sw=2:ts=8
00017 #ifndef IEDITGRAPH__HPP
00018 #define IEDITGRAPH__HPP
00019 
00020 #include "def_graph.hpp"
00021 
00022 namespace gns {
00023 
00024 
00033   class IEditGraph
00034   {
00035 
00036     public:
00038       IEditGraph() {};
00039 
00041       virtual ~IEditGraph() {};
00042 
00044       virtual Node new_node(NodeID id = "") = 0;
00045 
00047       virtual void del_node(Node n) = 0;
00048 
00050       virtual Edge new_edge(Node u, Node v, EdgeID id = "") = 0;
00051 
00053       virtual void del_edge(Edge e) = 0;
00054 
00056       virtual void del_edge(Node u, Node v) = 0;
00057 
00058   };
00059 
00060 }
00061 
00062 #endif

Generated on Sun Nov 5 12:05:19 2006 for Graph by  doxygen 1.4.1