-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathjunk_variables.h
More file actions
59 lines (51 loc) · 1.12 KB
/
Copy pathjunk_variables.h
File metadata and controls
59 lines (51 loc) · 1.12 KB
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
52
53
54
55
56
57
58
59
#ifndef _JUNK_VARIABLES_H
#define _JUNK_VARIABLES_H
#pragma once
#include "junk_variable.h"
#include <list>
#include "common.h"
class junk_variable_reg: public junk_variable
{
public:
junk_variable_reg(){};
virtual ~junk_variable_reg(){};
size::param_size size(){return _size;};
protected:
size::param_size _size;
};
class junk_variable_reg32 :public junk_variable_reg
{
public:
junk_variable_reg32(void);
junk_variable_reg32(char *name);
~junk_variable_reg32(void){};
virtual char *tostr();
};
class junk_variable_reg16:public junk_variable_reg
{
public:
junk_variable_reg16(void);
junk_variable_reg16(char *name);
~junk_variable_reg16(void){};
virtual char *tostr();
};
class junk_variable_reg8:public junk_variable_reg
{
public:
junk_variable_reg8(void);
junk_variable_reg8(char *name);
~junk_variable_reg8(void){};
virtual char *tostr();
};
typedef std::list<std::string *> values_list;
class junk_variable_values: public junk_variable
{
public:
junk_variable_values(void);
junk_variable_values(char *name,char *values);
~junk_variable_values(void);
virtual char *tostr();
private:
values_list _list;
};
#endif