NCBI C++ ToolKit
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
CMatchesListCtrl::CUVHitCmp Class Reference

Search Toolkit Book for CMatchesListCtrl::CUVHitCmp

#include <gui/widgets/edit/vectortrimpanel.hpp>

Public Member Functions

 CUVHitCmp (ESortOption eSortOption, bool bAscending)
 
bool operator() (const CUVHitLoc &x, const CUVHitLoc &y) const
 

Protected Member Functions

int x_Compare (const CUVHitLoc &x, const CUVHitLoc &y) const
 
int x_CompareMatches (const vector< SRangeMatch > &x, const vector< SRangeMatch > &y) const
 
void x_FindStrongestMatchType (const vector< SRangeMatch > &matches, SRangeMatch::EMatchType &matchtype) const
 

Private Attributes

ESortOption m_SortOption
 
bool m_SortAscending
 

Detailed Description

Definition at line 386 of file vectortrimpanel.hpp.

Constructor & Destructor Documentation

◆ CUVHitCmp()

CMatchesListCtrl::CUVHitCmp::CUVHitCmp ( ESortOption  eSortOption,
bool  bAscending 
)
inline

Definition at line 389 of file vectortrimpanel.hpp.

Member Function Documentation

◆ operator()()

bool CMatchesListCtrl::CUVHitCmp::operator() ( const CUVHitLoc x,
const CUVHitLoc y 
) const

Definition at line 2445 of file vectortrimpanel.cpp.

References m_SortAscending, and x_Compare().

◆ x_Compare()

int CMatchesListCtrl::CUVHitCmp::x_Compare ( const CUVHitLoc x,
const CUVHitLoc y 
) const
protected

◆ x_CompareMatches()

int CMatchesListCtrl::CUVHitCmp::x_CompareMatches ( const vector< SRangeMatch > &  x,
const vector< SRangeMatch > &  y 
) const
protected

Definition at line 2486 of file vectortrimpanel.cpp.

References SRangeMatch::eUnknown.

◆ x_FindStrongestMatchType()

void CMatchesListCtrl::CUVHitCmp::x_FindStrongestMatchType ( const vector< SRangeMatch > &  matches,
SRangeMatch::EMatchType matchtype 
) const
protected

Member Data Documentation

◆ m_SortAscending

bool CMatchesListCtrl::CUVHitCmp::m_SortAscending
private

Definition at line 404 of file vectortrimpanel.hpp.

Referenced by operator()().

◆ m_SortOption

ESortOption CMatchesListCtrl::CUVHitCmp::m_SortOption
private

Definition at line 403 of file vectortrimpanel.hpp.


The documentation for this class was generated from the following files:
Modified on Fri Sep 20 14:58:24 2024 by modify_doxy.py rev. 669887