Changeset 849 for trunk/src/STWeather.cpp
- Timestamp:
- 02/28/06 10:47:19 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STWeather.cpp
r830 r849 28 28 const casa::String STWeather::name_ = "WEATHER"; 29 29 30 STWeather::STWeather(c asa::Table::TableType tt) :31 STSubTable( name_, tt)30 STWeather::STWeather(const Scantable& parent) : 31 STSubTable( parent, name_ ) 32 32 { 33 33 setup(); … … 35 35 36 36 37 asap::STWeather::STWeather( casa::Table tab ) : STSubTable(tab) 38 { 39 temperatureCol_.attach(table_,"TEMPERATURE"); 40 pressureCol_.attach(table_,"PRESSURE"); 41 humidityCol_.attach(table_,"HUMIDITY"); 42 windspeedCol_.attach(table_,"WINDSPEED"); 43 windazCol_.attach(table_,"WINDAZ"); 44 45 } 46 37 47 STWeather::~STWeather() 38 48 { 39 49 } 50 51 STWeather & asap::STWeather::operator =( const STWeather & other ) 52 { 53 if ( this != &other ) { 54 static_cast<STSubTable&>(*this) = other; 55 temperatureCol_.attach(table_,"TEMPERATURE"); 56 pressureCol_.attach(table_,"PRESSURE"); 57 humidityCol_.attach(table_,"HUMIDITY"); 58 windspeedCol_.attach(table_,"WINDSPEED"); 59 windazCol_.attach(table_,"WINDAZ"); 60 } 61 return *this; 62 } 63 40 64 41 65 void asap::STWeather::setup( )
Note: See TracChangeset
for help on using the changeset viewer.