/** * \file LeavesRefiner.h * \brief Return the hierarchy children of a particle. * * Copyright 2007-2010 IMP Inventors. All rights reserved. */ #ifndef IMPCORE_LEAVES_REFINER_H #define IMPCORE_LEAVES_REFINER_H #include "core_config.h" #include "Hierarchy.h" #include IMPCORE_BEGIN_NAMESPACE class HierarchyTraits; //! Return the hierarchy leaves under a particle. /** \ingroup hierarchy \see Hierarchy \see Hierarchy */ class IMPCOREEXPORT LeavesRefiner : public Refiner { HierarchyTraits traits_; public: //! Create a refiner for a particular type of hierarchy LeavesRefiner(HierarchyTraits tr); IMP_REFINER(LeavesRefiner); }; IMPCORE_END_NAMESPACE #endif /* IMPCORE_LEAVES_REFINER_H */