|
Last change
on this file since 1074 was 1069, checked in by ansari, 25 years ago |
|
intro du PPersist pour generalFitData
bug generalfit: pb du createur de Vector<r_8> qui share par defaut
cmv 13/7/00
|
|
File size:
1.2 KB
|
| 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 | /*!
|
|---|
| 15 | \defgroup NTools NTools module
|
|---|
| 16 | This module contains various tools for Sophya.
|
|---|
| 17 | */
|
|---|
| 18 |
|
|---|
| 19 | int NToolsInitiator::FgInit = 0;
|
|---|
| 20 |
|
|---|
| 21 | /*!
|
|---|
| 22 | \class SOPHYA::NToolsInitiator
|
|---|
| 23 | \ingroup NTools
|
|---|
| 24 | Tools initiator
|
|---|
| 25 | */
|
|---|
| 26 | NToolsInitiator::NToolsInitiator()
|
|---|
| 27 | : TArrayInitiator()
|
|---|
| 28 | {
|
|---|
| 29 | FgInit++;
|
|---|
| 30 | if (FgInit > 1) return;
|
|---|
| 31 |
|
|---|
| 32 | // Enregistrement des classes PPersist du modules Outils++
|
|---|
| 33 |
|
|---|
| 34 | // PPRegister(OMatrix);
|
|---|
| 35 | // PPRegister(OVector);
|
|---|
| 36 |
|
|---|
| 37 | PPRegister(ObjFileIO<Poly>);
|
|---|
| 38 | PPRegister(ObjFileIO<Poly2>);
|
|---|
| 39 |
|
|---|
| 40 | PPRegister(ObjFileIO<GeneralFitData>);
|
|---|
| 41 | DObjRegister(ObjFileIO<GeneralFitData>, GeneralFitData);
|
|---|
| 42 |
|
|---|
| 43 | PPRegister(RzImage);
|
|---|
| 44 | PPRegister(ImageU2);
|
|---|
| 45 | PPRegister(ImageI2);
|
|---|
| 46 | PPRegister(ImageI4);
|
|---|
| 47 | PPRegister(ImageR4);
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 | // TSidSetupLaSilla(); Old-Eros
|
|---|
| 52 |
|
|---|
| 53 | gTimeZone = new TimeZone;
|
|---|
| 54 |
|
|---|
| 55 | ptabFExp = new TabFExp;
|
|---|
| 56 |
|
|---|
| 57 | }
|
|---|
| 58 |
|
|---|
| 59 | NToolsInitiator::~NToolsInitiator()
|
|---|
| 60 | {
|
|---|
| 61 | FgInit--;
|
|---|
| 62 | }
|
|---|
| 63 |
|
|---|
| 64 |
|
|---|
| 65 | // On met un objet initiator en statique, pour les loaders qui savent
|
|---|
| 66 | // appeler le constructeur des objets statiques Reza 08/98
|
|---|
| 67 | static NToolsInitiator ntoolsinit;
|
|---|
| 68 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.