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

#include <ARB_Tree.hxx>

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

Public Member Functions

 ARB_seqtree_root (AliView *aliView, AP_sequence *seqTempl, bool add_delete_callbacks)
 
 ~ARB_seqtree_root () OVERRIDE
 
 DEFINE_TREE_ROOT_ACCESSORS (ARB_seqtree_root, ARB_seqtree)
 
const AliViewget_aliview () const
 
const AP_filterget_filter () const
 
const AP_weightsget_weights () const
 
GBDATAget_gb_main () const
 
GBDATAget_gb_tree () const
 
void tree_deleted_cb (GBDATA *gb_tree_del)
 
const charget_tree_name () const
 
virtual GB_ERROR loadFromDB (const char *name) __ATTR__USERESULT
 
virtual GB_ERROR saveToDB () __ATTR__USERESULT
 
const AP_sequenceget_seqTemplate () const
 
GB_ERROR linkToDB (int *zombies, int *duplicates) __ATTR__USERESULT
 
void unlinkFromDB ()
 
 PREPARE_MARK_NONFINAL_CLASS (ARB_seqtree_root)
 
- Public Member Functions inherited from TreeRoot
 TreeRoot (bool deleteWithNodes_)
 
virtual ~TreeRoot ()
 
virtual void change_root (TreeNode *old, TreeNode *newroot)
 
void delete_by_node ()
 
bool has_bootstrap () const
 
void set_bootstrap_seen (bool seen)
 
virtual TreeNodemakeNode () const =0
 
virtual void destroyNode (TreeNode *node) const =0
 
 DEFINE_READ_ACCESSORS (TreeNode *, get_root_node, rootNode)
 
ARB_edge find_innermost_edge ()
 

Protected Member Functions

void set_gb_tree (GBDATA *gbTree)
 
void set_gb_tree_and_name (GBDATA *gbTree, const char *name)
 
- Protected Member Functions inherited from TreeRoot
void predelete ()
 

Detailed Description

Definition at line 44 of file ARB_Tree.hxx.

Constructor & Destructor Documentation

ARB_seqtree_root::ARB_seqtree_root ( AliView aliView,
AP_sequence seqTempl,
bool  add_delete_callbacks 
)

Definition at line 28 of file ARB_Tree.cxx.

References at_assert, AP_sequence::get_aliview(), and AliView::has_data().

ARB_seqtree_root::~ARB_seqtree_root ( )

Definition at line 49 of file ARB_Tree.cxx.

References GB_CB_DELETE, GB_remove_callback(), and tree_deleted_cbwrapper().

Member Function Documentation

void ARB_seqtree_root::set_gb_tree ( GBDATA gbTree)
inlineprotected

Definition at line 57 of file ARB_Tree.hxx.

References at_assert, and implicated.

Referenced by AP_tree_root::change_root().

void ARB_seqtree_root::set_gb_tree_and_name ( GBDATA gbTree,
const char name 
)
inlineprotected

Definition at line 62 of file ARB_Tree.hxx.

References ARB_strdup(), and at_assert.

Referenced by AP_tree_root::saveToDB().

ARB_seqtree_root::DEFINE_TREE_ROOT_ACCESSORS ( ARB_seqtree_root  ,
ARB_seqtree   
)
const AliView* ARB_seqtree_root::get_aliview ( ) const
inline

Definition at line 75 of file ARB_Tree.hxx.

const AP_filter* ARB_seqtree_root::get_filter ( ) const
inline

Definition at line 77 of file ARB_Tree.hxx.

References AliView::get_filter().

Referenced by ST_ML::get_filter().

const AP_weights* ARB_seqtree_root::get_weights ( ) const
inline

Definition at line 78 of file ARB_Tree.hxx.

References AliView::get_weights().

GBDATA* ARB_seqtree_root::get_gb_main ( ) const
inline
GBDATA* ARB_seqtree_root::get_gb_tree ( ) const
inline
void ARB_seqtree_root::tree_deleted_cb ( GBDATA gb_tree_del)

Definition at line 57 of file ARB_Tree.cxx.

References at_assert, and NULp.

Referenced by tree_deleted_cbwrapper().

const char* ARB_seqtree_root::get_tree_name ( ) const
inline
GB_ERROR ARB_seqtree_root::loadFromDB ( const char name)
virtual
GB_ERROR ARB_seqtree_root::saveToDB ( )
virtual
const AP_sequence* ARB_seqtree_root::get_seqTemplate ( ) const
inline

Definition at line 90 of file ARB_Tree.hxx.

Referenced by linkToDB().

GB_ERROR ARB_seqtree_root::linkToDB ( int zombies,
int duplicates 
)
void ARB_seqtree_root::unlinkFromDB ( )
ARB_seqtree_root::PREPARE_MARK_NONFINAL_CLASS ( ARB_seqtree_root  )

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