Changeset 3650 in ntrip for trunk


Ignore:
Timestamp:
Jan 24, 2012, 12:51:55 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rnxobsfile.cpp

    r3649 r3650  
    6060  while (stream->status() == QTextStream::Ok && !stream->atEnd()) {
    6161    QString line = stream->readLine();
    62     cout << line.toAscii().data() << endl;
     62    QString value = line.left(60);
     63    QString key   = line.mid(60);
     64    if (key == "END OF HEADER") {
     65      break;
     66    }
     67    cout << key.toAscii().data() << ": >" << value.toAscii().data() << "<\n";
    6368  }
    6469
Note: See TracChangeset for help on using the changeset viewer.