![]() |
Rosetta Protocols
2014.16.56682
|
#include <ResidueCountFilter.hh>
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_ |
| protocols::simple_filters::ResidueCountFilter::ResidueCountFilter | ( | ) |
References filters.
Referenced by clone(), and fresh_instance().
| protocols::simple_filters::ResidueCountFilter::ResidueCountFilter | ( | ResidueCountFilter const & | src | ) |
References filters.
|
virtual |
| 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.
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.
References compute(), enable_max_residue_count(), enable_min_residue_count(), max_residue_count(), and min_residue_count().
|
virtual |
Implements protocols::filters::Filter.
References ResidueCountFilter().
| core::Real protocols::simple_filters::ResidueCountFilter::compute | ( | core::pose::Pose const & | pose | ) | const |
References j, 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 |
References enable_max_residue_count_.
Referenced by apply(), and parse_my_tag().
| void protocols::simple_filters::ResidueCountFilter::enable_max_residue_count | ( | bool | value | ) |
References enable_max_residue_count_.
| bool protocols::simple_filters::ResidueCountFilter::enable_min_residue_count | ( | ) | const |
References enable_min_residue_count_.
Referenced by apply(), and parse_my_tag().
| void protocols::simple_filters::ResidueCountFilter::enable_min_residue_count | ( | bool | value | ) |
References enable_min_residue_count_.
|
virtual |
Implements protocols::filters::Filter.
References ResidueCountFilter().
| core::Size protocols::simple_filters::ResidueCountFilter::max_residue_count | ( | ) | const |
References max_residue_count_.
Referenced by apply(), and parse_my_tag().
| void protocols::simple_filters::ResidueCountFilter::max_residue_count | ( | core::Size | value | ) |
References max_residue_count_.
| core::Size protocols::simple_filters::ResidueCountFilter::min_residue_count | ( | ) | const |
References min_residue_count_.
Referenced by apply(), and parse_my_tag().
| void protocols::simple_filters::ResidueCountFilter::min_residue_count | ( | core::Size | value | ) |
References min_residue_count_.
|
virtual |
Reimplemented from protocols::filters::Filter.
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(), runtime_assert, utility::string_split(), core::pose::Pose::total_residue(), protocols::simple_filters::TR, and utility_exit_with_message.
|
virtual |
Reimplemented from protocols::filters::Filter.
References compute().
|
virtual |
used to report filter internals through a score or silent file
Reimplemented from protocols::filters::Filter.
References compute().
| utility::vector1< std::string > protocols::simple_filters::ResidueCountFilter::res_types | ( | ) | const |
References res_types_.
| void protocols::simple_filters::ResidueCountFilter::res_types | ( | utility::vector1< std::string > const & | res_type | ) |
References res_types_.
|
private |
Referenced by enable_max_residue_count().
|
private |
Referenced by enable_min_residue_count().
|
private |
Referenced by max_residue_count().
|
private |
Referenced by min_residue_count().
|
private |
Referenced by add_residue_type_by_name(), compute(), and res_types().
1.8.7