Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
RestrictNativeResiduesOperation.hh
Go to the documentation of this file.
1 // -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2 // vi: set ts=2 noet:
3 //
4 // (c) Copyright Rosetta Commons Member Institutions.
5 // (c) This file is part of the Rosetta software suite and is made available under license.
6 // (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7 // (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8 // (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9 
10 /// @file protocols/toolbox/task_operations/RestrictNativeResiduesOperation.hh
11 /// @brief Restrict every residue in the current pose that is native to repacking. ie, only allow mutated positions to be designed.
12 /// @author Jacob Bale, balej@u.washington.edu
13 
14 #ifndef INCLUDED_protocols_toolbox_task_operations_RestrictNativeResiduesOperation_hh
15 #define INCLUDED_protocols_toolbox_task_operations_RestrictNativeResiduesOperation_hh
16 
17 // unit headers
19 
20 //package headers
22 
23 //project headers
25 #include <core/types.hh>
26 
27 // Utility Headers
28 #include <utility/tag/Tag.fwd.hh>
29 #include <utility/vector1.hh>
30 
31 using namespace core::pack::task;
32 
33 namespace protocols{
34 namespace toolbox{
35 namespace task_operations{
36 
38 public:
39 
41  typedef core::Real Real;
48 
49 public:
50 
51  /// @brief default constructor
53 
54  /// @brief destructor
56 
57  /// @brief make clone
58  virtual TaskOperationOP clone() const;
59 
60 public:
61 
62  void parse_tag( TagPtr tag );
63 // void parse_def( utility::lua::LuaObject const & def );
64 
65  /// @brief apply
66  virtual void apply( Pose const & pose, PackerTask & task ) const;
67 
68  core::pose::PoseCOP reference_pose() const;
69  void reference_pose( core::pose::PoseCOP reference_pose );
70  void reference_pose( core::pose::Pose const & pose );
71  bool verbose() const;
72  void verbose( bool const verb );
73  bool prevent_repacking() const;
74  void prevent_repacking( bool const prev );
75 
76 private:
78  bool verbose_,prevent_repacking_;
79 };
80 
81 
82 } // TaskOperations
83 } // toolbox
84 } // protocols
85 #endif