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_list & | parent_list () const |
server_info & | get () |
Private Member Functions | |
void | must_be_valid () const |
Private Attributes | |
mp_connect * | owner_ |
int | row_ |
Definition at line 65 of file mp_connect.hpp.
|
inline |
Definition at line 68 of file mp_connect.hpp.
mp_connect::server_info & gui2::dialogs::mp_connect::selection::get | ( | ) |
Definition at line 244 of file mp_connect.cpp.
References must_be_valid(), parent_list(), and relative_index().
Referenced by gui2::dialogs::mp_connect::on_server_select().
|
inlineprivate |
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().
std::size_t gui2::dialogs::mp_connect::selection::relative_index | ( | ) | const |
Definition at line 263 of file mp_connect.cpp.
References gui2::window::owner_.
Referenced by get(), gui2::dialogs::mp_connect::on_server_add(), and gui2::dialogs::mp_connect::on_server_delete().
unsigned gui2::dialogs::mp_connect::selection::row | ( | ) | const |
Definition at line 257 of file mp_connect.cpp.
Referenced by gui2::dialogs::mp_connect::on_server_add(), and gui2::dialogs::mp_connect::on_server_delete().
bool gui2::dialogs::mp_connect::selection::user_defined | ( | ) | const |
Definition at line 250 of file mp_connect.cpp.
References gui2::window::owner_.
Referenced by gui2::dialogs::mp_connect::on_server_add(), gui2::dialogs::mp_connect::on_server_delete(), and gui2::dialogs::mp_connect::on_server_select().
|
inline |
Definition at line 74 of file mp_connect.hpp.
Referenced by must_be_valid(), gui2::dialogs::mp_connect::on_server_add(), gui2::dialogs::mp_connect::on_server_delete(), and gui2::dialogs::mp_connect::on_server_select().
|
private |
Definition at line 90 of file mp_connect.hpp.
Referenced by valid().
|
private |
Definition at line 91 of file mp_connect.hpp.
Referenced by valid().