Changeset 849 for trunk/src/STMolecules.cpp
- Timestamp:
- 02/28/06 10:47:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STMolecules.cpp
r847 r849 28 28 const casa::String STMolecules::name_ = "MOLECULES"; 29 29 30 STMolecules::STMolecules(c asa::Table::TableType tt) :31 STSubTable( name_, tt)30 STMolecules::STMolecules(const Scantable& parent) : 31 STSubTable( parent, name_ ) 32 32 { 33 33 setup(); 34 34 } 35 35 36 asap::STMolecules::STMolecules( casa::Table tab ) : STSubTable(tab) 37 { 38 restfreqCol_.attach(table_,"RESTFREQUENCY"); 39 nameCol_.attach(table_,"NAME"); 40 formattednameCol_.attach(table_,"FORMATTEDNAME"); 41 } 36 42 37 43 STMolecules::~STMolecules() 38 44 { 45 } 46 47 STMolecules & asap::STMolecules::operator =( const STMolecules & other ) 48 { 49 if ( this != &other ) { 50 static_cast<STSubTable&>(*this) = other; 51 restfreqCol_.attach(table_,"RESTFREQUENCY"); 52 nameCol_.attach(table_,"NAME"); 53 formattednameCol_.attach(table_,"FORMATTEDNAME"); 54 } 55 return *this; 39 56 } 40 57 … … 101 118 } 102 119 103 } //namespace 120 121 }//namespace 122
Note: See TracChangeset
for help on using the changeset viewer.