Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SecondaryStructureFilter.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/SecondaryStructureFilter.hh
11 /// @brief header file for SecondaryStructureFilter class.
12 /// @detailed
13 /// @author Nobuyasu Koga ( nobuyasu@uw.edu )
14 
15 
16 #ifndef INCLUDED_protocols_fldsgn_filters_SecondaryStructureFilter_hh
17 #define INCLUDED_protocols_fldsgn_filters_SecondaryStructureFilter_hh
18 
19 // Unit Headers
21 
22 // Package Headers
24 
25 // Project Headers
26 #include <core/pose/Pose.fwd.hh>
27 
28 // Parser headers
32 #include <utility/tag/Tag.fwd.hh>
33 
34 #include <utility/vector1.hh>
35 
36 
37 //// C++ headers
38 
39 namespace protocols {
40 namespace fldsgn {
41 namespace filters {
42 
44 public:
45 
51 
56 
57 
58 public:// constructor/destructor
59 
60 
61  // @brief default constructor
63 
64  // @brief constructor with arguments
65  SecondaryStructureFilter( String const & ss );
66 
67  // @brief copy constructor
69 
71 
72 
73 public:// virtual constructor
74 
75 
76  // @brief make clone
77  virtual FilterOP clone() const { return new SecondaryStructureFilter( *this ); }
78 
79  // @brief make fresh instance
80  virtual FilterOP fresh_instance() const { return new SecondaryStructureFilter(); }
81 
82 
83 public:// mutator
84 
85 
86  // @brief set filtered secondary structure
87  void filtered_ss( String const & s );
88 
89  // @brief set filtered abego
90  void filtered_abego( String const & s );
91 
92 
93 public:// accessor
94 
95 
96  // @brief get name of this filter
97  virtual std::string name() const { return "SecondaryStructureFilter"; }
98 
99 
100 public:// parser
101 
102  virtual void parse_my_tag( TagPtr const tag,
103  DataMap &,
104  Filters_map const &,
105  Movers_map const &,
106  Pose const & );
107 
108 
109 public:// virtual main operation
110 
111 
112  // @brief returns true if the given pose passes the filter, false otherwise.
113  // In this case, the test is whether the give pose is the topology we want.
114  virtual bool apply( Pose const & pose ) const;
115 
116 
117 private:
118 
120 
122 
124 
125 };
126 
127 } // filters
128 } // fldsgn
129 } // protocols
130 
131 #endif