Changeset 138
- Timestamp:
- 12/24/04 13:20:38 (20 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SDMemTable.cc
r125 r138 108 108 cond += String::toString(scanID); 109 109 return SDMemTable(table_, cond); 110 } 111 112 SDMemTable &SDMemTable::operator=(const SDMemTable& other) { 113 // reset "cursor" 114 IFSel_ = 0; 115 beamSel_ = 0; 116 polSel_ = 0; 117 table_ = other.table().copyToMemoryTable("dummy"); 118 return *this; 110 119 } 111 120 -
trunk/src/SDMemTable.h
r125 r138 64 64 // see also getScan() 65 65 SDMemTable(const casa::Table& tab, const std::string& expr); 66 66 67 SDMemTable &operator=(const SDMemTable& other); 68 67 69 virtual ~SDMemTable(); 68 70 … … 128 130 const casa::TableRecord& getHeader() const {return table_.keywordSet();} 129 131 // get a handle to the "raw" aips++ table 130 const casa::Table& table() { return table_; }132 const casa::Table& table() const { return table_; } 131 133 132 134 // return the number of values -
trunk/src/SDMemTableWrapper.h
r125 r138 138 138 139 139 casa::CountedPtr<SDMemTable> getCP() const {return table_;} 140 SDMemTable* getPtr() {return &(*table_);} 140 141 std::string summary() { return table_->summary(); } 141 142
Note:
See TracChangeset
for help on using the changeset viewer.