IMP logo
IMP Reference Guide  develop.62cd6b8d93,2024/10/30
The Integrative Modeling Platform
IMP::core::ModifierVisitor Class Reference

A visitor which applies a modifier to each Particle in a hierarchy. More...

#include <IMP/core/Hierarchy.h>

+ Inheritance diagram for IMP::core::ModifierVisitor:

Detailed Description

A visitor which applies a modifier to each Particle in a hierarchy.

This works from both C++ and Python

See Also
SingletonModifier
Hierarchy

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

Public Member Functions

 ModifierVisitor (SingletonModifier *sm)
 
virtual bool operator() (Hierarchy p) override
 Return true if the traversal should visit this node's children. More...
 

Member Function Documentation

virtual bool IMP::core::ModifierVisitor::operator() ( Hierarchy  p)
overridevirtual

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

Implements IMP::core::HierarchyVisitor.

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

+ Here is the call graph for this function:


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