Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AlignEvaluator.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 AlignEvaluator
11 /// @brief base class for evaluators that evaluate based on some sort of sequence
12 /// alignment.
13 /// @author James Thompson
14 
15 #ifndef INCLUDED_protocols_evaluation_AlignEvaluator_hh
16 #define INCLUDED_protocols_evaluation_AlignEvaluator_hh
17 
20 // AUTO-REMOVED #include <protocols/evaluation/util.hh>
21 
23 #include <core/pose/Pose.fwd.hh>
24 
25 #include <utility/pointer/ReferenceCount.hh>
26 
27 #include <core/types.hh>
28 
29 #include <utility/exit.hh>
30 #include <utility/vector1.hh>
31 
32 
33 namespace protocols {
34 namespace evaluation {
35 
36 class AlignEvaluator : public SingleValuePoseEvaluator< core::Real > {
37 
38 public:
41  std::string tag = "",
42  bool report_aln_components = true,
44  );
45 
47 
48  virtual void apply(
49  core::pose::Pose & pose,
52  ) const = 0;
53 
54  /// @brief outdated method - don't use!
55  virtual core::Real apply(
56  core::pose::Pose & /*pose*/
57  ) const {
58  utility_exit_with_message(
59  "Called AlignEvaluator::apply( Pose & pose ). Don't do that!\n"
60  );
61  return 0.0;
62  }
63 
65  core::pose::Pose const & pose
66  ) const;
67 
68  void report_aln_components( bool const setting );
69 
70  bool report_aln_components() const;
71 
72  std::string tag() const;
73 
75 
76 private:
81 }; // AlignEvaluator
82 
83 } // evaluation
84 } // protocols
85 
86 #endif