| [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:
 | 
|---|
| [1247] | 18 |               PAWExecutor(PIACmd* piac, PIStdImgApp* app);
 | 
|---|
 | 19 |   virtual     ~PAWExecutor();
 | 
|---|
| [1268] | 20 |   virtual int Execute(string& keyw, vector<string>& args, string& toks);
 | 
|---|
| [2755] | 21 |   virtual bool  IsThreadable(string const & keyw);
 | 
|---|
 | 22 | 
 | 
|---|
| [463] | 23 | protected:
 | 
|---|
| [1247] | 24 |   void  reset(vector<string>& tokens);
 | 
|---|
 | 25 |   void  n_plot(vector<string>& tokens);
 | 
|---|
 | 26 |   void  n_proj(vector<string>& tokens);
 | 
|---|
 | 27 |   void  n_scan(vector<string>& tokens);
 | 
|---|
| [2669] | 28 |   void  n_read(vector<string>& tokens);
 | 
|---|
 | 29 |   void  n_merge(vector<string>& tokens);
 | 
|---|
| [2809] | 30 |   void  n_merge_col(vector<string>& tokens);
 | 
|---|
| [2817] | 31 |   void  n_assoc_col(vector<string>& tokens);
 | 
|---|
| [2816] | 32 |   void  n_copy(vector<string>& tokens);
 | 
|---|
| [1247] | 33 |   void  h_integ(vector<string>& tokens);
 | 
|---|
| [1912] | 34 |   void  v_integ(vector<string>& tokens);
 | 
|---|
| [2707] | 35 |   void  v_sort(vector<string>& tokens);
 | 
|---|
| [1247] | 36 |   void  h_deriv(vector<string>& tokens);
 | 
|---|
| [1912] | 37 |   void  v_deriv(vector<string>& tokens);
 | 
|---|
| [1247] | 38 |   void  h_rebin(vector<string>& tokens);
 | 
|---|
 | 39 |   void  h_cadd(vector<string>& tokens);
 | 
|---|
 | 40 |   void  h_cmult(vector<string>& tokens);
 | 
|---|
 | 41 |   void  h_oper(vector<string>& tokens);
 | 
|---|
 | 42 |   void  h_plot_2d(vector<string>& tokens);
 | 
|---|
| [3058] | 43 |   void  h_2d_geth(vector<string>& tokens);
 | 
|---|
| [1247] | 44 |   void  h_put_vec(vector<string>& tokens);
 | 
|---|
 | 45 |   void  h_get_vec(vector<string>& tokens);
 | 
|---|
 | 46 |   void  h_copy(vector<string>& tokens);
 | 
|---|
 | 47 |   void  h_set(string dum,vector<string>& tokens);
 | 
|---|
 | 48 |   void  h_err(vector<string>& tokens);
 | 
|---|
| [3149] | 49 |   void  herr_mean_variance(vector<string>& tokens,int var=0);
 | 
|---|
| [1247] | 50 |   int_4 decodepawstring(string tokens,string& nameobj
 | 
|---|
 | 51 |                        ,string& xexp,string& yexp,string& zexp);
 | 
|---|
| [463] | 52 |   PIStdImgApp* mApp;
 | 
|---|
| [1035] | 53 |   static uint_4 autoc_counter_;
 | 
|---|
| [463] | 54 | };
 | 
|---|
 | 55 | 
 | 
|---|
 | 56 | #endif
 | 
|---|