1 #ifndef _GE_CLASS_H_
2 #define _GE_CLASS_H_
3 #include "./GeEngine/common.h"
4 #include "./GeEngine/vm.h"
5 #include "./GeEngine/gefile.h"
6
7
8 #define GE_SAVE_OBJ 1
9 #define GE_ANALIZ_BYTECODE 2
10 #define GE_ANALIZ_VARS 4
11 #define GE_ANALIZ_TYPE 8
12
13
14 class GeClass
15 {
16 public:
17 GeClass();
18 ~GeClass();
19 bool LoadGe(char *nameFile);
20 bool SaveGe(char *nameFile, bool delName);
21 uint GetCountObj();
22 pvmobj GetVmObj(uint index);
23 char* GetVmObjName(uint index);
24 bool isDel(int index);
25 private:
26 pvmEngine m_pEngine;
27 void AnalizDel();
28
29 bool AnalizByteCod();
30 bool AnalizVarType();
31 bool AnalizType();
32 char *m_pFlagDel;
33
34 };
35
36 #endif //_GE_CLASS_H_
Редактировать