Changeset 3408 in ntrip for trunk/BNC/bncutils.cpp


Ignore:
Timestamp:
Sep 2, 2011, 8:43:49 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncutils.cpp

    r3405 r3408  
    374374               dateTime.time().msec() / 1000.0) / 60.0) / 60.0) / 24.0;
    375375}
     376
     377//
     378////////////////////////////////////////////////////////////////////////////
     379bool findInVector(const vector<QString>& vv, const QString& str) {
     380  std::vector<QString>::const_iterator it;
     381  for (it = vv.begin(); it != vv.end(); ++it) {
     382    if ( (*it) == str) {
     383      return true;
     384    }
     385  }
     386  return false;
     387}
     388
Note: See TracChangeset for help on using the changeset viewer.