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/SDMemTableWrapper.h

    r465 r483  
    6363  }
    6464
    65   //SDMemTableWrapper getScan(int scan) {
    6665  SDMemTableWrapper getScan(std::vector<int> scan) {
    6766    casa::String cond("SELECT FROM $1 WHERE SCANID IN ");
     
    7776    cond += source;cond += "')";
    7877    return SDMemTableWrapper(*this, cond);
     78  }
     79
     80  SDMemTableWrapper getSQL(const std::string& sqlexpr) {
     81    return SDMemTableWrapper(*this, sqlexpr);
    7982  }
    8083
     
    166169                                casa::Int(whichIF));
    167170  }
    168 
     171 
    169172  void spectralLines() const {table_->spectralLines();}
    170173
     
    187190  }
    188191 
    189   std::vector<std::string> history(int whichRow=0) {
    190     return table_->history(whichRow);
     192  std::vector<std::string> getHistory() {
     193    return table_->getHistory();
     194  }
     195  void addHistory(const std::string& hist) {
     196    table_->addHistory(hist);
    191197  }
    192198
Note: See TracChangeset for help on using the changeset viewer.