NCBI C++ ToolKit
Public Member Functions | List of all members
IAlignSorter Class Referenceabstract

Search Toolkit Book for IAlignSorter

IAlignSorter is an abstract interface for sorting alignments based on any criteria. More...

#include <gui/widgets/seq_graphic/feature_sorter.hpp>

+ Inheritance diagram for IAlignSorter:
+ Collaboration diagram for IAlignSorter:

Public Member Functions

virtual int GetGroupIdx (const objects::CSeq_align &align) const =0
 Get the sorted group index for a given feature. More...
 
- Public Member Functions inherited from IObjectSorter
virtual ~IObjectSorter ()
 
virtual string GroupIdxToName (int idx) const =0
 Convert group index into group name. More...
 
virtual SSorterDescriptor GetThisDescr () const =0
 Return a name for the sorter. More...
 

Detailed Description

IAlignSorter is an abstract interface for sorting alignments based on any criteria.

Definition at line 101 of file feature_sorter.hpp.

Member Function Documentation

◆ GetGroupIdx()

virtual int IAlignSorter::GetGroupIdx ( const objects::CSeq_align &  align) const
pure virtual

Get the sorted group index for a given feature.

@ret any index >=0 will be considered as a valid index. Otherwise, it is an invalid index.

Implemented in CAlignSorterByScore< T >, CAlignSorterByField< T >, and CAlignStrandSorter.


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