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:
Examples: custom hierarchy
Public Member Functions | |
| HierarchyTraits (std::string name) | |
| Create a HierarchyTraits with the given name. | |
| ParticlesKey | get_children_key () const |
| ParticleKey | 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.