Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DesignAroundOperation.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/DesignAroundOperation.hh
11 /// @brief TaskOperation class that restricts a chain to repacking
12 /// @author Sarel Fleishman sarelf@uw.edu
13 
14 #ifndef INCLUDED_protocols_toolbox_task_operations_DesignAroundOperation_hh
15 #define INCLUDED_protocols_toolbox_task_operations_DesignAroundOperation_hh
16 
17 // Unit Headers
20 
21 // Project Headers
22 #include <core/pose/Pose.fwd.hh>
24 #include <utility/tag/Tag.fwd.hh>
25 
26 // Utility Headers
27 #include <core/types.hh>
28 
29 // C++ Headers
30 #include <string>
31 #include <set>
32 
33 #include <utility/vector1.hh>
34 
35 
36 namespace protocols {
37 namespace toolbox {
38 namespace task_operations {
39 
40 ///@details this class is a TaskOperation to prevent repacking of residues not near an interface.
42 {
43 public:
45 
47 
48  void design_shell( core::Real const radius );
50  void include_residue( core::Size const resid );
51 
52  virtual ~DesignAroundOperation();
53 
54  virtual TaskOperationOP clone() const;
55 
56  virtual
57  void
59 
60  virtual void parse_tag( TagPtr );
61 
62  virtual void parse_def( utility::lua::LuaObject const & def );
63 
66  if( repack_shell <= design_shell() )
68  }
70 
71  void allow_design( bool const a ){ allow_design_ = a; }
72  bool allow_design() const{ return allow_design_; }
73 private:
75  bool allow_design_; //dflt true
76  std::set< core::Size > resid_; // accessible at all times
77  std::string string_resnums_; // this can only be parsed at apply time, when the pose is available
78 };
79 
80 } //namespace protocols
81 } //namespace toolbox
82 } //namespace task_operations
83 
84 #endif // INCLUDED_protocols_toolbox_TaskOperations_DesignAroundOperation_HH