Last change
on this file since 1104 was 1104, checked in by ansari, 25 years ago |
Heritage classe Image<T> de TMatrix<T> Reza+CMV 27/7/2000
|
File size:
1.2 KB
|
Rev | Line | |
---|
[757] | 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 |
|
---|
[926] | 14 | /*!
|
---|
| 15 | \defgroup NTools NTools module
|
---|
| 16 | This module contains various tools for Sophya.
|
---|
| 17 | */
|
---|
| 18 |
|
---|
[757] | 19 | int NToolsInitiator::FgInit = 0;
|
---|
| 20 |
|
---|
[926] | 21 | /*!
|
---|
| 22 | \class SOPHYA::NToolsInitiator
|
---|
| 23 | \ingroup NTools
|
---|
| 24 | Tools initiator
|
---|
| 25 | */
|
---|
[757] | 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>);
|
---|
[1069] | 41 | DObjRegister(ObjFileIO<GeneralFitData>, GeneralFitData);
|
---|
[757] | 42 |
|
---|
[1104] | 43 | DObjRegister(FIO_TArray<uint_2>, Image<uint_2>);
|
---|
| 44 | DObjRegister(FIO_TArray<int_4>, Image<int_4>);
|
---|
| 45 | DObjRegister(FIO_TArray<r_4>, Image<r_4>);
|
---|
[757] | 46 |
|
---|
| 47 |
|
---|
| 48 | // TSidSetupLaSilla(); Old-Eros
|
---|
| 49 |
|
---|
| 50 | gTimeZone = new TimeZone;
|
---|
| 51 |
|
---|
| 52 | ptabFExp = new TabFExp;
|
---|
| 53 |
|
---|
| 54 | }
|
---|
| 55 |
|
---|
| 56 | NToolsInitiator::~NToolsInitiator()
|
---|
| 57 | {
|
---|
| 58 | FgInit--;
|
---|
| 59 | }
|
---|
| 60 |
|
---|
| 61 |
|
---|
| 62 | // On met un objet initiator en statique, pour les loaders qui savent
|
---|
| 63 | // appeler le constructeur des objets statiques Reza 08/98
|
---|
| 64 | static NToolsInitiator ntoolsinit;
|
---|
| 65 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.