![]() |
Rosetta
2021.16
|
The SimpleMetricSelector allows conditional application of a residue selector. More...
#include <SimpleMetricSelector.hh>

Public Member Functions | |
| SimpleMetricSelector (SimpleMetricSelector const &src) | |
| Copy constructor. More... | |
| ~SimpleMetricSelector () override | |
| SimpleMetricSelector & | operator= (SimpleMetricSelector const &ot) |
| ResidueSelectorOP | clone () const override |
| Clone operator. More... | |
| SimpleMetricSelector (core::simple_metrics::PerResidueRealMetricCOP metric=nullptr, Real lower_bound=utility::get_undefined_real(), Real upper_bound=utility::get_undefined_real(), bool outside_bounds=false) | |
| ResidueSubset | apply (core::pose::Pose const &pose) const override |
| Return a ResidueSubset indicating a selection of Residues from the input Pose; the ResidueSubset is an array of booleans where a value of "true" for position i indicates that residue i is a part of the selected subset – and a value of "false" would indicate that it is not. More... | |
| void | parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &datamap) override |
| Initialize any data members of this instance from an input tag and a DataMap object. More... | |
| std::string | get_name () const override |
| void | set_metric (core::simple_metrics::PerResidueRealMetricCOP const &metric) |
Public Member Functions inherited from core::select::residue_selector::ResidueSelector | |
| ResidueSelector () | |
| Constructor. More... | |
| ~ResidueSelector () override | |
| Destructor. More... | |
| virtual void | provide_citation_info (basic::citation_manager::CitationCollectionList &) const |
| Provide citations to the passed CitationCollectionList Subclasses should add the info for themselves and any other classes they use. More... | |
Static Public Member Functions | |
| static std::string | class_name () |
| static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
Private Attributes | |
| core::simple_metrics::PerResidueRealMetricCOP | metric_ |
| Real | lower_bound_ |
| Real | upper_bound_ |
| bool | outside_bounds_ |
Friends | |
| class | ::SimpleMetricSelectorTests |
The SimpleMetricSelector allows conditional application of a residue selector.
| core::select::residue_selector::SimpleMetricSelector::SimpleMetricSelector | ( | SimpleMetricSelector const & | src | ) |
Copy constructor.
|
overridedefault |
| core::select::residue_selector::SimpleMetricSelector::SimpleMetricSelector | ( | core::simple_metrics::PerResidueRealMetricCOP | metric = nullptr, |
| Real | lower_bound = utility::get_undefined_real(), |
||
| Real | upper_bound = utility::get_undefined_real(), |
||
| bool | outside_bounds = false |
||
| ) |
References set_metric().
|
overridevirtual |
Return a ResidueSubset indicating a selection of Residues from the input Pose; the ResidueSubset is an array of booleans where a value of "true" for position i indicates that residue i is a part of the selected subset – and a value of "false" would indicate that it is not.
Implements core::select::residue_selector::ResidueSelector.
References lower_bound_, metric_, outside_bounds_, core::scoring::pair, core::pose::Pose::size(), and upper_bound_.
|
static |
|
overridevirtual |
Clone operator.
Copy this object and return an owning pointer to the new object.
Implements core::select::residue_selector::ResidueSelector.
|
overridevirtual |
Implements core::select::residue_selector::ResidueSelector.
References class_name().
| SimpleMetricSelector & core::select::residue_selector::SimpleMetricSelector::operator= | ( | SimpleMetricSelector const & | ot | ) |
References lower_bound_, metric_, outside_bounds_, and upper_bound_.
|
overridevirtual |
Initialize any data members of this instance from an input tag and a DataMap object.
Noop implementation in the base class in the case that a derived class has no need to read data from an input tag
Reimplemented from core::select::residue_selector::ResidueSelector.
References core::simple_metrics::get_metric_from_datamap_and_subtags(), core::select::residue_selector::has_option(), lower_bound_, outside_bounds_, set_metric(), and upper_bound_.
|
static |
| void core::select::residue_selector::SimpleMetricSelector::set_metric | ( | core::simple_metrics::PerResidueRealMetricCOP const & | metric | ) |
References metric_.
Referenced by parse_my_tag(), and SimpleMetricSelector().
|
friend |
|
private |
Referenced by apply(), operator=(), and parse_my_tag().
|
private |
Referenced by apply(), operator=(), and set_metric().
|
private |
Referenced by apply(), operator=(), and parse_my_tag().
|
private |
Referenced by apply(), operator=(), and parse_my_tag().
1.8.7