-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVAR.h
40 lines (34 loc) · 937 Bytes
/
VAR.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
#ifndef VAR_H
#define VAR_H
//#include <bits/stdc++.h>
#include <stdint.h>
#include <string>
#include <map>
#include <stdarg.h>
#include <iostream>
using namespace std;
class STRING;
class VAR{
public:
VAR();
virtual char get_val(){}
virtual void ASSGN(double){}
virtual void ASSGN(string){}
virtual string getType();
virtual int64_t get_val_num(){}
virtual double get_val_real(){}
virtual operator double() const{}
virtual operator char() const{}
virtual operator string() const{}
virtual string get_val_str(){}
virtual char get_val_of(int){}
virtual void SET_STR_CHAR(int,char){}
virtual void set_val(string){}
virtual char get_val_char(){}
virtual VAR * clone(){}
virtual ~VAR();
protected:
string type;
private:
};
#endif // VAR_H