Changeset 972 for trunk/src/Scantable.h


Ignore:
Timestamp:
04/03/06 15:07:08 (18 years ago)
Author:
mar637
Message:

Completed Ticket #7 - storing of fits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.h

    r960 r972  
    4141#include "STPol.h"
    4242#include "STFit.h"
     43#include "STFitEntry.h"
    4344
    4445namespace asap {
     
    306307  STMolecules& molecules() { return moleculeTable_; }
    307308  STHistory& history() { return historyTable_; }
     309  STFit& fit() { return fitTable_; }
    308310
    309311  std::vector<std::string> columnNames() const;
     312
     313  void addFit(const STFitEntry& fit, int row);
     314  STFitEntry getFit(int row) const
     315    { STFitEntry fe; fitTable_.getEntry(fe, mfitidCol_(row)); return fe; }
    310316
    311317private:
     
    393399
    394400  casa::ArrayColumn<casa::String> histitemCol_;
    395   casa::ScalarColumn<casa::uInt> mfitidCol_;
    396   // id in weather table and main table
     401  casa::ScalarColumn<casa::Int> mfitidCol_;
    397402  casa::ScalarColumn<casa::uInt> mweatheridCol_;
    398403
Note: See TracChangeset for help on using the changeset viewer.