Changeset 1268 in Sophya for trunk/SophyaPI/PIext/cxxexecutor.h


Ignore:
Timestamp:
Nov 1, 2000, 1:01:28 AM (25 years ago)
Author:
ercodmgr
Message:

3ieme argument string& toks pour Execute et ExecuteCommand
preparation gestion TmpDir dans cxxexecutor
suppression de ExecuteCXX ds cxxexecutor et appels
possibilite d'ajouter des userfct.cc ds cxxexecutor

cmv 1/11/00

File:
1 edited

Legend:

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

    r1262 r1268  
    2323  virtual ~CxxExecutor();
    2424
    25   virtual int Execute(string& keyw,vector<string>& args);
     25  virtual int Execute(string& keyw,vector<string>& args, string& toks);
    2626
    27   int  ExecuteCxx(string const & code);
    28 
    29   int  CrFile(string cfilename="cxx_spiapp.cc",string func="usercxx");
     27  int  CrFile(string cfilename="",string func="");
    3028       void PutInclude(ofstream& os);
    3129       void PutIncludeUser(ofstream& os);
     
    3331       void PutVar(ofstream& os);
    3432
    35   int  FillUserCode(vector<string>& usercode,uint_4 first);
    36   int  FillUserCode(string filename);
     33  int  FillUserCode(string& usercode,uint_4 first);
     34  int  FillUserCode(string filename,string filefctname="");
    3735
    38   int  Compile(string rootfilename="cxx_spiapp");
     36  int  Compile(string rootfilename="");
    3937       int CrMakefile(void);
    4038
    41   int  Link(string libname="cxx_spiapp.so",string func="usercxx");
    42   int  Call(string func="usercxx");
     39  int  Link(string libname="",string func="");
     40  int  Call(string func="");
    4341
    4442  void   FillArgs(vector<string>& args);
     
    6462private:
    6563  string mUserCodeFn;
     64  string mUserFctFn;
    6665  string mCompOpt;
    6766  string mLinkOpt;
     
    6968  vector<string> mIncList;
    7069  vector<string> mCallArgs;
     70
     71  string mDefTmp;
     72  string mDefRoot;
     73  string mDefFunc;
    7174};
    7275
Note: See TracChangeset for help on using the changeset viewer.