Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ThreadSequenceOperation.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/ThreadSequenceOperation.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_ThreadSequenceOperation_hh
15 #define INCLUDED_protocols_toolbox_task_operations_ThreadSequenceOperation_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 // AUTO-REMOVED #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 
48 
49  virtual ~ThreadSequenceOperation();
50 
51  virtual TaskOperationOP clone() const;
52 
53  virtual void target_sequence( std::string const seq );
54  virtual std::string target_sequence() const;
55 
56  virtual
57  void
59 
60  virtual void parse_tag( TagPtr );
61 
62  core::Size start_res() const;
63  void start_res( core::Size const s );
65  void allow_design_around( bool const b ){ allow_design_around_ = b ; }
66 private:
68  core::Size start_res_; // dflt 1; which residue number to start threading (useful for partial threads)
69  bool allow_design_around_; //dflt true; if false restricts rest of the pose to repakcing
70 };
71 
72 } //namespace protocols
73 } //namespace toolbox
74 } //namespace task_operations
75 
76 #endif // INCLUDED_protocols_toolbox_TaskOperations_ThreadSequenceOperation_HH