Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SheetTopologyFilter.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/SheetTopologyFilter.hh
11 /// @brief header file for SheetTopologyFilter class.
12 /// @detailed
13 /// @author Nobuyasu Koga ( nobuyasu@uw.edu )
14 
15 
16 #ifndef INCLUDED_protocols_fldsgn_filters_SheetTopologyFilter_hh
17 #define INCLUDED_protocols_fldsgn_filters_SheetTopologyFilter_hh
18 
19 // Unit Headers
21 
22 // Package Headers
25 
26 // Project Headers
27 #include <core/pose/Pose.fwd.hh>
29 
30 // Utility headers
31 
32 // Parser headers
36 #include <utility/tag/Tag.fwd.hh>
37 
38 #include <utility/vector1.hh>
39 
40 
41 //// C++ headers
42 
43 namespace protocols {
44 namespace fldsgn {
45 namespace filters {
46 
48 public:
49 
59 
64 
65 
66 public:// constructor/destructor
67 
68 
69  // @brief default constructor
71 
72  // @brief constructor with arguments
74 
75  // @brief constructor with arguments
76  SheetTopologyFilter( String const & sheet_topology );
77 
78  // @brief copy constructor
80 
82 
83 
84 public:// virtual constructor
85 
86 
87  // @brief make clone
88  virtual FilterOP clone() const { return new SheetTopologyFilter( *this ); }
89 
90  // @brief make fresh instance
91  virtual FilterOP fresh_instance() const { return new SheetTopologyFilter(); }
92 
93 
94 public:// mutator
95 
96 
97  // @brief set filtered sheet_topology by SrandPairingSetOP
98  void filtered_sheet_topology( StrandPairingSetOP const & sps );
99 
100  // @brief set filtered sheet_topology by SrandPairingSetOP
101  void filtered_sheet_topology( String const & sheet_topology );
102 
103 
104 public:// accessor
105 
106 
107  // @brief get name of this filter
108  virtual std::string name() const { return "SheetTopologyFilter"; }
109 
110 
111 public:// parser
112 
113  virtual void parse_my_tag( TagPtr const tag,
114  DataMap &,
115  Filters_map const &,
116  Movers_map const &,
117  Pose const & );
118 
119 
120 public:// virtual main operation
121 
122 
123  // @brief returns true if the given pose passes the filter, false otherwise.
124  // In this case, the test is whether the give pose is the topology we want.
125  virtual bool apply( Pose const & pose ) const;
126 
127 
128 private:
129 
131 
133 
135 
136 };
137 
138 } // filters
139 } // fldsgn
140 } // protocols
141 
142 #endif