Changeset 584 in Sophya for trunk/SophyaPI/PIext/pisiadw.cc


Ignore:
Timestamp:
Nov 17, 1999, 11:08:41 AM (26 years ago)
Author:
ercodmgr
Message:

Modifs pour SOPHYA , TMatrix, PixelMap, ... Reza 17/11/99

File:
1 edited

Legend:

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

    r495 r584  
    211211  { printf("ObjMgrWind::SetFile Exception= %ld (%s) \n", (long)merr, PeidaExc(merr));
    212212  ok = false; } ENDTRY;
     213#else
     214try {
     215  mPin = new PInPersist(flnm);
     216  }
     217catch (IOExc iox) {
     218  cerr << "ObjMgrWind::SetFile/Error Exception - Msg= " << iox.Msg() << endl;
     219  ok = false;
     220  }
     221#endif
    213222
    214223if (!ok) { mPin = NULL;  dap->SetReady(); return; }
     
    220229  return;
    221230}
    222 #endif
    223231if (objlist)  delete objlist;
    224232SetSize(ttx,tty);
     
    238246  objlist->AppendItem(strg, 5000+i);
    239247}
     248#else
     249string tn;
     250for(i=0; i<mPin->NbTags(); i++) {
     251  tn = mPin->GetTagName(i);
     252  objlist->AppendItem(tn.c_str(), 5000+i);
     253}
    240254#endif
    241255
Note: See TracChangeset for help on using the changeset viewer.