aglowav::One2ManyTree< o2mNode > Class Template Referenceabstract
#include <tree.hh>
Public Types | |
typedef o2mNode | Node |
typedef One2ManyTreeTraits< o2mNode > | Traits |
How a Node has to behave. More... | |
Public Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Information about the tree. More... | |
virtual uint | nleaf () const =0 |
Number of leafs. More... | |
virtual const o2mNode * | root () const =0 |
Root of the tree. More... | |
void | sketch (std::ostream &os, const o2mNode *rt=0, uint l=0) const |
Sketches the structure of the tree. More... | |
virtual | ~One2ManyTree () |
Virtual destructor. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, const One2ManyTree< o2mNode > &t) |
Output. More... | |
Detailed Description
template<class o2mNode>
class aglowav::One2ManyTree< o2mNode >
Member Typedef Documentation
◆ Node
template<class o2mNode >
typedef o2mNode aglowav::One2ManyTree< o2mNode >::Node |
◆ Traits
template<class o2mNode >
typedef One2ManyTreeTraits<o2mNode> aglowav::One2ManyTree< o2mNode >::Traits |
Constructor & Destructor Documentation
◆ ~One2ManyTree()
template<class o2mNode >
|
inlinevirtual |
Member Function Documentation
◆ info()
template<class o2mNode >
|
virtual |
Information about the tree.
◆ nleaf()
template<class o2mNode >
|
pure virtual |
Number of leafs.
◆ root()
template<class o2mNode >
|
pure virtual |
Root of the tree.
Implemented in aglowav::BiTree< BiClNode >.
◆ sketch()
template<class o2mNode >
void aglowav::One2ManyTree< o2mNode >::sketch | ( | std::ostream & | os, |
const o2mNode * | rt = 0 , |
||
uint | l = 0 |
||
) | const |
Sketches the structure of the tree.
- Parameters
-
rt root of the subtree which is to sketch l level of the root of the subtree
Friends And Related Function Documentation
◆ operator<<
template<class o2mNode >
|
friend |
The documentation for this class was generated from the following file:
- aglowav/tree.hh