Changeset 2917 in ntrip for trunk/BNC


Ignore:
Timestamp:
Jan 27, 2011, 5:39:35 PM (14 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnctime.cpp

    r2566 r2917  
    8585bool bncTime::operator!=(const bncTime &time1) const {
    8686  if ( ((*this) - time1) != 0 ) return 1;
     87  return 0;
     88}
     89
     90//
     91//////////////////////////////////////////////////////////////////////////////
     92bool bncTime::operator==(const bncTime &time1) const {
     93  if ( ((*this) - time1) == 0 ) return 1;
    8794  return 0;
    8895}
  • trunk/BNC/bnctime.h

    r2809 r2917  
    2323                           double& sec) const;
    2424  bool         valid() const {return _mjd != 0 || _sec != 0.0;}
     25  bool         operator==(const bncTime &time1) const;
    2526  bool         operator!=(const bncTime &time1) const;
    2627  double       operator-(const bncTime &time1) const;
Note: See TracChangeset for help on using the changeset viewer.