Changeset 5910 in ntrip
- Timestamp:
- Aug 12, 2014, 3:23:19 PM (11 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/src/PPP/pppCrdFile.cpp ¶
r5909 r5910 43 43 #include <sstream> 44 44 #include "pppCrdFile.h" 45 #include "utils.h" 45 #include "bncutils.h" 46 46 47 47 using namespace std; 48 using namespace GPSS;48 using namespace BNC_PPP; 49 49 50 50 // -
TabularUnified trunk/BNC/src/bncutils.cpp ¶
r5888 r5910 69 69 } 70 70 71 } 72 73 // Strip White Space 74 //////////////////////////////////////////////////////////////////////////// 75 void stripWhiteSpace(string& str) { 76 if (!str.empty()) { 77 string::size_type beg = str.find_first_not_of(" \t\f\n\r\v"); 78 string::size_type end = str.find_last_not_of(" \t\f\n\r\v"); 79 if (beg > str.max_size()) 80 str.erase(); 81 else 82 str = str.substr(beg, end-beg+1); 83 } 71 84 } 72 85 -
TabularUnified trunk/BNC/src/bncutils.h ¶
r5886 r5910 107 107 void jmt (double djul, long& jj, long& mm, double& dd); 108 108 109 void stripWhiteSpace(std::string& str); 110 109 111 #endif -
TabularUnified trunk/BNC/src/src.pri ¶
r5892 r5910 68 68 PPP/pppObsPool.h PPP/pppStation.h PPP/pppFilter.h \ 69 69 PPP/pppEphPool.h PPP/pppModel.h PPP/pppParlist.h \ 70 PPP/pppSatObs.h PPP/pppRun.h 70 PPP/pppSatObs.h PPP/pppRun.h PPP/pppCrdFile.h 71 71 72 72 HEADERS += serial/qextserialbase.h serial/qextserialport.h … … 106 106 PPP/pppObsPool.cpp PPP/pppStation.cpp PPP/pppFilter.cpp \ 107 107 PPP/pppEphPool.cpp PPP/pppModel.cpp PPP/pppParlist.cpp \ 108 PPP/pppSatObs.cpp PPP/pppRun.cpp 108 PPP/pppSatObs.cpp PPP/pppRun.cpp PPP/pppCrdFile.cpp 109 109 110 110 SOURCES += serial/qextserialbase.cpp serial/qextserialport.cpp
Note:
See TracChangeset
for help on using the changeset viewer.