Changeset 1238 for tags


Ignore:
Timestamp:
09/05/06 19:42:21 (18 years ago)
Author:
mar637
Message:

Ticket #71 - added line strength to summary

Location:
tags/Release2.1.0b/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/Release2.1.0b/src/LineCatalog.cpp

    r1126 r1238  
    9696      oss << std::left << setw(20) << getName(i);
    9797      oss << setw(12) << setprecision(8) << std::left << getFrequency(i);
     98      oss << setw(12) << setprecision(8) << std::left << getStrength(i);
    9899      oss << endl;
    99100    }
     
    103104        oss << std::left << setw(20) << getName(row);
    104105        oss << setw(12) << setprecision(8) << std::left << getFrequency(row);
     106        oss << setw(12) << setprecision(8) << std::left << getStrength(row);
    105107        oss << endl;
    106108      } else {
     
    127129}
    128130
     131double asap::LineCatalog::getStrength(uint row) const
     132{
     133  ROScalarColumn<Double> col(table_, "Column3");
     134  return col(row);
     135}
     136
    129137
    130138} // namespace
  • tags/Release2.1.0b/src/LineCatalog.h

    r1126 r1238  
    8585
    8686  /**
     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  /**
    8794   *
    8895   * @param row
Note: See TracChangeset for help on using the changeset viewer.