Rosetta 3.4
Public Types | Public Member Functions
core::pack::task::operation::DisallowIfNonnative Class Reference

DisallowIfNonnative allows you to define what residues are NOT allowed in packing unless that residue is present in the input. Behaves like RestrictAbsentCanonicalAAS and NOTAA except will allow a resitricted residue at a position if it is there to begin with at the time of Task creation. Will do all residues unless otherwise defined by selection syntax below. More...

#include <TaskOperations.hh>

Inheritance diagram for core::pack::task::operation::DisallowIfNonnative:
Inheritance graph
[legend]
Collaboration diagram for core::pack::task::operation::DisallowIfNonnative:
Collaboration graph
[legend]

List of all members.

Public Types

typedef TaskOperation parent

Public Member Functions

 DisallowIfNonnative ()
 DisallowIfNonnative (utility::vector1< bool > disallowed_aas)
 DisallowIfNonnative (utility::vector1< bool > disallowed_aas, utility::vector1< core::Size > res_selection)
virtual ~DisallowIfNonnative ()
virtual TaskOperationOP clone () const
 Create another task operation of the type matching the most-derived version of the class.
virtual void apply (pose::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.
void clear ()
void disallow_aas (utility::vector1< bool > const &cannonical_disallowed)
void disallow_aas (std::string const &aa_string)
void restrict_to_residue (core::Size const &resid)
void restrict_to_residue (utility::vector1< core::Size > const &residues)
virtual void parse_tag (TagPtr)
 Used to parse an xml-like tag to load parameters and properties.

Detailed Description

DisallowIfNonnative allows you to define what residues are NOT allowed in packing unless that residue is present in the input. Behaves like RestrictAbsentCanonicalAAS and NOTAA except will allow a resitricted residue at a position if it is there to begin with at the time of Task creation. Will do all residues unless otherwise defined by selection syntax below.


Member Typedef Documentation


Constructor & Destructor Documentation

core::pack::task::operation::DisallowIfNonnative::DisallowIfNonnative ( )

Referenced by clone().

core::pack::task::operation::DisallowIfNonnative::DisallowIfNonnative ( utility::vector1< bool disallowed_aas)
core::pack::task::operation::DisallowIfNonnative::DisallowIfNonnative ( utility::vector1< bool disallowed_aas,
utility::vector1< core::Size res_selection 
)
core::pack::task::operation::DisallowIfNonnative::~DisallowIfNonnative ( ) [virtual]

Member Function Documentation

void core::pack::task::operation::DisallowIfNonnative::apply ( pose::Pose const &  ,
PackerTask  
) const [virtual]
void core::pack::task::operation::DisallowIfNonnative::clear ( )
TaskOperationOP core::pack::task::operation::DisallowIfNonnative::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 DisallowIfNonnative().

void core::pack::task::operation::DisallowIfNonnative::disallow_aas ( utility::vector1< bool > const &  cannonical_disallowed)

References core::chemical::num_canonical_aas.

Referenced by parse_tag().

void core::pack::task::operation::DisallowIfNonnative::disallow_aas ( std::string const &  aa_string)
void core::pack::task::operation::DisallowIfNonnative::parse_tag ( TagPtr  tag) [virtual]

Used to parse an xml-like tag to load parameters and properties.

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

References disallow_aas(), and restrict_to_residue().

void core::pack::task::operation::DisallowIfNonnative::restrict_to_residue ( utility::vector1< core::Size > const &  residues)
void core::pack::task::operation::DisallowIfNonnative::restrict_to_residue ( core::Size const &  resid)

Referenced by parse_tag().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines