Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FragQualFilter.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/fldsgn/filters/FragQualFilter.hh
11 /// @brief header file for FragQualFilter class.
12 /// @detailed
13 /// @author Nobuyasu Koga ( nobuyasu@uw.edu )
14 
15 
16 #ifndef INCLUDED_protocols_fldsgn_filters_FragQualFilter_hh
17 #define INCLUDED_protocols_fldsgn_filters_FragQualFilter_hh
18 
19 // Unit Headers
21 
22 // Package Headers
24 
25 // Project Headers
26 #include <core/pose/Pose.fwd.hh>
27 
28 // Utility headers
29 
30 // Parser headers
34 #include <utility/tag/Tag.fwd.hh>
35 
36 #include <utility/vector1.hh>
37 
38 
39 //// C++ headers
40 
41 namespace protocols {
42 namespace fldsgn {
43 namespace filters {
44 
46 public:
47 
51  typedef core::Real Real;
54 
59 
60 
61 public:// constructor/destructor
62 
63 
64  // @brief default constructor
66 
67  // @brief constructor with arguments
68  //FragQualFilter( Real const & ss );
69 
70  // @brief copy constructor
71  FragQualFilter( FragQualFilter const & rval );
72 
73  virtual ~FragQualFilter(){}
74 
75 
76 public:// virtual constructor
77 
78 
79  // @brief make clone
80  virtual FilterOP clone() const { return new FragQualFilter( *this ); }
81 
82  // @brief make fresh instance
83  virtual FilterOP fresh_instance() const { return new FragQualFilter(); }
84 
85 
86 public:// mutator
87 
88 
89  // @brief
90  void filtered_value( Real const & ss );
91 
92  // @brief
93  void filtered_type( String const & ss );
94 
95 
96 public:// accessor
97 
98 
99  // @brief get name of this filter
100  virtual std::string name() const { return "FragQualFilter"; }
101 
102 
103 
104 public:// parser
105 
106  virtual void parse_my_tag( TagPtr const tag,
107  DataMap & data,
108  Filters_map const & filters,
109  Movers_map const & movers,
110  Pose const & pose );
111 
112 
113 public:// virtual main operation
114 
115 
116  // @brief returns true if the given pose passes the filter, false otherwise.
117  // In this case, the test is whether the give pose is the topology we want.
118  virtual bool apply( Pose const & pose ) const;
119 
120  /// @brief
121  virtual Real report_sm( Pose const & pose ) const;
122 
123  /// @brief used to report score
124  virtual void report( std::ostream & out, Pose const & pose ) const;
125 
126  /// @brief
127  Real compute( Pose const & pose ) const;
128 
129 
130 private:
131 
132 
134 
136 
138 
139 
140 };
141 
142 } // filters
143 } // fldsgn
144 } // protocols
145 
146 #endif