Rosetta
|
#include <JumpForResidue.hh>
Public Member Functions | |
JumpForResidue ()=default | |
~JumpForResidue () override=default | |
JumpForResidue (JumpForResidue const &)=default | |
JumpForResidue & | operator= (JumpForResidue const &)=default |
JumpForResidue (JumpForResidue &&)=default | |
JumpForResidue & | operator= (JumpForResidue &&)=default |
JumpForResidue (core::Size const resid) | |
JumpSelectorOP | clone () const override |
Clone operator. More... | |
JumpSubset | apply (core::pose::Pose const &pose) const override |
Return a JumpSubset indicating a selection of Jumps from the input Pose; the JumpSubset is an array of booleans of length pose.num_jump() where a value of "true" for position i indicates that jump 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 &) 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_residue_selector (core::select::residue_selector::ResidueSelectorCOP selector) |
We will select the jumps that build the residues selected by this residue selector. More... | |
void | set_allow_multiple_results (bool const setting) |
If false, we will assert that every residue passed in is built by the same jump. More... | |
![]() | |
JumpSelector () | |
Constructor. More... | |
~JumpSelector () override | |
Destructor. More... | |
utility::vector1< core::Size > | selection_jumps (core::pose::Pose const &pose) const |
Calls apply and returns a vector of the selected jump ids. More... | |
Static Public Member Functions | |
static std::string | class_name () |
static void | provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd) |
Private Attributes | |
core::select::residue_selector::ResidueSelectorCOP | selector_ = nullptr |
bool | allow_multiple_results_ = false |
|
default |
|
overridedefault |
|
default |
|
default |
core::select::jump_selector::JumpForResidue::JumpForResidue | ( | core::Size const | resid | ) |
|
overridevirtual |
Return a JumpSubset indicating a selection of Jumps from the input Pose; the JumpSubset is an array of booleans of length pose.num_jump() where a value of "true" for position i indicates that jump i is a part of the selected subset – and a value of "false" would indicate that it is not.
Implements core::select::jump_selector::JumpSelector.
References allow_multiple_results_, core::pose::Pose::fold_tree(), core::pose::Pose::num_jump(), core::select::resids(), core::select::residue_selector::selection_positions(), and selector_.
|
static |
Referenced by get_name(), core::select::jump_selector::JumpForResidueCreator::keyname(), and provide_xml_schema().
|
overridevirtual |
Clone operator.
Copy this object and return an owning pointer to the new object.
Implements core::select::jump_selector::JumpSelector.
|
overridevirtual |
Implements core::select::jump_selector::JumpSelector.
References class_name().
|
default |
|
default |
|
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::jump_selector::JumpSelector.
References core::select::residue_selector::get_residue_selector(), selector_, and set_allow_multiple_results().
|
static |
|
inline |
If false, we will assert that every residue passed in is built by the same jump.
References allow_multiple_results_.
Referenced by parse_my_tag().
|
inline |
We will select the jumps that build the residues selected by this residue selector.
References selector_.
|
private |
Referenced by apply(), and set_allow_multiple_results().
|
private |
Referenced by apply(), parse_my_tag(), and set_residue_selector().