The Battle for Wesnoth  1.19.7+dev
Public Member Functions | Private Member Functions | Private Attributes | List of all members
gui2::dialogs::mp_connect::selection Class Reference

Public Member Functions

 selection (mp_connect *owner, int row=-1)
 
bool valid () const
 
bool user_defined () const
 
unsigned row () const
 
std::size_t relative_index () const
 
server_listparent_list () const
 
server_infoget ()
 

Private Member Functions

void must_be_valid () const
 

Private Attributes

mp_connectowner_
 
int row_
 

Detailed Description

Definition at line 65 of file mp_connect.hpp.

Constructor & Destructor Documentation

◆ selection()

gui2::dialogs::mp_connect::selection::selection ( mp_connect owner,
int  row = -1 
)
inline

Definition at line 68 of file mp_connect.hpp.

Member Function Documentation

◆ get()

mp_connect::server_info & gui2::dialogs::mp_connect::selection::get ( )

◆ must_be_valid()

void gui2::dialogs::mp_connect::selection::must_be_valid ( ) const
inlineprivate

Definition at line 93 of file mp_connect.hpp.

References valid().

Referenced by get().

◆ parent_list()

mp_connect::server_list & gui2::dialogs::mp_connect::selection::parent_list ( ) const

Definition at line 269 of file mp_connect.cpp.

References gui2::window::owner_.

Referenced by get().

◆ relative_index()

std::size_t gui2::dialogs::mp_connect::selection::relative_index ( ) const

◆ row()

unsigned gui2::dialogs::mp_connect::selection::row ( ) const

◆ user_defined()

bool gui2::dialogs::mp_connect::selection::user_defined ( ) const

◆ valid()

bool gui2::dialogs::mp_connect::selection::valid ( ) const
inline

Member Data Documentation

◆ owner_

mp_connect* gui2::dialogs::mp_connect::selection::owner_
private

Definition at line 90 of file mp_connect.hpp.

Referenced by valid().

◆ row_

int gui2::dialogs::mp_connect::selection::row_
private

Definition at line 91 of file mp_connect.hpp.

Referenced by valid().


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