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

#include <TaskOperations.hh>

Public Types

typedef TaskOperation parent
 
- 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

 RestrictAbsentCanonicalAAS ()
 BEGIN RestrictAbsentCanonicalAAS. More...
 
 RestrictAbsentCanonicalAAS (core::Size resid, utility::vector1< bool > keep_aas)
 
virtual ~RestrictAbsentCanonicalAAS ()
 
virtual TaskOperationOP clone () const
 Create another task operation of the type matching the most-derived version of the class. More...
 
virtual void apply (pose::Pose const &, PackerTask &) const
 if resid_ is zero, will apply RestrictAbsentCanonicalAAs to all residues in the pose. O/w only to resid_ More...
 
void keep_aas (std::string const keep_aas)
 a human-readible string-based mutator More...
 
void keep_aas (utility::vector1< bool > keep_aas)
 direct vector1-basd mutator. If an amino acid is not present (false) in the boolean vector, then do not allow it at this position. The boolean vector is a 20-length vector in alphabetical order by one-letter code. More...
 
virtual void parse_tag (TagCOP, DataMap &)
 Used to parse an xml-like tag to load parameters and properties. More...
 
void include_residue (core::Size const resid)
 
- Public Member Functions inherited from core::pack::task::operation::TaskOperation
virtual ~TaskOperation ()
 
virtual void parse_def (utility::lua::LuaObject const &def)
 

Private Attributes

core::Size resid_
 
utility::vector1< boolkeep_aas_
 

Member Typedef Documentation

Constructor & Destructor Documentation

core::pack::task::operation::RestrictAbsentCanonicalAAS::RestrictAbsentCanonicalAAS ( )
core::pack::task::operation::RestrictAbsentCanonicalAAS::RestrictAbsentCanonicalAAS ( core::Size  resid,
utility::vector1< bool keep_aas 
)

References include_residue(), and keep_aas().

core::pack::task::operation::RestrictAbsentCanonicalAAS::~RestrictAbsentCanonicalAAS ( )
virtual

Member Function Documentation

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

void core::pack::task::operation::RestrictAbsentCanonicalAAS::include_residue ( core::Size const  resid)

References resid_.

Referenced by parse_tag(), and RestrictAbsentCanonicalAAS().

void core::pack::task::operation::RestrictAbsentCanonicalAAS::keep_aas ( std::string const  keep_aas)
void core::pack::task::operation::RestrictAbsentCanonicalAAS::keep_aas ( utility::vector1< bool keep_aas)

direct vector1-basd mutator. If an amino acid is not present (false) in the boolean vector, then do not allow it at this position. The boolean vector is a 20-length vector in alphabetical order by one-letter code.

References keep_aas_, core::chemical::num_canonical_aas, and runtime_assert.

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

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

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

References include_residue(), and keep_aas().

Member Data Documentation

utility::vector1< bool > core::pack::task::operation::RestrictAbsentCanonicalAAS::keep_aas_
private
core::Size core::pack::task::operation::RestrictAbsentCanonicalAAS::resid_
private

Referenced by apply(), and include_residue().


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