A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a class with no method is not a class
[simgrid.git]
/
src
/
instr
/
instr_private.h
diff --git
a/src/instr/instr_private.h
b/src/instr/instr_private.h
index
e9ce033
..
3dee571
100644
(file)
--- a/
src/instr/instr_private.h
+++ b/
src/instr/instr_private.h
@@
-58,17
+58,14
@@
typedef enum {
//--------------------------------------------------
//--------------------------------------------------
-class ess_type {
- public:
+class Type;
+typedef Type* type_t;
+class Type {
+public:
char *id;
char *name;
char *color;
char *id;
char *name;
char *color;
-};
-class Type;
-typedef Type *type_t;
-class Type : public ess_type {
- public:
e_entity_types kind;
Type *father;
xbt_dict_t children;
e_entity_types kind;
Type *father;
xbt_dict_t children;
@@
-83,8
+80,12
@@
class Type : public ess_type {
};
//--------------------------------------------------
};
//--------------------------------------------------
-class value
: public ess_type
{
+class value {
public:
public:
+ char* id;
+ char* name;
+ char* color;
+
type_t father;
value* ret;
value(const char* name, const char* color, type_t father);
type_t father;
value* ret;
value(const char* name, const char* color, type_t father);