Rosetta Core  2014.35
Public Types | Public Member Functions | Private Attributes | List of all members
core::pack::task::operation::OperateOnResidueSubset Class Reference

#include <OperateOnResidueSubset.hh>

Public Types

typedef TaskOperation parent
 
typedef utility::tag::TagCOP TagCOP
 
typedef pose::Pose Pose
 
- Public Types inherited from core::pack::task::operation::TaskOperation
typedef utility::tag::TagCOP TagCOP
 
typedef basic::datacache::DataMap DataMap
 
typedef pose::Pose Pose
 

Public Member Functions

 OperateOnResidueSubset ()
 
 OperateOnResidueSubset (ResLvlTaskOperationCOP, residue_selector::ResidueSelectorCOP)
 
 OperateOnResidueSubset (OperateOnResidueSubset const &)
 
OperateOnResidueSubsetoperator= (OperateOnResidueSubset const &)
 
virtual ~OperateOnResidueSubset ()
 
virtual TaskOperationOP clone () const
 Create another task operation of the type matching the most-derived version of the class. More...
 
virtual void apply (Pose const &, PackerTask &) const
 Change a packer task in some way. The input pose is the one to which the input task will be later applied. More...
 
void op (ResLvlTaskOperationCOP)
 sets the ResLvlTaskOperation that will be applied to residues More...
 
void selector (residue_selector::ResidueSelectorCOP)
 sets the ResidueSelector that will be used to determine which residues to apply the RLTOP to More...
 
virtual void parse_tag (TagCOP, DataMap &)
 Used to parse an xml-like tag to construct the ResLvlTaskOperation and the ResFilter. More...
 
- Public Member Functions inherited from core::pack::task::operation::TaskOperation
virtual ~TaskOperation ()
 
virtual void parse_def (utility::lua::LuaObject const &def)
 

Private Attributes

ResLvlTaskOperationCOP op_
 
residue_selector::ResidueSelectorCOP residue_selector_
 

Member Typedef Documentation

Constructor & Destructor Documentation

core::pack::task::operation::OperateOnResidueSubset::OperateOnResidueSubset ( )

Referenced by clone().

core::pack::task::operation::OperateOnResidueSubset::OperateOnResidueSubset ( ResLvlTaskOperationCOP  rlto,
residue_selector::ResidueSelectorCOP  selector 
)
core::pack::task::operation::OperateOnResidueSubset::OperateOnResidueSubset ( OperateOnResidueSubset const &  src)
core::pack::task::operation::OperateOnResidueSubset::~OperateOnResidueSubset ( )
virtual

Member Function Documentation

void core::pack::task::operation::OperateOnResidueSubset::apply ( Pose const &  ,
PackerTask  
) const
virtual

Change a packer task in some way. The input pose is the one to which the input task will be later applied.

Implements core::pack::task::operation::TaskOperation.

References core::pack::task::PackerTask::nonconst_residue_task(), nres, op_, residue_selector_, runtime_assert, core::pack::task::PackerTask::total_residue(), and core::pose::Pose::total_residue().

TaskOperationOP core::pack::task::operation::OperateOnResidueSubset::clone ( ) const
virtual

Create another task operation of the type matching the most-derived version of the class.

Implements core::pack::task::operation::TaskOperation.

References OperateOnResidueSubset().

void core::pack::task::operation::OperateOnResidueSubset::op ( ResLvlTaskOperationCOP  op_in)

sets the ResLvlTaskOperation that will be applied to residues

References op_.

OperateOnResidueSubset & core::pack::task::operation::OperateOnResidueSubset::operator= ( OperateOnResidueSubset const &  src)

References op_, and residue_selector_.

void core::pack::task::operation::OperateOnResidueSubset::parse_tag ( TagCOP  tag,
DataMap datamap 
)
virtual

Used to parse an xml-like tag to construct the ResLvlTaskOperation and the ResFilter.

tag parsing for factory construction of this class and its children

Example Tag syntax for parser as of October 2013

<OperateOnResidueSubset name="disable1to10"> <PreventRepackingRLT> <Index resnums="1-10/"> </OperateOnResidueSubset>

Reimplemented from core::pack::task::operation::TaskOperation.

References core::sequence::end, basic::datacache::DataMap::get(), core::pack::task::operation::ResLvlTaskOperationFactory::get_instance(), op_, residue_selector_, selector(), t_debug, core::pack::task::operation::TR, type, and utility_exit_with_message.

void core::pack::task::operation::OperateOnResidueSubset::selector ( residue_selector::ResidueSelectorCOP  rs_in)

sets the ResidueSelector that will be used to determine which residues to apply the RLTOP to

References residue_selector_.

Referenced by parse_tag().

Member Data Documentation

ResLvlTaskOperationCOP core::pack::task::operation::OperateOnResidueSubset::op_
private

Referenced by apply(), op(), operator=(), and parse_tag().

residue_selector::ResidueSelectorCOP core::pack::task::operation::OperateOnResidueSubset::residue_selector_
private

Referenced by apply(), operator=(), parse_tag(), and selector().


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