ARB
Public Member Functions | Protected Attributes | List of all members
FoundGroup Class Reference

#include <group_search.h>

Inheritance diagram for FoundGroup:
Inheritance graph
[legend]
Collaboration diagram for FoundGroup:
Collaboration graph
[legend]

Public Member Functions

 FoundGroup (GBDATA *gb_group_)
 
GBDATAget_pointer () const
 
GBDATAget_tree_data () const
 
const charget_name () const
 
const charget_tree_name () const
 
int get_tree_order () const
 
const std::stringget_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< GBDATAgb_overlap_group
 
int clusterID
 

Detailed Description

Definition at line 145 of file group_search.h.

Constructor & Destructor Documentation

FoundGroup::FoundGroup ( GBDATA gb_group_)
inlineexplicit

Definition at line 178 of file group_search.h.

Member Function Documentation

GBDATA* FoundGroup::get_pointer ( ) const
inline
GBDATA * FoundGroup::get_tree_data ( ) const

Definition at line 197 of file group_search.cxx.

References GB_get_father().

const char * FoundGroup::get_name ( ) const
const char * FoundGroup::get_tree_name ( ) const
int FoundGroup::get_tree_order ( ) const

Definition at line 206 of file group_search.cxx.

References GB_entry(), GB_get_father(), and GB_read_int().

Referenced by compare_by_criteria::operator()().

const std::string& FoundGroup::get_hit_reason ( ) const
inline

Definition at line 190 of file group_search.h.

References hit_reason.

Referenced by QueriedGroups::get_group_display(), and compare_by_criteria::operator()().

void FoundGroup::set_cluster_id ( int  id)
inline

Definition at line 192 of file group_search.h.

References gs_assert, and id.

Referenced by Clusterer::deliverCluster().

void FoundGroup::forget_cluster_id ( )
inline

Definition at line 193 of file group_search.h.

int FoundGroup::get_cluster_id ( ) const
inline

Definition at line 194 of file group_search.h.

References clusterID.

Referenced by QueriedGroups::get_group_display(), and compare_by_criteria::operator()().

bool FoundGroup::overlap_is_folded ( ) const

Definition at line 296 of file group_search.cxx.

References group_is_folded().

bool FoundGroup::is_folded ( ) const

Definition at line 299 of file group_search.cxx.

References group_is_folded().

Referenced by GroupFoldedKey::get_target_data().

bool FoundGroup::knows_details ( ) const
inline
void FoundGroup::track_max_widths ( ColumnWidths widths) const

Definition at line 352 of file group_search.cxx.

References gs_assert, length, and ColumnWidths::track().

int FoundGroup::get_nesting ( ) const
inline
int FoundGroup::get_size ( ) const
inline
int FoundGroup::get_marked ( ) const
inline
int FoundGroup::get_marked_pc ( ) const
inline
int FoundGroup::get_keeled ( ) const
inline
double FoundGroup::get_aid ( ) const
inline
bool FoundGroup::operator== ( const FoundGroup other) const
inline

Definition at line 218 of file group_search.h.

GB_ERROR FoundGroup::delete_from_DB ( )
ARB_ERROR FoundGroup::rename_by_ACI ( const char acisrt,
const QueriedGroups results,
int  hit_idx 
)
ARB_ERROR FoundGroup::change_folding ( GroupFoldingMode  mode)

Definition at line 310 of file group_search.cxx.

References error(), GFM_COLLAPSE, GFM_EXPAND, GFM_TOGGLE, gs_assert, and ta.

Referenced by GroupSearch::fold_found_groups().

Member Data Documentation

std::string FoundGroup::hit_reason
protected

Definition at line 165 of file group_search.h.

Referenced by get_hit_reason(), and Candidate::inform_group().

Lazy<int, -1> FoundGroup::nesting
protected

Definition at line 166 of file group_search.h.

Referenced by get_nesting(), and Candidate::inform_group().

Lazy<int, -1> FoundGroup::size
protected

Definition at line 167 of file group_search.h.

Referenced by get_size(), and Candidate::inform_group().

Lazy<int, -1> FoundGroup::marked
protected

Definition at line 168 of file group_search.h.

Referenced by get_marked(), and Candidate::inform_group().

LazyFloat<double> FoundGroup::aid
protected

Definition at line 170 of file group_search.h.

Referenced by get_aid(), and Candidate::inform_group().

Lazy<int, -1> FoundGroup::keeled
protected

Definition at line 172 of file group_search.h.

Referenced by get_keeled(), and Candidate::inform_group().

RefPtr<GBDATA> FoundGroup::gb_overlap_group
protected

Definition at line 173 of file group_search.h.

Referenced by Candidate::inform_group().

int FoundGroup::clusterID
protected

Definition at line 175 of file group_search.h.

Referenced by get_cluster_id().


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