Changeset 787 for branches/Release12/src
- Timestamp:
- 12/08/05 13:58:59 (19 years ago)
- Location:
- branches/Release12/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Release12/src/SDMemTable.cc
r779 r787 244 244 srcnCol_.get(whichRow, name); 245 245 return name; 246 } 247 248 float SDMemTable::getElevation(Int whichRow) const 249 { 250 float elevation; 251 elCol_.get(whichRow, elevation); 252 return elevation; 253 } 254 255 float SDMemTable::getAzimuth(Int whichRow) const 256 { 257 float azimuth; 258 azCol_.get(whichRow, azimuth); 259 return azimuth; 260 } 261 262 float SDMemTable::getParAngle(Int whichRow) const 263 { 264 float parangle; 265 paraCol_.get(whichRow, parangle); 266 return parangle; 246 267 } 247 268 -
branches/Release12/src/SDMemTable.h
r773 r787 147 147 148 148 std::string getSourceName(casa::Int whichRow=0) const; 149 150 float getElevation(casa::Int whichRow=0) const; 151 float getAzimuth(casa::Int whichRow=0) const; 152 float getParAngle(casa::Int whichRow=0) const; 153 149 154 double getInterval(casa::Int whichRow=0) const; 150 155 -
branches/Release12/src/SDMemTableWrapper.h
r773 r787 136 136 std::string getSourceName(int whichRow=0) { 137 137 return table_->getSourceName(whichRow); 138 } 139 140 float getElevation(int whichRow=0) { 141 return table_->getElevation(whichRow); 142 } 143 float getAzimuth(int whichRow=0) { 144 return table_->getAzimuth(whichRow); 145 } 146 float getParAngle(int whichRow=0) { 147 return table_->getParAngle(whichRow); 138 148 } 139 149 -
branches/Release12/src/python_SDMemTable.cc
r773 r787 93 93 .def("_getsourcename", &SDMemTableWrapper::getSourceName, 94 94 (boost::python::arg("whichRow")=0) ) 95 .def("_getelevation", &SDMemTableWrapper::getElevation, 96 (boost::python::arg("whichRow")=0) ) 97 .def("_getazimuth", &SDMemTableWrapper::getAzimuth, 98 (boost::python::arg("whichRow")=0) ) 99 .def("_getparangle", &SDMemTableWrapper::getParAngle, 100 (boost::python::arg("whichRow")=0) ) 95 101 .def("_gettime", &SDMemTableWrapper::getTime, 96 102 (boost::python::arg("whichRow")=0) )
Note:
See TracChangeset
for help on using the changeset viewer.