Rosetta Core  2014.16.56682
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
core::pack::task::residue_selector::NotResidueSelector Class Reference

The NotResidueSelector negates the input of one loaded ResidueSelector, i.e., it selects all unselected residues and deselects the selected ones. The ResidueSelector to be negated can be pulled in through RosettaScipt using the selector option, subtags for ResidueSelectors known to the ResidueSelectorFactory or programmatically using set_residue_selector. More...

#include <NotResidueSelector.hh>

Public Member Functions

 NotResidueSelector ()
 
 NotResidueSelector (ResidueSelectorCOP selector)
 
virtual ~NotResidueSelector ()
 
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 set_residue_selector (ResidueSelectorCOP selector)
 sets a ResidueSelector 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

ResidueSelectorCOP selector_
 

Detailed Description

The NotResidueSelector negates the input of one loaded ResidueSelector, i.e., it selects all unselected residues and deselects the selected ones. The ResidueSelector to be negated can be pulled in through RosettaScipt using the selector option, subtags for ResidueSelectors known to the ResidueSelectorFactory or programmatically using set_residue_selector.

Constructor & Destructor Documentation

core::pack::task::residue_selector::NotResidueSelector::NotResidueSelector ( )
core::pack::task::residue_selector::NotResidueSelector::NotResidueSelector ( ResidueSelectorCOP  selector)
core::pack::task::residue_selector::NotResidueSelector::~NotResidueSelector ( )
virtual

Member Function Documentation

void core::pack::task::residue_selector::NotResidueSelector::apply ( core::pose::Pose const &  pose,
ResidueSubset subset 
) const
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 selector_, and core::pose::Pose::total_residue().

std::string core::pack::task::residue_selector::NotResidueSelector::class_name ( )
static
std::string core::pack::task::residue_selector::NotResidueSelector::get_name ( ) const
virtual
void core::pack::task::residue_selector::NotResidueSelector::parse_my_tag ( utility::tag::TagCOP  tag,
basic::datacache::DataMap datacache 
)
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 basic::datacache::DataMap::get(), core::pack::task::residue_selector::ResidueSelectorFactory::get_instance(), core::pack::task::residue_selector::ResidueSelectorFactory::new_residue_selector(), selector_, set_residue_selector(), and tags.

void core::pack::task::residue_selector::NotResidueSelector::set_residue_selector ( ResidueSelectorCOP  selector)

sets a ResidueSelector

References selector_.

Referenced by NotResidueSelector(), and parse_my_tag().

Member Data Documentation

ResidueSelectorCOP core::pack::task::residue_selector::NotResidueSelector::selector_
private

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