Rosetta  2020.37
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
core::pack::task::operation::RestrictAbsentCanonicalAAS Class Reference

RestrictAbsentCanonicalAAS. More...

#include <TaskOperations.hh>

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

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)
 
 ~RestrictAbsentCanonicalAAS () override
 
TaskOperationOP clone () const override
 Create another task operation of the type matching the most-derived version of the class. More...
 
void apply (pose::Pose const &, PackerTask &) const override
 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...
 
void parse_tag (TagCOP, DataMap &) override
 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
 ~TaskOperation () override
 
virtual bool task_operation_provides_citation_info () const
 Does this task operation provide information about how to cite it? More...
 
virtual utility::vector1
< basic::citation_manager::CitationCollectionCOP > 
provide_citation_info () const
 Provide the citation. More...
 
virtual bool task_operation_is_unpublished () const
 Does this task_operation indicate that it is unpublished (and, by extension, that the author should be included in publications resulting from it)? More...
 
virtual utility::vector1
< basic::citation_manager::UnpublishedModuleInfoCOP > 
provide_authorship_info_for_unpublished () const
 Provide a list of authors and their e-mail addresses, as strings. More...
 

Static Public Member Functions

static std::string keyname ()
 
static void provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd)
 

Private Attributes

core::Size resid_
 
utility::vector1< boolkeep_aas_
 

Detailed Description

RestrictAbsentCanonicalAAS.

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 ( )
overridedefault

Member Function Documentation

void core::pack::task::operation::RestrictAbsentCanonicalAAS::apply ( pose::Pose const &  ,
PackerTask task 
) const
overridevirtual
TaskOperationOP core::pack::task::operation::RestrictAbsentCanonicalAAS::clone ( ) const
overridevirtual

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

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

void core::pack::task::operation::RestrictAbsentCanonicalAAS::include_residue ( core::Size const  resid)
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_, and core::chemical::num_canonical_aas.

std::string core::pack::task::operation::RestrictAbsentCanonicalAAS::keyname ( )
static
void core::pack::task::operation::RestrictAbsentCanonicalAAS::parse_tag ( TagCOP  tag,
DataMap  
)
overridevirtual

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().

void core::pack::task::operation::RestrictAbsentCanonicalAAS::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static

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: