Changeset 238


Ignore:
Timestamp:
01/21/05 12:24:59 (20 years ago)
Author:
kil064
Message:

add setInstrument

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMemTableWrapper.h

    r220 r238  
    9797  void setFluxUnit(const std::string& unit) {table_->setFluxUnit(unit);}
    9898
     99  void setInstrument(const std::string& name) {table_->setInstrument(name);}
     100
    99101  std::vector<bool> getMask(int whichRow=0) const {
    100102    return table_->getMask(whichRow);
  • trunk/src/python_SDMemTable.cc

    r219 r238  
    8181    .def("get_fluxunit", &SDMemTableWrapper::getFluxUnit)
    8282    .def("set_fluxunit", &SDMemTableWrapper::setFluxUnit)
     83    .def("set_instrument", &SDMemTableWrapper::setInstrument)
    8384    .def("_flag", &SDMemTableWrapper::flag,
    8485         (boost::python::arg("whichRow")=-1) )
Note: See TracChangeset for help on using the changeset viewer.