Changeset 23 for trunk/src


Ignore:
Timestamp:
07/06/04 11:13:55 (20 years ago)
Author:
mmarquar
Message:

Removed name function. Add default args to getspectrum/getmask.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python_SDMemTable.cc

    r18 r23  
    4646    .def( init < SDMemTableWrapper, int > () )
    4747    .def("getscan", &SDMemTableWrapper::getScan)
    48     .def("getspectrum", &SDMemTableWrapper::getSpectrum)
    49     .def("getmask", &SDMemTableWrapper::getMask)
     48    .def("getspectrum", &SDMemTableWrapper::getSpectrum,
     49         (boost::python::arg("whichRow")=0) )
     50    .def("getmask", &SDMemTableWrapper::getMask,
     51         (boost::python::arg("whichRow")=0) )
    5052    .def("gettsys", &SDMemTableWrapper::getTsys)
    5153    .def("getsourcename", &SDMemTableWrapper::getSourceName)
     
    6668    .def("makepersistent",  &SDMemTableWrapper::makePersistent)
    6769    .def("summary",  &SDMemTableWrapper::summary)
    68     .def("name",  &SDMemTableWrapper::name)
    6970  ;
    7071};
Note: See TracChangeset for help on using the changeset viewer.