LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | List of all members
lsst::afw::detection::IdSpanCompar Struct Reference
Inheritance diagram for lsst::afw::detection::IdSpanCompar:

Public Member Functions

bool operator() (const IdSpan::ConstPtr a, const IdSpan::ConstPtr b)
 

Detailed Description

comparison functor; sort by ID then row

Definition at line 78 of file CR.cc.

Member Function Documentation

bool lsst::afw::detection::IdSpanCompar::operator() ( const IdSpan::ConstPtr  a,
const IdSpan::ConstPtr  b 
)
inline

Definition at line 79 of file CR.cc.

79  {
80  if (a->id < b->id) {
81  return true;
82  } else if(a->id > b->id) {
83  return false;
84  } else {
85  return (a->y < b->y) ? true : false;
86  }
87  }
afw::table::Key< double > b

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