| 
            Last change
 on this file since 808 was             757, checked in by ansari, 26 years ago           | 
        
        
          | 
             
restructuration - ajout de NToolsInitiator , Reza 2/3/2000 
 
           | 
        
        
          | 
            File size:
            1011 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | // Classe d'initialisation du module NTools
 | 
|---|
| 2 | 
 | 
|---|
| 3 | #include "machdefs.h"
 | 
|---|
| 4 | #include "ntoolsinit.h"
 | 
|---|
| 5 | 
 | 
|---|
| 6 | #include "poly.h"
 | 
|---|
| 7 | #include "generaldata.h"
 | 
|---|
| 8 | #include "cimage.h"
 | 
|---|
| 9 | 
 | 
|---|
| 10 | #include "tabmath.h"
 | 
|---|
| 11 | #include "dates.h"
 | 
|---|
| 12 | #include "datime.h"
 | 
|---|
| 13 | 
 | 
|---|
| 14 | int NToolsInitiator::FgInit = 0;
 | 
|---|
| 15 | 
 | 
|---|
| 16 | NToolsInitiator::NToolsInitiator()
 | 
|---|
| 17 |   : TArrayInitiator()
 | 
|---|
| 18 | {
 | 
|---|
| 19 |   FgInit++;
 | 
|---|
| 20 |   if (FgInit > 1)  return;
 | 
|---|
| 21 | 
 | 
|---|
| 22 | //   Enregistrement des classes PPersist du modules Outils++
 | 
|---|
| 23 |   
 | 
|---|
| 24 |   //  PPRegister(OMatrix);
 | 
|---|
| 25 |   //  PPRegister(OVector);
 | 
|---|
| 26 | 
 | 
|---|
| 27 |   PPRegister(ObjFileIO<Poly>);
 | 
|---|
| 28 |   PPRegister(ObjFileIO<Poly2>);
 | 
|---|
| 29 | 
 | 
|---|
| 30 |   PPRegister(ObjFileIO<GeneralFitData>);
 | 
|---|
| 31 | 
 | 
|---|
| 32 |   PPRegister(RzImage);
 | 
|---|
| 33 |   PPRegister(ImageU2);
 | 
|---|
| 34 |   PPRegister(ImageI2);
 | 
|---|
| 35 |   PPRegister(ImageI4);
 | 
|---|
| 36 |   PPRegister(ImageR4);
 | 
|---|
| 37 | 
 | 
|---|
| 38 | 
 | 
|---|
| 39 | 
 | 
|---|
| 40 | //  TSidSetupLaSilla();    Old-Eros
 | 
|---|
| 41 | 
 | 
|---|
| 42 |   gTimeZone = new TimeZone;
 | 
|---|
| 43 | 
 | 
|---|
| 44 |   ptabFExp = new TabFExp;
 | 
|---|
| 45 | 
 | 
|---|
| 46 | }
 | 
|---|
| 47 | 
 | 
|---|
| 48 | NToolsInitiator::~NToolsInitiator()
 | 
|---|
| 49 | {
 | 
|---|
| 50 |   FgInit--;
 | 
|---|
| 51 | }
 | 
|---|
| 52 | 
 | 
|---|
| 53 | 
 | 
|---|
| 54 | // On met un objet initiator en statique, pour les loaders qui savent 
 | 
|---|
| 55 | // appeler le constructeur des objets statiques   Reza 08/98
 | 
|---|
| 56 | static NToolsInitiator ntoolsinit;
 | 
|---|
| 57 | 
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.