Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ChargeCalculator.hh
Go to the documentation of this file.
1 // (c) Copyright Rosetta Commons Member Institutions.
2 // (c) This file is part of the Rosetta software suite and is made available under license.
3 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
4 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
5 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
6 
7 /// @file /src/protocols/toolbox/PoseMetricCalculators/ChargeCalculator.hh
8 /// @brief
9 /// @author Florian Richter, floric@u.washington.edu, nov 2010
10 
11 
12 #ifndef INCLUDED_protocols_toolbox_pose_metric_calculators_ChargeCalculator_HH
13 #define INCLUDED_protocols_toolbox_pose_metric_calculators_ChargeCalculator_HH
14 
16 #include <core/pose/Pose.fwd.hh>
17 #include <core/types.hh>
18 #include <basic/MetricValue.fwd.hh>
19 
20 #include <set>
21 
22 #include <utility/vector1.hh>
23 
24 
25 namespace protocols{
26 namespace toolbox {
27 namespace pose_metric_calculators {
28 
30 
31 public:
32 
34 
35 
37  std::set< core::Size > const & special_region
38  );
39 
41 
42 
43 
45  return new ChargeCalculator( special_region_); };
46 
47 protected:
48 
49  virtual void lookup( std::string const & key, basic::MetricValueBase * valptr ) const;
50  virtual std::string print( std::string const & key ) const;
51  virtual void recompute( core::pose::Pose const & this_pose );
52 
53 
54 private:
55 
59 
63 
64  std::set< core::Size > special_region_;
65 
66 };
67 
68 
69 } // namespace PoseMetricCalculators
70 } // namespace toolbox
71 } // namespace protocols
72 
73 #endif