source: trunk/src/python_STSelector.cpp@ 874

Last change on this file since 874 was 853, checked in by mar637, 19 years ago

boost::python wrapper for STSelector
initial revision

File size: 1.1 KB
RevLine 
[853]1//
2// C++ Implementation: python_STSelector
3//
4// Description: This file is the boost::python wrapper for asap::STSelector
5//
6//
7// Author: Malte Marquarding <asap@atnf.csiro.au>, (C) 2006
8//
9// Copyright: See COPYING file that comes with this distribution
10//
11//
12#include <boost/python.hpp>
13
14#include "STSelector.h"
15
16using namespace boost::python;
17
18namespace asap {
19 namespace python {
20
21 void python_STSelector() {
22 class_<STSelector>("selector")
23 .def( init <> () )
24 .def("_getbeams", &STSelector::getBeams)
25 .def("_getifs", &STSelector::getIFs)
26 .def("_getpols", &STSelector::getPols)
27 .def("_getscans", &STSelector::getScans)
28 .def("_getcycles", &STSelector::getCycles)
29 .def("_reset", &STSelector::reset)
30 .def("_setbeams", &STSelector::setBeams)
31 .def("_setifs", &STSelector::setIFs)
32 .def("_setpols", &STSelector::setPolarizations)
33 .def("_setscans", &STSelector::setScans)
34 .def("_setcycles", &STSelector::setCycles)
35 .def("_setname", &STSelector::setName)
36 .def("_settaql", &STSelector::setTaQL)
37 ;
38 };
39 }
40}
Note: See TracBrowser for help on using the repository browser.