Last change
on this file since 339 was 295, checked in by ercodmgr, 26 years ago |
Mise aux "normes" version DPC/Planck - Gestion des objets a travers
un adaptateur/interface NTuple par NamedObjMgr.
Enregistrement d'objets et de l'adaptateur (I/O PPersist, display, ...)
par ServNobjMgr .... Reza 13/05/99
|
File size:
1.1 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();
|
---|
| 28 |
|
---|
| 29 | virtual void ReadFits(string const & flnm);
|
---|
| 30 | virtual void SaveFits(string const & flnm);
|
---|
| 31 | virtual void SavePPF(POutPersist& s, string const & nom);
|
---|
| 32 |
|
---|
| 33 | virtual void Print(ostream& os);
|
---|
| 34 | virtual PIDrawer* GetDrawer(string& dopt);
|
---|
| 35 | virtual P2DArrayAdapter* Get2DArray(string& dopt);
|
---|
| 36 | virtual NTupleInterface* GetNTupleInterface();
|
---|
| 37 | protected:
|
---|
| 38 | AnyDataObj* mObj;
|
---|
| 39 | };
|
---|
| 40 |
|
---|
| 41 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.