IMP
2.0.1
The Integrative Modeling Platform
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
LeavesRefiner.h
Go to the documentation of this file.
1
/**
2
* \file IMP/core/LeavesRefiner.h
3
* \brief Return the hierarchy children of a particle.
4
*
5
* Copyright 2007-2013 IMP Inventors. All rights reserved.
6
*/
7
8
#ifndef IMPCORE_LEAVES_REFINER_H
9
#define IMPCORE_LEAVES_REFINER_H
10
11
#include <IMP/core/core_config.h>
12
#include "
Hierarchy.h
"
13
14
#include <
IMP/Refiner.h
>
15
#include <
IMP/refiner_macros.h
>
16
IMPCORE_BEGIN_NAMESPACE
17
18
class
HierarchyTraits;
19
20
//! Return the hierarchy leaves under a particle.
21
/** \ingroup hierarchy
22
\see Hierarchy
23
\see Hierarchy
24
*/
25
class
IMPCOREEXPORT
LeavesRefiner
:
public
Refiner
26
{
27
HierarchyTraits
traits_;
28
public
:
29
//! Create a refiner for a particular type of hierarchy
30
LeavesRefiner
(
HierarchyTraits
tr);
31
32
IMP_REFINER
(
LeavesRefiner
);
33
};
34
35
IMPCORE_END_NAMESPACE
36
37
#endif
/* IMPCORE_LEAVES_REFINER_H */