IMP logo
IMP Reference Guide  develop.4785481560,2024/03/29
The Integrative Modeling Platform
IMP::core::HierarchyVisitor Class Referenceabstract

A visitor for traversal of a hierarchy. More...

#include <IMP/core/Hierarchy.h>

+ Inheritance diagram for IMP::core::HierarchyVisitor:

Detailed Description

A visitor for traversal of a hierarchy.

This works from both C++ and Python

See Also
Hierarchy

Definition at line 252 of file core/Hierarchy.h.

Public Member Functions

virtual bool operator() (Hierarchy p)=0
 Return true if the traversal should visit this node's children. More...
 

Member Function Documentation

virtual bool IMP::core::HierarchyVisitor::operator() ( Hierarchy  p)
pure virtual

Return true if the traversal should visit this node's children.

Implemented in IMP::core::HierarchyCounter, and IMP::core::ModifierVisitor.


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