Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Friends
aglowav::One2ManyTree< o2mNode > Class Template Reference

#include <tree.hh>

Inheritance diagram for aglowav::One2ManyTree< o2mNode >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef o2mNode Node
typedef One2ManyTreeTraits
< o2mNode > 
Traits
 How a Node has to behave.

Public Member Functions

virtual std::ostream & info (std::ostream &os) const
 Information about the tree.
virtual uint nleaf () const =0
 Number of leafs.
virtual const o2mNode * root () const =0
 Root of the tree.
void sketch (std::ostream &os, const o2mNode *rt=0, uint l=0) const
 Sketches the structure of the tree.
virtual ~One2ManyTree ()
 Virtual destructor.

Friends

std::ostream & operator<< (std::ostream &os, const One2ManyTree< o2mNode > &t)
 Output.

Detailed Description

template<class o2mNode>
class aglowav::One2ManyTree< o2mNode >

Definition at line 40 of file tree.hh.


Member Typedef Documentation

template<class o2mNode>
typedef o2mNode aglowav::One2ManyTree< o2mNode >::Node

Definition at line 48 of file tree.hh.

template<class o2mNode>
typedef One2ManyTreeTraits<o2mNode> aglowav::One2ManyTree< o2mNode >::Traits

How a Node has to behave.

Reimplemented in aglowav::BiTree< biNode >, aglowav::Tree01< BiClNode >, aglowav::Tree02< BiClNode >, and aglowav::BiTree< BiClNode >.

Definition at line 47 of file tree.hh.


Constructor & Destructor Documentation

template<class o2mNode>
virtual aglowav::One2ManyTree< o2mNode >::~One2ManyTree ( ) [inline, virtual]

Virtual destructor.

Definition at line 51 of file tree.hh.


Member Function Documentation

template<class o2mNode>
virtual std::ostream& aglowav::One2ManyTree< o2mNode >::info ( std::ostream &  os) const [virtual]

Information about the tree.

template<class o2mNode>
virtual uint aglowav::One2ManyTree< o2mNode >::nleaf ( ) const [pure virtual]

Number of leafs.

Implemented in aglowav::Tree01< BiClNode >, and aglowav::Tree02< BiClNode >.

template<class o2mNode>
virtual const o2mNode* aglowav::One2ManyTree< o2mNode >::root ( ) const [pure virtual]
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:
rtroot of the subtree which is to sketch
llevel of the root of the subtree

Friends And Related Function Documentation

template<class o2mNode>
std::ostream& operator<< ( std::ostream &  os,
const One2ManyTree< o2mNode > &  t 
) [friend]

Output.

Definition at line 34 of file tree.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)