Changeset 465 for trunk/src/SDMemTableWrapper.h
- Timestamp:
- 02/17/05 14:46:17 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTableWrapper.h
r457 r465 36 36 #include <casa/Arrays/Vector.h> 37 37 38 #include "MathUtils.h" 39 #include "SDFitTable.h" 38 40 #include "SDMemTable.h" 39 41 … … 195 197 casa::Vector<casa::Double> p2(p); 196 198 casa::Vector<casa::Bool> m2(m); 197 casa::Vector<casa::String> f2(f.size()); 198 casa::uInt i=0; 199 std::vector<std::string>::const_iterator it; 200 for (it=f.begin();it != f.end();++it) { 201 f2[i] = casa::String(*it); 202 } 199 casa::Vector<casa::String> f2 = mathutil::toVectorString(f); 203 200 casa::Vector<casa::Int> c2(c); 204 201 table_->addFit(casa::uInt(whichRow), p2,m2,f2,c2); 205 202 } 203 SDFitTable getSDFitTable(int whichRow) { 204 return table_->getSDFitTable(casa::uInt(whichRow)); 205 } 206 206 207 207 208 private:
Note: See TracChangeset
for help on using the changeset viewer.