Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ConservedPosMutationFilter.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 src/protocols/simple_filters/ConservedPosMutationFilter.hh
11 /// @brief header file for ConservedPosMutationFitler class.
12 /// @detailed
13 /// @author Florian Richter (floric@u.washington.edu), may 2011
14 
15 
16 #ifndef INCLUDED_protocols_simple_filters_ConservedPosMutationFilter_hh
17 #define INCLUDED_protocols_simple_filters_ConservedPosMutationFilter_hh
18 
19 // Unit Headers
22 
23 // package headers
25 
26 // Project Headers
27 #include <core/pose/Pose.fwd.hh>
28 
29 #include <utility/vector1.hh>
30 
31 
32 // ObjexxFCL Headers
33 
34 // Utility headers
35 
36 //// C++ headers
37 
38 namespace protocols {
39 namespace simple_filters {
40 
41 
43 
44 public:
48 
49 public:
50 
52 
54 
55  FilterOP clone() const;
56 
57  FilterOP fresh_instance() const;
58 
60 
61 
62  /// @brief Returns true if the given pose passes the filter, false otherwise.
63  /// In this case, a pose passes if it less than max_allowed_conserved_pos_mutations_
64  /// mutations at conserved position. the decision whether a given position
65  /// counts as conserved is made by the RestrictConservedLowDdgOperation
66  /// task operation to prevent duplication of code
67  virtual
68  bool apply( core::pose::Pose const & pose ) const;
69 
72  }
73 
74  virtual std::string name() const {
75  return "ConservedPosMutationFilter";
76  }
77 
78 private:
79 
82 
83 };
84 
85 } // filters
86 } // protocols
87 
88 #endif