NCBI C++ ToolKit
Public Types | Public Member Functions | Protected Attributes | List of all members
CPairSorter< TKey, TValue > Class Template Reference

Search Toolkit Book for CPairSorter

CPairSorter. More...

#include <gui/widgets/aln_multiple/alnmulti_model.hpp>

Public Types

typedef pair< TKey, TValue > TPair
 
typedef vector< TPairTPairVector
 

Public Member Functions

 CPairSorter (bool ascending)
 
void Sort (TPairVector &data)
 

Protected Attributes

bool m_Ascending
 

Detailed Description

template<typename TKey, typename TValue>
class CPairSorter< TKey, TValue >

CPairSorter.

Definition at line 347 of file alnmulti_model.hpp.

Member Typedef Documentation

◆ TPair

template<typename TKey , typename TValue >
typedef pair<TKey, TValue> CPairSorter< TKey, TValue >::TPair

Definition at line 350 of file alnmulti_model.hpp.

◆ TPairVector

template<typename TKey , typename TValue >
typedef vector<TPair> CPairSorter< TKey, TValue >::TPairVector

Definition at line 351 of file alnmulti_model.hpp.

Constructor & Destructor Documentation

◆ CPairSorter()

template<typename TKey , typename TValue >
CPairSorter< TKey, TValue >::CPairSorter ( bool  ascending)
inline

Definition at line 353 of file alnmulti_model.hpp.

Member Function Documentation

◆ Sort()

template<typename TKey , typename TValue >
void CPairSorter< TKey, TValue >::Sort ( TPairVector data)
inline

Member Data Documentation

◆ m_Ascending

template<typename TKey , typename TValue >
bool CPairSorter< TKey, TValue >::m_Ascending
protected

Definition at line 369 of file alnmulti_model.hpp.

Referenced by CPairSorter< TKey, TValue >::Sort().


The documentation for this class was generated from the following file:
Modified on Sun Feb 25 03:04:26 2024 by modify_doxy.py rev. 669887