Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
toolbox
pose_metric_calculators
ResidueDecompositionCalculator.hh
Go to the documentation of this file.
1
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2
// vi: set ts=2 noet:
3
//
4
// (c) Copyright Rosetta Commons Member Institutions.
5
// (c) This file is part of the Rosetta software suite and is made available under license.
6
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9
10
/// @file
11
/// @brief
12
/// @author Colin A. Smith
13
14
15
#ifndef INCLUDED_protocols_toolbox_pose_metric_calculators_ResidueDecompositionCalculator_hh
16
#define INCLUDED_protocols_toolbox_pose_metric_calculators_ResidueDecompositionCalculator_hh
17
18
#include <
core/pose/metrics/PoseMetricCalculatorBase.hh
>
19
#include <
core/pose/Pose.fwd.hh
>
20
#include <
core/types.hh
>
21
#include <basic/MetricValue.fwd.hh>
22
23
// AUTO-REMOVED #include <utility/vector1.hh>
24
#include <set>
25
26
#include <utility/vector1.hh>
27
28
29
namespace
protocols{
30
namespace
toolbox {
31
namespace
pose_metric_calculators {
32
33
class
ResidueDecompositionCalculator
:
public
core::pose::metrics::StructureDependentCalculator
{
34
35
public
:
36
37
core::pose::metrics::PoseMetricCalculatorOP
clone
()
const
= 0;
38
39
protected
:
40
41
ResidueDecompositionCalculator
();
42
43
ResidueDecompositionCalculator
(
ResidueDecompositionCalculator
const
& calculator );
44
45
virtual
std::string
print
(
std::string
const
& key )
const
;
46
47
virtual
void
lookup
(
std::string
const
& key, basic::MetricValueBase * valptr )
const
;
48
49
virtual
void
recompute
(
core::pose::Pose
const
& this_pose ) = 0;
50
51
void
52
residue_decomposition_to_set_numbers
(
53
core::pose::Pose
const
& this_pose
54
);
55
56
void
57
residue_set_numbers_to_decomposition
();
58
59
utility::vector1<std::set<core::Size>
>
const
&
60
residue_decomposition
()
const
{
61
return
residue_decomposition_
;
62
}
63
64
utility::vector1<core::Size>
const
&
65
residue_set_numbers
()
const
{
66
return
residue_set_numbers_
;
67
}
68
69
utility::vector1<std::set<core::Size>
>
residue_decomposition_
;
70
utility::vector1<core::Size>
residue_set_numbers_
;
71
utility::vector1<std::string>
set_names_
;
72
};
73
74
75
}
// namespace pose_metric_calculators
76
}
// namespace toolbox
77
}
// namespace protocols
78
79
#endif
Generated on Sat Jun 1 2013 12:22:31 for Rosetta 3.5 by
1.8.4