|
Rosetta 3.5
|
#include <ResidueCountFilter.hh>


Public Member Functions | |
| ResidueCountFilter () | |
| ResidueCountFilter (ResidueCountFilter const &src) | |
| virtual | ~ResidueCountFilter () |
| bool | apply (core::pose::Pose const &pose) const |
| Returns true if the given pose passes the filter, false otherwise. More... | |
| filters::FilterOP | clone () const |
| filters::FilterOP | fresh_instance () const |
| void | report (std::ostream &out, core::pose::Pose const &pose) const |
| core::Real | report_sm (core::pose::Pose const &pose) const |
| used to report filter internals through a score or silent file More... | |
| core::Real | compute (core::pose::Pose const &pose) const |
| void | parse_my_tag (utility::tag::TagPtr const tag, moves::DataMap &, filters::Filters_map const &, moves::Movers_map const &, core::pose::Pose const &) |
| core::Size | max_residue_count () const |
| void | max_residue_count (core::Size value) |
| bool | enable_max_residue_count () const |
| void | enable_max_residue_count (bool value) |
| core::Size | min_residue_count () const |
| void | min_residue_count (core::Size value) |
| utility::vector1< std::string > | res_types () const |
| void | res_types (utility::vector1< std::string > const &res_type) |
| bool | enable_min_residue_count () const |
| void | enable_min_residue_count (bool value) |
| bool | add_residue_type_by_name (core::chemical::ResidueTypeSet const &res_type_set, std::string const &res_type_input) |
| Checks whether a residue type is present in the provided residue type set, and if so, adds it to res_types_. More... | |
Public Member Functions inherited from protocols::filters::Filter | |
| Filter () | |
| Filter (std::string const &) | |
| Filter (Filter const &) | |
| virtual | ~Filter () |
| virtual std::string | get_type () const |
| std::string | get_user_defined_name () const |
| void | set_user_defined_name (std::string const &name) |
| virtual void | clear () |
| used to clear internal variables if needed. Using fresh_instance is preferred since it's a pure virtual More... | |
| virtual void | apply (core::io::serialization::PipeMap &pmap) |
| virtual void | score (core::io::serialization::PipeMap &pmap) |
| virtual core::Real | score (core::pose::Pose &pose) |
| virtual void | parse_def (utility::lua::LuaObject const &def, utility::lua::LuaObject const &score_fxns, utility::lua::LuaObject const &tasks) |
| virtual std::string | name () const |
Private Attributes | |
| core::Size | max_residue_count_ |
| bool | enable_max_residue_count_ |
| core::Size | min_residue_count_ |
| bool | enable_min_residue_count_ |
| utility::vector1< std::string > | res_types_ |
Additional Inherited Members | |
Protected Attributes inherited from protocols::filters::Filter | |
| std::string | scorename_ |
Definition at line 32 of file ResidueCountFilter.hh.
| protocols::simple_filters::ResidueCountFilter::ResidueCountFilter | ( | ) |
Definition at line 42 of file ResidueCountFilter.cc.
Referenced by clone(), and fresh_instance().
| protocols::simple_filters::ResidueCountFilter::ResidueCountFilter | ( | ResidueCountFilter const & | src) |
Definition at line 50 of file ResidueCountFilter.cc.
|
virtual |
Definition at line 61 of file ResidueCountFilter.cc.
| bool protocols::simple_filters::ResidueCountFilter::add_residue_type_by_name | ( | core::chemical::ResidueTypeSet const & | res_type_set, |
| std::string const & | res_type_input | ||
| ) |
Checks whether a residue type is present in the provided residue type set, and if so, adds it to res_types_.
Checks whether a residue type is present in the provided residue type set, and if so, adds it to res_types_ given user specified residue type string, look for residue type name and add it to the list of types to count if it is present in the specified ResidueTypeSet. res_type_set, the residue type set of the input structure res_type_input, the user specified residue type name.
Definition at line 229 of file ResidueCountFilter.cc.
References core::chemical::ResidueTypeSet::has_name(), and res_types_.
Referenced by parse_my_tag().
|
virtual |
Returns true if the given pose passes the filter, false otherwise.
Implements protocols::filters::Filter.
Definition at line 111 of file ResidueCountFilter.cc.
References compute(), enable_max_residue_count(), enable_min_residue_count(), max_residue_count(), and min_residue_count().
|
virtual |
Implements protocols::filters::Filter.
Definition at line 64 of file ResidueCountFilter.cc.
References ResidueCountFilter().
| core::Real protocols::simple_filters::ResidueCountFilter::compute | ( | core::pose::Pose const & | pose) | const |
Definition at line 141 of file ResidueCountFilter.cc.
References core::conformation::Residue::name(), core::conformation::Residue::name3(), res_types_, core::pose::Pose::residue(), and core::pose::Pose::total_residue().
Referenced by apply(), report(), and report_sm().
| bool protocols::simple_filters::ResidueCountFilter::enable_max_residue_count | ( | ) | const |
Definition at line 187 of file ResidueCountFilter.cc.
References enable_max_residue_count_.
Referenced by apply(), and parse_my_tag().
| void protocols::simple_filters::ResidueCountFilter::enable_max_residue_count | ( | bool | value) |
Definition at line 192 of file ResidueCountFilter.cc.
References enable_max_residue_count_.
| bool protocols::simple_filters::ResidueCountFilter::enable_min_residue_count | ( | ) | const |
Definition at line 211 of file ResidueCountFilter.cc.
References enable_min_residue_count_.
Referenced by apply(), and parse_my_tag().
| void protocols::simple_filters::ResidueCountFilter::enable_min_residue_count | ( | bool | value) |
Definition at line 216 of file ResidueCountFilter.cc.
References enable_min_residue_count_.
|
virtual |
Implements protocols::filters::Filter.
Definition at line 69 of file ResidueCountFilter.cc.
References ResidueCountFilter().
| core::Size protocols::simple_filters::ResidueCountFilter::max_residue_count | ( | ) | const |
Definition at line 160 of file ResidueCountFilter.cc.
References max_residue_count_.
Referenced by apply(), and parse_my_tag().
| void protocols::simple_filters::ResidueCountFilter::max_residue_count | ( | core::Size | value) |
Definition at line 165 of file ResidueCountFilter.cc.
References max_residue_count_.
| core::Size protocols::simple_filters::ResidueCountFilter::min_residue_count | ( | ) | const |
Definition at line 199 of file ResidueCountFilter.cc.
References min_residue_count_.
Referenced by apply(), and parse_my_tag().
| void protocols::simple_filters::ResidueCountFilter::min_residue_count | ( | core::Size | value) |
Definition at line 204 of file ResidueCountFilter.cc.
References min_residue_count_.
|
virtual |
Reimplemented from protocols::filters::Filter.
Definition at line 75 of file ResidueCountFilter.cc.
References add_residue_type_by_name(), enable_max_residue_count(), enable_min_residue_count(), max_residue_count(), min_residue_count(), core::pose::Pose::residue(), core::conformation::Residue::residue_type_set(), core::pose::Pose::total_residue(), and protocols::simple_filters::TR().
|
virtual |
Reimplemented from protocols::filters::Filter.
Definition at line 126 of file ResidueCountFilter.cc.
References compute().
|
virtual |
used to report filter internals through a score or silent file
Reimplemented from protocols::filters::Filter.
Definition at line 134 of file ResidueCountFilter.cc.
References compute().
| utility::vector1< std::string > protocols::simple_filters::ResidueCountFilter::res_types | ( | ) | const |
Definition at line 172 of file ResidueCountFilter.cc.
References res_types_.
| void protocols::simple_filters::ResidueCountFilter::res_types | ( | utility::vector1< std::string > const & | res_type) |
Definition at line 177 of file ResidueCountFilter.cc.
References res_types_.
|
private |
Definition at line 128 of file ResidueCountFilter.hh.
Referenced by enable_max_residue_count().
|
private |
Definition at line 130 of file ResidueCountFilter.hh.
Referenced by enable_min_residue_count().
|
private |
Definition at line 127 of file ResidueCountFilter.hh.
Referenced by max_residue_count().
|
private |
Definition at line 129 of file ResidueCountFilter.hh.
Referenced by min_residue_count().
|
private |
Definition at line 131 of file ResidueCountFilter.hh.
Referenced by add_residue_type_by_name(), compute(), and res_types().
1.8.4