Changeset 483 for trunk/src/SDMemTable.h


Ignore:
Timestamp:
02/21/05 08:21:00 (19 years ago)
Author:
mar637
Message:
  • Added history support.
  • Added version keyword to SDMemTable.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDMemTable.h

    r476 r483  
    192192  virtual std::string summary(bool verbose=false) const;
    193193
    194   std::vector<std::string> history(int whichRow=0) const;
    195   bool appendHistory(const std::string& hist, int whichRow=0);
     194  // get/set the history
     195  std::vector<std::string> getHistory() const;
     196  void addHistory(const std::string& hist);
     197
    196198  // write to disk as aips++ table
    197199  void makePersistent(const std::string& filename);
     
    269271
    270272  // Generate start and end for shape and current cursor selection
    271   void setCursorSlice(casa::IPosition& start, casa::IPosition& end,
     273  void getCursorSlice(casa::IPosition& start, casa::IPosition& end,
    272274                      const casa::IPosition& shape) const;
    273275
     
    277279  // the underlying memory table
    278280  casa::Table table_;
     281  // The current table version
     282  static const casa::uInt version_ = 1;
    279283
    280284  // Cached Columns to avoid reconstructing them for each row get/put
Note: See TracChangeset for help on using the changeset viewer.