![]() |
Rosetta Core
2014.16.56682
|
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 (ResidueSelectorCOP selector1, ResidueSelectorCOP selector2) | |
| virtual | ~AndResidueSelector () |
| virtual void | apply (core::pose::Pose const &pose, ResidueSubset &subset) const |
| Make modifications to the subset vector given an input pose. The input ResidueSubset should already be of size pose.total_residue() More... | |
| virtual void | parse_my_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &datamap) |
| Initialize any data members of this instance from an input tag and a DataMap object. More... | |
| virtual std::string | get_name () const |
| void | add_residue_selector (ResidueSelectorCOP selector) |
| adds a ResidueSelector More... | |
| Size | num_selectors () const |
| void | apply_and_to_subset (ResidueSubset const &newSubset, ResidueSubset &existingSubset) const |
| applies newSubset to existingSubset and thereby modifies the latter More... | |
Public Member Functions inherited from core::pack::task::residue_selector::ResidueSelector | |
| ResidueSelector () | |
| virtual | ~ResidueSelector () |
Static Public Member Functions | |
| static std::string | class_name () |
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.
| core::pack::task::residue_selector::AndResidueSelector::AndResidueSelector | ( | ) |
| core::pack::task::residue_selector::AndResidueSelector::AndResidueSelector | ( | ResidueSelectorCOP | selector1, |
| ResidueSelectorCOP | selector2 | ||
| ) |
References add_residue_selector().
|
virtual |
| void core::pack::task::residue_selector::AndResidueSelector::add_residue_selector | ( | ResidueSelectorCOP | selector | ) |
adds a ResidueSelector
References selectors_.
Referenced by AndResidueSelector(), and parse_my_tag().
|
virtual |
Make modifications to the subset vector given an input pose. The input ResidueSubset should already be of size pose.total_residue()
Implements core::pack::task::residue_selector::ResidueSelector.
References apply_and_to_subset(), num_selectors(), selectors_, and core::pose::Pose::total_residue().
| void core::pack::task::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 |
Referenced by get_name(), and core::pack::task::residue_selector::AndResidueSelectorCreator::keyname().
|
virtual |
Implements core::pack::task::residue_selector::ResidueSelector.
References class_name().
| Size core::pack::task::residue_selector::AndResidueSelector::num_selectors | ( | ) | const |
References selectors_.
Referenced by apply().
|
virtual |
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::pack::task::residue_selector::ResidueSelector.
References add_residue_selector(), basic::datacache::DataMap::get(), core::pack::task::residue_selector::ResidueSelectorFactory::get_instance(), core::pack::task::residue_selector::ResidueSelectorFactory::new_residue_selector(), and utility::string_split().
|
private |
Referenced by add_residue_selector(), apply(), and num_selectors().
1.8.7