LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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: