SFF++ library: reading and writing SFF from C++
sff::WID2compare Class Reference

compares selected fields from two WID2 objects More...

#include <sffxx.h>

Public Member Functions

 WID2compare (const int &flags=(Fstation|Fchannel|Fdt))
 create compare object for comparison of selected fields More...
 
void set (const int &flags)
 
void clear (const int &flags)
 
void setdttolerance (const double &tol)
 tolerance when comparing dt (as a fraction of the sampling interval) More...
 
void setdatetolerance (const double &tol)
 tolerance when comparing date (as a fraction of the sampling interval) More...
 
bool operator() (const WID2 &hd1, const WID2 &hd2) const
 
int flags () const
 
double dttolerance () const
 
double datetolerance () const
 

Private Attributes

int Mflags
 
double Mdttolerance
 
double Mdatetolerance
 relative to mean sampling interval More...
 

Detailed Description

compares selected fields from two WID2 objects

See also
sff::Ewid2field

Definition at line 526 of file sffxx.h.


The documentation for this class was generated from the following files: