The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
mp::lobby::lobby_sorter Class Reference
Inheritance diagram for mp::lobby::lobby_sorter:
Inheritance graph

Public Member Functions

 lobby_sorter (const config &cfg)
 
- Public Member Functions inherited from gui::menu::basic_sorter
 basic_sorter ()
 
virtual ~basic_sorter ()
 
basic_sorterset_alpha_sort (int column)
 
basic_sorterset_numeric_sort (int column)
 
basic_sorterset_xp_sort (int column)
 
basic_sorterset_level_sort (int level_column, int xp_column)
 
basic_sorterset_id_sort (int column)
 
basic_sorterset_redirect_sort (int column, int to)
 
basic_sorterset_position_sort (int column, const std::vector< int > &pos)
 
- Public Member Functions inherited from gui::menu::sorter
virtual ~sorter ()
 

Private Types

enum  { MAP_COLUMN = 0, STATUS_COLUMN = 2 }
 

Private Member Functions

bool column_sortable (int column) const
 
bool less (int column, const gui::menu::item &row1, const gui::menu::item &row2) const
 

Private Attributes

const configcfg_
 

Additional Inherited Members

Detailed Description

Definition at line 203 of file multiplayer_lobby.hpp.

Member Enumeration Documentation

anonymous enum
private
Enumerator
MAP_COLUMN 
STATUS_COLUMN 

Definition at line 210 of file multiplayer_lobby.hpp.

Constructor & Destructor Documentation

mp::lobby::lobby_sorter::lobby_sorter ( const config cfg)

Definition at line 959 of file multiplayer_lobby.cpp.

References gui::menu::basic_sorter::set_alpha_sort().

Member Function Documentation

bool mp::lobby::lobby_sorter::column_sortable ( int  column) const
privatevirtual

Reimplemented from gui::menu::basic_sorter.

Definition at line 964 of file multiplayer_lobby.cpp.

bool mp::lobby::lobby_sorter::less ( int  column,
const gui::menu::item row1,
const gui::menu::item row2 
) const
privatevirtual

Member Data Documentation

const config& mp::lobby::lobby_sorter::cfg_
private

Definition at line 205 of file multiplayer_lobby.hpp.


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