Ignore:
Timestamp:
02/23/06 11:17:38 (18 years ago)
Author:
mar637
Message:

added conformant() which checks if to objects are conformant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDContainer.cc

    r832 r838  
    4545using namespace casa;
    4646using namespace asap;
     47
     48
     49
     50bool SDHeader::conformant( const SDHeader& other )
     51{
     52  bool conforms;
     53  conforms = (this->antennaname == other.antennaname
     54              && this->equinox == other.equinox
     55              && this->obstype == other.obstype
     56              && this->fluxunit == other.fluxunit
     57              );
     58  return conforms;
     59}
    4760
    4861void SDHeader::print() const {
Note: See TracChangeset for help on using the changeset viewer.