class TreeSearch::TreeWalk

Function Members (Methods)

public:
virtual~TreeWalk()
static TClass*Class()
virtual TClass*IsA() const
TreeSearch::NodeVisitor::ETreeOpoperator()(TreeSearch::Link* link, TreeSearch::NodeVisitor& op, TreeSearch::Pattern* parent = 0, UInt_t depth = 0, UInt_t shift = 0, Bool_t mirrored = false) const
TreeSearch::TreeWalk&operator=(const TreeSearch::TreeWalk&)
voidSetNlevels(UInt_t n)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
TreeSearch::TreeWalkTreeWalk(UInt_t nlevels = 0)
TreeSearch::TreeWalkTreeWalk(const TreeSearch::TreeWalk&)

Data Members

private:
UInt_tfNlevelsNumber of levels in tree

Class Charts

Inheritance Chart:
TreeSearch::TreeWalk

Function documentation

operator()(TreeSearch::Link* link, TreeSearch::NodeVisitor& op, TreeSearch::Pattern* parent = 0, UInt_t depth = 0, UInt_t shift = 0, Bool_t mirrored = false) const
 Traverse the tree and call function object "action" for each link.
 The return value from action determines the behavior:
  kRecurse: process child nodes until reaching maxdepth
  kRecurseUncond: process child nodes (regardless of depth)
  fSkipChildNodes: ignore child nodes
  kError: error, return immediately
TreeWalk( UInt_t nlevels = 0 )
{}
virtual ~TreeWalk()
{}
void SetNlevels(UInt_t n)
{ fNlevels = n; }
WritePattern& operator=(const TreeSearch::TreeWalk& )

Last update: Tue Jul 7 19:26:19 2009

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.