ARB
|
#include <ed4_class.hxx>
Public Member Functions | |
ED4_manager * | owner () |
const ED4_manager * | owner () const |
ED4_base * | member (ED4_index i) const |
ED4_index | members () const |
bool | empty () const |
void | clear () |
void | insert_member (ED4_base *new_member) |
void | append_member (ED4_base *new_member) |
ED4_returncode | remove_member (ED4_base *member) |
ED4_index | search_member (ED4_extension *location, ED4_properties prop) |
ED4_returncode | search_target_species (ED4_extension *location, ED4_properties prop, ED4_base **found_member, ED4_level return_level) |
ED4_returncode | move_member (ED4_index old_pos, ED4_index new_pos) |
bool | members_ok () const |
ED4_container () | |
virtual | ~ED4_container () |
Protected Member Functions | |
bool | valid_index (ED4_index idx) const |
bool | existing_index (ED4_index idx) const |
Definition at line 773 of file ed4_class.hxx.
ED4_container::ED4_container | ( | ) |
Definition at line 352 of file ED4_container.cxx.
References ARB_calloc().
|
virtual |
Definition at line 371 of file ED4_container.cxx.
|
inlineprotected |
Definition at line 787 of file ed4_class.hxx.
|
inlineprotected |
Definition at line 788 of file ed4_class.hxx.
Referenced by ED4_manager::calc_bounding_box(), ED4_manager::distribute_children(), ED4_manager::event_sent_by_parent(), ED4_manager::request_refresh(), ED4_manager::resize_requested_children(), ED4_manager::search_ID(), search_target_species(), and ED4_manager::Show().
|
inline |
Definition at line 792 of file ed4_class.hxx.
References DOWNCAST.
Referenced by append_member(), insert_member(), and remove_member().
|
inline |
Definition at line 795 of file ed4_class.hxx.
References e4_assert.
Referenced by ED4_manager::calc_bounding_box(), clear(), ED4_manager::clear_refresh(), ED4_multi_species_manager::count_visible_children(), ED4_manager::create_consensus(), ED4_manager::Delete(), ED4_manager::delete_requested_children(), ED4_multi_species_manager::deselect_all_species_and_SAI(), ED4_manager::distribute_children(), ED4_manager::event_sent_by_parent(), ED4_terminal::event_sent_by_parent(), ED4_manager::find_first_that(), ED4_group_manager::fold(), ED4_base::generate_configuration_string(), ED4_manager::get_competent_child(), ED4_multi_species_manager::get_consensus_manager(), ED4_base::get_consensus_relevant_terminal(), ED4_manager::get_defined_level(), ED4_manager::get_first_terminal(), ED4_manager::get_last_terminal(), FINAL_TYPE< SEQTYPE >::get_name_terminal(), get_upper_lower_cursor_pos(), ED4_manager::handle_move(), ED4_manager::hide_children(), ED4_multi_species_manager::invert_selection_of_all_species(), ED4_multi_species_manager::marked_species_select(), ED4_manager::rebuild_consensi(), ED4_manager::refresh_flag_ok(), ED4_manager::remove_callbacks(), ED4_manager::request_refresh(), ED4_manager::resize_requested_children(), ED4_manager::route_down_hierarchy(), EDB_root_bact::save_current_config(), ED4_manager::search_ID(), ED4_manager::search_spec_child_rek(), search_target_species(), ED4_multi_species_manager::select_all(), ED4_multi_species_manager::selected_species_mark(), ED4_base::set_width(), ED4_manager::Show(), ED4_group_manager::unfold(), ED4_manager::unhide_children(), and ED4_manager::update_requested_children().
|
inline |
Definition at line 797 of file ed4_class.hxx.
Referenced by clear(), ED4_manager::clear_refresh(), ED4_multi_species_manager::count_visible_children(), ED4_manager::create_consensus(), ED4_manager::Delete(), ED4_manager::delete_requested_children(), ED4_multi_species_manager::deselect_all_species_and_SAI(), empty(), ED4_terminal::event_sent_by_parent(), ED4_manager::find_first_that(), ED4_group_manager::fold(), ED4_base::generate_configuration_string(), ED4_manager::get_competent_child(), ED4_multi_species_manager::get_consensus_manager(), ED4_base::get_consensus_relevant_terminal(), ED4_manager::get_defined_level(), ED4_manager::get_first_terminal(), ED4_manager::get_last_terminal(), get_upper_lower_cursor_pos(), ED4_manager::hide_children(), ED4_multi_species_manager::invert_selection_of_all_species(), ED4_multi_species_manager::marked_species_select(), ED4_manager::rebuild_consensi(), ED4_manager::refresh_flag_ok(), ED4_manager::remove_callbacks(), ED4_manager::route_down_hierarchy(), EDB_root_bact::save_current_config(), ED4_manager::search_spec_child_rek(), search_target_species(), ED4_multi_species_manager::select_all(), ED4_multi_species_manager::selected_species_mark(), ED4_base::set_width(), ED4_manager::Show(), ED4_group_manager::unfold(), ED4_manager::unhide_children(), and ED4_manager::update_requested_children().
|
inline |
void ED4_container::clear | ( | ) |
Definition at line 360 of file ED4_container.cxx.
References member(), members(), NULp, ED4_base::parent, and remove_member().
Referenced by ED4_manager::~ED4_manager(), and ED4_reference_terminals::~ED4_reference_terminals().
void ED4_container::insert_member | ( | ED4_base * | new_member | ) |
Definition at line 175 of file ED4_container.cxx.
References e4_assert, ED4_base::extension, ED4_base::index, owner(), ED4_base::request_resize(), search_member(), ED4_base::spec, and ED4_objspec::static_prop.
Referenced by ED4_manager::handle_move().
void ED4_container::append_member | ( | ED4_base * | new_member | ) |
Definition at line 200 of file ED4_container.cxx.
References ED4_objspec::announce_added(), e4_assert, ED4_base::index, ED4_objspec::level, owner(), ED4_base::request_resize(), and ED4_base::spec.
Referenced by ED4_root::create_hierarchy(), createGroupFromSelected(), ED4_build_group_manager_end(), ED4_build_group_manager_start(), EDB_root_bact::fill_data(), PV_AddNewAAseqTerminals(), EDB_root_bact::search_sequence_data_rek(), and toggle_detailed_column_stat().
ED4_returncode ED4_container::remove_member | ( | ED4_base * | member | ) |
Definition at line 217 of file ED4_container.cxx.
References e4_assert, ED4_R_IMPOSSIBLE, ED4_R_OK, ED4_base::index, members_ok(), NULp, owner(), ED4_base::parent, and ED4_base::request_resize().
Referenced by clear(), ED4_manager::deleted_from_database(), ED4_manager::handle_move(), and ED4_base::unlink_from_parent().
ED4_index ED4_container::search_member | ( | ED4_extension * | location, |
ED4_properties | prop | ||
) |
Definition at line 300 of file ED4_container.cxx.
References ED4_base::extension, HEIGHT, ED4_extension::position, PROP_HORIZONTAL, ED4_extension::size, WIDTH, X_POS, and Y_POS.
Referenced by ED4_manager::event_sent_by_parent(), ED4_manager::get_competent_child(), and insert_member().
ED4_returncode ED4_container::search_target_species | ( | ED4_extension * | location, |
ED4_properties | prop, | ||
ED4_base ** | found_member, | ||
ED4_level | return_level | ||
) |
Definition at line 16 of file ED4_container.cxx.
References ED4_base::calc_world_coords(), e4_assert, ED4_R_IMPOSSIBLE, ED4_R_OK, existing_index(), ED4_base::extension, ED4_base::flag, ED4_base::get_parent(), HEIGHT, ED4_base::hidden, ED4_base::is_area_manager(), ED4_base::is_consensus_manager(), ED4_base::is_group_manager(), ED4_base::is_multi_species_manager(), ED4_base::is_root_group_manager(), ED4_base::is_spacer_terminal(), ED4_base::is_species_manager(), ED4_base::is_terminal(), LEV_MULTI_SPECIES, member(), members(), NULp, ED4_base::parent, ED4_extension::position, PROP_HORIZONTAL, ED4_extension::size, WIDTH, X_POS, and Y_POS.
Referenced by ED4_terminal::draw_drag_box(), ED4_manager::get_competent_clicked_child(), and ED4_manager::handle_move().
ED4_returncode ED4_container::move_member | ( | ED4_index | old_pos, |
ED4_index | new_pos | ||
) |
Definition at line 281 of file ED4_container.cxx.
References e4_assert, ED4_R_IMPOSSIBLE, ED4_R_OK, ED4_base::index, and members_ok().
Referenced by ED4_group_manager::fold().
bool ED4_container::members_ok | ( | ) | const |
Definition at line 337 of file ED4_container.cxx.
References error(), and ED4_base::index.
Referenced by move_member(), and remove_member().