ARB
Public Member Functions | List of all members
GroupIterator Class Reference

#include <GroupIterator.hxx>

Public Member Functions

 GroupIterator (AP_tree *start, bool forward=true)
 
GroupIteratornext ()
 
GroupIteratorprevious ()
 
bool valid () const
 
AP_treenode () const
 
int get_clade_level () const
 

Detailed Description

Definition at line 18 of file GroupIterator.hxx.

Constructor & Destructor Documentation

GroupIterator::GroupIterator ( AP_tree start,
bool  forward = true 
)
inline

Member Function Documentation

GroupIterator& GroupIterator::next ( )
inline

Definition at line 67 of file GroupIterator.hxx.

Referenced by GroupIterator().

GroupIterator& GroupIterator::previous ( )
inline

Definition at line 68 of file GroupIterator.hxx.

bool GroupIterator::valid ( ) const
inline

Definition at line 70 of file GroupIterator.hxx.

Referenced by get_clade_level(), and node().

AP_tree* GroupIterator::node ( ) const
inline

Definition at line 72 of file GroupIterator.hxx.

References ARB_edge::dest(), DOWNCAST, td_assert, and valid().

Referenced by get_clade_level(), and GroupIterator().

int GroupIterator::get_clade_level ( ) const
inline

Definition at line 77 of file GroupIterator.hxx.

References TreeNode::calc_clade_level(), node(), td_assert, and valid().


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