Changeset 1439 for trunk/src/STHeader.cpp
- Timestamp:
- 08/28/08 14:00:03 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STHeader.cpp
r901 r1439 53 53 conforms = (this->antennaname == other.antennaname 54 54 && this->equinox == other.equinox 55 && this->obstype == other.obstype56 55 && this->fluxunit == other.fluxunit 57 56 ); 58 57 return conforms; 58 } 59 60 String STHeader::diff( const STHeader& other ) 61 { 62 ostringstream thediff; 63 if ( this->equinox != other.equinox ) { 64 thediff << "Equinox: " << this->equinox << " <-> " 65 << other.equinox << endl; 66 } 67 if ( this->obstype != other.obstype ) { 68 thediff << "Obs. Type: " << this->obstype << " <-> " 69 << other.obstype << endl; 70 } 71 if ( this->fluxunit != other.fluxunit ) { 72 thediff << "Flux unit: " << this->fluxunit << " <-> " 73 << other.fluxunit << endl; 74 } 75 return String(thediff); 59 76 } 60 77
Note: See TracChangeset
for help on using the changeset viewer.