-
Notifications
You must be signed in to change notification settings - Fork 1
/
CValue.h
51 lines (41 loc) · 1.36 KB
/
CValue.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#ifndef CVALUE
#define CVALUE
#ifdef WIN32
#pragma warning (disable: 4514 4786)
#endif
#include <string>
#include <vector>
#include <iostream>
#include <sstream>
using namespace std;
class CTransition;
class CValue
{
public:
string colorset;
int number;
string type;
string nickname;
int i;
string enumname;
vector<CValue> values;
string varname;
string funname;
CTransition *transition;
public:
CValue();
CValue(string a_colorset, int a_number, string a_type, int a_i);
CValue(string a_colorset, int a_number, string a_type, string a_nickname, int a_i);
CValue(string a_colorset, int a_number, string a_type, string a_funname, vector<CValue> a_values);
CValue(string a_colorset, int a_number, string a_type, string a_funname, CValue argValue1);
CValue(string a_colorset, int a_number, string a_type, string a_funname, CValue argValue1, CValue argValue2);
CValue(string a_colorset, int a_number, string a_type, string a_funname, CValue argValue1, CValue argValue2, CValue argValue3);
CValue(string a_colorset, int a_number, string a_type, vector<CValue> a_values);
CValue(string a_colorset, int a_number, string a_type, string a_name);
CValue removeFunAndVar(CTransition *a_transition);
static int isIdentical(CValue &value1, CValue &value2);
static string itos(int i);
string toString();
};
typedef CValue (*FUN_POINTER) (vector<CValue> argValues);
#endif