Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ResidueDecompositionByChainCalculator.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 A. Smith
13 
14 
15 #ifndef INCLUDED_protocols_toolbox_pose_metric_calculators_ResidueDecompositionByChainCalculator_hh
16 #define INCLUDED_protocols_toolbox_pose_metric_calculators_ResidueDecompositionByChainCalculator_hh
18 #include <core/pose/Pose.fwd.hh>
19 #include <core/types.hh>
20 #include <basic/MetricValue.fwd.hh>
21 
22 #include <utility/vector1.hh>
23 
24 
25 
26 namespace protocols{
27 namespace toolbox {
28 namespace pose_metric_calculators {
29 
31 
32 public:
33 
35 
37  ResidueDecompositionByChainCalculator const & calculator
38  );
39 
40  virtual
42  clone() const;
43 
45  chain_letters() const {
46  return chain_letters_;
47  }
48 
49  void
50  chain_letters(utility::vector1<std::set<char> > const & chain_letters) {
52  use_numbers_ = false;
53  }
54 
56  chain_numbers() const {
57  return chain_numbers_;
58  }
59 
60  void
61  chain_numbers(utility::vector1<std::set<core::Size> > const & chain_numbers) {
63  use_numbers_ = true;
64  }
65 
66  bool
67  use_numbers() const {
68  return use_numbers_;
69  }
70 
71  void
73  bool use_numbers
74  ) {
76  }
77 
78 protected:
79 
80  virtual void recompute( core::pose::Pose const & this_pose );
81 
85 };
86 
89 
90 
91 } // namespace pose_metric_calculators
92 } // namespace toolbox
93 } // namespace protocols
94 
95 #endif