OpenLexocad  27.1
core_gt.h
Go to the documentation of this file.
1 
10 #ifndef CORE_GT_H
11 #define CORE_GT_H
12 
13 #include <unordered_set>
14 #include <set>
15 #include <unordered_set>
16 #include <vector>
17 
18 namespace Core
19 {
20 class DocObject;
21 
23 {
24  NO_SNAP = 0x00,
25 
26  GRID_SNAP = 0x01,
27  ENDPOINT_SNAP = 0x02,
29  MIDPOINT_SNAP = 0x08,
30  TANGENT_SNAP = 0x16,
32 
33  ALL_SNAP = 0xFF
34 };
35 
36 
38 {
39  NO_PICK = 0x00,
40 
43  PICK_CIRCLES = 0x04,
45 
46  PICK_ALL = 0xFF
47 };
48 
49 
50 
51 // Obsolete types. They are only used by the CGraphBuilder
52 // and CObjectManager, but both of these classes are not used in the
53 // application anymore. Use the Core::ObjectVector, Core::ObjectSet
54 // and Core::ObjectMap instead.
55 // tp 20101209
56 typedef std::vector<Core::DocObject*> ObjectVector;
57 typedef std::vector<const Core::DocObject*> ObjectConstVector;
58 typedef std::unordered_set<Core::DocObject*> ObjectSet;
59 
60 } // namespace Core
61 
62 
63 
64 #endif
std::unordered_set< Core::DocObject * > ObjectSet
Definition: core_gt.h:58
Definition: core_gt.h:44
Definition: core_gt.h:31
PickType
Definition: core_gt.h:37
Definition: core_gt.h:46
std::vector< Core::DocObject * > ObjectVector
Definition: core_gt.h:56
Definition: core_gt.h:41
Definition: core_gt.h:42
Definition: core_gt.h:26
SnapType
Definition: core_gt.h:22
Definition: core_gt.h:43
Definition: core_gt.h:27
Definition: core_gt.h:30
Definition: core_gt.h:39
std::vector< const Core::DocObject * > ObjectConstVector
Definition: core_gt.h:57
Definition: Base.h:12
Definition: core_gt.h:29
Definition: core_gt.h:33
Definition: core_gt.h:24
Definition: core_gt.h:28