Changeset 3672 in ntrip for trunk/BNC/rnxobsfile.cpp


Ignore:
Timestamp:
Feb 12, 2012, 9:37:03 AM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rnxobsfile.cpp

    r3656 r3672  
    4848////////////////////////////////////////////////////////////////////////////
    4949t_rnxObsFile::t_rnxObsHeader::t_rnxObsHeader() {
    50   _antNEU[0] = _antNEU[1] = _antNEU[2] = 0.0;
    51   _xyz[0]    = _xyz[1]    = _xyz[2]    = 0.0;
    52   _version   = 0.0;
     50  _antNEU.ReSize(3);
     51  _xyz.ReSize(3);   
     52  _antNEU  = 0.0;
     53  _xyz     = 0.0;
     54  _version = 0.0;
    5355}
    5456
     
    8890      QTextStream in(value.toAscii(), QIODevice::ReadOnly);
    8991      in >> _antNEU[2] >> _antNEU[1] >> _antNEU[0];
     92    }
     93    else if (key == "# / TYPES OF OBSERV") {
     94      QTextStream in(value.toAscii(), QIODevice::ReadOnly);
     95      int nTypes;
     96      in >> nTypes;
     97      for (int ii = 0; ii < nTypes; ii++) {
     98        QString hlp;
     99        in >> hlp;
     100        _obsTypes << hlp;
     101      }
    90102    }
    91103  }
Note: See TracChangeset for help on using the changeset viewer.