![]() |
Rosetta Protocols
2014.35
|
#include <RestrictToLoops.hh>
Public Types | |
typedef core::pack::task::operation::TaskOperation | parent |
Public Member Functions | |
RestrictToLoops () | |
Default constructor. More... | |
RestrictToLoops (RestrictToLoops const &src) | |
Copy constructor. More... | |
virtual | ~RestrictToLoops () |
Default destructor. More... | |
RestrictToLoops & | operator= (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_ |
typedef core::pack::task::operation::TaskOperation protocols::toolbox::task_operations::RestrictToLoops::parent |
protocols::toolbox::task_operations::RestrictToLoops::RestrictToLoops | ( | ) |
protocols::toolbox::task_operations::RestrictToLoops::RestrictToLoops | ( | RestrictToLoops const & | src | ) |
Copy constructor.
References copy().
|
virtual |
Default destructor.
|
virtual |
Apply this operation to the packer task.
Implements core::pack::task::operation::TaskOperation.
Reimplemented in protocols::toolbox::task_operations::RestrictToLoopsAndNeighbors.
References apply_helper().
|
protected |
Helper function to prevent code duplication in subclasses.
References core::pack::task::operation::RestrictResidueToRepacking::apply(), core::pack::task::operation::PreventRepacking::apply(), design_loop(), core::pack::task::operation::PreventRepacking::include_residue(), core::pack::task::operation::RestrictResidueToRepacking::include_residue(), loops(), core::pose::symmetry::make_residue_mask_symmetric(), protocols::loops::select_loop_residues(), and core::pose::Pose::total_residue().
Referenced by protocols::toolbox::task_operations::RestrictToLoopsAndNeighbors::apply(), and apply().
|
virtual |
Return a deep-copied OP.
Implements core::pack::task::operation::TaskOperation.
Reimplemented in protocols::toolbox::task_operations::RestrictToLoopsAndNeighbors.
References RestrictToLoops().
|
protectedvirtual |
Help copy instances of this class.
References design_loop_, and loops_.
Referenced by protocols::toolbox::task_operations::RestrictToLoopsAndNeighbors::init_for_copy(), operator=(), and RestrictToLoops().
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().
|
protectedvirtual |
Help construct instances of this class.
Reimplemented in protocols::toolbox::task_operations::RestrictToLoopsAndNeighbors.
References set_design_loop(), and set_loops().
Referenced by protocols::toolbox::task_operations::RestrictToLoopsAndNeighbors::init(), and RestrictToLoops().
LoopsCOP protocols::toolbox::task_operations::RestrictToLoops::loops | ( | ) | const |
RestrictToLoops & protocols::toolbox::task_operations::RestrictToLoops::operator= | ( | RestrictToLoops const & | rhs | ) |
Assignment operator.
References copy().
Referenced by protocols::toolbox::task_operations::RestrictToLoopsAndNeighbors::operator=().
void protocols::toolbox::task_operations::RestrictToLoops::parse_tag | ( | utility::tag::TagCOP | tag, |
basic::datacache::DataMap & | |||
) |
Configure from a RosettaScripts XML tag.
References design_loop(), set_design_loop(), and set_loops_from_file().
Referenced by protocols::toolbox::task_operations::RestrictToLoopsAndNeighbors::parse_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 | ) |
|
private |
Referenced by copy(), design_loop(), and set_design_loop().
|
private |
Referenced by copy(), loops(), set_loops(), and set_loops_from_file().