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

#include <ChainSelector.hh>

Inheritance diagram for core::select::residue_selector::ChainSelector:
Inheritance graph

Public Member Functions

 ChainSelector ()
 ChainSelector (ChainSelector const &src)
 Copy constructor. More...
 ChainSelector (std::string const &chains)
 ChainSelector (char chain)
 ChainSelector (int chainid)
 ChainSelector (core::Size chainid)
 ~ChainSelector () override
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 &datamap) override
std::string get_name () const override
utility::vector1< std::string >
const & 
chain_strings () const
void set_chain_strings (utility::vector1< std::string > const &)
- 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 Member Functions

void select_chain_by_index (core::pose::Pose const &, ResidueSubset &, core::Size) const
void select_chain_by_pdb_chain_char (core::pose::Pose const &, ResidueSubset &, char) const

Private Attributes

utility::vector1< std::string > chain_strings_

Constructor & Destructor Documentation

core::select::residue_selector::ChainSelector::ChainSelector ( )
core::select::residue_selector::ChainSelector::ChainSelector ( ChainSelector const &  src)

Copy constructor.

core::select::residue_selector::ChainSelector::ChainSelector ( std::string const &  chains)
core::select::residue_selector::ChainSelector::ChainSelector ( char  chain)
core::select::residue_selector::ChainSelector::ChainSelector ( int  chainid)
core::select::residue_selector::ChainSelector::ChainSelector ( core::Size  chainid)
core::select::residue_selector::ChainSelector::~ChainSelector ( )

Member Function Documentation

ResidueSubset core::select::residue_selector::ChainSelector::apply ( core::pose::Pose const &  pose) const

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 chain_strings_, protocols::pack_daemon::error_message, select_chain_by_index(), select_chain_by_pdb_chain_char(), and core::pose::Pose::size().

Referenced by protocols::ligand_docking::get_interface_deltas().

utility::vector1< std::string > const & core::select::residue_selector::ChainSelector::chain_strings ( ) const

References chain_strings_.

std::string core::select::residue_selector::ChainSelector::class_name ( )
ResidueSelectorOP core::select::residue_selector::ChainSelector::clone ( ) const

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::ChainSelector::get_name ( ) const
void core::select::residue_selector::ChainSelector::parse_my_tag ( utility::tag::TagCOP  tag,
basic::datacache::DataMap &  datamap 

Chains are given either as single characters (matched against the chain in the input PDB) or as integers (matched against the pose-assigned index for the chain) in a comma-separated list.

Reimplemented from core::select::residue_selector::ResidueSelector.

References chain_strings_, and protocols::pack_daemon::error_message.

void core::select::residue_selector::ChainSelector::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
void core::select::residue_selector::ChainSelector::select_chain_by_index ( core::pose::Pose const &  pose,
ResidueSubset subset,
core::Size  chain_index 
) const
void core::select::residue_selector::ChainSelector::select_chain_by_pdb_chain_char ( core::pose::Pose const &  pose,
ResidueSubset subset,
char  ch 
) const
void core::select::residue_selector::ChainSelector::set_chain_strings ( utility::vector1< std::string > const &  setting)

References chain_strings_.

Member Data Documentation

utility::vector1< std::string > core::select::residue_selector::ChainSelector::chain_strings_

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