Rosetta Protocols  2014.35
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
protocols::toolbox::task_operations::RestrictToLoops Class Reference

#include <RestrictToLoops.hh>

Public Types


Public Member Functions

 RestrictToLoops ()
 Default constructor. More...
 RestrictToLoops (RestrictToLoops const &src)
 Copy constructor. More...
virtual ~RestrictToLoops ()
 Default destructor. More...
RestrictToLoopsoperator= (RestrictToLoops const &rhs)
 Assignment operator. More...
core::pack::task::operation::TaskOperationOP clone () const
 Return a deep-copied OP. More...
void parse_tag (utility::tag::TagCOP tag, basic::datacache::DataMap &)
 Configure from a RosettaScripts XML tag. More...
void apply (core::pose::Pose const &pose, core::pack::task::PackerTask &task) const
 Apply this operation to the packer task. More...
bool design_loop () const
 Return true if design is allowed. More...
void set_design_loop (bool design_loop)
 Specify whether or not design is allowed. More...
loops::LoopsCOP loops () const
 Return the loops allowed to pack. More...
void set_loops (loops::LoopsCOP loops)
 Specify the loops that will be allowed to pack. More...
void set_loops_from_file (std::string loops_file)
 Specify the loops that will be allowed to pack. More...

Protected Member Functions

virtual void init ()
 Help construct instances of this class. More...
virtual void copy (RestrictToLoops &lhs, RestrictToLoops const &rhs)
 Help copy instances of this class. More...
void apply_helper (core::pose::Pose const &pose, core::pack::task::PackerTask &task, bool include_neighbors, core::Real cutoff_distance) const
 Helper function to prevent code duplication in subclasses. More...

Private Attributes

bool design_loop_
loops::LoopsCOP loops_

Member Typedef Documentation

Constructor & Destructor Documentation

protocols::toolbox::task_operations::RestrictToLoops::RestrictToLoops ( )

Default constructor.

References init().

Referenced by clone().

protocols::toolbox::task_operations::RestrictToLoops::RestrictToLoops ( RestrictToLoops const &  src)

Copy constructor.

References copy().

protocols::toolbox::task_operations::RestrictToLoops::~RestrictToLoops ( )

Default destructor.

Member Function Documentation

void protocols::toolbox::task_operations::RestrictToLoops::apply ( core::pose::Pose const &  pose,
core::pack::task::PackerTask task 
) const

Apply this operation to the packer task.

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

Reimplemented in protocols::toolbox::task_operations::RestrictToLoopsAndNeighbors.

References apply_helper().

void protocols::toolbox::task_operations::RestrictToLoops::apply_helper ( core::pose::Pose const &  pose,
core::pack::task::PackerTask task,
bool  include_neighbors,
core::Real  cutoff_distance 
) const
TaskOperationOP protocols::toolbox::task_operations::RestrictToLoops::clone ( ) const
void protocols::toolbox::task_operations::RestrictToLoops::copy ( RestrictToLoops lhs,
RestrictToLoops const &  rhs 
bool protocols::toolbox::task_operations::RestrictToLoops::design_loop ( ) const

Return true if design is allowed.

References design_loop_.

Referenced by apply_helper(), parse_tag(), and set_design_loop().

void protocols::toolbox::task_operations::RestrictToLoops::init ( void  )
LoopsCOP protocols::toolbox::task_operations::RestrictToLoops::loops ( ) const

Return the loops allowed to pack.

References loops_.

Referenced by apply_helper(), and set_loops().

RestrictToLoops & protocols::toolbox::task_operations::RestrictToLoops::operator= ( RestrictToLoops const &  rhs)
void protocols::toolbox::task_operations::RestrictToLoops::parse_tag ( utility::tag::TagCOP  tag,
void protocols::toolbox::task_operations::RestrictToLoops::set_design_loop ( bool  design_loop)

Specify whether or not design is allowed.

References design_loop(), and design_loop_.

Referenced by init(), parse_tag(), and protocols::antibody::design::AntibodySeqDesignMover::setup_task_factory().

void protocols::toolbox::task_operations::RestrictToLoops::set_loops ( loops::LoopsCOP  loops)

Specify the loops that will be allowed to pack.

References loops(), and loops_.

Referenced by init(), and protocols::antibody::design::AntibodySeqDesignMover::setup_task_factory().

void protocols::toolbox::task_operations::RestrictToLoops::set_loops_from_file ( std::string  loops_file)

Specify the loops that will be allowed to pack.

References loops_.

Referenced by parse_tag().

Member Data Documentation

bool protocols::toolbox::task_operations::RestrictToLoops::design_loop_

Referenced by copy(), design_loop(), and set_design_loop().

loops::LoopsCOP protocols::toolbox::task_operations::RestrictToLoops::loops_

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