![]() |
Rosetta
2021.16
|
The AndResidueSelector combines the output of multiple ResidueSelectors using AND logic, i.e., only residues selected by ALL contained ResidueSelectors will be selected. ResidueSelecters can be pulled in from a DataMap, from subtags (for ResidueSelectors known to the ResidueSelectorFactory) or programmatically through add_residue_selector. More...
#include <AndResidueSelector.hh>

Public Member Functions | |
| AndResidueSelector () | |
| AndResidueSelector (AndResidueSelector const &src) | |
| Copy constructor. More... | |
| ResidueSelectorOP | clone () const override |
| Clone operator. More... | |
| AndResidueSelector (ResidueSelectorCOP selector1) | |
| AndResidueSelector (ResidueSelectorCOP selector1, ResidueSelectorCOP selector2) | |
| ~AndResidueSelector () override | |
| 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 | add_residue_selector (ResidueSelectorCOP selector) |
| adds a ResidueSelector More... | |
| Size | num_selectors () const |
| Get the number of contained selectors. More... | |
| void | clear () |
| Clear the contained selectors. More... | |
| 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 | apply_and_to_subset (ResidueSubset const &newSubset, ResidueSubset &existingSubset) const |
| applies newSubset to existingSubset and thereby modifies the latter More... | |
| void | provide_citation_info (basic::citation_manager::CitationCollectionList &) const override |
| Provide the citation. More... | |
Public Member Functions inherited from core::select::residue_selector::ResidueSelector | |
| ResidueSelector () | |
| Constructor. More... | |
| ~ResidueSelector () override | |
| Destructor. More... | |
Static Public Member Functions | |
| static std::string | class_name () |
| static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
Private Attributes | |
| std::list< ResidueSelectorCOP > | selectors_ |
The AndResidueSelector combines the output of multiple ResidueSelectors using AND logic, i.e., only residues selected by ALL contained ResidueSelectors will be selected. ResidueSelecters can be pulled in from a DataMap, from subtags (for ResidueSelectors known to the ResidueSelectorFactory) or programmatically through add_residue_selector.
|
default |
| core::select::residue_selector::AndResidueSelector::AndResidueSelector | ( | AndResidueSelector const & | src | ) |
Copy constructor.
| core::select::residue_selector::AndResidueSelector::AndResidueSelector | ( | ResidueSelectorCOP | selector1 | ) |
References add_residue_selector().
| core::select::residue_selector::AndResidueSelector::AndResidueSelector | ( | ResidueSelectorCOP | selector1, |
| ResidueSelectorCOP | selector2 | ||
| ) |
References add_residue_selector().
|
overridedefault |
| void core::select::residue_selector::AndResidueSelector::add_residue_selector | ( | ResidueSelectorCOP | selector | ) |
adds a ResidueSelector
References selectors_.
Referenced by AndResidueSelector(), and parse_my_tag().
|
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 apply_and_to_subset(), num_selectors(), selectors_, and core::pose::Pose::size().
| void core::select::residue_selector::AndResidueSelector::apply_and_to_subset | ( | ResidueSubset const & | newSubset, |
| ResidueSubset & | existingSubset | ||
| ) | const |
applies newSubset to existingSubset and thereby modifies the latter
Referenced by apply().
|
static |
| void core::select::residue_selector::AndResidueSelector::clear | ( | ) |
Clear the contained selectors.
References selectors_.
|
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().
| Size core::select::residue_selector::AndResidueSelector::num_selectors | ( | ) | const |
|
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 add_residue_selector(), and core::select::residue_selector::get_residue_selector().
|
overridevirtual |
Provide the citation.
Reimplemented from core::select::residue_selector::ResidueSelector.
References selectors_.
|
static |
|
private |
Referenced by add_residue_selector(), apply(), clear(), num_selectors(), and provide_citation_info().
1.8.7