Changeset 252


Ignore:
Timestamp:
01/21/05 19:02:59 (20 years ago)
Author:
mar637
Message:

renamed a lot to _* to hide it in the class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python_SDMemTable.cc

    r238 r252  
    4848    .def( init < const SDMemTableWrapper&, std::string > () )
    4949    .def("_copy", &SDMemTableWrapper::copy)
    50     .def("_getscan", &SDMemTableWrapper::getScan)
    51     .def("_getsource", &SDMemTableWrapper::getSource)
    52     .def("getspectrum", &SDMemTableWrapper::getSpectrum,
    53          (boost::python::arg("whichRow")=0) )
    54     .def("getabcissa", &SDMemTableWrapper::getAbcissa,
    55          (boost::python::arg("whichRow")=0) )
    56     .def("getabcissalabel", &SDMemTableWrapper::getAbcissaString,
    57          (boost::python::arg("whichRow")=0) )
    58     .def("getmask", &SDMemTableWrapper::getMask,
    59          (boost::python::arg("whichRow")=0) )
    60     .def("_gettsys", &SDMemTableWrapper::getTsys)
    61     .def("_getsourcename", &SDMemTableWrapper::getSourceName,
    62          (boost::python::arg("whichRow")=0) )
    63     .def("_gettime", &SDMemTableWrapper::getTime,
    64          (boost::python::arg("whichRow")=0) )
    6550    .def("getif", &SDMemTableWrapper::getIF)
    6651    .def("getbeam", &SDMemTableWrapper::getBeam)
     
    7257    .def("nscan", &SDMemTableWrapper::nScan)
    7358    .def("nrow", &SDMemTableWrapper::nRow)
    74     .def("setspectrum",&SDMemTableWrapper::setSpectrum,
    75          (boost::python::arg("whichRow")=0) )
    7659    .def("setif", &SDMemTableWrapper::setIF,
    7760         (boost::python::arg("whichIF")=0) )
    7861    .def("setbeam", &SDMemTableWrapper::setBeam)
    7962    .def("setpol", &SDMemTableWrapper::setPol)
    80     .def("setmask", &SDMemTableWrapper::setMask)
     63    .def("_setmask", &SDMemTableWrapper::setMask)
    8164    .def("get_fluxunit", &SDMemTableWrapper::getFluxUnit)
    8265    .def("set_fluxunit", &SDMemTableWrapper::setFluxUnit)
    8366    .def("set_instrument", &SDMemTableWrapper::setInstrument)
     67    .def("_getscan", &SDMemTableWrapper::getScan)
     68    .def("_getsource", &SDMemTableWrapper::getSource)
     69    .def("_getspectrum", &SDMemTableWrapper::getSpectrum,
     70         (boost::python::arg("whichRow")=0) )
     71    .def("_setspectrum",&SDMemTableWrapper::setSpectrum,
     72         (boost::python::arg("whichRow")=0) )
     73
     74    .def("_getabcissa", &SDMemTableWrapper::getAbcissa,
     75         (boost::python::arg("whichRow")=0) )
     76    .def("_getabcissalabel", &SDMemTableWrapper::getAbcissaString,
     77         (boost::python::arg("whichRow")=0) )
     78    .def("_getmask", &SDMemTableWrapper::getMask,
     79         (boost::python::arg("whichRow")=0) )
     80    .def("_gettsys", &SDMemTableWrapper::getTsys)
     81    .def("_getsourcename", &SDMemTableWrapper::getSourceName,
     82         (boost::python::arg("whichRow")=0) )
     83    .def("_gettime", &SDMemTableWrapper::getTime,
     84         (boost::python::arg("whichRow")=0) )
    8485    .def("_flag", &SDMemTableWrapper::flag,
    8586         (boost::python::arg("whichRow")=-1) )
    8687    .def("_save",  &SDMemTableWrapper::makePersistent)
    87     .def("summary",  &SDMemTableWrapper::summary)
     88    .def("_summary",  &SDMemTableWrapper::summary)
    8889    .def("_setrestfreqs",  &SDMemTableWrapper::setRestFreqs)
     90    .def("_getrestfreqs",  &SDMemTableWrapper::getRestFreqs)
    8991    .def("_setcoordinfo", &SDMemTableWrapper::setCoordInfo)
    9092    .def("_getcoordinfo", &SDMemTableWrapper::getCoordInfo)
Note: See TracChangeset for help on using the changeset viewer.