source: Sophya/trunk/SophyaPI/PIext/nomgadapter.cc@ 440

Last change on this file since 440 was 344, checked in by ercodmgr, 26 years ago

1/ Extension de fonctionalites de gestion de repertoires (Lock, ...)
2/ Plus de NTupIntf_Adapter quand les objets heritent de NTupleInterface
3/ Support pour affichage info texte, ds PINtuple et PIStarList

File size: 1.6 KB
Line 
1#include "machdefs.h"
2#include <stdlib.h>
3#include <typeinfo>
4#include <iostream.h>
5#include <string>
6#include "nomgadapter.h"
7
8/* --Methode-- */
9NObjMgrAdapter::NObjMgrAdapter(AnyDataObj* o)
10{
11mObj = o;
12}
13
14/* --Methode-- */
15NObjMgrAdapter::~NObjMgrAdapter()
16{
17}
18
19/* --Methode-- */
20NObjMgrAdapter* NObjMgrAdapter::Clone(AnyDataObj* o)
21{
22return(new NObjMgrAdapter(o));
23}
24
25/* --Methode-- */
26AnyDataObj* NObjMgrAdapter::GetDataObj()
27{
28return(mObj);
29}
30
31/* --Methode-- */
32void NObjMgrAdapter::ReadFits(string const & )
33{
34string s = typeid(*mObj).name();
35cout << "NObjMgrAdapter::ReadFits() - Error : Not supported for " << s << endl;
36}
37
38/* --Methode-- */
39void NObjMgrAdapter::SaveFits(string const & )
40{
41string s = typeid(*mObj).name();
42cout << "NObjMgrAdapter::SaveFits() - Error : Not supported for " << s << endl;
43}
44
45/* --Methode-- */
46void NObjMgrAdapter::SavePPF(POutPersist&, string const & )
47{
48string s = typeid(*mObj).name();
49cout << "NObjMgrAdapter::SavePPF() - Error : Not supported for " << s << endl;
50}
51
52/* --Methode-- */
53void NObjMgrAdapter::Print(ostream& )
54{
55string s = typeid(*mObj).name();
56cout << "NObjMgrAdapter::Print() - Error : Not supported for " << s << endl;
57}
58
59/* --Methode-- */
60PIDrawer* NObjMgrAdapter::GetDrawer(string &)
61{
62return(NULL);
63}
64
65/* --Methode-- */
66P2DArrayAdapter* NObjMgrAdapter::Get2DArray(string &)
67{
68return(NULL);
69}
70
71/* --Methode-- */
72NTupleInterface* NObjMgrAdapter::GetNTupleInterface(bool& adel)
73{
74string s = typeid(*mObj).name();
75cout << "NObjMgrAdapter::GetNTupleInterface() - Error : Not supported for " << s << endl;
76adel = false;
77return(NULL);
78}
79
80
81
82
83
84
Note: See TracBrowser for help on using the repository browser.