Changeset 1238
- Timestamp:
- 09/05/06 19:42:21 (18 years ago)
- Location:
- tags/Release2.1.0b/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/Release2.1.0b/src/LineCatalog.cpp
r1126 r1238 96 96 oss << std::left << setw(20) << getName(i); 97 97 oss << setw(12) << setprecision(8) << std::left << getFrequency(i); 98 oss << setw(12) << setprecision(8) << std::left << getStrength(i); 98 99 oss << endl; 99 100 } … … 103 104 oss << std::left << setw(20) << getName(row); 104 105 oss << setw(12) << setprecision(8) << std::left << getFrequency(row); 106 oss << setw(12) << setprecision(8) << std::left << getStrength(row); 105 107 oss << endl; 106 108 } else { … … 127 129 } 128 130 131 double asap::LineCatalog::getStrength(uint row) const 132 { 133 ROScalarColumn<Double> col(table_, "Column3"); 134 return col(row); 135 } 136 129 137 130 138 } // namespace -
tags/Release2.1.0b/src/LineCatalog.h
r1126 r1238 85 85 86 86 /** 87 * Return the line strength value for a specific row 88 * @param row the row number 89 * @return a double rest line strength value 90 */ 91 double getStrength(uint row) const; 92 93 /** 87 94 * 88 95 * @param row
Note:
See TracChangeset
for help on using the changeset viewer.