Changeset 1872
- Timestamp:
- 08/12/10 16:26:14 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/PKSFiller.cpp
r1832 r1872 263 263 Int match = pksrec.srcName.matches(rx); 264 264 std::string srcname; 265 Int srctype = Int(SrcType::NOTYPE); 265 266 if (match) { 266 267 srcname = pksrec.srcName; 268 srctype = Int(SrcType::PSOFF); 267 269 } else { 268 270 srcname = pksrec.srcName.before(rx2); 269 }270 Int srctype = match;271 if ( pksrec.srcType != -1) {271 srctype = Int(SrcType::PSON); 272 } 273 if ( pksrec.srcType != Int(SrcType::NOTYPE)) { 272 274 srctype = pksrec.srcType ; 273 275 } 274 276 setTime(pksrec.mjd, pksrec.interval); 277 cout << srctype << endl; 275 278 setSource(srcname, srctype, pksrec.fieldName, 276 279 pksrec.srcDir, pksrec.srcPM, pksrec.srcVel);
Note:
See TracChangeset
for help on using the changeset viewer.