The Battle for Wesnoth  1.19.7+dev
Static Public Member Functions | List of all members
gui2::listbox::sort_helper Struct Reference

Static Public Member Functions

template<typename T >
static bool less (const T &lhs, const T &rhs)
 
static bool less (const t_string &lhs, const t_string &rhs)
 Performs case-insensitive comparison using the current locale. More...
 
template<typename T >
static bool more (const T &lhs, const T &rhs)
 
static bool more (const t_string &lhs, const t_string &rhs)
 Performs case-insensitive comparison using the current locale. More...
 

Detailed Description

Definition at line 255 of file listbox.hpp.

Member Function Documentation

◆ less() [1/2]

template<typename T >
static bool gui2::listbox::sort_helper::less ( const T &  lhs,
const T &  rhs 
)
inlinestatic

Definition at line 258 of file listbox.hpp.

Referenced by gui2::listbox::set_single_sorter().

◆ less() [2/2]

bool gui2::listbox::sort_helper::less ( const t_string lhs,
const t_string rhs 
)
static

Performs case-insensitive comparison using the current locale.

Definition at line 607 of file listbox.cpp.

References translation::icompare().

◆ more() [1/2]

template<typename T >
static bool gui2::listbox::sort_helper::more ( const T &  lhs,
const T &  rhs 
)
inlinestatic

Definition at line 264 of file listbox.hpp.

Referenced by gui2::listbox::set_single_sorter().

◆ more() [2/2]

bool gui2::listbox::sort_helper::more ( const t_string lhs,
const t_string rhs 
)
static

Performs case-insensitive comparison using the current locale.

Definition at line 612 of file listbox.cpp.

References translation::icompare().


The documentation for this struct was generated from the following files: