Changeset 849 for trunk/src/STFrequencies.cpp
- Timestamp:
- 02/28/06 10:47:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STFrequencies.cpp
r847 r849 35 35 const String STFrequencies::name_ = "FREQUENCIES"; 36 36 37 STFrequencies::STFrequencies(Table::TableType tt) : 38 STSubTable( name_, tt ) 39 { 37 STFrequencies::STFrequencies(const Scantable& parent) : 38 STSubTable(parent, name_) 39 { 40 cout << "STFrequencies(const Scantable& parent" << endl; 40 41 setup(); 41 } 42 42 cout << "after setup" << endl; 43 } 44 45 asap::STFrequencies::STFrequencies( casa::Table tab ) : 46 STSubTable(tab) 47 { 48 refpixCol_.attach(table_,"REFPIX"); 49 refvalCol_.attach(table_,"REFVAL"); 50 incrCol_.attach(table_,"INCREMENT"); 51 52 } 43 53 44 54 STFrequencies::~STFrequencies() 45 55 { 56 } 57 58 STFrequencies & asap::STFrequencies::operator =( const STFrequencies & other ) 59 { 60 if ( this != &other ) { 61 static_cast<STSubTable&>(*this) = other; 62 refpixCol_.attach(table_,"REFPIX"); 63 refvalCol_.attach(table_,"REFVAL"); 64 incrCol_.attach(table_,"INCREMENT"); 65 } 66 return *this; 46 67 } 47 68 … … 326 347 } 327 348 349 328 350 } // namespace
Note: See TracChangeset
for help on using the changeset viewer.