Public Member Functions | Public Attributes | List of all members
util::NTree< T > Class Template Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-09-17/Utilities/NTree.h"

Public Member Functions

void Print ()
 

Public Attributes

NTreefParent
 
T fTree
 
std::vector< NTreefChild
 

Detailed Description

template<class T>
class util::NTree< T >

Definition at line 14 of file NTree.h.

Member Function Documentation

template<class T >
void util::NTree< T >::Print ( )

Definition at line 24 of file NTree.h.

References om::cout, allTimeWatchdog::endl, util::NTree< T >::fChild, util::NTree< T >::fTree, and MECModelEnuComparisons::i.

24  {
25  if (fChild.empty()) {
26  std::cout << &fTree << " <- ";
27  }
28  else {
29  for (unsigned int i=0; i<fChild.size(); ++i)
30  fChild[i].Print();
32  }
33  }
std::vector< NTree > fChild
Definition: NTree.h:19
OStream cout
Definition: OStream.cxx:6
void Print()
Definition: NTree.h:24
T fTree
Definition: NTree.h:18

Member Data Documentation

template<class T >
std::vector<NTree> util::NTree< T >::fChild

Definition at line 19 of file NTree.h.

Referenced by util::NTree< T >::Print().

template<class T >
NTree* util::NTree< T >::fParent

Definition at line 17 of file NTree.h.

template<class T >
T util::NTree< T >::fTree

Definition at line 18 of file NTree.h.

Referenced by util::NTree< T >::Print().


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