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
PredictedBurialFnEvaluatorCreator.cc
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 protocols/simple_filters/PredictedBurialFnEvaluatorCreator.hh
11
/// @brief Header for PredictedBurialFnEvaluatorCreator
12
/// @author Matthew O'Meara
13
14
// Unit Headers
15
#include <
protocols/simple_filters/PredictedBurialFnEvaluatorCreator.hh
>
16
17
// Package Headers
18
#include <
protocols/evaluation/EvaluatorCreator.hh
>
19
20
// Package Headers
21
#include <
protocols/evaluation/PoseEvaluator.fwd.hh
>
22
#include <
protocols/evaluation/PoseEvaluator.hh
>
23
#include <
protocols/simple_filters/PredictedBurialEvaluator.hh
>
24
25
#include <
core/io/silent/silent.fwd.hh
>
26
27
// ObjexxFCL Headers
28
#include <ObjexxFCL/string.functions.hh>
29
30
// Utility headers
31
#include <utility/pointer/ReferenceCount.hh>
32
#include <utility/vector1.hh>
33
#include <utility/file/FileName.hh>
34
35
#include <basic/options/option.hh>
36
#include <basic/Tracer.hh>
37
38
// due to template function
39
#include <
core/io/silent/SilentStruct.hh
>
40
41
42
// option key includes
43
#include <basic/options/option_macros.hh>
44
#include <basic/options/keys/evaluation.OptionKeys.gen.hh>
45
46
#include <utility/vector0.hh>
47
48
#ifdef WIN32
49
#include <
core/scoring/constraints/Constraint.hh
>
50
#endif
51
52
53
static
basic::Tracer
tr
(
"protocols.evalution.PredictedBurialFnEvaluatorCreator"
);
54
55
namespace
protocols {
56
namespace
simple_filters {
57
58
PredictedBurialFnEvaluatorCreator::~PredictedBurialFnEvaluatorCreator
() {}
59
60
void
PredictedBurialFnEvaluatorCreator::register_options
() {
61
using namespace
basic::options;
62
if
(
options_registered_
)
return
;
63
options_registered_
=
true
;
64
65
OPT( evaluation::predicted_burial_fn );
66
67
}
68
69
void
PredictedBurialFnEvaluatorCreator::add_evaluators
(
evaluation::MetaPoseEvaluator
& eval )
const
{
70
using namespace
core;
71
using namespace
basic::options;
72
using namespace
basic::options::OptionKeys;
73
74
75
if
( option[ OptionKeys::evaluation::predicted_burial_fn ].user() ) {
76
std::string
const
fn( option[ OptionKeys::evaluation::predicted_burial_fn ]() );
77
eval.
add_evaluation
(
new
PredictedBurialEvaluator
(fn) );
78
}
79
80
}
81
82
std::string
PredictedBurialFnEvaluatorCreator::type_name
()
const
{
83
return
"PredictedBurialFnEvaluatorCreator"
;
84
}
85
86
}
//namespace
87
}
//namespace
Generated on Sat Jun 1 2013 12:13:50 for Rosetta 3.5 by
1.8.4