00001 // Copyright (C) 2006 Bryan Jacobson <bryanjacobson@users.sourceforge.net> 00002 // This program is licensed under the terms of the GNU General Public License 00003 // version 2, as published by the Free Software Foundation. 00004 // This program is distributed in the hope that it will be useful, 00005 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00006 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00007 00011 00012 #ifndef KBASE_H 00013 #define KBASE_H 00014 00015 void ReadKBaseFile(char *fileName); 00016 Data *ProcessData(Data *pData); 00017 00019 class Context 00020 { 00021 public: 00022 Context(); 00023 Context *Push(); 00024 Context *Pop(); 00025 void Print(Id id); 00026 00027 Data *mpProp; 00028 Data *mpClass; 00029 Data *mpName; 00030 Data *mpTime; 00031 Data *mpMath; 00032 Data *mpAction; 00033 Data *mpNumber; 00034 double mValue; 00035 double mRightValue; 00036 Context *mpPrevious; 00037 }; 00038 00039 00040 #endif // KBASE_H