Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JumpNrEvaluatorCreator.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/JumpNrEvaluatorCreator.hh
11 /// @brief Header for JumpNrEvaluatorCreator
12 /// @author Matthew O'Meara
13 
14 // Unit Headers
16 
17 // Package Headers
19 
20 // Package Headers
25 
26 // ObjexxFCL Headers
27 #include <ObjexxFCL/string.functions.hh>
28 
29 // Utility headers
30 #include <utility/pointer/ReferenceCount.hh>
31 #include <utility/vector1.hh>
32 #include <utility/file/FileName.hh>
33 
34 #include <basic/options/option.hh>
35 #include <basic/Tracer.hh>
36 
37 // due to template function
39 
40 
41 // option key includes
42 #include <basic/options/option_macros.hh>
43 #include <basic/options/keys/evaluation.OptionKeys.gen.hh>
44 
45 #include <utility/vector0.hh>
46 
47 //Auto Headers
48 
49 
50 #ifdef WIN32
52 #endif
53 
54 
55 static basic::Tracer tr("protocols.evalution.JumpNrEvaluatorCreator");
56 
57 namespace protocols {
58 namespace simple_filters {
59 
61 
63  using namespace basic::options;
64  if ( options_registered_ ) return;
65  options_registered_ = true;
66 
67  OPT( evaluation::jump_nr );
68 
69 }
70 
72 
73  using namespace core;
74  using namespace basic::options;
75  using namespace basic::options::OptionKeys;
76 
77 
78  if ( option[ OptionKeys::evaluation::jump_nr ]() ) {
79  eval.add_evaluation( new JumpNrEvaluator );
80  }
81 
82 }
83 
85  return "JumpNrEvaluatorCreator";
86 }
87 
88 } //namespace
89 } //namespace