Changeset 1262 in Sophya for trunk/SophyaPI/PIext/piacmd.h
- Timestamp:
- Oct 27, 2000, 6:30:28 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/piacmd.h
r1251 r1262 12 12 #include <string> 13 13 #include <vector> 14 #include <list> 14 15 #include <map> 15 16 #include <functional> … … 78 79 79 80 virtual int Interpret(string& line); 80 virtual int ExecuteCommandLine(string& line);81 virtual int ParseLineExecute(string& line); 81 82 virtual int ExecuteCommand(string& keyw, vector<string>& args); 82 83 virtual int ExecFile(string& file, vector<string>& args); … … 99 100 protected: 100 101 virtual int CheckHelpGrp(string& grp); 102 int ExecuteCommandLine(string & keyw, vector<string> & args, 103 string & toks); 104 105 int SubstituteVars(string & s, string & s2); 106 bool EvaluateTest(vector<string> & args); 101 107 102 108 NamedObjMgr* mObjMgr; … … 128 134 // Pour stocker les variables definies par l'interpreteur 129 135 typedef map<string, string, less<string> > CmdVarList; 130 CmdVarList mVars; //Liste des variables136 // CmdVarList mVars; Liste des variables 131 137 CmdVarList mAliases; // Liste des alias 132 138 133 139 PIACmdBloc * curblk; // Bloc de commande courant (foreach, ...) 134 140 int felevel; // foreah level 141 list<bool> testresult; // Resultat des test if 142 list<bool>::iterator tresit; // Test courant 143 bool bloctest; // On est ds un bloc test 144 bool bloccxx; // On est ds un bloc code C++ 145 string codecxx; 135 146 136 147 ofstream hist; // History file
Note:
See TracChangeset
for help on using the changeset viewer.