Changeset 7048 in ntrip
- Timestamp:
- Jul 14, 2015, 4:08:46 PM (9 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppOptions.cpp
r6965 r7048 122 122 return answ; 123 123 } 124 125 // 126 ///////////////////////////////////////////////////////////////////////////// 127 vector<t_lc::type> t_pppOptions::codeLCs(char system) const { 128 129 const vector<t_lc::type>& allLCs = LCs(system); 130 vector<t_lc::type> codeLCs; 131 for (unsigned ii = 0; ii < allLCs.size(); ii++) { 132 if (t_lc::includesCode(allLCs[ii])) { 133 codeLCs.push_back(allLCs[ii]); 134 } 135 } 136 137 vector<t_lc::type> answ; 138 if (codeLCs.size() == 1) { 139 answ.push_back(codeLCs[0]); 140 } 141 else if (codeLCs.size() > 1) { 142 answ.push_back(t_lc::c1); 143 answ.push_back(t_lc::c2); 144 } 145 146 return answ; 147 } -
trunk/BNC/src/pppOptions.h
r6965 r7048 17 17 const std::vector<t_lc::type>& LCs(char system) const; 18 18 std::vector<t_lc::type> ambLCs(char system) const; 19 std::vector<t_lc::type> codeLCs(char system) const; 19 20 bool useSystem(char system) const {return LCs(system).size() > 0;} 20 21 bool useOrbClkCorr() const;
Note:
See TracChangeset
for help on using the changeset viewer.