ARB
|
#include <group_search.h>
Public Member Functions | |
FoundGroup (GBDATA *gb_group_) | |
GBDATA * | get_pointer () const |
GBDATA * | get_tree_data () const |
const char * | get_name () const |
const char * | get_tree_name () const |
int | get_tree_order () const |
const std::string & | get_hit_reason () const |
void | set_cluster_id (int id) |
void | forget_cluster_id () |
int | get_cluster_id () const |
bool | overlap_is_folded () const |
bool | is_folded () const |
bool | knows_details () const |
void | track_max_widths (ColumnWidths &widths) const |
int | get_nesting () const |
int | get_size () const |
int | get_marked () const |
int | get_marked_pc () const |
int | get_keeled () const |
double | get_aid () const |
bool | operator== (const FoundGroup &other) const |
GB_ERROR | delete_from_DB () |
ARB_ERROR | rename_by_ACI (const char *acisrt, const QueriedGroups &results, int hit_idx) |
ARB_ERROR | change_folding (GroupFoldingMode mode) |
Protected Attributes | |
std::string | hit_reason |
Lazy< int,-1 > | nesting |
Lazy< int,-1 > | size |
Lazy< int,-1 > | marked |
LazyFloat< double > | aid |
Lazy< int,-1 > | keeled |
RefPtr< GBDATA > | gb_overlap_group |
int | clusterID |
Definition at line 145 of file group_search.h.
|
inlineexplicit |
Definition at line 178 of file group_search.h.
|
inline |
Definition at line 184 of file group_search.h.
Referenced by TargetGroup::get_ACI_item(), NestingLevelKey::get_target_data(), ParentGroupNameQueryKey::get_target_data(), Candidate::inform_group(), has_been_deleted::operator()(), and was_modified::operator()().
GBDATA * FoundGroup::get_tree_data | ( | ) | const |
Definition at line 200 of file group_search.cxx.
References GB_get_father().
const char * FoundGroup::get_name | ( | ) | const |
Definition at line 190 of file group_search.cxx.
References GB_read_char_pntr(), GB_search(), GB_STRING, and NULp.
Referenced by QueriedGroups::get_group_display(), TargetGroup::get_group_name(), ParentGroupNameQueryKey::get_target_data(), and compare_by_criteria::operator()().
const char * FoundGroup::get_tree_name | ( | ) | const |
Definition at line 204 of file group_search.cxx.
References GB_read_key_pntr(), and NULp.
Referenced by QueriedGroups::get_group_display(), GS_calc_resulting_groupname(), and compare_by_criteria::operator()().
int FoundGroup::get_tree_order | ( | ) | const |
Definition at line 209 of file group_search.cxx.
References GB_entry(), GB_get_father(), and GB_read_int().
Referenced by compare_by_criteria::operator()().
|
inline |
Definition at line 190 of file group_search.h.
References hit_reason.
Referenced by QueriedGroups::get_group_display(), and compare_by_criteria::operator()().
|
inline |
Definition at line 192 of file group_search.h.
Referenced by Clusterer::deliverCluster().
|
inline |
Definition at line 193 of file group_search.h.
|
inline |
Definition at line 194 of file group_search.h.
References clusterID.
Referenced by GroupRename_callenv::get_dupidx(), QueriedGroups::get_group_display(), and compare_by_criteria::operator()().
bool FoundGroup::overlap_is_folded | ( | ) | const |
Definition at line 299 of file group_search.cxx.
References group_is_folded().
bool FoundGroup::is_folded | ( | ) | const |
Definition at line 302 of file group_search.cxx.
References group_is_folded().
Referenced by GroupFoldedKey::get_target_data().
|
inline |
Definition at line 199 of file group_search.h.
References Lazy< T, UNDEFINED >::has_value(), and LazyFloat< T >::has_value().
Referenced by QueriedGroups::add_informed_group(), get_aid(), get_keeled(), get_marked(), get_marked_pc(), get_nesting(), get_size(), and Candidate::inform_group().
void FoundGroup::track_max_widths | ( | ColumnWidths & | widths | ) | const |
Definition at line 355 of file group_search.cxx.
References gs_assert, length, and ColumnWidths::track().
|
inline |
Definition at line 211 of file group_search.h.
References gs_assert, knows_details(), and nesting.
Referenced by QueriedGroups::get_group_display(), grl_nesting(), and compare_by_criteria::operator()().
|
inline |
Definition at line 212 of file group_search.h.
References gs_assert, knows_details(), and size.
Referenced by QueriedGroups::get_group_display(), grl_groupsize(), and compare_by_criteria::operator()().
|
inline |
Definition at line 213 of file group_search.h.
References gs_assert, knows_details(), and marked.
Referenced by QueriedGroups::get_group_display(), grl_markedingroup(), and compare_by_criteria::operator()().
|
inline |
Definition at line 214 of file group_search.h.
References gs_assert, knows_details(), and ColumnWidths::percent().
Referenced by QueriedGroups::get_group_display(), and compare_by_criteria::operator()().
|
inline |
Definition at line 215 of file group_search.h.
References gs_assert, keeled, and knows_details().
Referenced by QueriedGroups::get_group_display(), and compare_by_criteria::operator()().
|
inline |
Definition at line 216 of file group_search.h.
References aid, gs_assert, and knows_details().
Referenced by QueriedGroups::get_group_display(), grl_aid(), and compare_by_criteria::operator()().
|
inline |
Definition at line 218 of file group_search.h.
GB_ERROR FoundGroup::delete_from_DB | ( | ) |
Definition at line 221 of file group_search.cxx.
References error(), GB_child(), GB_delete(), GB_entry(), GB_find_existing_quark(), GB_get_quark(), GB_nextChild(), gs_assert, NULp, and ta.
ARB_ERROR FoundGroup::rename_by_ACI | ( | const char * | acisrt, |
const QueriedGroups & | results, | ||
int | hit_idx | ||
) |
Definition at line 250 of file group_search.cxx.
References error(), GB_entry(), GB_read_string(), GBT_write_group_name(), gs_assert, GS_calc_resulting_groupname(), and ta.
ARB_ERROR FoundGroup::change_folding | ( | GroupFoldingMode | mode | ) |
Definition at line 313 of file group_search.cxx.
References error(), GFM_COLLAPSE, GFM_EXPAND, GFM_TOGGLE, gs_assert, and ta.
Referenced by GroupSearch::fold_found_groups().
|
protected |
Definition at line 165 of file group_search.h.
Referenced by get_hit_reason(), and Candidate::inform_group().
Definition at line 166 of file group_search.h.
Referenced by get_nesting(), and Candidate::inform_group().
Definition at line 167 of file group_search.h.
Referenced by get_size(), and Candidate::inform_group().
Definition at line 168 of file group_search.h.
Referenced by get_marked(), and Candidate::inform_group().
|
protected |
Definition at line 170 of file group_search.h.
Referenced by get_aid(), and Candidate::inform_group().
Definition at line 172 of file group_search.h.
Referenced by get_keeled(), and Candidate::inform_group().
Definition at line 173 of file group_search.h.
Referenced by Candidate::inform_group().
|
protected |
Definition at line 175 of file group_search.h.
Referenced by get_cluster_id().