Debian Codegraph @

interfaces/IBackend.h

raw symbols SCIP
1 #ifndef IBACKEND_H
2 #define IBACKEND_H
3
4 #include <QPointF>
5 #include <QRectF>
6 #include <QList>
7
8 class Feature;
9 class Node;
10 class Way;
11 class Relation;
12 class TrackSegment;
13 class IBackend
14 {
15 public:
16 virtual Node* allocNode(const Node& other) = 0;
17 virtual Node* allocNode(const QPointF& aCoord) = 0;
18
19 virtual Way* allocWay() = 0;
20 virtual Way* allocWay(const Way& other) = 0;
21
22 virtual Relation* allocRelation() = 0;
23 virtual Relation* allocRelation(const Relation& other) = 0;
24
25 virtual TrackSegment* allocSegment() = 0;
26
27 virtual void deallocFeature(Feature*) = 0;
28
29 virtual void sync(Feature* f) = 0;
30
31 virtual void get(const QRectF& hz, QList<Feature*>& theFeatures) = 0;
32 };
33
34 #endif // IBACKEND_H