NCBI C++ ToolKit
Public Member Functions | List of all members
compare_hit_start Struct Reference

Search Toolkit Book for compare_hit_start

callback used to sort hits in order of increasing sequence offset More...

Public Member Functions

bool operator() (CHitList::TListEntry const &aa, CHitList::TListEntry const &bb) const
 Compare hits by sequence offset. More...
 

Detailed Description

callback used to sort hits in order of increasing sequence offset

Definition at line 356 of file hitlist.cpp.

Member Function Documentation

◆ operator()()

bool compare_hit_start::operator() ( CHitList::TListEntry const aa,
CHitList::TListEntry const bb 
) const
inline

Compare hits by sequence offset.

Parameters
aaFirst hit
bbSecond hit
Returns
true if hits are already in order of increasing offset on sequence 1, with the offset on sequence 2 used as a tiebreaker

Definition at line 365 of file hitlist.cpp.

References a, b, and bb.


The documentation for this struct was generated from the following file:
Modified on Mon Jul 15 05:31:16 2024 by modify_doxy.py rev. 669887