Changeset 157
- Timestamp:
- 12/26/04 21:45:06 (20 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTableWrapper.h
r138 r157 83 83 } 84 84 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 86 94 std::string getTime(int whichRow=0) {return table_->getTime(whichRow);} 87 95 -
trunk/src/python_SDMemTable.cc
r125 r157 58 58 .def("getmask", &SDMemTableWrapper::getMask, 59 59 (boost::python::arg("whichRow")=0) ) 60 .def("_gettsys", &SDMemTableWrapper::getTsys, 61 (boost::python::arg("whichRow")=0), 62 "Return the TSys at the current location" ) 60 .def("_gettsys", &SDMemTableWrapper::getTsys) 63 61 .def("_getsourcename", &SDMemTableWrapper::getSourceName, 64 62 (boost::python::arg("whichRow")=0) )
Note:
See TracChangeset
for help on using the changeset viewer.