Changeset 349 in Sophya for trunk/SophyaPI/PIext/piacmd.h


Ignore:
Timestamp:
Aug 4, 1999, 3:37:31 PM (26 years ago)
Author:
ercodmgr
Message:

A/ ajout des blocs foreach et ameliorations gestion des variables ($x)
pour l'interpreteur piacmd.
B/ Ajout PIStdImgApp::AddText et corrections diverses

Reza 05/08/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/piacmd.h

    r333 r349  
    4545class Timer;
    4646class PDynLinkMgr;
    47 class PIAHelpWind;
     47
     48class PIAHelpWind; // Fenetre d'aide en ligne
     49class PIACmdBloc;
    4850
    4951// ---------------------------------------------------------------------
     
    5355// ---------------------------------------------------------------------
    5456
    55 class PIAHelpWind;   // Fenetre d'aide en ligne
    5657
    5758class PIACmd : public CmdInterpreter  {
     
    7475  virtual int           ExecuteCommandLine(string& line);
    7576  virtual int           ExecuteCommand(string& keyw, vector<string>& args);
    76   virtual int           ExecFile(string& file);
     77  virtual int           ExecFile(string& file, vector<string>& args);
    7778
    7879  virtual string&       GetUsage(const string& kw);
     
    114115//  Pour stocker les variables definies par l'interpreteur
    115116  typedef map<string, string, less<string> > CmdVarList;
    116   CmdVarList mVars;    // Liste des variables
     117  CmdVarList mVars;     // Liste des variables
     118  CmdVarList mAliases;  // Liste des alias
     119
     120  PIACmdBloc * curblk;  // Bloc de commande courant (foreach, ...)
     121  int felevel;          // foreah level
     122
    117123  ofstream hist;       //  History file
     124  bool histon;        //  True ->  history file
    118125  bool trace;          // Trace flag
    119126  bool timing;         // Display CPU Time
Note: See TracChangeset for help on using the changeset viewer.