IMP
2.2.0
The Integrative Modeling Platform
|
Define the type for a type of hierarchy. More...
#include <IMP/core/Hierarchy.h>
Public Member Functions | |
HierarchyTraits (std::string name) | |
Create a HierarchyTraits with the given name. | |
kernel::ParticleIndexesKey | get_children_key () const |
kernel::ParticleIndexKey | get_parent_key () const |
bool | operator== (const HierarchyTraits &o) const |
void | show (std::ostream &out=std::cout) const |
The hierarchy class is identified by the passed string so two hierarchies created with the same initialization string will be the same.
This example shows how to make and use a custom hierarchy:
Definition at line 48 of file core/Hierarchy.h.