libyui-ncurses
Loading...
Searching...
No Matches
NCTableSortStrategyBase Class Referenceabstract

#include <NCTableSort.h>

Inheritance diagram for NCTableSortStrategyBase:

Public Member Functions

 NCTableSortStrategyBase (int sortCol=0, bool reverse=false)
 
virtual void sort (YItemIterator begin, YItemIterator end)=0
 
int sortCol () const
 
void setSortCol (int col)
 
bool reverse () const
 
void setReverse (bool reverse)
 

Detailed Description

Support classes for sorting by column in a table for use in an NCTablePad Abstract base class for sorting strategies.

Member Function Documentation

◆ sort()

virtual void NCTableSortStrategyBase::sort ( YItemIterator begin,
YItemIterator end )
pure virtual

Sort items between 'begin' and 'end' in place.

Derived classes are required to implement this.

Implemented in NCTableSortDefault.


The documentation for this class was generated from the following file: