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

#include <ChainSelector.hh>

Public Member Functions

 ChainSelector ()
 
virtual ~ChainSelector ()
 
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)
 
virtual std::string get_name () const
 
utility::vector1< std::string >
const & 
chain_strings () const
 
void set_chain_strings (utility::vector1< std::string > const &)
 
- Public Member Functions inherited from core::pack::task::residue_selector::ResidueSelector
 ResidueSelector ()
 
virtual ~ResidueSelector ()
 

Static Public Member Functions

static std::string class_name ()
 

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::pack::task::residue_selector::ChainSelector::ChainSelector ( )
core::pack::task::residue_selector::ChainSelector::~ChainSelector ( )
virtual

Member Function Documentation

void core::pack::task::residue_selector::ChainSelector::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 chain_strings_, select_chain_by_index(), select_chain_by_pdb_chain_char(), and core::pose::Pose::total_residue().

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

References chain_strings_.

std::string core::pack::task::residue_selector::ChainSelector::class_name ( )
static
std::string core::pack::task::residue_selector::ChainSelector::get_name ( ) const
virtual
void core::pack::task::residue_selector::ChainSelector::parse_my_tag ( utility::tag::TagCOP  tag,
basic::datacache::DataMap datamap 
)
virtual

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::pack::task::residue_selector::ResidueSelector.

References chain_strings_, and utility::string_split().

void core::pack::task::residue_selector::ChainSelector::select_chain_by_index ( core::pose::Pose const &  pose,
ResidueSubset subset,
core::Size  chain_index 
) const
private
void core::pack::task::residue_selector::ChainSelector::select_chain_by_pdb_chain_char ( core::pose::Pose const &  pose,
ResidueSubset subset,
char  ch 
) const
private
void core::pack::task::residue_selector::ChainSelector::set_chain_strings ( utility::vector1< std::string > const &  setting)

References chain_strings_.

Member Data Documentation

utility::vector1< std::string > core::pack::task::residue_selector::ChainSelector::chain_strings_
private

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