Changeset 1350
- Timestamp:
- 04/26/07 14:45:56 (18 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Scantable.h
r1295 r1350 72 72 * Default constructor 73 73 */ 74 Scantable(casa::Table::TableType ttype = casa::Table::Memory);74 explicit Scantable(casa::Table::TableType ttype = casa::Table::Memory); 75 75 76 76 /** … … 330 330 std::string summary(bool verbose=false); 331 331 std::string getTime(int whichrow=-1, bool showdate=true) const; 332 double getIntTime(int whichrow) const { return integrCol_(whichrow); } 332 333 333 334 // returns unit, conversion frame, doppler, base-frame -
trunk/src/ScantableWrapper.h
r1189 r1350 44 44 } 45 45 46 ScantableWrapper(int type=0)46 explicit ScantableWrapper(int type=0) 47 47 { 48 48 casa::Table::TableType tp = casa::Table::Memory; … … 51 51 } 52 52 53 ScantableWrapper(casa::CountedPtr<Scantable> cp) : table_(cp) {;}53 explicit ScantableWrapper(casa::CountedPtr<Scantable> cp) : table_(cp) {;} 54 54 55 55 ScantableWrapper(const ScantableWrapper& mt) : … … 84 84 std::string getTime(int whichrow=0) const 85 85 { return table_->getTime(whichrow); } 86 87 double getIntTime(int whichrow=0) const 88 { return table_->getIntTime(whichrow); } 86 89 87 90 std::string getDirectionString(int whichrow=0) const -
trunk/src/python_Scantable.cpp
r1259 r1350 98 98 .def("_gettime", &ScantableWrapper::getTime, 99 99 (boost::python::arg("whichrow")=0) ) 100 .def("_getinttime", &ScantableWrapper::getIntTime, 101 (boost::python::arg("whichrow")=0) ) 100 102 .def("_getdirection", &ScantableWrapper::getDirectionString, 101 103 (boost::python::arg("whichrow")=0) )
Note:
See TracChangeset
for help on using the changeset viewer.