Rosetta  2021.16
 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::residue_selector::ResiduePDBInfoHasLabelSelector Class Reference

The ResiduePDBInfoHasLabelSelector returns a ResidueSubset, i.e. a utility::vector1< bool > containing 'true' for residue positions with the given label in pose PDB info for that residue. More...

#include <ResiduePDBInfoHasLabelSelector.hh>

Inheritance diagram for core::select::residue_selector::ResiduePDBInfoHasLabelSelector:
Inheritance graph
[legend]

Public Member Functions

 ResiduePDBInfoHasLabelSelector ()
 
 ResiduePDBInfoHasLabelSelector (std::string const &label_str)
 
 ~ResiduePDBInfoHasLabelSelector () override
 
 ResiduePDBInfoHasLabelSelector (ResiduePDBInfoHasLabelSelector const &src)
 Copy constructor. More...
 
ResidueSelectorOP clone () const override
 Clone operator. 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 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_label (std::string const &label_str)
 
- Public Member Functions inherited from core::select::residue_selector::ResidueSelector
 ResidueSelector ()
 Constructor. More...
 
 ~ResidueSelector () override
 Destructor. More...
 
virtual void provide_citation_info (basic::citation_manager::CitationCollectionList &) const
 Provide citations to the passed CitationCollectionList Subclasses should add the info for themselves and any other classes they use. More...
 

Static Public Member Functions

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

Private Attributes

std::string label_
 

Detailed Description

The ResiduePDBInfoHasLabelSelector returns a ResidueSubset, i.e. a utility::vector1< bool > containing 'true' for residue positions with the given label in pose PDB info for that residue.

Constructor & Destructor Documentation

core::select::residue_selector::ResiduePDBInfoHasLabelSelector::ResiduePDBInfoHasLabelSelector ( )
core::select::residue_selector::ResiduePDBInfoHasLabelSelector::ResiduePDBInfoHasLabelSelector ( std::string const &  label_str)
core::select::residue_selector::ResiduePDBInfoHasLabelSelector::~ResiduePDBInfoHasLabelSelector ( )
overridedefault
core::select::residue_selector::ResiduePDBInfoHasLabelSelector::ResiduePDBInfoHasLabelSelector ( ResiduePDBInfoHasLabelSelector const &  src)

Copy constructor.

Member Function Documentation

ResidueSubset core::select::residue_selector::ResiduePDBInfoHasLabelSelector::apply ( core::pose::Pose const &  pose) const
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 label_, core::pose::Pose::pdb_info(), core::pose::Pose::size(), and core::select::residue_selector::TR().

Referenced by protocols::fold_from_loops::utils::Nub::assign_disulfides(), and protocols::hbnet::HBNetScore::get_score().

std::string core::select::residue_selector::ResiduePDBInfoHasLabelSelector::class_name ( )
static
ResidueSelectorOP core::select::residue_selector::ResiduePDBInfoHasLabelSelector::clone ( ) const
overridevirtual

Clone operator.

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

Implements core::select::residue_selector::ResidueSelector.

std::string core::select::residue_selector::ResiduePDBInfoHasLabelSelector::get_name ( ) const
overridevirtual
void core::select::residue_selector::ResiduePDBInfoHasLabelSelector::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::residue_selector::ResidueSelector.

References label_, and set_label().

void core::select::residue_selector::ResiduePDBInfoHasLabelSelector::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static
void core::select::residue_selector::ResiduePDBInfoHasLabelSelector::set_label ( std::string const &  label_str)

Member Data Documentation

std::string core::select::residue_selector::ResiduePDBInfoHasLabelSelector::label_
private

Referenced by apply(), parse_my_tag(), and set_label().


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