Changeset 6501 in ntrip for trunk/BNC


Ignore:
Timestamp:
Dec 29, 2014, 2:58:58 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/corrfile.cpp

    r6498 r6501  
    7777    }
    7878
    79     t_corrSSR::e_type corrType = t_corrSSR::readEpoLine(_lastLine, _lastEpoTime);
     79    int    numEntries;
     80    string staID;
     81    t_corrSSR::e_type corrType = t_corrSSR::readEpoLine(_lastLine, _lastEpoTime, numEntries, staID);
    8082    if      (corrType == t_corrSSR::unknown) {
    8183      throw "t_corrFile: unknown line " + _lastLine;
  • trunk/BNC/src/satObs.cpp

    r6500 r6501  
    185185//
    186186////////////////////////////////////////////////////////////////////////////
    187 t_corrSSR::e_type t_corrSSR::readEpoLine(const string& line, bncTime& epoTime) {
     187t_corrSSR::e_type t_corrSSR::readEpoLine(const string& line, bncTime& epoTime,
     188                                         int& numEntries, string& staID) {
    188189
    189190  istringstream inLine(line.c_str());
     
    194195  double sec;
    195196
    196   inLine >> epoChar >> typeString >> year >> month >> day >> hour >> min >> sec;
     197  inLine >> epoChar >> typeString
     198         >> year >> month >> day >> hour >> min >> sec >> numEntries >> staID;
    197199
    198200  if (epoChar == '>') {
  • trunk/BNC/src/satObs.h

    r6499 r6501  
    156156 public:
    157157  enum e_type {clkCorr, orbCorr, codeBias, phaseBias, vTec, unknown};
    158   static e_type readEpoLine(const std::string& line, bncTime& epoTime);
     158  static e_type readEpoLine(const std::string& line, bncTime& epoTime,
     159                            int& numEntries, std::string& staID);
    159160};
    160161
Note: See TracChangeset for help on using the changeset viewer.