Changeset 8693 in ntrip for branches


Ignore:
Timestamp:
Apr 25, 2019, 12:30:57 PM (5 years ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/satObs.cpp

    r8484 r8693  
    1818}
    1919
    20 // 
     20//
    2121////////////////////////////////////////////////////////////////////////////
    2222void t_clkCorr::writeEpoch(ostream* out, const QList<t_clkCorr>& corrList) {
     
    4343}
    4444
    45 // 
     45//
    4646////////////////////////////////////////////////////////////////////////////
    4747void t_clkCorr::readEpoch(const string& epoLine, istream& inStream, QList<t_clkCorr>& corrList) {
     
    6262    getline(inStream, line);
    6363    istringstream in(line.c_str());
    64    
     64
    6565    in >> corr._prn >> corr._iod >> corr._dClk >> corr._dotDClk >> corr._dotDotDClk;
    6666    if (corr._prn.system() == 'E') {
     
    8585}
    8686
    87 // 
     87//
    8888////////////////////////////////////////////////////////////////////////////
    8989void t_orbCorr::writeEpoch(ostream* out, const QList<t_orbCorr>& corrList) {
     
    113113}
    114114
    115 // 
     115//
    116116////////////////////////////////////////////////////////////////////////////
    117117void t_orbCorr::readEpoch(const string& epoLine, istream& inStream, QList<t_orbCorr>& corrList) {
     
    132132    getline(inStream, line);
    133133    istringstream in(line.c_str());
    134    
     134
    135135    in >> corr._prn      >> corr._iod
    136        >> corr._xr[0]    >> corr._xr[1]    >> corr._xr[2]   
     136       >> corr._xr[0]    >> corr._xr[1]    >> corr._xr[2]
    137137       >> corr._dotXr[0] >> corr._dotXr[1] >> corr._dotXr[2];
    138138
     
    201201}
    202202
    203 // 
     203//
    204204////////////////////////////////////////////////////////////////////////////
    205205void t_satCodeBias::writeEpoch(ostream* out, const QList<t_satCodeBias>& biasList) {
     
    218218           << biasList.size() << ' ' << satCodeBias._staID << endl;
    219219    }
     220    if (!satCodeBias._bias.size()) {
     221      continue;
     222    }
    220223    *out << satCodeBias._prn.toString() << "   " << setw(2) << satCodeBias._bias.size();
    221224    for (unsigned ii = 0; ii < satCodeBias._bias.size(); ii++) {
     
    229232}
    230233
    231 // 
     234//
    232235////////////////////////////////////////////////////////////////////////////
    233236void t_satCodeBias::readEpoch(const string& epoLine, istream& inStream, QList<t_satCodeBias>& biasList) {
     
    248251    getline(inStream, line);
    249252    istringstream in(line.c_str());
    250    
     253
    251254    int numBias;
    252255    in >> satCodeBias._prn >> numBias;
     
    264267}
    265268
    266 // 
     269//
    267270////////////////////////////////////////////////////////////////////////////
    268271void t_satPhaseBias::writeEpoch(ostream* out, const QList<t_satPhaseBias>& biasList) {
     
    299302  out->flush();
    300303}
    301  
    302 // 
     304
     305//
    303306////////////////////////////////////////////////////////////////////////////
    304307void t_satPhaseBias::readEpoch(const string& epoLine, istream& inStream, QList<t_satPhaseBias>& biasList) {
     
    347350}
    348351
    349 // 
     352//
    350353////////////////////////////////////////////////////////////////////////////
    351354void t_vTec::write(ostream* out, const t_vTec& vTec) {
     
    363366         << setw(2)  << layer._C.Nrows()-1 << ' '
    364367         << setw(2)  << layer._C.Ncols()-1 << ' '
    365          << setw(10) << setprecision(1) << layer._height << endl 
    366          << setw(10) << setprecision(4) << layer._C 
     368         << setw(10) << setprecision(1) << layer._height << endl
     369         << setw(10) << setprecision(4) << layer._C
    367370         << setw(10) << setprecision(4) << layer._S;
    368371  }
     
    370373}
    371374
    372 // 
     375//
    373376////////////////////////////////////////////////////////////////////////////
    374377void t_vTec::read(const string& epoLine, istream& inStream, t_vTec& vTec) {
     
    414417}
    415418
    416 // 
    417 ////////////////////////////////////////////////////////////////////////////
    418 t_corrSSR::e_type t_corrSSR::readEpoLine(const string& line, bncTime& epoTime, 
     419//
     420////////////////////////////////////////////////////////////////////////////
     421t_corrSSR::e_type t_corrSSR::readEpoLine(const string& line, bncTime& epoTime,
    419422                                         unsigned int& updateInt, int& numEntries,
    420423                                         string& staID) {
     
    427430  double sec;
    428431
    429   inLine >> epoChar >> typeString 
     432  inLine >> epoChar >> typeString
    430433         >> year >> month >> day >> hour >> min >> sec >> updateInt >> numEntries >> staID;
    431434
Note: See TracChangeset for help on using the changeset viewer.