Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BuriedUnsatHbondFilter.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/BuriedUnsatHbondFilter.hh
11 /// @brief definition of filter class BuriedUnsatHbondFilter.
12 /// @author Sarel Fleishman (sarelf@u.washington.edu), Jacob Corn (jecorn@u.washington.edu)
13 
14 #ifndef INCLUDED_protocols_simple_filters_BuriedUnsatHbondFilter_hh
15 #define INCLUDED_protocols_simple_filters_BuriedUnsatHbondFilter_hh
16 
18 
20 
22 #include <utility/tag/Tag.fwd.hh>
25 #include <core/pose/Pose.fwd.hh>
27 
28 namespace protocols {
29 namespace simple_filters {
30 
31 /// @brief filters based on an upper bound # of buried unsatisfied polar residues
33 {
34 public:
36  BuriedUnsatHbondFilter( core::Size const upper_threshold, core::Size const jump_num );
37  bool apply( core::pose::Pose const & pose ) const;
38  void report( std::ostream & out, core::pose::Pose const & pose ) const;
39  core::Real report_sm( core::pose::Pose const & pose ) const;
40  core::Real compute( core::pose::Pose const & pose ) const;
41  filters::FilterOP clone() const;
43 
44  virtual ~BuriedUnsatHbondFilter();
48 private:
52  core::pack::task::TaskFactoryOP task_factory_; // dflt NULL; only residues defined as packable by the taskoperations will be tested for burial
53 };
54 
55 }
56 }
57 #endif