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
simple_filters
ClashEvaluator.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 ClashEvaluator.hh
11
/// @brief
12
/// @detailed
13
///
14
///
15
///
16
/// @author Oliver Lange
17
18
19
20
#ifndef INCLUDED_protocols_simple_filters_ClashEvaluator_hh
21
#define INCLUDED_protocols_simple_filters_ClashEvaluator_hh
22
23
24
// Unit Headers
25
26
// Package Headers
27
#include <
protocols/evaluation/PoseEvaluator.hh
>
28
29
// Project Headers
30
#include <
core/pose/Pose.hh
>
31
#include <basic/MetricValue.hh>
32
33
#include <
core/kinematics/Stub.hh
>
34
#include <
core/kinematics/RT.hh
>
35
36
#include <
core/io/silent/silent.fwd.hh
>
37
38
39
// ObjexxFCL Headers
40
41
// Utility headers
42
#include <utility/pointer/ReferenceCount.hh>
43
#include <utility/vector1.hh>
44
45
//// C++ headers
46
#include <list>
47
48
namespace
protocols {
49
namespace
simple_filters {
50
51
template
<
class
T >
52
class
PoseMetricEvaluator
:
public
evaluation::SingleValuePoseEvaluator
< T > {
53
public
:
54
PoseMetricEvaluator
(
std::string
tag ) : evaluation::
SingleValuePoseEvaluator
<
T
>( metric+
"_"
+tag ) {};
55
virtual
T
apply
(
core::pose::Pose
& pose )
const
;
56
private
:
57
std::string
metric_
;
58
std::string
tag_
;
59
};
60
61
62
template
<
class
T >
63
PoseMetricEvaluator::apply
(
64
pose::Pose
& pose
65
)
const
{
66
basic::MetricValue< T > mr;
67
pose.
metric
(
metric_
,
tag_
,mr);
68
return
mr.value();
69
}
70
71
72
}
73
}
74
75
#endif
Generated on Sat Jun 1 2013 12:13:05 for Rosetta 3.5 by
1.8.4