// This may look like C code, but it is really -*- C++ -*- // Classe d ajustement pour piapp // cmv 98-99 // CEA-DAPNIA LAL-IN2P3/CNRS #ifndef PAWEXECUTOR_H_SEEN #define PAWEXECUTOR_H_SEEN #include "machdefs.h" #include #include #include "anydataobj.h" #include "piacmd.h" class PAWExecutor : public CmdExecutor { public: PAWExecutor(PIACmd* piac, PIStdImgApp* app); virtual ~PAWExecutor(); virtual int Execute(string& keyw, vector& args, string& toks); protected: void reset(vector& tokens); void n_plot(vector& tokens); void n_proj(vector& tokens); void n_scan(vector& tokens); void h_integ(vector& tokens); void v_integ(vector& tokens); void h_deriv(vector& tokens); void v_deriv(vector& tokens); void h_rebin(vector& tokens); void h_cadd(vector& tokens); void h_cmult(vector& tokens); void h_oper(vector& tokens); void h_plot_2d(vector& tokens); void h_put_vec(vector& tokens); void h_get_vec(vector& tokens); void h_copy(vector& tokens); void h_set(string dum,vector& tokens); void h_err(vector& tokens); int_4 decodepawstring(string tokens,string& nameobj ,string& xexp,string& yexp,string& zexp); PIStdImgApp* mApp; static uint_4 autoc_counter_; }; #endif