NCBI C++ ToolKit
Public Types | Public Member Functions | List of all members
ISelListModel< Item > Class Template Referenceabstract

Search Toolkit Book for ISelListModel

interface ISelListModel More...

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

+ Inheritance diagram for ISelListModel< Item >:

Public Types

typedef Item TItem
 
typedef int TIndex
 
typedef vector< TIndexTIndexVector
 

Public Member Functions

virtual ~ISelListModel ()
 
virtual TIndex SLM_GetItemsCount () const =0
 
virtual TItem SLM_GetItem (TIndex index) const =0
 
virtual TIndex SLM_GetFocusedItemIndex () const =0
 
virtual bool SLM_IsItemSelected (TIndex index) const =0
 
virtual TIndex SLM_GetSelectedCount () const =0
 
virtual void SLM_GetSelectedIndices (TIndexVector &vIndices) const =0
 
virtual void SLM_FocusItem (TIndex index)=0
 
virtual void SLM_SelectSingleItem (TIndex index)=0
 
virtual void SLM_InvertSingleItem (TIndex index)=0
 
virtual void SLM_SelectItems (const TIndexVector &vIndices, bool b_reset_others=false)=0
 
virtual void SLM_SelectAll (bool bSelect=true)=0
 
virtual void SLM_SelectTo (TIndex index)=0
 
virtual void SLM_AddSLView (ISelListView< Item > *pView)=0
 
virtual void SLM_RemoveSLView (ISelListView< Item > *pView)=0
 

Detailed Description

template<class Item>
class ISelListModel< Item >

interface ISelListModel

Definition at line 44 of file list_mvc.hpp.

Member Typedef Documentation

◆ TIndex

template<class Item >
typedef int ISelListModel< Item >::TIndex

Definition at line 48 of file list_mvc.hpp.

◆ TIndexVector

template<class Item >
typedef vector<TIndex> ISelListModel< Item >::TIndexVector

Definition at line 49 of file list_mvc.hpp.

◆ TItem

template<class Item >
typedef Item ISelListModel< Item >::TItem

Definition at line 47 of file list_mvc.hpp.

Constructor & Destructor Documentation

◆ ~ISelListModel()

template<class Item >
virtual ISelListModel< Item >::~ISelListModel ( )
inlinevirtual

Definition at line 51 of file list_mvc.hpp.

Member Function Documentation

◆ SLM_AddSLView()

template<class Item >
virtual void ISelListModel< Item >::SLM_AddSLView ( ISelListView< Item > *  pView)
pure virtual

◆ SLM_FocusItem()

template<class Item >
virtual void ISelListModel< Item >::SLM_FocusItem ( TIndex  index)
pure virtual

◆ SLM_GetFocusedItemIndex()

template<class Item >
virtual TIndex ISelListModel< Item >::SLM_GetFocusedItemIndex ( ) const
pure virtual

◆ SLM_GetItem()

template<class Item >
virtual TItem ISelListModel< Item >::SLM_GetItem ( TIndex  index) const
pure virtual

◆ SLM_GetItemsCount()

template<class Item >
virtual TIndex ISelListModel< Item >::SLM_GetItemsCount ( ) const
pure virtual

◆ SLM_GetSelectedCount()

template<class Item >
virtual TIndex ISelListModel< Item >::SLM_GetSelectedCount ( ) const
pure virtual

Implemented in CSelListModelImpl< Item >.

◆ SLM_GetSelectedIndices()

template<class Item >
virtual void ISelListModel< Item >::SLM_GetSelectedIndices ( TIndexVector vIndices) const
pure virtual

◆ SLM_InvertSingleItem()

template<class Item >
virtual void ISelListModel< Item >::SLM_InvertSingleItem ( TIndex  index)
pure virtual

◆ SLM_IsItemSelected()

template<class Item >
virtual bool ISelListModel< Item >::SLM_IsItemSelected ( TIndex  index) const
pure virtual

◆ SLM_RemoveSLView()

template<class Item >
virtual void ISelListModel< Item >::SLM_RemoveSLView ( ISelListView< Item > *  pView)
pure virtual

◆ SLM_SelectAll()

template<class Item >
virtual void ISelListModel< Item >::SLM_SelectAll ( bool  bSelect = true)
pure virtual

◆ SLM_SelectItems()

template<class Item >
virtual void ISelListModel< Item >::SLM_SelectItems ( const TIndexVector vIndices,
bool  b_reset_others = false 
)
pure virtual

Implemented in CSelListModelImpl< Item >.

◆ SLM_SelectSingleItem()

template<class Item >
virtual void ISelListModel< Item >::SLM_SelectSingleItem ( TIndex  index)
pure virtual

◆ SLM_SelectTo()

template<class Item >
virtual void ISelListModel< Item >::SLM_SelectTo ( TIndex  index)
pure virtual

The documentation for this class was generated from the following file:
Modified on Sat Jun 15 11:52:12 2024 by modify_doxy.py rev. 669887