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


Ignore:
Timestamp:
Jan 24, 2012, 1:08:17 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rnxobsfile.cpp

    r3651 r3652  
    6666      break;
    6767    }
    68     QTextStream in(value.toAscii(), QIODevice::ReadOnly);
    69     if (key == "RINEX VERSION / TYPE") {
     68    else if (key == "RINEX VERSION / TYPE") {
     69      QTextStream in(value.toAscii(), QIODevice::ReadOnly);
    7070      in >> _version;
     71    }
     72    else if (key == "MARKER NAME") {
     73      _markerName = value;
     74    }
     75    else if (key == "ANT # / TYPE") {
     76      _antennaName = value.mid(20);
    7177    }
    7278  }
    7379
    7480  cout << "RINEX Version = " << _version << endl;
     81  cout << "Antenna Name >" << _antennaName.toAscii().data() << "<\n";
     82  cout << "Marker Name >" << _markerName.toAscii().data() << "<\n";
    7583
    7684  return success;
Note: See TracChangeset for help on using the changeset viewer.