GG::ListBox::DefaultRowCmp< RowType > Struct Template Reference
sorts two Rows of a
ListBox using
operator<() on the
Row::SortKeyType provided by the rows' SortKey() methods.
More...
#include <ListBox.h>
List of all members.
|
Public Member Functions |
bool | operator() (const Row &lhs, const Row &rhs, int column) const |
Detailed Description
template<class RowType>
struct GG::ListBox::DefaultRowCmp< RowType >
sorts two Rows of a
ListBox using
operator<() on the
Row::SortKeyType provided by the rows' SortKey() methods.
If you want to use operator<() with a Row subclass DerivedRow that has a custom SortKeyType, use DefaultRowCmp<DerivedRow>.
Definition at line 356 of file ListBox.h.
Member Function Documentation
Returns true iff lhs.SortKey( column ) < rhs.SortKey( column ).
Definition at line 499 of file ListBox.h.
The documentation for this struct was generated from the following file: