Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AbinitioBaseFilter.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/AbinitioBaseFilter.hh
11 /// @brief header file for AbinitioBaseFilter.cc
12 /// @detailed
13 ///
14 ///
15 ///
16 /// @author Robert Vernon and Oliver Lange
17 
18 #ifndef INCLUDED_protocols_simple_filters_AbinitioBaseFilter_hh
19 #define INCLUDED_protocols_simple_filters_AbinitioBaseFilter_hh
20 
21 // Unit Headers
23 
24 // Project Headers
25 #include <core/pose/Pose.fwd.hh>
26 #include <core/types.hh>
27 
28 #include <utility/vector1.hh>
29 
30 
31 // ObjexxFCL Headers
32 
33 // Utility headers
34 //#include <utility/pointer/ReferenceCount.hh>
35 
36 //// C++ headers
37 
38 namespace protocols {
39 namespace simple_filters {
40 
42 public:
43 
44  /// c-tor and d-tor
46  virtual ~AbinitioBaseFilter() {}
47 
48  virtual filters::FilterOP clone() const = 0;
49 
50  virtual filters::FilterOP fresh_instance() const = 0;
51 
52 
53  /// @brief Returns true if the given pose passes the filter, false otherwise.
54  virtual bool apply( core::pose::Pose const & pose ) const = 0;
55 
56  std::string get_protein_sstype( core::pose::Pose const & pose ) const;
57 
58  virtual
59  std::string name() const { return "AbinitioBaseFilter"; };
60 
61 protected:
62  mutable int max_helix_length_;
64  mutable int beta_;
65  mutable float beta_ratio_;
67 };
68 
69 } // filters
70 } // protocols
71 
72 #endif