Changeset 1268 in Sophya for trunk/SophyaPI/PIext/cxxexecutor.h
- Timestamp:
- Nov 1, 2000, 1:01:28 AM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/cxxexecutor.h
r1262 r1268 23 23 virtual ~CxxExecutor(); 24 24 25 virtual int Execute(string& keyw,vector<string>& args );25 virtual int Execute(string& keyw,vector<string>& args, string& toks); 26 26 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=""); 30 28 void PutInclude(ofstream& os); 31 29 void PutIncludeUser(ofstream& os); … … 33 31 void PutVar(ofstream& os); 34 32 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=""); 37 35 38 int Compile(string rootfilename=" cxx_spiapp");36 int Compile(string rootfilename=""); 39 37 int CrMakefile(void); 40 38 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=""); 43 41 44 42 void FillArgs(vector<string>& args); … … 64 62 private: 65 63 string mUserCodeFn; 64 string mUserFctFn; 66 65 string mCompOpt; 67 66 string mLinkOpt; … … 69 68 vector<string> mIncList; 70 69 vector<string> mCallArgs; 70 71 string mDefTmp; 72 string mDefRoot; 73 string mDefFunc; 71 74 }; 72 75
Note:
See TracChangeset
for help on using the changeset viewer.