NCBI C++ ToolKit
|
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>
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... | |
IAlignSorter is an abstract interface for sorting alignments based on any criteria.
Definition at line 101 of file feature_sorter.hpp.
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.