Ignore:
Timestamp:
12/26/04 21:45:06 (19 years ago)
Author:
kil064
Message:

function 'get_tsys' now returns a vector looping over all rows
in table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMemTableWrapper.h

    r138 r157  
    8383  }
    8484
    85   float getTsys(int whichRow=0) {return table_->getTsys(whichRow);}
     85  std::vector<float> getTsys() {
     86     int nRow = table_->nRow();
     87     std::vector<float> result(nRow);
     88     for (uint i=0; i<nRow; i++) {
     89        result[i] = table_->getTsys(i);
     90     }
     91     return result;
     92  }
     93
    8694  std::string getTime(int whichRow=0) {return table_->getTime(whichRow);}
    8795
Note: See TracChangeset for help on using the changeset viewer.