IMP logo

IMP::core::HierarchyPrinter< PD > Struct Template Reference
[Hierarchies of particles]


Detailed Description

template<class PD>
struct IMP::core::HierarchyPrinter< PD >

A simple visitor which pretty-prints the hierarchy.

The template argument NP is the decorator to use to print each node.

See also:
Hierarchy

Public Types

typedef unsigned int result_type

Public Member Functions

 HierarchyPrinter (std::ostream &out, unsigned int max_depth)
int operator() (Hierarchy hd, unsigned int depth) const

Data Fields

unsigned int md_

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

Generated on Mon Mar 8 23:08:56 2010 for IMP by doxygen 1.5.8