Changeset 872 for trunk/src/python_STFiller.cpp
- Timestamp:
- 03/06/06 11:24:02 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/python_STFiller.cpp
r871 r872 1 1 //#--------------------------------------------------------------------------- 2 //# python_S DReader.cc: python exposure of c++ SDReader class2 //# python_STFiller.cc: python exposure of c++ STFiller class 3 3 //#--------------------------------------------------------------------------- 4 4 //# Copyright (C) 2004 … … 31 31 #include <boost/python.hpp> 32 32 33 #include "S DReaderWrapper.h"33 #include "STFillerWrapper.h" 34 34 35 35 using namespace boost::python; … … 38 38 namespace python { 39 39 40 void python_S DReader() {41 class_<S DReaderWrapper>("sdreader")40 void python_STFiller() { 41 class_<STFillerWrapper>("stfiller") 42 42 .def( init < std::string, int, int > () ) 43 .def("_open", &SDReaderWrapper::open) 44 .def("_read", &SDReaderWrapper::read) 45 .def("_reset", &SDReaderWrapper::reset) 46 .def("_getdata", &SDReaderWrapper::getSDMemTable) 47 .def("_header", &SDReaderWrapper::pseudoHeader) 43 .def("_open", &STFillerWrapper::open) 44 .def("_read", &STFillerWrapper::read) 45 .def("_getdata", &STFillerWrapper::getScantable) 48 46 ; 49 47 };
Note: See TracChangeset
for help on using the changeset viewer.