Changeset 6560 in ntrip for trunk/BNC/src/bncconst.h


Ignore:
Timestamp:
Jan 22, 2015, 5:14:45 PM (9 years ago)
Author:
stuerze
Message:

minor changes regarding qc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncconst.h

    r6405 r6560  
    7171    return std::string();
    7272  }
     73  static enum type toInt(std::string s) {
     74    if      (s == "G1") return G1;
     75    else if (s == "G2") return G2;
     76    else if (s == "G5") return G5;
     77    else if (s == "R1") return R1;
     78    else if (s == "R2") return R2;
     79    else if (s == "E1") return E1;
     80    else if (s == "E5") return E5;
     81    else if (s == "E6") return E6;
     82    else if (s == "E7") return E7;
     83    else if (s == "E8") return E8;
     84    else if (s == "J1") return J1;
     85    else if (s == "J2") return J2;
     86    else if (s == "J5") return J5;
     87    else if (s == "J6") return J6;
     88    else if (s == "S1") return S1;
     89    else if (s == "S5") return S5;
     90    else if (s == "C1") return C1;
     91    else if (s == "C7") return C7;
     92    else if (s == "C6") return C6;
     93    return type();
     94  }
    7395};
    7496
Note: See TracChangeset for help on using the changeset viewer.