Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
core::select::jump_selector::NotJumpSelector Class Reference

The NotJumpSelector negates the input of one loaded JumpSelector, i.e., it is a logical NOT - it selects all unselected jumps and deselects the selected ones. True becomes false, false becomes true. The JumpSelector to be negated can be pulled in through RosettaScipt using the selector option, subtags for JumpSelectors known to the JumpSelectorFactory or programmatically using set_jump_selector. Note that since most JumpSelectors clear the input JumpSubset, NOT can be thought of as simply selecting the opposite of the passed in selector. More...

#include <NotJumpSelector.hh>

Inheritance diagram for core::select::jump_selector::NotJumpSelector:
Inheritance graph
[legend]

Public Member Functions

 NotJumpSelector ()
 
 NotJumpSelector (NotJumpSelector const &src)
 Copy constructor. More...
 
JumpSelectorOP clone () const override
 Clone operator. More...
 
 NotJumpSelector (JumpSelectorCOP selector)
 
 ~NotJumpSelector () override
 
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 &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_jump_selector (JumpSelectorCOP selector)
 sets a JumpSelector More...
 
- Public Member Functions inherited from core::select::jump_selector::JumpSelector
 JumpSelector ()
 Constructor. More...
 
 ~JumpSelector () override
 Destructor. More...
 

Static Public Member Functions

static std::string class_name ()
 
static void provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd)
 

Private Attributes

JumpSelectorCOP selector_
 

Detailed Description

The NotJumpSelector negates the input of one loaded JumpSelector, i.e., it is a logical NOT - it selects all unselected jumps and deselects the selected ones. True becomes false, false becomes true. The JumpSelector to be negated can be pulled in through RosettaScipt using the selector option, subtags for JumpSelectors known to the JumpSelectorFactory or programmatically using set_jump_selector. Note that since most JumpSelectors clear the input JumpSubset, NOT can be thought of as simply selecting the opposite of the passed in selector.

Constructor & Destructor Documentation

core::select::jump_selector::NotJumpSelector::NotJumpSelector ( )
default
core::select::jump_selector::NotJumpSelector::NotJumpSelector ( NotJumpSelector const &  src)

Copy constructor.

core::select::jump_selector::NotJumpSelector::NotJumpSelector ( JumpSelectorCOP  selector)

References set_jump_selector().

core::select::jump_selector::NotJumpSelector::~NotJumpSelector ( )
overridedefault

Member Function Documentation

JumpSubset core::select::jump_selector::NotJumpSelector::apply ( core::pose::Pose const &  pose) const
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 selector_.

std::string core::select::jump_selector::NotJumpSelector::class_name ( )
static
JumpSelectorOP core::select::jump_selector::NotJumpSelector::clone ( ) const
overridevirtual

Clone operator.

Copy this object and return an owning pointer to the new object.

Implements core::select::jump_selector::JumpSelector.

std::string core::select::jump_selector::NotJumpSelector::get_name ( ) const
overridevirtual
void core::select::jump_selector::NotJumpSelector::parse_my_tag ( utility::tag::TagCOP  tag,
basic::datacache::DataMap &  datacache 
)
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 selector_, and set_jump_selector().

void core::select::jump_selector::NotJumpSelector::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static
void core::select::jump_selector::NotJumpSelector::set_jump_selector ( JumpSelectorCOP  selector)

sets a JumpSelector

References selector_.

Referenced by NotJumpSelector(), and parse_my_tag().

Member Data Documentation

JumpSelectorCOP core::select::jump_selector::NotJumpSelector::selector_
private

The documentation for this class was generated from the following files: