IMP Reference Guide
2.13.0
The Integrative Modeling Platform
|
Define the type for a type of hierarchy. More...
#include <IMP/core/Hierarchy.h>
Define the type for a type of hierarchy.
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.
Public Member Functions | |
HierarchyTraits (std::string name) | |
Create a HierarchyTraits with the given name. More... | |
ParticleIndexesKey | get_children_key () const |
ParticleIndexKey | get_parent_key () const |
bool | operator== (const HierarchyTraits &o) const |
void | show (std::ostream &out=std::cout) const |
IMP::core::HierarchyTraits::HierarchyTraits | ( | std::string | name | ) |
Create a HierarchyTraits with the given name.