Last change
on this file since 463 was 463, checked in by ercodmgr, 26 years ago |
HelpToTex + CopyObj (ds Adapter) et PawExecutor cmv+Reza 12/10/99
|
File size:
1.3 KB
|
Rev | Line | |
---|
[295] | 1 | // This may look like C code, but it is really -*- C++ -*-
|
---|
| 2 | // Adaptateur pour objets gere par NamedObjMgr (piapp)
|
---|
| 3 | // Reza 05/99
|
---|
| 4 | // LAL-IN2P3/CNRS CEA-DAPNIA
|
---|
| 5 |
|
---|
| 6 | #ifndef NOMGADAPTER_H_SEEN
|
---|
| 7 | #define NOMGADAPTER_H_SEEN
|
---|
| 8 |
|
---|
| 9 | #include "machdefs.h"
|
---|
| 10 | #include "ppersist.h"
|
---|
| 11 | #include "anydataobj.h"
|
---|
| 12 | #include "pidrawer.h"
|
---|
| 13 | #include "parradapter.h"
|
---|
| 14 | #include "ntupintf.h"
|
---|
| 15 |
|
---|
| 16 |
|
---|
| 17 | // Classe d'adaptateur d'objets de donnees pour la gestion d'objets
|
---|
| 18 | // nommes (NamedObjMgr) de piapp
|
---|
| 19 |
|
---|
| 20 | class NObjMgrAdapter {
|
---|
| 21 | public:
|
---|
| 22 | NObjMgrAdapter(AnyDataObj* o);
|
---|
| 23 | virtual ~NObjMgrAdapter();
|
---|
| 24 |
|
---|
| 25 | virtual NObjMgrAdapter* Clone(AnyDataObj* o);
|
---|
| 26 |
|
---|
| 27 | virtual AnyDataObj* GetDataObj();
|
---|
[463] | 28 | virtual AnyDataObj* GetCopyObj();
|
---|
[295] | 29 |
|
---|
| 30 | virtual void ReadFits(string const & flnm);
|
---|
| 31 | virtual void SaveFits(string const & flnm);
|
---|
| 32 | virtual void SavePPF(POutPersist& s, string const & nom);
|
---|
| 33 |
|
---|
| 34 | virtual void Print(ostream& os);
|
---|
| 35 | virtual PIDrawer* GetDrawer(string& dopt);
|
---|
| 36 | virtual P2DArrayAdapter* Get2DArray(string& dopt);
|
---|
[344] | 37 |
|
---|
| 38 | // NTupleInterface* nti = GetNTupleInterface(adel)
|
---|
| 39 | // Retourne un objet de type NTupleInterface (nti), ainsi que adel
|
---|
| 40 | // si adel == true, le programme appelant doit faire delete de nti
|
---|
| 41 | virtual NTupleInterface* GetNTupleInterface(bool& adel);
|
---|
[295] | 42 | protected:
|
---|
| 43 | AnyDataObj* mObj;
|
---|
| 44 | };
|
---|
| 45 |
|
---|
| 46 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.