A decorator for helping deal with a generalized hierarchy.
More...
#include <IMP/core/Hierarchy.h>
A decorator for helping deal with a generalized hierarchy.
See HierarchyTraits for an example of how to define a custom hierarchy and IMP::atom::Hierarchy for a hierarchy for molecules.
- See Also
- HierarchyTraits
Definition at line 86 of file core/Hierarchy.h.
|
static TriggerKey | get_changed_key () |
| The key used to signal to the Model that the Hierarchy has changed. More...
|
|
static const DecoratorTraits & | get_default_decorator_traits () |
|
static const HierarchyTraits & | get_default_traits () |
| Get the default hierarchy traits. More...
|
|
static bool | get_is_setup (const IMP::ParticleAdaptor &p, const HierarchyTraits &tr=get_default_traits()) |
|
static bool | get_is_setup (Model *, ParticleIndex, HierarchyTraits=Hierarchy::get_default_traits()) |
|
static Hierarchy | setup_particle (IMP::ParticleAdaptor d, DecoratorTraits tr=get_default_decorator_traits()) |
|
static Hierarchy | setup_particle (Model *m, ParticleIndex pi, DecoratorTraits tr=get_default_decorator_traits()) |
|
static Hierarchy | setup_particle (Model *m, ParticleIndex pi, ParticleIndexes children, DecoratorTraits tr=get_default_decorator_traits()) |
|
static Hierarchy | setup_particle (IMP::ParticleAdaptor d, ParticleIndexes children, DecoratorTraits tr=get_default_decorator_traits()) |
|
static Hierarchy | setup_particle (IMP::ParticleAdaptor d, ParticlesTemp children, DecoratorTraits tr=get_default_decorator_traits()) |
|
static Hierarchy | setup_particle (Model *m, ParticleIndex pi, ParticlesTemp children, DecoratorTraits tr=get_default_decorator_traits()) |
|
static TriggerKey IMP::core::Hierarchy::get_changed_key |
( |
| ) |
|
|
static |
int IMP::core::Hierarchy::get_child_index |
( |
| ) |
const |
Get the default hierarchy traits.
Check if the particle has the needed attributes for a cast to succeed
Definition at line 123 of file core/Hierarchy.h.
Hierarchy IMP::core::Hierarchy::get_parent |
( |
| ) |
const |
- Returns
- the parent particle, or Hierarchy() if it has no parent.
Definition at line 134 of file core/Hierarchy.h.
The documentation for this class was generated from the following file: