Changeset 68 for trunk/src/SDMemTable.cc
- Timestamp:
- 07/19/04 10:59:31 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTable.cc
r50 r68 172 172 } 173 173 174 bool SDMemTable::setMask( const std::vector<int>&whichChans) {174 bool SDMemTable::setMask(std::vector<int> whichChans) { 175 175 ROArrayColumn<uChar> spec(table_, "FLAGTRA"); 176 176 … … 279 279 } 280 280 281 void SDMemTable::getSpectrum(Vector<Float>& spectrum, Int whichRow =0) {281 void SDMemTable::getSpectrum(Vector<Float>& spectrum, Int whichRow) { 282 282 ROArrayColumn<Float> spec(table_, "SPECTRA"); 283 283 Array<Float> arr; … … 298 298 } 299 299 300 void SDMemTable::getMask(Vector<Bool>& mask, Int whichRow =0) const {300 void SDMemTable::getMask(Vector<Bool>& mask, Int whichRow) const { 301 301 ROArrayColumn<uChar> spec(table_, "FLAGTRA"); 302 302 Array<uChar> arr; … … 392 392 if (whichIdx > t.nrow() ) { 393 393 cerr << "SDMemTable::getCoordinate - whichIdx out of range" << endl; 394 return ;394 return SpectralCoordinate(); 395 395 } 396 396 Double rp,rv,inc; … … 420 420 if (whichIdx > t.nrow() ) { 421 421 cerr << "SDMemTable::setCoordinate - whichIdx out of range" << endl; 422 return ;422 return False; 423 423 } 424 424 ScalarColumn<Double> rpc(t, "REFPIX");
Note:
See TracChangeset
for help on using the changeset viewer.