Ignore:
Timestamp:
Apr 3, 2000, 7:32:27 PM (25 years ago)
Author:
ansari
Message:

Mise au point du nouveau schema (Version=2) de PPersist - Mise en place

de tag complet pour toutes les donnees/objets ecrits - Gestion a peu
pres correct des objets references plusieurs fois, ecrit une seule fois.
Mecanisme d'enregistrement pour les DataObject associe et Methodes
(PutObject/GetObjet) facilitant l'ecriture/lecture de DataObject.
Separation du fichier de la classe FIO_NDataBlock<T>.

Reza03/04/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/BaseTools/sophyainit.cc

    r754 r802  
    1111
    1212#include "ppersist.h"
    13 #include "ndatablock.h"
     13#include "fiondblock.h"
    1414#include "dvlist.h"
    1515
     
    3636  PIOPersist::Initialize();
    3737  PPRegister(FIO_NDataBlock<uint_1>);
     38  DObjRegister(FIO_NDataBlock<uint_1>, NDataBlock<uint_1>);
    3839  PPRegister(FIO_NDataBlock<uint_2>);
     40  DObjRegister(FIO_NDataBlock<uint_2>, NDataBlock<uint_2>);
    3941  PPRegister(FIO_NDataBlock<int_2>);
     42  DObjRegister(FIO_NDataBlock<int_2>, NDataBlock<int_2>);
    4043  PPRegister(FIO_NDataBlock<int_4>);
     44  DObjRegister(FIO_NDataBlock<int_4>, NDataBlock<int_4>);
    4145  PPRegister(FIO_NDataBlock<int_8>);
     46  DObjRegister(FIO_NDataBlock<int_8>, NDataBlock<int_8>);
    4247  PPRegister(FIO_NDataBlock<uint_4>);
     48  DObjRegister(FIO_NDataBlock<uint_4>, NDataBlock<uint_4>);
    4349  PPRegister(FIO_NDataBlock<uint_8>);
     50  DObjRegister(FIO_NDataBlock<uint_8>, NDataBlock<uint_8>);
    4451  PPRegister(FIO_NDataBlock<r_4>);
     52  DObjRegister(FIO_NDataBlock<r_4>, NDataBlock<r_4>);
    4553  PPRegister(FIO_NDataBlock<r_8>);
    46   PPRegister(FIO_NDataBlock< complex<float> >);
    47   PPRegister(FIO_NDataBlock< complex<double> >);
     54  DObjRegister(FIO_NDataBlock<r_8>, NDataBlock<r_8>);
     55  PPRegister(FIO_NDataBlock< complex<r_4> >);
     56  DObjRegister(FIO_NDataBlock< complex<r_4> >, NDataBlock< complex<r_4> >);
     57  PPRegister(FIO_NDataBlock< complex<r_8> >);
     58  DObjRegister(FIO_NDataBlock< complex<r_8> >, NDataBlock< complex<r_8> >);
    4859
    4960  PPRegister(ObjFileIO<DVList>);
     61  DObjRegister(ObjFileIO<DVList>, DVList);
    5062
    5163
Note: See TracChangeset for help on using the changeset viewer.