} e_entity_types;
//--------------------------------------------------
-class s_type;
-typedef s_type *type_t;
-class s_type {
+
+class ess_type {
public:
char *id;
char *name;
char *color;
+};
+
+class s_type;
+typedef s_type *type_t;
+class s_type : public ess_type {
+ public:
e_entity_types kind;
s_type *father;
xbt_dict_t children;
xbt_dict_t values; //valid for all types except variable and container
+ s_type (const char *typeNameBuff, const char *key, const char *color, e_entity_types kind, type_t father);
};
-typedef s_type s_type_t;
-
//--------------------------------------------------
-class value {
+class value : public ess_type{
public:
- char *id;
- char *name;
- char *color;
type_t father;
value* ret;
value(const char* name, const char* color, type_t father);
s_container *father;
xbt_dict_t children;
};
-typedef s_container s_container_t;
//--------------------------------------------------
class PajeEvent {