IMP logo

IMP::core::HierarchyCounter Class Reference
[Hierarchies of particles]


Detailed Description

A simple functor to count the number of particles in a hierarchy.

This is a good example of a simple HierarchyVisitor.

See also:
Hierarchy
Inheritance diagram for IMP::core::HierarchyCounter:

Inheritance graph
[legend]

Public Member Functions

unsigned int get_count () const
 Return how many nodes have been visited.
bool operator() (Hierarchy)
 Increment the counter.

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

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