Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MetricValueGetter.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 Smith
13 
14 
15 #ifndef INCLUDED_protocols_toolbox_pose_metric_calculators_MetricValueGetter_hh
16 #define INCLUDED_protocols_toolbox_pose_metric_calculators_MetricValueGetter_hh
18 
19 // AUTO-REMOVED #include <basic/MetricValue.hh>
20 #include <core/pose/Pose.fwd.hh>
21 
22 // AUTO-REMOVED #include <string>
23 
24 #include <utility/vector1.hh>
25 #include <ostream>
26 #include <basic/MetricValue.fwd.hh>
27 
28 
29 namespace protocols{
30 namespace toolbox {
31 namespace pose_metric_calculators {
32 
34 
35 public:
36 
38 
40  std::string const & calculator,
41  std::string const & key,
42  basic::MetricValueBaseCOP metric_value_template
43  );
44 
46  MetricValueGetter const & getter
47  );
48 
50 
51  MetricValueGetter const &
53  MetricValueGetter const & getter
54  );
55 
56  std::string const &
57  calculator() const;
58 
59  void
60  calculator(
61  std::string const & calculatr
62  );
63 
64  std::string const &
65  key() const;
66 
67  void
68  key(
69  std::string const & key
70  );
71 
72  basic::MetricValueBaseCOP
73  metric_value_template() const;
74 
75  void
77  basic::MetricValueBaseCOP metric_value_template
78  );
79 
80  basic::MetricValueBaseOP
81  get(
82  core::pose::Pose const & pose
83  ) const;
84 
85 private:
86 
89  basic::MetricValueBaseCOP metric_value_template_;
90 };
91 
92 
93 } // namespace pose_metric_calculators
94 } // namespace toolbox
95 } // namespace protocols
96 
97 #endif