Changeset 1787 for branches/newfiller
- Timestamp:
- 07/30/10 16:49:24 (14 years ago)
- Location:
- branches/newfiller/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newfiller/src/FillerBase.h
r1786 r1787 87 87 private: 88 88 89 FillerBase() {;} 90 89 91 casa::CountedPtr< Scantable > table_; 90 92 casa::String referenceRx_; -
branches/newfiller/src/FillerWrapper.h
r1786 r1787 31 31 public: 32 32 33 FillerWrapper() : filler_(0), attached_(false), stable_(0) {;} 34 35 FillerWrapper(ScantableWrapper tbl) : filler_(0), attached_(false) 33 explicit FillerWrapper(ScantableWrapper tbl) : filler_(0), attached_(false) 36 34 { stable_ = tbl.getCP(); } 37 35 … … 77 75 private: 78 76 77 FillerWrapper() {;} 78 FillerWrapper(const FillerWrapper& other) {;} 79 79 80 casa::CountedPtr<FillerBase> filler_; 80 81 bool attached_; -
branches/newfiller/src/python_Filler.cpp
r1786 r1787 30 30 //#--------------------------------------------------------------------------- 31 31 #include <boost/python.hpp> 32 #include <boost/noncopyable.hpp> 32 33 33 34 #include "ScantableWrapper.h" … … 40 41 41 42 void python_Filler() { 42 class_<FillerWrapper >("filler")43 .def( init < ScantableWrapper >() )43 class_<FillerWrapper, boost::noncopyable>("filler", 44 init < ScantableWrapper >() ) 44 45 .def("open", &FillerWrapper::open) 45 46 .def("fill", &FillerWrapper::fill)
Note:
See TracChangeset
for help on using the changeset viewer.