Changeset 2820 for trunk/src/Scantable.h


Ignore:
Timestamp:
07/02/13 13:11:02 (11 years ago)
Author:
Malte Marquarding
Message:

Issue #293: added scantbale.drop_history and added extra parameters to scantable.history to allow selection of rows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Scantable.h

    r2818 r2820  
    378378  void makePersistent(const std::string& filename);
    379379
    380   std::vector<std::string> getHistory() const
    381     { return historyTable_.getHistory(); };
     380  std::vector<std::string> getHistory(int nrow=-1, int start=0) const
     381    { return historyTable_.getHistory(nrow, start); }
     382
     383  uint historyLength()
     384  { return historyTable_.nrow(); }
     385 
     386  void dropHistory() { historyTable_.drop(); }
    382387
    383388  void addHistory(const std::string& hist) { historyTable_.addEntry(hist); }
Note: See TracChangeset for help on using the changeset viewer.