The Battle for Wesnoth  1.15.2+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 66 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 69 of file mp_connect.hpp.

Member Function Documentation

◆ get()

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

Definition at line 271 of file mp_connect.cpp.

◆ must_be_valid()

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

Definition at line 99 of file mp_connect.hpp.

◆ parent_list()

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

Definition at line 289 of file mp_connect.cpp.

◆ relative_index()

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

Definition at line 283 of file mp_connect.cpp.

◆ row()

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

Definition at line 277 of file mp_connect.cpp.

◆ user_defined()

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

Definition at line 80 of file mp_connect.hpp.

◆ valid()

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

Definition at line 75 of file mp_connect.hpp.

Member Data Documentation

◆ owner_

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

Definition at line 96 of file mp_connect.hpp.

◆ row_

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

Definition at line 97 of file mp_connect.hpp.


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