Changeset 849 for trunk/src/STFocus.cpp
- Timestamp:
- 02/28/06 10:47:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STFocus.cpp
r839 r849 28 28 const casa::String STFocus::name_ = "FOCUS"; 29 29 30 STFocus::STFocus(c asa::Table::TableType tt) :31 STSubTable( name_, tt)30 STFocus::STFocus(const Scantable& parent ) : 31 STSubTable( parent, name_ ) 32 32 { 33 33 setup(); 34 34 } 35 35 36 asap::STFocus::STFocus( casa::Table tab ) : STSubTable(tab) 37 { 38 rotationCol_.attach(table_,"ROTATION"); 39 angleCol_.attach(table_,"ANGLE"); 40 tanCol_.attach(table_,"TAN"); 41 } 36 42 37 43 STFocus::~STFocus() … … 39 45 } 40 46 47 STFocus & asap::STFocus::operator =( const STFocus & other ) 48 { 49 if (this != &other) { 50 static_cast<STSubTable&>(*this) = other; 51 rotationCol_.attach(table_,"ROTATION"); 52 angleCol_.attach(table_,"ANGLE"); 53 tanCol_.attach(table_,"TAN"); 54 } 55 return *this; 56 } 41 57 void asap::STFocus::setup( ) 42 58 { … … 92 108 } 93 109 110 94 111 }
Note: See TracChangeset
for help on using the changeset viewer.