Changeset 7523 in ntrip for trunk/BNC/src/pppCrdFile.cpp


Ignore:
Timestamp:
Oct 19, 2015, 3:01:57 PM (9 years ago)
Author:
stuerze
Message:

minor changes to add receiver information in sinex troposphere file header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/pppCrdFile.cpp

    r6050 r7523  
    3636 * Created:    29-Jul-2014
    3737 *
    38  * Changes:   
     38 * Changes:
    3939 *
    4040 * -----------------------------------------------------------------------*/
     
    4848using namespace BNC_PPP;
    4949
    50 // 
     50//
    5151//////////////////////////////////////////////////////////////////////////////
    5252void t_pppCrdFile::readCrdFile(const string& fileName, vector<t_staInfo>& staInfoVec) {
     
    6161      continue;
    6262    }
    63    
     63
    6464    istringstream in;
    6565
     
    8787
    8888    if (!in.eof()) {
    89       getline(in, staInfo._antenna);
    90       stripWhiteSpace(staInfo._antenna);
     89      std::string hlp;
     90      getline(in, hlp);
     91      stripWhiteSpace(hlp);
     92      staInfo._antenna = hlp.substr(0,20);
     93      hlp = hlp.erase(0, 20);
     94      if (hlp.length()) {
     95        stripWhiteSpace(hlp);
     96        staInfo._receiver = hlp;
     97      }
    9198    }
    9299
Note: See TracChangeset for help on using the changeset viewer.