Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ResidueCountFilter.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 protocols/simple_filters/ResidueCountFilter.hh
11 /// @brief Filter on the total number of residues in the structure
12 /// @author Matthew O'Meara (mattjomeara@gmail.com)
13 
14 #ifndef INCLUDED_protocols_simple_filters_ResidueCountFilter_hh
15 #define INCLUDED_protocols_simple_filters_ResidueCountFilter_hh
16 
17 //unit headers
19 
20 // Project Headers
22 #include <core/types.hh>
24 #include <core/pose/Pose.fwd.hh>
28 
29 namespace protocols {
30 namespace simple_filters {
31 
33 {
34 public:
35  //default ctor
37 
39  ResidueCountFilter const & src
40  );
41 
42  virtual ~ResidueCountFilter();
43 
44  bool
45  apply(
46  core::pose::Pose const & pose
47  ) const;
48 
50  clone() const;
51 
53  fresh_instance() const;
54 
55  void
56  report(
57  std::ostream & out,
58  core::pose::Pose const & pose
59  ) const;
60 
62  report_sm(
63  core::pose::Pose const & pose
64  ) const;
65 
67  compute(
68  core::pose::Pose const & pose
69  ) const;
70 
71  void
73  utility::tag::TagPtr const tag,
75  filters::Filters_map const &,
76  moves::Movers_map const &,
77  core::pose::Pose const &
78  );
79 
81  max_residue_count() const;
82 
83  void
85  core::Size value
86  );
87 
88  bool
90 
91  void
93  bool value
94  );
95 
97  min_residue_count() const;
98 
99  void
101  core::Size value
102  );
103 
105  res_types() const;
106 
107  void
108  res_types( utility::vector1< std::string > const & res_type );
109 
110  bool
111  enable_min_residue_count() const;
112 
113  void
115  bool value
116  );
117 
118  ///@brief Checks whether a residue type is present in the provided residue type set, and if so, adds it to res_types_
119  bool
121  core::chemical::ResidueTypeSet const & res_type_set,
122  std::string const & res_type_input
123  );
124 
125 
126 private:
132 };
133 
134 }
135 }
136 
137 #endif