Public Member Functions | Private Attributes | List of all members
gnsstk::Rinex3NavDataOperatorLessThanFull Struct Reference

Detailed Description

This compares all elements of the Rinex3NavData with less than.

Definition at line 63 of file Rinex3NavFilterOperators.hpp.

#include <Rinex3NavFilterOperators.hpp>

Inheritance diagram for gnsstk::Rinex3NavDataOperatorLessThanFull:
Inheritance graph
[legend]

Public Member Functions

bool operator() (const Rinex3NavData &l, const Rinex3NavData &r) const
 
 Rinex3NavDataOperatorLessThanFull ()
 Set the default epsilon to 1e-5 for comparison. More...
 
void setPrecision (int e)
 

Private Attributes

double epsilon
 Value used to allow some "slop" in measuring equality in operator() More...
 

Constructor & Destructor Documentation

◆ Rinex3NavDataOperatorLessThanFull()

gnsstk::Rinex3NavDataOperatorLessThanFull::Rinex3NavDataOperatorLessThanFull ( )
inline

Set the default epsilon to 1e-5 for comparison.

Definition at line 68 of file Rinex3NavFilterOperators.hpp.

Member Function Documentation

◆ operator()()

bool gnsstk::Rinex3NavDataOperatorLessThanFull::operator() ( const Rinex3NavData l,
const Rinex3NavData r 
) const
inline

Compare two Rinex3NavData objects.

Parameters
[in]lThe left hand side of the < operation.
[in]rThe right hand side of the < operation.
Returns
true if the left transmit time is less than the right transmit time, the left satellite ID is less than the right satellite ID, or if the individual data fields of the left object are less than the right object.

Definition at line 88 of file Rinex3NavFilterOperators.hpp.

◆ setPrecision()

void gnsstk::Rinex3NavDataOperatorLessThanFull::setPrecision ( int  e)
inline

Set how different the left and right values can be before they're considered different. e.g. left-right/left > epsilon.

Parameters
[in]eThe exponent for base 10 (epsilon=10**-e).

Definition at line 76 of file Rinex3NavFilterOperators.hpp.

Member Data Documentation

◆ epsilon

double gnsstk::Rinex3NavDataOperatorLessThanFull::epsilon
private

Value used to allow some "slop" in measuring equality in operator()

Definition at line 152 of file Rinex3NavFilterOperators.hpp.


The documentation for this struct was generated from the following file:


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:45