| Last change
 on this file since 3484 was             3218, checked in by ansari, 19 years ago | 
        
          | 
Ajout adaptateur pour DVList (ds piapp) et maj Makefile , Reza 12/04/2007
 | 
        
          | File size:
            1.0 KB | 
      
      
| Rev | Line |  | 
|---|
| [3218] | 1 | // Adaptateur d objets (pour NamedObjMgr) pour DVList | 
|---|
|  | 2 | //       R. Ansari , Avril 2007 | 
|---|
|  | 3 | // (C) UPS-LAL(IN2P3/CNRS)             (C)  CEA-DAPNIA | 
|---|
|  | 4 |  | 
|---|
|  | 5 | #ifndef NOMDVLISTADAPTER_H_SEEN | 
|---|
|  | 6 | #define NOMDVLISTADAPTER_H_SEEN | 
|---|
|  | 7 |  | 
|---|
|  | 8 | #include "nomgadapter.h" | 
|---|
|  | 9 | #include "dvlist.h" | 
|---|
|  | 10 | #include "sopnamsp.h" | 
|---|
|  | 11 |  | 
|---|
|  | 12 |  | 
|---|
|  | 13 | //------------------------------------------------------------------------- | 
|---|
|  | 14 | // Class Adaptateur d'objet (Pour NamedObjMgr) DVList | 
|---|
|  | 15 | //------------------------------------------------------------------------- | 
|---|
|  | 16 |  | 
|---|
|  | 17 | class NOMAdapter_DVList : public NObjMgrAdapter { | 
|---|
|  | 18 | public: | 
|---|
|  | 19 | NOMAdapter_DVList(DVList* dvl = NULL); | 
|---|
|  | 20 | virtual                       ~NOMAdapter_DVList(); | 
|---|
|  | 21 |  | 
|---|
|  | 22 | virtual NObjMgrAdapter*       Clone(AnyDataObj* o); | 
|---|
|  | 23 |  | 
|---|
|  | 24 | virtual string                GetDataObjType(); | 
|---|
|  | 25 |  | 
|---|
|  | 26 | virtual AnyDataObj*           CloneDataObj(bool share=false); | 
|---|
|  | 27 |  | 
|---|
|  | 28 | virtual void                  SavePPF(POutPersist& s, string const & nom); | 
|---|
|  | 29 |  | 
|---|
|  | 30 | // Returns a string with synthetic information about the object | 
|---|
|  | 31 | virtual string                GetInfoString(vector<string>& opts); | 
|---|
|  | 32 |  | 
|---|
|  | 33 | virtual void                  Print(ostream& os, int lev=0); | 
|---|
|  | 34 |  | 
|---|
|  | 35 | protected: | 
|---|
|  | 36 | DVList* mDvl; | 
|---|
|  | 37 | }; | 
|---|
|  | 38 |  | 
|---|
|  | 39 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.