| [463] | 1 | // This may look like C code, but it is really -*- C++ -*- | 
|---|
|  | 2 | // Classe d ajustement pour  piapp | 
|---|
|  | 3 | // cmv                            98-99 | 
|---|
|  | 4 | // CEA-DAPNIA      LAL-IN2P3/CNRS | 
|---|
|  | 5 |  | 
|---|
|  | 6 | #ifndef PAWEXECUTOR_H_SEEN | 
|---|
|  | 7 | #define PAWEXECUTOR_H_SEEN | 
|---|
|  | 8 |  | 
|---|
|  | 9 | #include "machdefs.h" | 
|---|
|  | 10 | #include <string> | 
|---|
|  | 11 | #include <vector> | 
|---|
|  | 12 |  | 
|---|
|  | 13 | #include "anydataobj.h" | 
|---|
|  | 14 | #include "piacmd.h" | 
|---|
|  | 15 |  | 
|---|
|  | 16 | class PAWExecutor : public CmdExecutor { | 
|---|
|  | 17 | public: | 
|---|
|  | 18 | PAWExecutor(PIACmd* piac, PIStdImgApp* app); | 
|---|
|  | 19 | virtual          ~PAWExecutor(); | 
|---|
|  | 20 | virtual int      Execute(string& keyw, vector<string>& args); | 
|---|
|  | 21 | protected: | 
|---|
| [466] | 22 | void reset(vector<string>& tokens); | 
|---|
|  | 23 | void n_plot(vector<string>& tokens); | 
|---|
|  | 24 | void n_proj(vector<string>& tokens); | 
|---|
|  | 25 | void h_integ(vector<string>& tokens); | 
|---|
|  | 26 | void h_deriv(vector<string>& tokens); | 
|---|
|  | 27 | void h_rebin(vector<string>& tokens); | 
|---|
|  | 28 | void h_cadd(vector<string>& tokens); | 
|---|
|  | 29 | void h_cmult(vector<string>& tokens); | 
|---|
| [1054] | 30 | void h_oper(vector<string>& tokens); | 
|---|
| [466] | 31 | void h_plot_2d(vector<string>& tokens); | 
|---|
| [1065] | 32 | void h_put_vec(vector<string>& tokens); | 
|---|
|  | 33 | void h_get_vec(vector<string>& tokens); | 
|---|
| [1070] | 34 | void h_copy(vector<string>& tokens); | 
|---|
| [1079] | 35 | void h_set(string dum,vector<string>& tokens); | 
|---|
|  | 36 | void h_err(vector<string>& tokens); | 
|---|
| [466] | 37 | int  decodepawstring(string tokens,string& nameobj | 
|---|
|  | 38 | ,string& xexp,string& yexp,string& zexp); | 
|---|
| [463] | 39 | PIStdImgApp* mApp; | 
|---|
| [1035] | 40 | static uint_4 autoc_counter_; | 
|---|
| [463] | 41 | }; | 
|---|
|  | 42 |  | 
|---|
|  | 43 | #endif | 
|---|