Changeset 1068 in Sophya


Ignore:
Timestamp:
Jul 13, 2000, 12:17:14 AM (25 years ago)
Author:
ercodmgr
Message:

petit pb de print pour saveobjs
intro du PPersist pour GeneralFitData

cmv 13/7/00

Location:
trunk/SophyaPI/PIext
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/basexecut.cc

    r1067 r1068  
    764764kw = "saveobjs";
    765765usage = "Saves objects with names matching a pattern (x?y*) into a PPF file \n";
    766 usage += "Usage: saveall nameobjpattern filename";
     766usage += "Usage: saveobjs nameobjpattern filename";
    767767usage += "\n  Related commands: saveall openppf savefits"; 
    768768mpiac->RegisterCommand(kw, usage, this, "FileIO");
  • trunk/SophyaPI/PIext/nomgfdadapter.cc

    r463 r1068  
    4242{
    4343#ifdef SANS_EVOLPLANCK
    44 // PEIDA-EROS L'histo est lui-meme PPersist
    4544string tag = nom;  // A cause de const
    4645mG->Write(pos,0,tag);
    4746#else
    48 string s = typeid(*mObj).name();
    49 cout<<"NOMAdapter_GeneralFitData::SavePPF() - Error : Not supported for "<<s<<endl;
     47ObjFileIO<GeneralFitData> fio(mG);
     48fio.Write(pos, nom);
    5049#endif
    5150}
Note: See TracChangeset for help on using the changeset viewer.