Changeset 2369 in Sophya for trunk/ArchTOIPipe/Kernel/piotoirdr.cc
- Timestamp:
- Apr 24, 2003, 3:22:26 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/piotoirdr.cc
r2359 r2369 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: piotoirdr.cc,v 1. 3 2003-04-01 13:27:48aubourg Exp $5 // $Id: piotoirdr.cc,v 1.4 2003-04-24 13:22:26 aubourg Exp $ 6 6 7 7 #include "piotoirdr.h" … … 61 61 pioGroup); 62 62 63 // On recupere un tableau de beginIndex, mais si on en croit 64 // la doc, dans un groupe, tout le monde a les memes bornes, donc 65 // on peut lire le premier ? 66 67 snBegin = beginIndex[0]; 68 snEnd = endIndex[0]; 63 // On recupere un tableau de beginIndex, il faut retrouver celui qui nous concerne 64 for (int i=0; i<nbTOI; i++) { 65 cout << toiName[i] << endl; 66 if (object == toiName[i]) { 67 snBegin = beginIndex[i]; 68 snEnd = endIndex[i]; 69 cout << snBegin << " " << snEnd << endl; 70 break; 71 } 72 } 69 73 70 74 PIOFreeInfoTOI(flgName, … … 115 119 fits_lock(); 116 120 PIODeleteTOI(data, pioGroup); 117 if (flags != NULL) PIODeleteFLG(flags, pioGroup);121 // if (flags != NULL) PIODeleteFLG(flags, pioGroup); // PB ! 118 122 fits_unlock(); 119 123 }
Note:
See TracChangeset
for help on using the changeset viewer.