![]() |
Rosetta Core
2014.16.56682
|
#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< bool > | keep_aas_ |
| core::pack::task::operation::RestrictAbsentCanonicalAAS::RestrictAbsentCanonicalAAS | ( | ) |
BEGIN RestrictAbsentCanonicalAAS.
References keep_aas_, and core::chemical::num_canonical_aas.
Referenced by clone().
| core::pack::task::operation::RestrictAbsentCanonicalAAS::RestrictAbsentCanonicalAAS | ( | core::Size | resid, |
| utility::vector1< bool > | keep_aas | ||
| ) |
References include_residue(), and keep_aas().
|
virtual |
|
virtual |
if resid_ is zero, will apply RestrictAbsentCanonicalAAs to all residues in the pose. O/w only to resid_
Implements core::pack::task::operation::TaskOperation.
References keep_aas_, core::pack::task::PackerTask::nonconst_residue_task(), resid_, core::pack::task::ResidueLevelTask::restrict_absent_canonical_aas(), and core::pack::task::PackerTask::total_residue().
|
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 | ) |
a human-readible string-based mutator
References core::chemical::aa_from_oneletter_code(), core::pack::dunbrack::c, chemical, keep_aas_, core::chemical::num_canonical_aas, core::chemical::oneletter_code_specifies_aa(), runtime_assert, core::pack::task::operation::TR, and utility_exit.
Referenced by parse_tag(), and RestrictAbsentCanonicalAAS().
| 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.
|
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().
|
private |
Referenced by apply(), keep_aas(), and RestrictAbsentCanonicalAAS().
|
private |
Referenced by apply(), and include_residue().
1.8.7