Salome HOME
PR: first version from Antony GEAY, with directory restructuration
[modules/yacs.git] / src / bases / define.hxx
1 #ifndef __DEFINE_HXX__
2 #define __DEFINE_HXX__
3
4 namespace YACS
5 {
6   //for algs of graphs and trees
7   typedef enum
8     {
9       White = 10,
10       Grey  = 11,
11       Black = 12
12     } Colour;
13
14   typedef enum
15     {
16       Double = 41,
17       Int = 42,
18       String = 44,
19       Bool = 45,
20       //CorbaRef = 46,
21       None = 49
22     } DynType;
23
24   typedef enum
25     {
26       SDouble = 71
27     } StreamType;
28
29   typedef enum
30     {
31       INITED       = 100,
32       TOLOAD       = 101,
33       LOADED       = 102,
34       TOACTIVATE   = 103,
35       ACTIVATED    = 104,
36       DESACTIVATED = 105,
37       DONE         = 106,
38       SUSPENDED    = 107,
39       LOADFAILED   = 108,
40       EXECFAILED   = 109,
41       PAUSE        = 110
42     } StatesForNode;
43
44   typedef enum
45     {
46       NOEVENT      = 200,
47       START        = 201,
48       FINISH       = 202,
49       ABORT        = 203
50     } Event;
51 }
52
53 #endif