Changeset 7523 in ntrip for trunk/BNC/src/pppCrdFile.cpp
- Timestamp:
- Oct 19, 2015, 3:01:57 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppCrdFile.cpp
r6050 r7523 36 36 * Created: 29-Jul-2014 37 37 * 38 * Changes: 38 * Changes: 39 39 * 40 40 * -----------------------------------------------------------------------*/ … … 48 48 using namespace BNC_PPP; 49 49 50 // 50 // 51 51 ////////////////////////////////////////////////////////////////////////////// 52 52 void t_pppCrdFile::readCrdFile(const string& fileName, vector<t_staInfo>& staInfoVec) { … … 61 61 continue; 62 62 } 63 63 64 64 istringstream in; 65 65 … … 87 87 88 88 if (!in.eof()) { 89 getline(in, staInfo._antenna); 90 stripWhiteSpace(staInfo._antenna); 89 std::string hlp; 90 getline(in, hlp); 91 stripWhiteSpace(hlp); 92 staInfo._antenna = hlp.substr(0,20); 93 hlp = hlp.erase(0, 20); 94 if (hlp.length()) { 95 stripWhiteSpace(hlp); 96 staInfo._receiver = hlp; 97 } 91 98 } 92 99
Note:
See TracChangeset
for help on using the changeset viewer.