Changeset 2041 in Sophya
- Timestamp:
- Jun 3, 2002, 4:23:39 PM (23 years ago)
- Location:
- trunk/ArchTOIPipe/Kernel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ArchTOIPipe/Kernel/fitstoirdr.cc
r2011 r2041 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: fitstoirdr.cc,v 1.2 8 2002-05-16 14:39:08ansari Exp $5 // $Id: fitstoirdr.cc,v 1.29 2002-06-03 14:23:39 ansari Exp $ 6 6 7 7 #include "fitstoirdr.h" … … 107 107 fits_get_colname(fptr, CASESEN, templt, colname, &colnum, &fstatus); 108 108 cout << "FITSTOIReader col " << colname << endl; 109 if (!strncmp(colname, "fg_", 3)) { 109 // On verifie si c'est une colonne de flag 110 if (!strncmp(colname, "fg_", 3) || !strncmp(colname, "FLAG_", 5) ) { 110 111 colsinput[itoi].second=true; 111 112 } else { -
trunk/ArchTOIPipe/Kernel/fitstoiwtr.cc
r1798 r2041 3 3 // Christophe Magneville 4 4 // Reza Ansari 5 // $Id: fitstoiwtr.cc,v 1.2 0 2001-11-27 22:05:41 aubourgExp $5 // $Id: fitstoiwtr.cc,v 1.21 2002-06-03 14:23:39 ansari Exp $ 6 6 7 7 #include "fitstoiwtr.h" … … 25 25 fits_unlock(); 26 26 name = "wtr"; 27 27 setLongFlagPrefix(); 28 28 totnscount = 0; 29 29 } … … 92 92 if (p.second) { 93 93 ck++; 94 coln[ck] = "fg_" + coln[ck-1]; 94 if (longfgprefix) coln[ck] = "FLAG_" + coln[ck-1]; 95 else coln[ck] = "fg_" + coln[ck-1]; 95 96 colnames[ck] = const_cast<char*>(coln[ck].c_str()); 96 97 cout << " Column[" << ck << "] -Flag- Name=" << coln[ck] << endl; -
trunk/ArchTOIPipe/Kernel/fitstoiwtr.h
r1785 r2041 5 5 // Christophe Magneville 6 6 // Reza Ansari 7 // $Id: fitstoiwtr.h,v 1.1 1 2001-11-22 16:54:54 cecileExp $7 // $Id: fitstoiwtr.h,v 1.12 2002-06-03 14:23:39 ansari Exp $ 8 8 9 9 … … 31 31 32 32 virtual void run(); 33 33 34 inline void setLongFlagPrefix(bool fg = true) { longfgprefix = fg; } 34 35 inline int_8 ProcessedSampleCount() const { return totnscount; } 35 36 … … 45 46 46 47 int_8 totnscount; // Nombre total d'echantillon processe 48 bool longfgprefix; // if true ---> FLAG_ / sinon fg_ 47 49 }; 48 50
Note:
See TracChangeset
for help on using the changeset viewer.