ARB
|
#include <group_search.h>
Public Member Functions | |
QueriedGroups () | |
size_t | size () const |
bool | empty () const |
void | add_informed_group (const FoundGroup &group) |
void | add_candidate (const GroupSearch &group_search, Candidate &cand, const std::string &hit_reason) |
FoundGroupCIter | begin () const |
FoundGroupIter | begin () |
FoundGroupCIter | end () const |
FoundGroupIter | end () |
const FoundGroup & | operator[] (size_t idx) const |
FoundGroup & | operator[] (size_t idx) |
bool | erase_deleted (GroupSearchCommon *common) |
bool | contains_changed (GroupSearchCommon *common) const |
const ColumnWidths & | get_column_widths () const |
const char * | get_group_display (const FoundGroup &g, bool show_tree_name) const |
void | sort_by (const SortCriteria &by) |
void | remove_hit (size_t idx) |
Definition at line 255 of file group_search.h.
|
inline |
Definition at line 263 of file group_search.h.
|
inline |
Definition at line 265 of file group_search.h.
Referenced by Clusterer::buildInferableClusterStartingWith(), Clusterer::calc_max_used_words(), empty(), Clusterer::find_and_deliverTo(), Clusterer::findBestClusterBasedOnWords(), grl_hitcount(), GS_calc_resulting_groupname(), GroupRename_callenv::legal_hit_index(), Clusterer::max_cluster_start_index(), operator[](), GroupUIdata::refill_result_list(), and remove_hit().
|
inline |
Definition at line 266 of file group_search.h.
References size().
Referenced by GroupSearch::has_results(), GroupUIdata::refill_result_list(), and GroupSearch::refresh_results_after_DBchanges().
|
inline |
Definition at line 268 of file group_search.h.
References gs_assert, and FoundGroup::knows_details().
Referenced by add_candidate(), Clusterer::deliverCluster(), Clusterer::deliverRest(), GroupSearch::perform_search(), and GroupSearch::set_marks_in_group().
void QueriedGroups::add_candidate | ( | const GroupSearch & | group_search, |
Candidate & | cand, | ||
const std::string & | hit_reason | ||
) |
Definition at line 1852 of file group_search.cxx.
References add_informed_group(), Candidate::get_group(), and Candidate::inform_group().
Referenced by GroupSearch::perform_search().
|
inline |
Definition at line 275 of file group_search.h.
Referenced by GroupSearch::delete_found_groups(), Clusterer::deliverRest(), get_column_widths(), GroupRename_callenv::get_dupidx(), GroupSearch::perform_search(), and GroupUIdata::refill_result_list().
|
inline |
Definition at line 276 of file group_search.h.
|
inline |
Definition at line 277 of file group_search.h.
Referenced by GroupSearch::delete_found_groups(), Clusterer::deliverRest(), get_column_widths(), GroupRename_callenv::get_dupidx(), GroupSearch::perform_search(), and GroupUIdata::refill_result_list().
|
inline |
Definition at line 278 of file group_search.h.
|
inline |
Definition at line 280 of file group_search.h.
|
inline |
Definition at line 281 of file group_search.h.
bool QueriedGroups::erase_deleted | ( | GroupSearchCommon * | common | ) |
Definition at line 1704 of file group_search.cxx.
Referenced by GroupSearch::refresh_results_after_DBchanges().
bool QueriedGroups::contains_changed | ( | GroupSearchCommon * | common | ) | const |
Definition at line 1712 of file group_search.cxx.
Referenced by GroupSearch::refresh_results_after_DBchanges().
const ColumnWidths & QueriedGroups::get_column_widths | ( | ) | const |
Definition at line 1770 of file group_search.cxx.
References begin(), end(), and SmartPtr< T, C >::isNull().
Referenced by get_group_display().
const char * QueriedGroups::get_group_display | ( | const FoundGroup & | g, |
bool | show_tree_name | ||
) | const |
Definition at line 1780 of file group_search.cxx.
References GBS_strstruct::cat(), GBS_strstruct::erase(), FoundGroup::get_aid(), FoundGroup::get_cluster_id(), get_column_widths(), GBS_strstruct::get_data(), FoundGroup::get_hit_reason(), FoundGroup::get_keeled(), FoundGroup::get_marked(), FoundGroup::get_marked_pc(), FoundGroup::get_name(), FoundGroup::get_nesting(), FoundGroup::get_size(), FoundGroup::get_tree_name(), gs_assert, GSC_AID, GSC_CLUSTER, GSC_HIT_REASON, GSC_KEELED, GSC_MARKED, GSC_MARKED_PC, GSC_NAME, GSC_NESTING, GSC_NONE, GSC_REVERSE, GSC_SIZE, GSC_TREENAME, GSC_TREEORDER, KEELED_INDICATOR, ColumnWidths::max2width(), ColumnWidths::max_aid, ColumnWidths::max_cluster_id, ColumnWidths::max_marked, ColumnWidths::max_marked_pc, ColumnWidths::max_nesting, ColumnWidths::max_size, ColumnWidths::name, GBS_strstruct::nprintf(), GBS_strstruct::put(), ColumnWidths::reason, and ColumnWidths::seen_keeled.
Referenced by GroupUIdata::refill_result_list().
void QueriedGroups::sort_by | ( | const SortCriteria & | by | ) |
Definition at line 1756 of file group_search.cxx.
void QueriedGroups::remove_hit | ( | size_t | idx | ) |
Definition at line 1761 of file group_search.cxx.
References size().
Referenced by GroupSearch::remove_hit().