Changeset 298 in Sophya


Ignore:
Timestamp:
May 16, 1999, 3:47:49 AM (26 years ago)
Author:
ansari
Message:

Test typeid - Reza 15/05/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/Tests/timg.cc

    r274 r298  
    3535// On sauve l'image ds img.ppf (fichier  format PPersist)
    3636img.Write("img.ppf");
    37 
    3837
    3938// On rajoute du bruit a l'image (Gaussienne de sigma=3)
     
    9998cout << (NDataBlock< complex<double> >)(fzb2) ;
    10099
     100cout << "\n -------> Test de typeinfo : " << endl;
     101string st;
     102ImageR4 ir;
     103ImageU2* irp;
     104
     105st = typeid(NDataBlock<r_8>).name();
     106cout << "typeid(NDataBlock<r_8>).name() = " << st << endl;
     107st = typeid(ir).name();
     108cout << "typeid(ir).name() - " << st << endl;
     109st = typeid(irp).name();
     110cout << "typeid(irp).name() - " << st << endl;
    101111cout << "\n ========= Fin de timg.cc ======== " << endl;
    102112exit(0);
Note: See TracChangeset for help on using the changeset viewer.