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
protocols::task_operations::RestrictByCalculatorsOperation Class Reference

#include <RestrictByCalculatorsOperation.hh>

Inheritance diagram for protocols::task_operations::RestrictByCalculatorsOperation:
Inheritance graph
[legend]

Public Types

typedef RestrictOperationsBase parent
 
typedef std::pair< std::string,
std::string > 
calc_calcn
 
- Public Types inherited from protocols::task_operations::RestrictOperationsBase
typedef
core::pack::task::operation::TaskOperation 
TaskOperation
 
typedef
core::pack::task::operation::TaskOperationOP 
TaskOperationOP
 
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

 RestrictByCalculatorsOperation ()
 
 RestrictByCalculatorsOperation (utility::vector1< calc_calcn > const &calcs_and_calcns)
 
 ~RestrictByCalculatorsOperation () override
 
core::pack::task::operation::TaskOperationOP clone () const override
 
void apply (core::pose::Pose const &, core::pack::task::PackerTask &) const override
 Change a packer task in some way. The input pose is the one to which the input task will be later applied. More...
 
- Public Member Functions inherited from protocols::task_operations::RestrictOperationsBase
 RestrictOperationsBase ()
 
 ~RestrictOperationsBase () override
 
- Public Member Functions inherited from core::pack::task::operation::TaskOperation
 ~TaskOperation () override
 
virtual void parse_tag (TagCOP, DataMap &)
 Used to parse an xml-like tag to load parameters and properties. More...
 
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 void provide_xml_schema (utility::tag::XMLSchemaDefinition &xsd)
 
static std::string keyname ()
 

Private Attributes

utility::vector1< calc_calcn >
const 
calcs_and_calcns_
 

Additional Inherited Members

- Protected Member Functions inherited from protocols::task_operations::RestrictOperationsBase
void run_calculator (core::pose::Pose const &pose, std::string const &calculator, std::string const &calculation, utility::vector1_bool &residues) const
 this is the only real function - it takes a calculator name and calculation, and a PackerTask-compatible vector, and flips booleans in the vector according to the calculator More...
 

Detailed Description

this class is a TaskOperation to prevent repacking of residues according to std::set< core::Size >-returning PoseMetricCalculators

Member Typedef Documentation

typedef std::pair< std::string, std::string> protocols::task_operations::RestrictByCalculatorsOperation::calc_calcn

Constructor & Destructor Documentation

protocols::task_operations::RestrictByCalculatorsOperation::RestrictByCalculatorsOperation ( )
default
protocols::task_operations::RestrictByCalculatorsOperation::RestrictByCalculatorsOperation ( utility::vector1< calc_calcn > const &  calcs_and_calcns)
protocols::task_operations::RestrictByCalculatorsOperation::~RestrictByCalculatorsOperation ( )
overridedefault

Member Function Documentation

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

be warned if you use clone that you'll not get new calculators

Implements protocols::task_operations::RestrictOperationsBase.

static std::string protocols::task_operations::RestrictByCalculatorsOperation::keyname ( )
inlinestatic
void protocols::task_operations::RestrictByCalculatorsOperation::provide_xml_schema ( utility::tag::XMLSchemaDefinition &  xsd)
static

Member Data Documentation

utility::vector1< calc_calcn > const protocols::task_operations::RestrictByCalculatorsOperation::calcs_and_calcns_
private

Referenced by apply().


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