data: cleaned up Graph classes

* removed self assignment of id from Token
* removed FilterableGraph interface from Graph
* creating Nodes and Edges on Graph with addNode and addGraph methods
* removed obsolete Aggregation edge filtering
* fixed clang warnings
* fixed memory leak for Node creation
This commit is contained in:
Eberhard Graether
2015-08-27 17:25:52 +02:00
parent e628241b02
commit 2044ff9723
16 changed files with 253 additions and 332 deletions
+1 -6
View File
@@ -10,10 +10,7 @@
class Token
{
public:
static void resetNextId();
Token();
Token(Id id);
explicit Token(Id id);
virtual ~Token();
Id getId() const;
@@ -42,8 +39,6 @@ protected:
void copyComponentsFrom(const Token& other);
private:
static Id s_nextId;
void operator=(const Token&);
const Id m_id; // own id