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

#include <di_foundclusters.hxx>

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

Public Member Functions

ID idAtPos (int pos, ClusterSubset subset)
 
 ClustersData (WeightedFilter &weighted_filter_)
 
void changeSortOrder (ClusterOrder newOrder)
 
ClusterPtr clusterWithID (ID id) const
 
size_t count (ClusterSubset subset)
 
const ClusterIDsget_clusterIDs (ClusterSubset subset)
 
int get_pos (ClusterPtr cluster, ClusterSubset subset)
 
void add (ClusterPtr clus, ClusterSubset subset)
 
void remove (ClusterPtr clus, ClusterSubset subset)
 
void clear (ClusterSubset subset)
 
void store (ID id)
 
void store_all ()
 
void restore_all ()
 
void swap_all ()
 
void update_cluster_selection_list ()
 
GBDATAget_gb_main () const
 
AW_rootget_aw_root () const
 
void free ()
 

Public Attributes

WeightedFilterweighted_filter
 
AW_selection_listclusterList
 

Detailed Description

Definition at line 169 of file di_foundclusters.hxx.

Constructor & Destructor Documentation

ClustersData::ClustersData ( WeightedFilter weighted_filter_)
inline

Definition at line 205 of file di_foundclusters.hxx.

References SORT_BY_MEANDIST, and UNSORTED.

Member Function Documentation

ID ClustersData::idAtPos ( int  pos,
ClusterSubset  subset 
)
inline

Definition at line 199 of file di_foundclusters.hxx.

Referenced by delete_selected_cluster(), and store_selected_cluster().

void ClustersData::changeSortOrder ( ClusterOrder  newOrder)
inline

Definition at line 214 of file di_foundclusters.hxx.

References SORT_REVERSE.

Referenced by sort_order_changed_cb().

ClusterPtr ClustersData::clusterWithID ( ID  id) const
inline
size_t ClustersData::count ( ClusterSubset  subset)
inline

Definition at line 230 of file di_foundclusters.hxx.

Referenced by update_restore_label(), and with_affected_clusters_do().

const ClusterIDs& ClustersData::get_clusterIDs ( ClusterSubset  subset)
inline

Definition at line 231 of file di_foundclusters.hxx.

Referenced by with_affected_clusters_do().

int ClustersData::get_pos ( ClusterPtr  cluster,
ClusterSubset  subset 
)
inline

Definition at line 233 of file di_foundclusters.hxx.

References Cluster::get_ID(), and get_pos().

Referenced by get_pos().

void ClustersData::add ( ClusterPtr  clus,
ClusterSubset  subset 
)

Definition at line 344 of file DI_foundclusters.cxx.

References Cluster::get_ID().

Referenced by save_results_recursive(), and store().

void ClustersData::remove ( ClusterPtr  clus,
ClusterSubset  subset 
)

Definition at line 349 of file DI_foundclusters.cxx.

References Cluster::get_ID().

Referenced by delete_selected_cluster().

void ClustersData::clear ( ClusterSubset  subset)

Definition at line 360 of file DI_foundclusters.cxx.

References id.

Referenced by delete_clusters(), and save_results().

void ClustersData::store ( ID  id)

Definition at line 369 of file DI_foundclusters.cxx.

References add(), clusterWithID(), SHOWN_CLUSTERS, and STORED_CLUSTERS.

Referenced by store_selected_cluster().

void ClustersData::store_all ( )

Definition at line 375 of file DI_foundclusters.cxx.

References copy().

Referenced by store_clusters().

void ClustersData::restore_all ( )

Definition at line 381 of file DI_foundclusters.cxx.

References copy().

Referenced by restore_clusters().

void ClustersData::swap_all ( )

Definition at line 387 of file DI_foundclusters.cxx.

References swap().

Referenced by swap_clusters().

void ClustersData::update_cluster_selection_list ( )
GBDATA* ClustersData::get_gb_main ( ) const
inline
AW_root* ClustersData::get_aw_root ( ) const
inline
void ClustersData::free ( )

Definition at line 459 of file DI_foundclusters.cxx.

References update_cluster_selection_list().

Referenced by di_forget_global_data().

Member Data Documentation

WeightedFilter& ClustersData::weighted_filter

Definition at line 177 of file di_foundclusters.hxx.

Referenced by calculate_clusters().

AW_selection_list* ClustersData::clusterList

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