Changeset 488 for trunk/src/SDMemTable.cc
- Timestamp:
- 02/21/05 11:36:17 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTable.cc
r483 r488 47 47 #include <tables/Tables/TableParse.h> 48 48 #include <tables/Tables/TableDesc.h> 49 #include <tables/Tables/TableCopy.h> 49 50 #include <tables/Tables/SetupNewTab.h> 50 51 #include <tables/Tables/ScaColDesc.h> … … 1509 1510 } 1510 1511 1512 Table SDMemTable::getHistoryTable() const 1513 { 1514 return table_.keywordSet().asTable("HISTORY"); 1515 } 1516 1517 void SDMemTable::appendToHistoryTable(const Table& otherHist) 1518 { 1519 Table t = table_.rwKeywordSet().asTable("HISTORY"); 1520 const String sep = "--------------------------------------------------------------------------------"; 1521 addHistory(sep); 1522 TableCopy::copyRows(t, otherHist, t.nrow(), 0, otherHist.nrow()); 1523 addHistory(sep); 1524 } 1525 1511 1526 void SDMemTable::addHistory(const std::string& hist) 1512 1527 { … … 1532 1547 return stlout; 1533 1548 } 1549 1550 1534 1551 /* 1535 1552 void SDMemTable::maskChannels(const std::vector<Int>& whichChans ) {
Note: See TracChangeset
for help on using the changeset viewer.