NCBI C++ ToolKit
Public Types | Public Member Functions | Private Attributes | List of all members
CRangeCmp Class Reference

Search Toolkit Book for CRangeCmp

Helper functor to compare cuts during sorting. More...

Public Types

enum  ESortOrder { eAscending , eDescending , eAscending , eDescending }
 
enum  ESortOrder { eAscending , eDescending , eAscending , eDescending }
 

Public Member Functions

 CRangeCmp (ESortOrder sortorder=eAscending)
 
bool operator() (const SRangeMatch &a1, const SRangeMatch &a2)
 
 CRangeCmp (ESortOrder sortorder=eAscending)
 
bool operator() (const TRange &a1, const TRange &a2)
 

Private Attributes

ESortOrder m_sortorder
 

Detailed Description

Helper functor to compare cuts during sorting.

Definition at line 513 of file vectortrimpanel.cpp.

Member Enumeration Documentation

◆ ESortOrder [1/2]

Enumerator
eAscending 
eDescending 
eAscending 
eDescending 

Definition at line 516 of file vectortrimpanel.cpp.

◆ ESortOrder [2/2]

Enumerator
eAscending 
eDescending 
eAscending 
eDescending 

Definition at line 2296 of file seq_entry_edit.cpp.

Constructor & Destructor Documentation

◆ CRangeCmp() [1/2]

CRangeCmp::CRangeCmp ( ESortOrder  sortorder = eAscending)
inlineexplicit

Definition at line 522 of file vectortrimpanel.cpp.

◆ CRangeCmp() [2/2]

CRangeCmp::CRangeCmp ( ESortOrder  sortorder = eAscending)
inlineexplicit

Definition at line 2301 of file seq_entry_edit.cpp.

Member Function Documentation

◆ operator()() [1/2]

bool CRangeCmp::operator() ( const SRangeMatch a1,
const SRangeMatch a2 
)
inline

◆ operator()() [2/2]

bool CRangeCmp::operator() ( const TRange a1,
const TRange a2 
)
inline

Member Data Documentation

◆ m_sortorder

ESortOrder CRangeCmp::m_sortorder
private

Definition at line 548 of file vectortrimpanel.cpp.

Referenced by operator()().


The documentation for this class was generated from the following files:
Modified on Mon May 27 04:35:37 2024 by modify_doxy.py rev. 669887