IMP
2.0.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. | |
ParticleIndexesKey | get_children_key () const |
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 47 of file core/Hierarchy.h.